2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / libstdc++-v3 / configure
blobc78413286f3fc032831944035695eb998076aea1
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_EXTRA_FALSE
653 GLIBCXX_C_HEADERS_EXTRA_TRUE
654 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
655 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
656 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
657 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
658 GLIBCXX_C_HEADERS_C_STD_FALSE
659 GLIBCXX_C_HEADERS_C_STD_TRUE
660 GLIBCXX_C_HEADERS_C_FALSE
661 GLIBCXX_C_HEADERS_C_TRUE
662 C_INCLUDE_DIR
663 ALLOCATOR_NAME
664 ALLOCATOR_H
665 CLOCALE_INTERNAL_H
666 CLOCALE_CC
667 CTIME_CC
668 CTIME_H
669 CNUMERIC_CC
670 CMONEY_CC
671 CMESSAGES_CC
672 CCTYPE_CC
673 CCOLLATE_CC
674 CCODECVT_CC
675 CMESSAGES_H
676 CLOCALE_H
677 USE_NLS
678 glibcxx_localedir
679 glibcxx_POFILES
680 glibcxx_MOFILES
681 check_msgfmt
682 BASIC_FILE_CC
683 BASIC_FILE_H
684 CSTDIO_H
685 SECTION_FLAGS
686 WERROR
687 glibcxx_thread_h
688 glibcxx_PCHFLAGS
689 GLIBCXX_BUILD_PCH_FALSE
690 GLIBCXX_BUILD_PCH_TRUE
691 GLIBCXX_HOSTED_FALSE
692 GLIBCXX_HOSTED_TRUE
693 enable_static
694 enable_shared
695 CXXCPP
696 OTOOL64
697 OTOOL
698 LIPO
699 NMEDIT
700 DSYMUTIL
701 OBJDUMP
703 ac_ct_DUMPBIN
704 DUMPBIN
706 FGREP
708 LIBTOOL
709 EGREP
710 GREP
712 MAINT
713 MAINTAINER_MODE_FALSE
714 MAINTAINER_MODE_TRUE
715 RANLIB
718 LN_S
719 toplevel_srcdir
720 glibcxx_srcdir
721 glibcxx_builddir
722 ac_ct_CXX
723 CXXFLAGS
725 OBJEXT
726 EXEEXT
727 ac_ct_CC
728 CPPFLAGS
729 LDFLAGS
730 CFLAGS
732 am__untar
733 am__tar
734 AMTAR
735 am__leading_dot
736 SET_MAKE
738 mkdir_p
739 MKDIR_P
740 INSTALL_STRIP_PROGRAM
741 STRIP
742 install_sh
743 MAKEINFO
744 AUTOHEADER
745 AUTOMAKE
746 AUTOCONF
747 ACLOCAL
748 VERSION
749 PACKAGE
750 CYGPATH_W
751 am__isrc
752 INSTALL_DATA
753 INSTALL_SCRIPT
754 INSTALL_PROGRAM
755 target_os
756 target_vendor
757 target_cpu
758 target
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 multi_basedir
768 libtool_VERSION
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_multilib
811 with_target_subdir
812 with_cross_host
813 with_newlib
814 enable_maintainer_mode
815 enable_shared
816 enable_static
817 with_pic
818 enable_fast_install
819 with_gnu_ld
820 enable_libtool_lock
821 enable_hosted_libstdcxx
822 enable_sjlj_exceptions
823 enable_libstdcxx_pch
824 enable_cstdio
825 enable_clocale
826 enable_nls
827 enable_libstdcxx_allocator
828 enable_cheaders
829 enable_long_long
830 enable_wchar_t
831 enable_c99
832 enable_concept_checks
833 enable_libstdcxx_debug_flags
834 enable_libstdcxx_debug
835 enable_cxx_flags
836 enable_fully_dynamic_string
837 enable_libstdcxx_time
838 enable_tls
839 enable_rpath
840 with_libiconv_prefix
841 with_system_libunwind
842 enable_linux_futex
843 enable_symvers
844 enable_visibility
845 with_gxx_include_dir
846 enable_version_specific_runtime_libs
848 ac_precious_vars='build_alias
849 host_alias
850 target_alias
852 CFLAGS
853 LDFLAGS
854 LIBS
855 CPPFLAGS
857 CXXFLAGS
860 CXXCPP
861 CXXFILT'
864 # Initialize some variables set by options.
865 ac_init_help=
866 ac_init_version=false
867 ac_unrecognized_opts=
868 ac_unrecognized_sep=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
871 cache_file=/dev/null
872 exec_prefix=NONE
873 no_create=
874 no_recursion=
875 prefix=NONE
876 program_prefix=NONE
877 program_suffix=NONE
878 program_transform_name=s,x,x,
879 silent=
880 site=
881 srcdir=
882 verbose=
883 x_includes=NONE
884 x_libraries=NONE
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir='${exec_prefix}/bin'
893 sbindir='${exec_prefix}/sbin'
894 libexecdir='${exec_prefix}/libexec'
895 datarootdir='${prefix}/share'
896 datadir='${datarootdir}'
897 sysconfdir='${prefix}/etc'
898 sharedstatedir='${prefix}/com'
899 localstatedir='${prefix}/var'
900 includedir='${prefix}/include'
901 oldincludedir='/usr/include'
902 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir='${datarootdir}/info'
904 htmldir='${docdir}'
905 dvidir='${docdir}'
906 pdfdir='${docdir}'
907 psdir='${docdir}'
908 libdir='${exec_prefix}/lib'
909 localedir='${datarootdir}/locale'
910 mandir='${datarootdir}/man'
912 ac_prev=
913 ac_dashdash=
914 for ac_option
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\$ac_option
919 ac_prev=
920 continue
923 case $ac_option in
924 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 *) ac_optarg=yes ;;
926 esac
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
932 ac_dashdash=yes ;;
934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
935 ac_prev=bindir ;;
936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937 bindir=$ac_optarg ;;
939 -build | --build | --buil | --bui | --bu)
940 ac_prev=build_alias ;;
941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942 build_alias=$ac_optarg ;;
944 -cache-file | --cache-file | --cache-fil | --cache-fi \
945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946 ac_prev=cache_file ;;
947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949 cache_file=$ac_optarg ;;
951 --config-cache | -C)
952 cache_file=config.cache ;;
954 -datadir | --datadir | --datadi | --datad)
955 ac_prev=datadir ;;
956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
957 datadir=$ac_optarg ;;
959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960 | --dataroo | --dataro | --datar)
961 ac_prev=datarootdir ;;
962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964 datarootdir=$ac_optarg ;;
966 -disable-* | --disable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
975 "enable_$ac_useropt"
976 "*) ;;
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
979 esac
980 eval enable_$ac_useropt=no ;;
982 -docdir | --docdir | --docdi | --doc | --do)
983 ac_prev=docdir ;;
984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985 docdir=$ac_optarg ;;
987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988 ac_prev=dvidir ;;
989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990 dvidir=$ac_optarg ;;
992 -enable-* | --enable-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error "invalid feature name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_$ac_useropt"
1002 "*) ;;
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1005 esac
1006 eval enable_$ac_useropt=\$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1019 with_gas=yes ;;
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034 ac_prev=htmldir ;;
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036 | --ht=*)
1037 htmldir=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1047 ac_prev=infodir ;;
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1052 ac_prev=libdir ;;
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076 ac_prev=mandir ;;
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1082 with_fp=no ;;
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1086 no_create=yes ;;
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090 no_recursion=yes ;;
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102 ac_prev=prefix ;;
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138 ac_prev=pdfdir ;;
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1143 ac_prev=psdir ;;
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145 psdir=$ac_optarg ;;
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1149 silent=yes ;;
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152 ac_prev=sbindir ;;
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154 | --sbi=* | --sb=*)
1155 sbindir=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1160 | --sha | --sh)
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165 | --sha=* | --sh=*)
1166 sharedstatedir=$ac_optarg ;;
1168 -site | --site | --sit)
1169 ac_prev=site ;;
1170 -site=* | --site=* | --sit=*)
1171 site=$ac_optarg ;;
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174 ac_prev=srcdir ;;
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191 verbose=yes ;;
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1196 -with-* | --with-*)
1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 as_fn_error "invalid package name: $ac_useropt"
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1205 "with_$ac_useropt"
1206 "*) ;;
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1209 esac
1210 eval with_$ac_useropt=\$ac_optarg ;;
1212 -without-* | --without-*)
1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216 as_fn_error "invalid package name: $ac_useropt"
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1221 "with_$ac_useropt"
1222 "*) ;;
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1225 esac
1226 eval with_$ac_useropt=no ;;
1228 --x)
1229 # Obsolete; use --with-x.
1230 with_x=yes ;;
1232 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233 | --x-incl | --x-inc | --x-in | --x-i)
1234 ac_prev=x_includes ;;
1235 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237 x_includes=$ac_optarg ;;
1239 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241 ac_prev=x_libraries ;;
1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244 x_libraries=$ac_optarg ;;
1246 -*) as_fn_error "unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information."
1250 *=*)
1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
1255 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1256 esac
1257 eval $ac_envvar=\$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1268 esac
1269 done
1271 if test -n "$ac_prev"; then
1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error "missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1278 no) ;;
1279 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 esac
1284 # Check all directory arguments for consistency.
1285 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val=\$$ac_var
1291 # Remove trailing slashes.
1292 case $ac_val in
1293 */ )
1294 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\$ac_val;;
1296 esac
1297 # Be sure to have absolute directory names.
1298 case $ac_val in
1299 [\\/$]* | ?:[\\/]* ) continue;;
1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301 esac
1302 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1303 done
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1308 build=$build_alias
1309 host=$host_alias
1310 target=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x; then
1314 if test "x$build_alias" = x; then
1315 cross_compiling=maybe
1316 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1317 If a cross compiler is detected then cross compile mode will be used." >&2
1318 elif test "x$build_alias" != "x$host_alias"; then
1319 cross_compiling=yes
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1326 test "$silent" = yes && exec 6>/dev/null
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error "pwd does not report name of working directory"
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 s//\1/
1351 /^X\(\/\/\)[^/].*/{
1352 s//\1/
1355 /^X\(\/\/\)$/{
1356 s//\1/
1359 /^X\(\/\).*/{
1360 s//\1/
1363 s/.*/./; q'`
1364 srcdir=$ac_confdir
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 srcdir=..
1368 else
1369 ac_srcdir_defaulted=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1378 pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 cat <<_ACEOF
1403 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1412 Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 [PREFIX]
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1456 _ACEOF
1458 cat <<\_ACEOF
1460 Program names:
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465 System types:
1466 --build=BUILD configure for building on BUILD [guessed]
1467 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1468 --target=TARGET configure for building compilers for TARGET [HOST]
1469 _ACEOF
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of package-unused version-unused:";;
1475 esac
1476 cat <<\_ACEOF
1478 Optional Features:
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --enable-multilib build many library versions (default)
1483 --enable-maintainer-mode enable make rules and dependencies not useful
1484 (and sometimes confusing) to the casual installer
1485 --enable-shared[=PKGS] build shared libraries [default=yes]
1486 --enable-static[=PKGS] build static libraries [default=yes]
1487 --enable-fast-install[=PKGS]
1488 optimize for fast installation [default=yes]
1489 --disable-libtool-lock avoid locking (might break parallel builds)
1490 --disable-hosted-libstdcxx
1491 only build freestanding C++ runtime support
1492 --enable-sjlj-exceptions
1493 force use of builtin_setjmp for exceptions
1494 [default=auto]
1495 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1496 [default=$is_hosted]
1497 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1498 --enable-clocale[=MODEL]
1499 use MODEL for target locale package [default=auto]
1500 --enable-nls use Native Language Support (default)
1501 --enable-libstdcxx-allocator=KIND
1502 use KIND for target std::allocator base
1503 [default=auto]
1504 --enable-cheaders=KIND 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 enables symbol versioning of the shared library
1527 [default=yes]
1528 --enable-visibility enables visibility safe usage [default=yes]
1529 --enable-version-specific-runtime-libs
1530 Specify that runtime libraries should be installed
1531 in a compiler-specific directory
1533 Optional Packages:
1534 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1535 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1536 --with-target-subdir=SUBDIR
1537 configuring in a subdirectory
1538 --with-cross-host=HOST configuring with a cross compiler
1539 --with-newlib assume newlib as a system C library
1540 --with-pic try to use only PIC/non-PIC objects [default=use
1541 both]
1542 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1543 --with-gnu-ld assume the C compiler uses GNU ld default=no
1544 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1545 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1546 --with-system-libunwind use installed libunwind
1547 --with-gxx-include-dir=DIR
1548 installation directory for include files
1550 Some influential environment variables:
1551 CC C compiler command
1552 CFLAGS C compiler flags
1553 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1554 nonstandard directory <lib dir>
1555 LIBS libraries to pass to the linker, e.g. -l<library>
1556 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1557 you have headers in a nonstandard directory <include dir>
1558 CXX C++ compiler command
1559 CXXFLAGS C++ compiler flags
1560 CPP C preprocessor
1561 CXXCPP C++ preprocessor
1562 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1563 `c++filt', `gc++filt' on PATH.
1565 Use these variables to override the choices made by `configure' or to help
1566 it to find libraries and programs with nonstandard names/locations.
1568 Report bugs to the package provider.
1569 _ACEOF
1570 ac_status=$?
1573 if test "$ac_init_help" = "recursive"; then
1574 # If there are subdirs, report their specific --help.
1575 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1576 test -d "$ac_dir" ||
1577 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578 continue
1579 ac_builddir=.
1581 case "$ac_dir" in
1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1585 # A ".." for each directory in $ac_dir_suffix.
1586 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1587 case $ac_top_builddir_sub in
1588 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1590 esac ;;
1591 esac
1592 ac_abs_top_builddir=$ac_pwd
1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594 # for backward compatibility:
1595 ac_top_builddir=$ac_top_build_prefix
1597 case $srcdir in
1598 .) # We are building in place.
1599 ac_srcdir=.
1600 ac_top_srcdir=$ac_top_builddir_sub
1601 ac_abs_top_srcdir=$ac_pwd ;;
1602 [\\/]* | ?:[\\/]* ) # Absolute name.
1603 ac_srcdir=$srcdir$ac_dir_suffix;
1604 ac_top_srcdir=$srcdir
1605 ac_abs_top_srcdir=$srcdir ;;
1606 *) # Relative name.
1607 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608 ac_top_srcdir=$ac_top_build_prefix$srcdir
1609 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1610 esac
1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613 cd "$ac_dir" || { ac_status=$?; continue; }
1614 # Check for guested configure.
1615 if test -f "$ac_srcdir/configure.gnu"; then
1616 echo &&
1617 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618 elif test -f "$ac_srcdir/configure"; then
1619 echo &&
1620 $SHELL "$ac_srcdir/configure" --help=recursive
1621 else
1622 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1623 fi || ac_status=$?
1624 cd "$ac_pwd" || { ac_status=$?; break; }
1625 done
1628 test -n "$ac_init_help" && exit $ac_status
1629 if $ac_init_version; then
1630 cat <<\_ACEOF
1631 package-unused configure version-unused
1632 generated by GNU Autoconf 2.64
1634 Copyright (C) 2009 Free Software Foundation, Inc.
1635 This configure script is free software; the Free Software Foundation
1636 gives unlimited permission to copy, distribute and modify it.
1637 _ACEOF
1638 exit
1641 ## ------------------------ ##
1642 ## Autoconf initialization. ##
1643 ## ------------------------ ##
1645 # ac_fn_c_try_compile LINENO
1646 # --------------------------
1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1648 ac_fn_c_try_compile ()
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 rm -f conftest.$ac_objext
1652 if { { ac_try="$ac_compile"
1653 case "(($ac_try" in
1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1656 esac
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_compile") 2>conftest.err
1660 ac_status=$?
1661 if test -s conftest.err; then
1662 grep -v '^ *+' conftest.err >conftest.er1
1663 cat conftest.er1 >&5
1664 mv -f conftest.er1 conftest.err
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && {
1668 test -z "$ac_c_werror_flag" ||
1669 test ! -s conftest.err
1670 } && test -s conftest.$ac_objext; then :
1671 ac_retval=0
1672 else
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1676 ac_retval=1
1678 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1679 return $ac_retval
1681 } # ac_fn_c_try_compile
1683 # ac_fn_cxx_try_compile LINENO
1684 # ----------------------------
1685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1686 ac_fn_cxx_try_compile ()
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 rm -f conftest.$ac_objext
1690 if { { ac_try="$ac_compile"
1691 case "(($ac_try" in
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1694 esac
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_compile") 2>conftest.err
1698 ac_status=$?
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && {
1706 test -z "$ac_cxx_werror_flag" ||
1707 test ! -s conftest.err
1708 } && test -s conftest.$ac_objext; then :
1709 ac_retval=0
1710 else
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1714 ac_retval=1
1716 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 return $ac_retval
1719 } # ac_fn_cxx_try_compile
1721 # ac_fn_c_try_cpp LINENO
1722 # ----------------------
1723 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 ac_fn_c_try_cpp ()
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 if { { ac_try="$ac_cpp conftest.$ac_ext"
1728 case "(($ac_try" in
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1735 ac_status=$?
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } >/dev/null && {
1743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 }; then :
1746 ac_retval=0
1747 else
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1751 ac_retval=1
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754 return $ac_retval
1756 } # ac_fn_c_try_cpp
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_link ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext conftest$ac_exeext
1765 if { { ac_try="$ac_link"
1766 case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>conftest.err
1773 ac_status=$?
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest$ac_exeext && {
1784 test "$cross_compiling" = yes ||
1785 $as_test_x conftest$ac_exeext
1786 }; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1792 ac_retval=1
1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796 # interfere with the next link command; also delete a directory that is
1797 # left behind by Apple's compiler. We do this before executing the actions.
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_link
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814 $as_echo_n "(cached) " >&6
1815 else
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822 eval "$3=yes"
1823 else
1824 eval "$3=no"
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 eval ac_res=\$$3
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 } # ac_fn_c_check_header_compile
1835 # ac_fn_c_try_run LINENO
1836 # ----------------------
1837 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1838 # that executables *can* be run.
1839 ac_fn_c_try_run ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 if { { ac_try="$ac_link"
1843 case "(($ac_try" in
1844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1845 *) ac_try_echo=$ac_try;;
1846 esac
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_link") 2>&5
1850 ac_status=$?
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1853 { { case "(($ac_try" in
1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1856 esac
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_try") 2>&5
1860 ac_status=$?
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; }; }; then :
1863 ac_retval=0
1864 else
1865 $as_echo "$as_me: program exited with status $ac_status" >&5
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1869 ac_retval=$ac_status
1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873 return $ac_retval
1875 } # ac_fn_c_try_run
1877 # ac_fn_c_check_func LINENO FUNC VAR
1878 # ----------------------------------
1879 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1880 ac_fn_c_check_func ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886 $as_echo_n "(cached) " >&6
1887 else
1888 if test x$gcc_no_link = xyes; then
1889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1895 #define $2 innocuous_$2
1897 /* System header to define __stub macros and hopefully few prototypes,
1898 which can conflict with char $2 (); below.
1899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1900 <limits.h> exists even on freestanding compilers. */
1902 #ifdef __STDC__
1903 # include <limits.h>
1904 #else
1905 # include <assert.h>
1906 #endif
1908 #undef $2
1910 /* Override any GCC internal prototype to avoid an error.
1911 Use char because int might match the return type of a GCC
1912 builtin and then its argument prototype would still apply. */
1913 #ifdef __cplusplus
1914 extern "C"
1915 #endif
1916 char $2 ();
1917 /* The GNU C library defines this for functions which it implements
1918 to always fail with ENOSYS. Some functions are actually named
1919 something starting with __ and the normal name is an alias. */
1920 #if defined __stub_$2 || defined __stub___$2
1921 choke me
1922 #endif
1925 main ()
1927 return $2 ();
1929 return 0;
1931 _ACEOF
1932 if ac_fn_c_try_link "$LINENO"; then :
1933 eval "$3=yes"
1934 else
1935 eval "$3=no"
1937 rm -f core conftest.err conftest.$ac_objext \
1938 conftest$ac_exeext conftest.$ac_ext
1940 eval ac_res=\$$3
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1945 } # ac_fn_c_check_func
1947 # ac_fn_cxx_try_cpp LINENO
1948 # ------------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 ac_fn_cxx_try_cpp ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 if { { ac_try="$ac_cpp conftest.$ac_ext"
1954 case "(($ac_try" in
1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1957 esac
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1961 ac_status=$?
1962 if test -s conftest.err; then
1963 grep -v '^ *+' conftest.err >conftest.er1
1964 cat conftest.er1 >&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } >/dev/null && {
1969 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1970 test ! -s conftest.err
1971 }; then :
1972 ac_retval=0
1973 else
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=1
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980 return $ac_retval
1982 } # ac_fn_cxx_try_cpp
1984 # ac_fn_cxx_try_link LINENO
1985 # -------------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_link ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext conftest$ac_exeext
1991 if { { ac_try="$ac_link"
1992 case "(($ac_try" in
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1995 esac
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>conftest.err
1999 ac_status=$?
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest$ac_exeext && {
2010 test "$cross_compiling" = yes ||
2011 $as_test_x conftest$ac_exeext
2012 }; then :
2013 ac_retval=0
2014 else
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2018 ac_retval=1
2020 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2021 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2022 # interfere with the next link command; also delete a directory that is
2023 # left behind by Apple's compiler. We do this before executing the actions.
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_link
2030 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2031 # -------------------------------------------------------
2032 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2033 # the include files in INCLUDES and setting the cache variable VAR
2034 # accordingly.
2035 ac_fn_c_check_header_mongrel ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2042 $as_echo_n "(cached) " >&6
2044 eval ac_res=\$$3
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2047 else
2048 # Is the header compilable?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2050 $as_echo_n "checking $2 usability... " >&6; }
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2054 #include <$2>
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057 ac_header_compiler=yes
2058 else
2059 ac_header_compiler=no
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2063 $as_echo "$ac_header_compiler" >&6; }
2065 # Is the header present?
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2067 $as_echo_n "checking $2 presence... " >&6; }
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2070 #include <$2>
2071 _ACEOF
2072 if ac_fn_c_try_cpp "$LINENO"; then :
2073 ac_header_preproc=yes
2074 else
2075 ac_header_preproc=no
2077 rm -f conftest.err conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2079 $as_echo "$ac_header_preproc" >&6; }
2081 # So? What about this header?
2082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2083 yes:no: )
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2085 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2089 no:yes:* )
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2091 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2093 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2095 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2097 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2101 esac
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105 $as_echo_n "(cached) " >&6
2106 else
2107 eval "$3=\$ac_header_compiler"
2109 eval ac_res=\$$3
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2115 } # ac_fn_c_check_header_mongrel
2117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2118 # ---------------------------------------------------------
2119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2120 # the include files in INCLUDES and setting the cache variable VAR
2121 # accordingly.
2122 ac_fn_cxx_check_header_mongrel ()
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2127 $as_echo_n "checking for $2... " >&6; }
2128 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2129 $as_echo_n "(cached) " >&6
2131 eval ac_res=\$$3
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2134 else
2135 # Is the header compilable?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2137 $as_echo_n "checking $2 usability... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2141 #include <$2>
2142 _ACEOF
2143 if ac_fn_cxx_try_compile "$LINENO"; then :
2144 ac_header_compiler=yes
2145 else
2146 ac_header_compiler=no
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2150 $as_echo "$ac_header_compiler" >&6; }
2152 # Is the header present?
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2154 $as_echo_n "checking $2 presence... " >&6; }
2155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2157 #include <$2>
2158 _ACEOF
2159 if ac_fn_cxx_try_cpp "$LINENO"; then :
2160 ac_header_preproc=yes
2161 else
2162 ac_header_preproc=no
2164 rm -f conftest.err conftest.$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2166 $as_echo "$ac_header_preproc" >&6; }
2168 # So? What about this header?
2169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2170 yes:no: )
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 no:yes:* )
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2180 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2184 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2188 esac
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190 $as_echo_n "checking for $2... " >&6; }
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192 $as_echo_n "(cached) " >&6
2193 else
2194 eval "$3=\$ac_header_compiler"
2196 eval ac_res=\$$3
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198 $as_echo "$ac_res" >&6; }
2200 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2202 } # ac_fn_cxx_check_header_mongrel
2204 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2205 # --------------------------------------------
2206 # Tries to find the compile-time value of EXPR in a program that includes
2207 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2208 # computed
2209 ac_fn_c_compute_int ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 if test "$cross_compiling" = yes; then
2213 # Depending upon the size, compute the lo and hi bounds.
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2218 main ()
2220 static int test_array [1 - 2 * !(($2) >= 0)];
2221 test_array [0] = 0
2224 return 0;
2226 _ACEOF
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228 ac_lo=0 ac_mid=0
2229 while :; do
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2234 main ()
2236 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2237 test_array [0] = 0
2240 return 0;
2242 _ACEOF
2243 if ac_fn_c_try_compile "$LINENO"; then :
2244 ac_hi=$ac_mid; break
2245 else
2246 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2247 if test $ac_lo -le $ac_mid; then
2248 ac_lo= ac_hi=
2249 break
2251 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254 done
2255 else
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2260 main ()
2262 static int test_array [1 - 2 * !(($2) < 0)];
2263 test_array [0] = 0
2266 return 0;
2268 _ACEOF
2269 if ac_fn_c_try_compile "$LINENO"; then :
2270 ac_hi=-1 ac_mid=-1
2271 while :; do
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2276 main ()
2278 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2279 test_array [0] = 0
2282 return 0;
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_lo=$ac_mid; break
2287 else
2288 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2289 if test $ac_mid -le $ac_hi; then
2290 ac_lo= ac_hi=
2291 break
2293 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296 done
2297 else
2298 ac_lo= ac_hi=
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 # Binary search between lo and hi bounds.
2304 while test "x$ac_lo" != "x$ac_hi"; do
2305 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h. */
2310 main ()
2312 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2313 test_array [0] = 0
2316 return 0;
2318 _ACEOF
2319 if ac_fn_c_try_compile "$LINENO"; then :
2320 ac_hi=$ac_mid
2321 else
2322 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 case $ac_lo in #((
2327 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2328 '') ac_retval=1 ;;
2329 esac
2330 else
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2334 static long int longval () { return $2; }
2335 static unsigned long int ulongval () { return $2; }
2336 #include <stdio.h>
2337 #include <stdlib.h>
2339 main ()
2342 FILE *f = fopen ("conftest.val", "w");
2343 if (! f)
2344 return 1;
2345 if (($2) < 0)
2347 long int i = longval ();
2348 if (i != ($2))
2349 return 1;
2350 fprintf (f, "%ld", i);
2352 else
2354 unsigned long int i = ulongval ();
2355 if (i != ($2))
2356 return 1;
2357 fprintf (f, "%lu", i);
2359 /* Do not output a trailing newline, as this causes \r\n confusion
2360 on some platforms. */
2361 return ferror (f) || fclose (f) != 0;
2364 return 0;
2366 _ACEOF
2367 if ac_fn_c_try_run "$LINENO"; then :
2368 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2369 else
2370 ac_retval=1
2372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2373 conftest.$ac_objext conftest.beam conftest.$ac_ext
2374 rm -f conftest.val
2377 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2378 return $ac_retval
2380 } # ac_fn_c_compute_int
2382 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2383 # -------------------------------------------
2384 # Tests whether TYPE exists after having included INCLUDES, setting cache
2385 # variable VAR accordingly.
2386 ac_fn_c_check_type ()
2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2390 $as_echo_n "checking for $2... " >&6; }
2391 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2392 $as_echo_n "(cached) " >&6
2393 else
2394 eval "$3=no"
2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h. */
2399 main ()
2401 if (sizeof ($2))
2402 return 0;
2404 return 0;
2406 _ACEOF
2407 if ac_fn_c_try_compile "$LINENO"; then :
2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h. */
2412 main ()
2414 if (sizeof (($2)))
2415 return 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_compile "$LINENO"; then :
2422 else
2423 eval "$3=yes"
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 eval ac_res=\$$3
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 $as_echo "$ac_res" >&6; }
2432 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2434 } # ac_fn_c_check_type
2435 cat >config.log <<_ACEOF
2436 This file contains any messages produced by compilers while
2437 running configure, to aid debugging if configure makes a mistake.
2439 It was created by package-unused $as_me version-unused, which was
2440 generated by GNU Autoconf 2.64. Invocation command line was
2442 $ $0 $@
2444 _ACEOF
2445 exec 5>>config.log
2447 cat <<_ASUNAME
2448 ## --------- ##
2449 ## Platform. ##
2450 ## --------- ##
2452 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2453 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2454 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2455 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2456 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2458 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2459 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2461 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2462 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2463 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2464 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2465 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2466 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2467 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2469 _ASUNAME
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2474 IFS=$as_save_IFS
2475 test -z "$as_dir" && as_dir=.
2476 $as_echo "PATH: $as_dir"
2477 done
2478 IFS=$as_save_IFS
2480 } >&5
2482 cat >&5 <<_ACEOF
2485 ## ----------- ##
2486 ## Core tests. ##
2487 ## ----------- ##
2489 _ACEOF
2492 # Keep a trace of the command line.
2493 # Strip out --no-create and --no-recursion so they do not pile up.
2494 # Strip out --silent because we don't want to record it for future runs.
2495 # Also quote any args containing shell meta-characters.
2496 # Make two passes to allow for proper duplicate-argument suppression.
2497 ac_configure_args=
2498 ac_configure_args0=
2499 ac_configure_args1=
2500 ac_must_keep_next=false
2501 for ac_pass in 1 2
2503 for ac_arg
2505 case $ac_arg in
2506 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2508 | -silent | --silent | --silen | --sile | --sil)
2509 continue ;;
2510 *\'*)
2511 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2512 esac
2513 case $ac_pass in
2514 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2516 as_fn_append ac_configure_args1 " '$ac_arg'"
2517 if test $ac_must_keep_next = true; then
2518 ac_must_keep_next=false # Got value, back to normal.
2519 else
2520 case $ac_arg in
2521 *=* | --config-cache | -C | -disable-* | --disable-* \
2522 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2523 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2524 | -with-* | --with-* | -without-* | --without-* | --x)
2525 case "$ac_configure_args0 " in
2526 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2527 esac
2529 -* ) ac_must_keep_next=true ;;
2530 esac
2532 as_fn_append ac_configure_args " '$ac_arg'"
2534 esac
2535 done
2536 done
2537 { ac_configure_args0=; unset ac_configure_args0;}
2538 { ac_configure_args1=; unset ac_configure_args1;}
2540 # When interrupted or exit'd, cleanup temporary files, and complete
2541 # config.log. We remove comments because anyway the quotes in there
2542 # would cause problems or look ugly.
2543 # WARNING: Use '\'' to represent an apostrophe within the trap.
2544 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2545 trap 'exit_status=$?
2546 # Save into config.log some information that might help in debugging.
2548 echo
2550 cat <<\_ASBOX
2551 ## ---------------- ##
2552 ## Cache variables. ##
2553 ## ---------------- ##
2554 _ASBOX
2555 echo
2556 # The following way of writing the cache mishandles newlines in values,
2558 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2559 eval ac_val=\$$ac_var
2560 case $ac_val in #(
2561 *${as_nl}*)
2562 case $ac_var in #(
2563 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2564 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2565 esac
2566 case $ac_var in #(
2567 _ | IFS | as_nl) ;; #(
2568 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2569 *) { eval $ac_var=; unset $ac_var;} ;;
2570 esac ;;
2571 esac
2572 done
2573 (set) 2>&1 |
2574 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2575 *${as_nl}ac_space=\ *)
2576 sed -n \
2577 "s/'\''/'\''\\\\'\'''\''/g;
2578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2579 ;; #(
2581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2583 esac |
2584 sort
2586 echo
2588 cat <<\_ASBOX
2589 ## ----------------- ##
2590 ## Output variables. ##
2591 ## ----------------- ##
2592 _ASBOX
2593 echo
2594 for ac_var in $ac_subst_vars
2596 eval ac_val=\$$ac_var
2597 case $ac_val in
2598 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2599 esac
2600 $as_echo "$ac_var='\''$ac_val'\''"
2601 done | sort
2602 echo
2604 if test -n "$ac_subst_files"; then
2605 cat <<\_ASBOX
2606 ## ------------------- ##
2607 ## File substitutions. ##
2608 ## ------------------- ##
2609 _ASBOX
2610 echo
2611 for ac_var in $ac_subst_files
2613 eval ac_val=\$$ac_var
2614 case $ac_val in
2615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2616 esac
2617 $as_echo "$ac_var='\''$ac_val'\''"
2618 done | sort
2619 echo
2622 if test -s confdefs.h; then
2623 cat <<\_ASBOX
2624 ## ----------- ##
2625 ## confdefs.h. ##
2626 ## ----------- ##
2627 _ASBOX
2628 echo
2629 cat confdefs.h
2630 echo
2632 test "$ac_signal" != 0 &&
2633 $as_echo "$as_me: caught signal $ac_signal"
2634 $as_echo "$as_me: exit $exit_status"
2635 } >&5
2636 rm -f core *.core core.conftest.* &&
2637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2638 exit $exit_status
2640 for ac_signal in 1 2 13 15; do
2641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2642 done
2643 ac_signal=0
2645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2646 rm -f -r conftest* confdefs.h
2648 $as_echo "/* confdefs.h */" > confdefs.h
2650 # Predefined preprocessor variables.
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_NAME "$PACKAGE_NAME"
2654 _ACEOF
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2658 _ACEOF
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2662 _ACEOF
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_STRING "$PACKAGE_STRING"
2666 _ACEOF
2668 cat >>confdefs.h <<_ACEOF
2669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2670 _ACEOF
2672 cat >>confdefs.h <<_ACEOF
2673 #define PACKAGE_URL "$PACKAGE_URL"
2674 _ACEOF
2677 # Let the site file select an alternate cache file if it wants to.
2678 # Prefer an explicitly selected file to automatically selected ones.
2679 ac_site_file1=NONE
2680 ac_site_file2=NONE
2681 if test -n "$CONFIG_SITE"; then
2682 ac_site_file1=$CONFIG_SITE
2683 elif test "x$prefix" != xNONE; then
2684 ac_site_file1=$prefix/share/config.site
2685 ac_site_file2=$prefix/etc/config.site
2686 else
2687 ac_site_file1=$ac_default_prefix/share/config.site
2688 ac_site_file2=$ac_default_prefix/etc/config.site
2690 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2692 test "x$ac_site_file" = xNONE && continue
2693 if test -r "$ac_site_file"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2696 sed 's/^/| /' "$ac_site_file" >&5
2697 . "$ac_site_file"
2699 done
2701 if test -r "$cache_file"; then
2702 # Some versions of bash will fail to source /dev/null (special
2703 # files actually), so we avoid doing that.
2704 if test -f "$cache_file"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2706 $as_echo "$as_me: loading cache $cache_file" >&6;}
2707 case $cache_file in
2708 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2709 *) . "./$cache_file";;
2710 esac
2712 else
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2714 $as_echo "$as_me: creating cache $cache_file" >&6;}
2715 >$cache_file
2718 # Check that the precious variables saved in the cache have kept the same
2719 # value.
2720 ac_cache_corrupted=false
2721 for ac_var in $ac_precious_vars; do
2722 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2723 eval ac_new_set=\$ac_env_${ac_var}_set
2724 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2725 eval ac_new_val=\$ac_env_${ac_var}_value
2726 case $ac_old_set,$ac_new_set in
2727 set,)
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2729 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2730 ac_cache_corrupted=: ;;
2731 ,set)
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2733 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2734 ac_cache_corrupted=: ;;
2735 ,);;
2737 if test "x$ac_old_val" != "x$ac_new_val"; then
2738 # differences in whitespace do not lead to failure.
2739 ac_old_val_w=`echo x $ac_old_val`
2740 ac_new_val_w=`echo x $ac_new_val`
2741 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2743 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2744 ac_cache_corrupted=:
2745 else
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2747 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2748 eval $ac_var=\$ac_old_val
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2751 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2753 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2754 fi;;
2755 esac
2756 # Pass precious variables to config.status.
2757 if test "$ac_new_set" = set; then
2758 case $ac_new_val in
2759 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2760 *) ac_arg=$ac_var=$ac_new_val ;;
2761 esac
2762 case " $ac_configure_args " in
2763 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2764 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2765 esac
2767 done
2768 if $ac_cache_corrupted; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2772 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2773 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2775 ## -------------------- ##
2776 ## Main body of script. ##
2777 ## -------------------- ##
2779 ac_ext=c
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2790 ac_config_headers="$ac_config_headers config.h"
2793 # This works around the fact that libtool configuration may change LD
2794 # for this particular configuration, but some shells, instead of
2795 # keeping the changes in LD private, export them just because LD is
2796 # exported. Only used at the end of this file.
2797 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2799 # For libtool versioning info, format is CURRENT:REVISION:AGE
2800 libtool_VERSION=6:15:0
2803 # Find the rest of the source tree framework.
2804 # Default to --enable-multilib
2805 # Check whether --enable-multilib was given.
2806 if test "${enable_multilib+set}" = set; then :
2807 enableval=$enable_multilib; case "$enableval" in
2808 yes) multilib=yes ;;
2809 no) multilib=no ;;
2810 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2811 esac
2812 else
2813 multilib=yes
2817 # We may get other options which we leave undocumented:
2818 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2819 # See config-ml.in if you want the gory details.
2821 if test "$srcdir" = "."; then
2822 if test "$with_target_subdir" != "."; then
2823 multi_basedir="$srcdir/$with_multisrctop../.."
2824 else
2825 multi_basedir="$srcdir/$with_multisrctop.."
2827 else
2828 multi_basedir="$srcdir/.."
2832 # Even if the default multilib is not a cross compilation,
2833 # it may be that some of the other multilibs are.
2834 if test $cross_compiling = no && test $multilib = yes \
2835 && test "x${with_multisubdir}" != x ; then
2836 cross_compiling=maybe
2839 ac_config_commands="$ac_config_commands default-1"
2842 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2844 # You will slowly go insane if you do not grok the following fact: when
2845 # building v3 as part of the compiler, the top-level /target/ becomes the
2846 # library's /host/. configure then causes --target to default to --host,
2847 # exactly like any other package using autoconf. Therefore, 'target' and
2848 # 'host' will always be the same. This makes sense both for native and
2849 # cross compilers, just think about it for a little while. :-)
2851 # Also, if v3 is being configured as part of a cross compiler, the top-level
2852 # configure script will pass the "real" host as $with_cross_host.
2854 # Do not delete or change the following two lines. For why, see
2855 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2856 ac_aux_dir=
2857 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2858 for ac_t in install-sh install.sh shtool; do
2859 if test -f "$ac_dir/$ac_t"; then
2860 ac_aux_dir=$ac_dir
2861 ac_install_sh="$ac_aux_dir/$ac_t -c"
2862 break 2
2864 done
2865 done
2866 if test -z "$ac_aux_dir"; then
2867 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2870 # These three variables are undocumented and unsupported,
2871 # and are intended to be withdrawn in a future Autoconf release.
2872 # They can cause serious problems if a builder's source tree is in a directory
2873 # whose full name contains unusual characters.
2874 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2875 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2876 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2879 # Make sure we can run config.sub.
2880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2881 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2884 $as_echo_n "checking build system type... " >&6; }
2885 if test "${ac_cv_build+set}" = set; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 ac_build_alias=$build_alias
2889 test "x$ac_build_alias" = x &&
2890 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2891 test "x$ac_build_alias" = x &&
2892 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2893 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2894 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2898 $as_echo "$ac_cv_build" >&6; }
2899 case $ac_cv_build in
2900 *-*-*) ;;
2901 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2902 esac
2903 build=$ac_cv_build
2904 ac_save_IFS=$IFS; IFS='-'
2905 set x $ac_cv_build
2906 shift
2907 build_cpu=$1
2908 build_vendor=$2
2909 shift; shift
2910 # Remember, the first character of IFS is used to create $*,
2911 # except with old shells:
2912 build_os=$*
2913 IFS=$ac_save_IFS
2914 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2918 $as_echo_n "checking host system type... " >&6; }
2919 if test "${ac_cv_host+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2921 else
2922 if test "x$host_alias" = x; then
2923 ac_cv_host=$ac_cv_build
2924 else
2925 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2926 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2931 $as_echo "$ac_cv_host" >&6; }
2932 case $ac_cv_host in
2933 *-*-*) ;;
2934 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2935 esac
2936 host=$ac_cv_host
2937 ac_save_IFS=$IFS; IFS='-'
2938 set x $ac_cv_host
2939 shift
2940 host_cpu=$1
2941 host_vendor=$2
2942 shift; shift
2943 # Remember, the first character of IFS is used to create $*,
2944 # except with old shells:
2945 host_os=$*
2946 IFS=$ac_save_IFS
2947 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2951 $as_echo_n "checking target system type... " >&6; }
2952 if test "${ac_cv_target+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 if test "x$target_alias" = x; then
2956 ac_cv_target=$ac_cv_host
2957 else
2958 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2959 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2964 $as_echo "$ac_cv_target" >&6; }
2965 case $ac_cv_target in
2966 *-*-*) ;;
2967 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2968 esac
2969 target=$ac_cv_target
2970 ac_save_IFS=$IFS; IFS='-'
2971 set x $ac_cv_target
2972 shift
2973 target_cpu=$1
2974 target_vendor=$2
2975 shift; shift
2976 # Remember, the first character of IFS is used to create $*,
2977 # except with old shells:
2978 target_os=$*
2979 IFS=$ac_save_IFS
2980 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2983 # The aliases save the names the user supplied, while $host etc.
2984 # will get canonicalized.
2985 test -n "$target_alias" &&
2986 test "$program_prefix$program_suffix$program_transform_name" = \
2987 NONENONEs,x,x, &&
2988 program_prefix=${target_alias}-
2990 target_alias=${target_alias-$host_alias}
2992 # Handy for debugging:
2993 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2995 if test "$build" != "$host"; then
2996 # We are being configured with some form of cross compiler.
2997 GLIBCXX_IS_NATIVE=false
2998 case "$host","$target" in
2999 # Darwin crosses can use the host system's libraries and headers,
3000 # because of the fat library support. Of course, it must be the
3001 # same version of Darwin on both sides. Allow the user to
3002 # just say --target=foo-darwin without a version number to mean
3003 # "the version on this system".
3004 *-*-darwin*,*-*-darwin*)
3005 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3006 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3007 if test $hostos = $targetos -o $targetos = darwin ; then
3008 GLIBCXX_IS_NATIVE=true
3015 esac
3016 else
3017 GLIBCXX_IS_NATIVE=true
3020 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3021 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3022 # 1.x: minimum required version
3023 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3024 # of other PACKAGE_* variables will, however, and there's nothing
3025 # we can do about that; they come from AC_INIT).
3026 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3027 # file in the top srcdir, etc, etc), so stop complaining.
3028 # no-dependencies: turns off auto dependency generation (just for now)
3029 # no-dist: we don't want 'dist' and related rules.
3030 # -Wall: turns on all automake warnings...
3031 # -Wno-portability: ...except this one, since GNU make is now required.
3032 am__api_version='1.11'
3034 # Find a good install program. We prefer a C program (faster),
3035 # so one script is as good as another. But avoid the broken or
3036 # incompatible versions:
3037 # SysV /etc/install, /usr/sbin/install
3038 # SunOS /usr/etc/install
3039 # IRIX /sbin/install
3040 # AIX /bin/install
3041 # AmigaOS /C/install, which installs bootblocks on floppy discs
3042 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3043 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3044 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3045 # OS/2's system install, which has a completely different semantic
3046 # ./install, which can be erroneously created by make from ./install.sh.
3047 # Reject install programs that cannot install multiple files.
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3049 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3050 if test -z "$INSTALL"; then
3051 if test "${ac_cv_path_install+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3057 IFS=$as_save_IFS
3058 test -z "$as_dir" && as_dir=.
3059 # Account for people who put trailing slashes in PATH elements.
3060 case $as_dir/ in #((
3061 ./ | .// | /[cC]/* | \
3062 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3063 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3064 /usr/ucb/* ) ;;
3066 # OSF1 and SCO ODT 3.0 have their own names for install.
3067 # Don't use installbsd from OSF since it installs stuff as root
3068 # by default.
3069 for ac_prog in ginstall scoinst install; do
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3072 if test $ac_prog = install &&
3073 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3074 # AIX install. It has an incompatible calling convention.
3076 elif test $ac_prog = install &&
3077 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3078 # program-specific install script used by HP pwplus--don't use.
3080 else
3081 rm -rf conftest.one conftest.two conftest.dir
3082 echo one > conftest.one
3083 echo two > conftest.two
3084 mkdir conftest.dir
3085 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3086 test -s conftest.one && test -s conftest.two &&
3087 test -s conftest.dir/conftest.one &&
3088 test -s conftest.dir/conftest.two
3089 then
3090 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3091 break 3
3095 done
3096 done
3098 esac
3100 done
3101 IFS=$as_save_IFS
3103 rm -rf conftest.one conftest.two conftest.dir
3106 if test "${ac_cv_path_install+set}" = set; then
3107 INSTALL=$ac_cv_path_install
3108 else
3109 # As a last resort, use the slow shell script. Don't cache a
3110 # value for INSTALL within a source directory, because that will
3111 # break other packages using the cache if that directory is
3112 # removed, or if the value is a relative name.
3113 INSTALL=$ac_install_sh
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3117 $as_echo "$INSTALL" >&6; }
3119 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3120 # It thinks the first close brace ends the variable substitution.
3121 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3123 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3125 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3128 $as_echo_n "checking whether build environment is sane... " >&6; }
3129 # Just in case
3130 sleep 1
3131 echo timestamp > conftest.file
3132 # Reject unsafe characters in $srcdir or the absolute working directory
3133 # name. Accept space and tab only in the latter.
3134 am_lf='
3136 case `pwd` in
3137 *[\\\"\#\$\&\'\`$am_lf]*)
3138 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3139 esac
3140 case $srcdir in
3141 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3142 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3143 esac
3145 # Do `set' in a subshell so we don't clobber the current shell's
3146 # arguments. Must try -L first in case configure is actually a
3147 # symlink; some systems play weird games with the mod time of symlinks
3148 # (eg FreeBSD returns the mod time of the symlink's containing
3149 # directory).
3150 if (
3151 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3152 if test "$*" = "X"; then
3153 # -L didn't work.
3154 set X `ls -t "$srcdir/configure" conftest.file`
3156 rm -f conftest.file
3157 if test "$*" != "X $srcdir/configure conftest.file" \
3158 && test "$*" != "X conftest.file $srcdir/configure"; then
3160 # If neither matched, then we have a broken ls. This can happen
3161 # if, for instance, CONFIG_SHELL is bash and it inherits a
3162 # broken ls alias from the environment. This has actually
3163 # happened. Such a system could not be considered "sane".
3164 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3165 alias in your environment" "$LINENO" 5
3168 test "$2" = conftest.file
3170 then
3171 # Ok.
3173 else
3174 as_fn_error "newly created file is older than distributed files!
3175 Check your system clock" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3178 $as_echo "yes" >&6; }
3179 test "$program_prefix" != NONE &&
3180 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3181 # Use a double $ so make ignores it.
3182 test "$program_suffix" != NONE &&
3183 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3184 # Double any \ or $.
3185 # By default was `s,x,x', remove it if useless.
3186 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3187 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3189 # expand $ac_aux_dir to an absolute path
3190 am_aux_dir=`cd $ac_aux_dir && pwd`
3192 if test x"${MISSING+set}" != xset; then
3193 case $am_aux_dir in
3194 *\ * | *\ *)
3195 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3197 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3198 esac
3200 # Use eval to expand $SHELL
3201 if eval "$MISSING --run true"; then
3202 am_missing_run="$MISSING --run "
3203 else
3204 am_missing_run=
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3206 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3209 if test x"${install_sh}" != xset; then
3210 case $am_aux_dir in
3211 *\ * | *\ *)
3212 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3214 install_sh="\${SHELL} $am_aux_dir/install-sh"
3215 esac
3218 # Installed binaries are usually stripped using `strip' when the user
3219 # run `make install-strip'. However `strip' might not be the right
3220 # tool to use in cross-compilation environments, therefore Automake
3221 # will honor the `STRIP' environment variable to overrule this program.
3222 if test "$cross_compiling" != no; then
3223 if test -n "$ac_tool_prefix"; then
3224 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3225 set dummy ${ac_tool_prefix}strip; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if test "${ac_cv_prog_STRIP+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3230 else
3231 if test -n "$STRIP"; then
3232 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3237 IFS=$as_save_IFS
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 break 2
3245 done
3246 done
3247 IFS=$as_save_IFS
3251 STRIP=$ac_cv_prog_STRIP
3252 if test -n "$STRIP"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3254 $as_echo "$STRIP" >&6; }
3255 else
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3262 if test -z "$ac_cv_prog_STRIP"; then
3263 ac_ct_STRIP=$STRIP
3264 # Extract the first word of "strip", so it can be a program name with args.
3265 set dummy strip; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 if test -n "$ac_ct_STRIP"; then
3272 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3273 else
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 for as_dir in $PATH
3277 IFS=$as_save_IFS
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_ac_ct_STRIP="strip"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 break 2
3285 done
3286 done
3287 IFS=$as_save_IFS
3291 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3292 if test -n "$ac_ct_STRIP"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3294 $as_echo "$ac_ct_STRIP" >&6; }
3295 else
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3300 if test "x$ac_ct_STRIP" = x; then
3301 STRIP=":"
3302 else
3303 case $cross_compiling:$ac_tool_warned in
3304 yes:)
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307 ac_tool_warned=yes ;;
3308 esac
3309 STRIP=$ac_ct_STRIP
3311 else
3312 STRIP="$ac_cv_prog_STRIP"
3316 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3319 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3320 if test -z "$MKDIR_P"; then
3321 if test "${ac_cv_path_mkdir+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3327 IFS=$as_save_IFS
3328 test -z "$as_dir" && as_dir=.
3329 for ac_prog in mkdir gmkdir; do
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3332 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3333 'mkdir (GNU coreutils) '* | \
3334 'mkdir (coreutils) '* | \
3335 'mkdir (fileutils) '4.1*)
3336 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3337 break 3;;
3338 esac
3339 done
3340 done
3341 done
3342 IFS=$as_save_IFS
3346 if test "${ac_cv_path_mkdir+set}" = set; then
3347 MKDIR_P="$ac_cv_path_mkdir -p"
3348 else
3349 # As a last resort, use the slow shell script. Don't cache a
3350 # value for MKDIR_P within a source directory, because that will
3351 # break other packages using the cache if that directory is
3352 # removed, or if the value is a relative name.
3353 test -d ./--version && rmdir ./--version
3354 MKDIR_P="$ac_install_sh -d"
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3358 $as_echo "$MKDIR_P" >&6; }
3360 mkdir_p="$MKDIR_P"
3361 case $mkdir_p in
3362 [\\/$]* | ?:[\\/]*) ;;
3363 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3364 esac
3366 for ac_prog in gawk mawk nawk awk
3368 # Extract the first word of "$ac_prog", so it can be a program name with args.
3369 set dummy $ac_prog; ac_word=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if test "${ac_cv_prog_AWK+set}" = set; then :
3373 $as_echo_n "(cached) " >&6
3374 else
3375 if test -n "$AWK"; then
3376 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385 ac_cv_prog_AWK="$ac_prog"
3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 break 2
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 AWK=$ac_cv_prog_AWK
3396 if test -n "$AWK"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3398 $as_echo "$AWK" >&6; }
3399 else
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3405 test -n "$AWK" && break
3406 done
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3409 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3410 set x ${MAKE-make}
3411 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3412 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 cat >conftest.make <<\_ACEOF
3416 SHELL = /bin/sh
3417 all:
3418 @echo '@@@%%%=$(MAKE)=@@@%%%'
3419 _ACEOF
3420 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3421 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3422 *@@@%%%=?*=@@@%%%*)
3423 eval ac_cv_prog_make_${ac_make}_set=yes;;
3425 eval ac_cv_prog_make_${ac_make}_set=no;;
3426 esac
3427 rm -f conftest.make
3429 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3431 $as_echo "yes" >&6; }
3432 SET_MAKE=
3433 else
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3436 SET_MAKE="MAKE=${MAKE-make}"
3439 rm -rf .tst 2>/dev/null
3440 mkdir .tst 2>/dev/null
3441 if test -d .tst; then
3442 am__leading_dot=.
3443 else
3444 am__leading_dot=_
3446 rmdir .tst 2>/dev/null
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450 # is not polluted with repeated "-I."
3451 am__isrc=' -I$(srcdir)'
3452 # test to see if srcdir already configured
3453 if test -f $srcdir/config.status; then
3454 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460 if (cygpath --version) >/dev/null 2>/dev/null; then
3461 CYGPATH_W='cygpath -w'
3462 else
3463 CYGPATH_W=echo
3468 # Define the identity of the package.
3469 PACKAGE='libstdc++'
3470 VERSION='version-unused'
3473 # Some tools Automake needs.
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3489 # We need awk for the "check" target. The system "awk" is bad on
3490 # some platforms.
3491 # Always define AMTAR for backward compatibility.
3493 AMTAR=${AMTAR-"${am_missing_run}tar"}
3495 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3504 # -fno-builtin must be present here so that a non-conflicting form of
3505 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3507 save_CXXFLAGS="$CXXFLAGS"
3508 CXXFLAGS="$CXXFLAGS -fno-builtin"
3509 ac_ext=c
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if test "${ac_cv_prog_CC+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3521 else
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC="$CC" # Let the user override the test.
3524 else
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 for as_dir in $PATH
3528 IFS=$as_save_IFS
3529 test -z "$as_dir" && as_dir=.
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3532 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 break 2
3536 done
3537 done
3538 IFS=$as_save_IFS
3542 CC=$ac_cv_prog_CC
3543 if test -n "$CC"; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3546 else
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3553 if test -z "$ac_cv_prog_CC"; then
3554 ac_ct_CC=$CC
3555 # Extract the first word of "gcc", so it can be a program name with args.
3556 set dummy gcc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3561 else
3562 if test -n "$ac_ct_CC"; then
3563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3564 else
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3568 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 ac_cv_prog_ac_ct_CC="gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 break 2
3576 done
3577 done
3578 IFS=$as_save_IFS
3582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 $as_echo "$ac_ct_CC" >&6; }
3586 else
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3591 if test "x$ac_ct_CC" = x; then
3592 CC=""
3593 else
3594 case $cross_compiling:$ac_tool_warned in
3595 yes:)
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned=yes ;;
3599 esac
3600 CC=$ac_ct_CC
3602 else
3603 CC="$ac_cv_prog_CC"
3606 if test -z "$CC"; then
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3609 set dummy ${ac_tool_prefix}cc; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_CC+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3614 else
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC="$CC" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_CC="${ac_tool_prefix}cc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 CC=$ac_cv_prog_CC
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3639 else
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3647 if test -z "$CC"; then
3648 # Extract the first word of "cc", so it can be a program name with args.
3649 set dummy cc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if test "${ac_cv_prog_CC+set}" = set; then :
3653 $as_echo_n "(cached) " >&6
3654 else
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC="$CC" # Let the user override the test.
3657 else
3658 ac_prog_rejected=no
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3667 ac_prog_rejected=yes
3668 continue
3670 ac_cv_prog_CC="cc"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 break 2
3674 done
3675 done
3676 IFS=$as_save_IFS
3678 if test $ac_prog_rejected = yes; then
3679 # We found a bogon in the path, so make sure we never use it.
3680 set dummy $ac_cv_prog_CC
3681 shift
3682 if test $# != 0; then
3683 # We chose a different compiler from the bogus one.
3684 # However, it has the same basename, so the bogon will be chosen
3685 # first if we set CC to just the basename; use the full file name.
3686 shift
3687 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3692 CC=$ac_cv_prog_CC
3693 if test -n "$CC"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3695 $as_echo "$CC" >&6; }
3696 else
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 for ac_prog in cl.exe
3707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_CC+set}" = set; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC="$CC" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3720 IFS=$as_save_IFS
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3728 done
3729 done
3730 IFS=$as_save_IFS
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$CC" && break
3745 done
3747 if test -z "$CC"; then
3748 ac_ct_CC=$CC
3749 for ac_prog in cl.exe
3751 # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy $ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 if test -n "$ac_ct_CC"; then
3759 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3764 IFS=$as_save_IFS
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768 ac_cv_prog_ac_ct_CC="$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 break 2
3772 done
3773 done
3774 IFS=$as_save_IFS
3778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3779 if test -n "$ac_ct_CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3781 $as_echo "$ac_ct_CC" >&6; }
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$ac_ct_CC" && break
3789 done
3791 if test "x$ac_ct_CC" = x; then
3792 CC=""
3793 else
3794 case $cross_compiling:$ac_tool_warned in
3795 yes:)
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned=yes ;;
3799 esac
3800 CC=$ac_ct_CC
3807 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error "no acceptable C compiler found in \$PATH
3810 See \`config.log' for more details." "$LINENO" 5; }
3812 # Provide some information about the compiler.
3813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3814 set X $ac_compile
3815 ac_compiler=$2
3816 for ac_option in --version -v -V -qversion; do
3817 { { ac_try="$ac_compiler $ac_option >&5"
3818 case "(($ac_try" in
3819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3821 esac
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3825 ac_status=$?
3826 if test -s conftest.err; then
3827 sed '10a\
3828 ... rest of stderr output deleted ...
3829 10q' conftest.err >conftest.er1
3830 cat conftest.er1 >&5
3831 rm -f conftest.er1 conftest.err
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }
3835 done
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3841 main ()
3845 return 0;
3847 _ACEOF
3848 # FIXME: Cleanup?
3849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3850 (eval $ac_link) 2>&5
3851 ac_status=$?
3852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853 test $ac_status = 0; }; then :
3854 gcc_no_link=no
3855 else
3856 gcc_no_link=yes
3858 if test x$gcc_no_link = xyes; then
3859 # Setting cross_compile will disable run tests; it will
3860 # also disable AC_CHECK_FILE but that's generally
3861 # correct if we can't link.
3862 cross_compiling=yes
3863 EXEEXT=
3864 else
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 main ()
3873 return 0;
3875 _ACEOF
3876 ac_clean_files_save=$ac_clean_files
3877 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3878 # Try to create an executable without -o first, disregard a.out.
3879 # It will help us diagnose broken compilers, and finding out an intuition
3880 # of exeext.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3882 $as_echo_n "checking for C compiler default output file name... " >&6; }
3883 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3885 # The possible output files:
3886 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3888 ac_rmfiles=
3889 for ac_file in $ac_files
3891 case $ac_file in
3892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3893 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3894 esac
3895 done
3896 rm -f $ac_rmfiles
3898 if { { ac_try="$ac_link_default"
3899 case "(($ac_try" in
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3902 esac
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_link_default") 2>&5
3906 ac_status=$?
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }; then :
3909 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3910 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3911 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3912 # so that the user can short-circuit this test for compilers unknown to
3913 # Autoconf.
3914 for ac_file in $ac_files ''
3916 test -f "$ac_file" || continue
3917 case $ac_file in
3918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3920 [ab].out )
3921 # We found the default executable, but exeext='' is most
3922 # certainly right.
3923 break;;
3924 *.* )
3925 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3926 then :; else
3927 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3929 # We set ac_cv_exeext here because the later test for it is not
3930 # safe: cross compilers may not add the suffix if given an `-o'
3931 # argument, so we may need to know it at that point already.
3932 # Even if this section looks crufty: it has the advantage of
3933 # actually working.
3934 break;;
3936 break;;
3937 esac
3938 done
3939 test "$ac_cv_exeext" = no && ac_cv_exeext=
3941 else
3942 ac_file=''
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3945 $as_echo "$ac_file" >&6; }
3946 if test -z "$ac_file"; then :
3947 $as_echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3952 { as_fn_set_status 77
3953 as_fn_error "C compiler cannot create executables
3954 See \`config.log' for more details." "$LINENO" 5; }; }
3956 ac_exeext=$ac_cv_exeext
3958 # Check that the compiler produces executables we can run. If not, either
3959 # the compiler is broken, or we cross compile.
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3961 $as_echo_n "checking whether the C compiler works... " >&6; }
3962 # If not cross compiling, check that we can run a simple program.
3963 if test "$cross_compiling" != yes; then
3964 if { ac_try='./$ac_file'
3965 { { case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3968 esac
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_try") 2>&5
3972 ac_status=$?
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; }; }; then
3975 cross_compiling=no
3976 else
3977 if test "$cross_compiling" = maybe; then
3978 cross_compiling=yes
3979 else
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error "cannot run C compiled programs.
3983 If you meant to cross compile, use \`--host'.
3984 See \`config.log' for more details." "$LINENO" 5; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3989 $as_echo "yes" >&6; }
3991 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3992 ac_clean_files=$ac_clean_files_save
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3996 $as_echo_n "checking whether we are cross compiling... " >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3998 $as_echo "$cross_compiling" >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try="$ac_link"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4014 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4016 # `rm'.
4017 for ac_file in conftest.exe conftest conftest.*; do
4018 test -f "$ac_file" || continue
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022 break;;
4023 * ) break;;
4024 esac
4025 done
4026 else
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error "cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details." "$LINENO" 5; }
4032 rm -f conftest$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4036 rm -f conftest.$ac_ext
4037 EXEEXT=$ac_cv_exeext
4038 ac_exeext=$EXEEXT
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4041 $as_echo_n "checking for suffix of object files... " >&6; }
4042 if test "${ac_cv_objext+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4049 main ()
4053 return 0;
4055 _ACEOF
4056 rm -f conftest.o conftest.obj
4057 if { { ac_try="$ac_compile"
4058 case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061 esac
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_compile") 2>&5
4065 ac_status=$?
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; then :
4068 for ac_file in conftest.o conftest.obj conftest.*; do
4069 test -f "$ac_file" || continue;
4070 case $ac_file in
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4072 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4073 break;;
4074 esac
4075 done
4076 else
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error "cannot compute suffix of object files: cannot compile
4083 See \`config.log' for more details." "$LINENO" 5; }
4085 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4088 $as_echo "$ac_cv_objext" >&6; }
4089 OBJEXT=$ac_cv_objext
4090 ac_objext=$OBJEXT
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4092 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4093 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4100 main ()
4102 #ifndef __GNUC__
4103 choke me
4104 #endif
4107 return 0;
4109 _ACEOF
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 ac_compiler_gnu=yes
4112 else
4113 ac_compiler_gnu=no
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4120 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4121 if test $ac_compiler_gnu = yes; then
4122 GCC=yes
4123 else
4124 GCC=
4126 ac_test_CFLAGS=${CFLAGS+set}
4127 ac_save_CFLAGS=$CFLAGS
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4129 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4130 if test "${ac_cv_prog_cc_g+set}" = set; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 ac_save_c_werror_flag=$ac_c_werror_flag
4134 ac_c_werror_flag=yes
4135 ac_cv_prog_cc_g=no
4136 CFLAGS="-g"
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149 ac_cv_prog_cc_g=yes
4150 else
4151 CFLAGS=""
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4156 main ()
4160 return 0;
4162 _ACEOF
4163 if ac_fn_c_try_compile "$LINENO"; then :
4165 else
4166 ac_c_werror_flag=$ac_save_c_werror_flag
4167 CFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_cv_prog_cc_g=yes
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 ac_c_werror_flag=$ac_save_c_werror_flag
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4190 $as_echo "$ac_cv_prog_cc_g" >&6; }
4191 if test "$ac_test_CFLAGS" = set; then
4192 CFLAGS=$ac_save_CFLAGS
4193 elif test $ac_cv_prog_cc_g = yes; then
4194 if test "$GCC" = yes; then
4195 CFLAGS="-g -O2"
4196 else
4197 CFLAGS="-g"
4199 else
4200 if test "$GCC" = yes; then
4201 CFLAGS="-O2"
4202 else
4203 CFLAGS=
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4207 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4208 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 ac_cv_prog_cc_c89=no
4212 ac_save_CC=$CC
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215 #include <stdarg.h>
4216 #include <stdio.h>
4217 #include <sys/types.h>
4218 #include <sys/stat.h>
4219 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4220 struct buf { int x; };
4221 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4222 static char *e (p, i)
4223 char **p;
4224 int i;
4226 return p[i];
4228 static char *f (char * (*g) (char **, int), char **p, ...)
4230 char *s;
4231 va_list v;
4232 va_start (v,p);
4233 s = g (p, va_arg (v,int));
4234 va_end (v);
4235 return s;
4238 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4239 function prototypes and stuff, but not '\xHH' hex character constants.
4240 These don't provoke an error unfortunately, instead are silently treated
4241 as 'x'. The following induces an error, until -std is added to get
4242 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4243 array size at least. It's necessary to write '\x00'==0 to get something
4244 that's true only with -std. */
4245 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4247 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4248 inside strings and character constants. */
4249 #define FOO(x) 'x'
4250 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4252 int test (int i, double x);
4253 struct s1 {int (*f) (int a);};
4254 struct s2 {int (*f) (double a);};
4255 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 int argc;
4257 char **argv;
4259 main ()
4261 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4263 return 0;
4265 _ACEOF
4266 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4267 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4269 CC="$ac_save_CC $ac_arg"
4270 if ac_fn_c_try_compile "$LINENO"; then :
4271 ac_cv_prog_cc_c89=$ac_arg
4273 rm -f core conftest.err conftest.$ac_objext
4274 test "x$ac_cv_prog_cc_c89" != "xno" && break
4275 done
4276 rm -f conftest.$ac_ext
4277 CC=$ac_save_CC
4280 # AC_CACHE_VAL
4281 case "x$ac_cv_prog_cc_c89" in
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4284 $as_echo "none needed" >&6; } ;;
4285 xno)
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4287 $as_echo "unsupported" >&6; } ;;
4289 CC="$CC $ac_cv_prog_cc_c89"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4291 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4292 esac
4293 if test "x$ac_cv_prog_cc_c89" != xno; then :
4297 ac_ext=c
4298 ac_cpp='$CPP $CPPFLAGS'
4299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 ac_ext=cpp
4304 ac_cpp='$CXXCPP $CPPFLAGS'
4305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4308 if test -z "$CXX"; then
4309 if test -n "$CCC"; then
4310 CXX=$CCC
4311 else
4312 if test -n "$ac_tool_prefix"; then
4313 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if test "${ac_cv_prog_CXX+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 if test -n "$CXX"; then
4323 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4324 else
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4328 IFS=$as_save_IFS
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 break 2
4336 done
4337 done
4338 IFS=$as_save_IFS
4342 CXX=$ac_cv_prog_CXX
4343 if test -n "$CXX"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4345 $as_echo "$CXX" >&6; }
4346 else
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4352 test -n "$CXX" && break
4353 done
4355 if test -z "$CXX"; then
4356 ac_ct_CXX=$CXX
4357 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4359 # Extract the first word of "$ac_prog", so it can be a program name with args.
4360 set dummy $ac_prog; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 if test -n "$ac_ct_CXX"; then
4367 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4368 else
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 for as_dir in $PATH
4372 IFS=$as_save_IFS
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_prog_ac_ct_CXX="$ac_prog"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 break 2
4380 done
4381 done
4382 IFS=$as_save_IFS
4386 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4387 if test -n "$ac_ct_CXX"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4389 $as_echo "$ac_ct_CXX" >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 test -n "$ac_ct_CXX" && break
4397 done
4399 if test "x$ac_ct_CXX" = x; then
4400 CXX="g++"
4401 else
4402 case $cross_compiling:$ac_tool_warned in
4403 yes:)
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4406 ac_tool_warned=yes ;;
4407 esac
4408 CXX=$ac_ct_CXX
4414 # Provide some information about the compiler.
4415 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4416 set X $ac_compile
4417 ac_compiler=$2
4418 for ac_option in --version -v -V -qversion; do
4419 { { ac_try="$ac_compiler $ac_option >&5"
4420 case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4423 esac
4424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4427 ac_status=$?
4428 if test -s conftest.err; then
4429 sed '10a\
4430 ... rest of stderr output deleted ...
4431 10q' conftest.err >conftest.er1
4432 cat conftest.er1 >&5
4433 rm -f conftest.er1 conftest.err
4435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436 test $ac_status = 0; }
4437 done
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4440 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4448 main ()
4450 #ifndef __GNUC__
4451 choke me
4452 #endif
4455 return 0;
4457 _ACEOF
4458 if ac_fn_cxx_try_compile "$LINENO"; then :
4459 ac_compiler_gnu=yes
4460 else
4461 ac_compiler_gnu=no
4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4464 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4468 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4469 if test $ac_compiler_gnu = yes; then
4470 GXX=yes
4471 else
4472 GXX=
4474 ac_test_CXXFLAGS=${CXXFLAGS+set}
4475 ac_save_CXXFLAGS=$CXXFLAGS
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4477 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4478 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4482 ac_cxx_werror_flag=yes
4483 ac_cv_prog_cxx_g=no
4484 CXXFLAGS="-g"
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4493 return 0;
4495 _ACEOF
4496 if ac_fn_cxx_try_compile "$LINENO"; then :
4497 ac_cv_prog_cxx_g=yes
4498 else
4499 CXXFLAGS=""
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 else
4514 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4515 CXXFLAGS="-g"
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4520 main ()
4524 return 0;
4526 _ACEOF
4527 if ac_fn_cxx_try_compile "$LINENO"; then :
4528 ac_cv_prog_cxx_g=yes
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4538 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4539 if test "$ac_test_CXXFLAGS" = set; then
4540 CXXFLAGS=$ac_save_CXXFLAGS
4541 elif test $ac_cv_prog_cxx_g = yes; then
4542 if test "$GXX" = yes; then
4543 CXXFLAGS="-g -O2"
4544 else
4545 CXXFLAGS="-g"
4547 else
4548 if test "$GXX" = yes; then
4549 CXXFLAGS="-O2"
4550 else
4551 CXXFLAGS=
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560 CXXFLAGS="$save_CXXFLAGS"
4562 # Runs configure.host, and assorted other critical bits. Sets
4563 # up critical shell variables.
4565 ac_ext=c
4566 ac_cpp='$CPP $CPPFLAGS'
4567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4571 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4572 # On Suns, sometimes $CPP names a directory.
4573 if test -n "$CPP" && test -d "$CPP"; then
4574 CPP=
4576 if test -z "$CPP"; then
4577 if test "${ac_cv_prog_CPP+set}" = set; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 # Double quotes because CPP needs to be expanded
4581 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4583 ac_preproc_ok=false
4584 for ac_c_preproc_warn_flag in '' yes
4586 # Use a header file that comes with gcc, so configuring glibc
4587 # with a fresh cross-compiler works.
4588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4589 # <limits.h> exists even on freestanding compilers.
4590 # On the NeXT, cc -E runs the code through the compiler's parser,
4591 # not just through cpp. "Syntax error" is here to catch this case.
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4594 #ifdef __STDC__
4595 # include <limits.h>
4596 #else
4597 # include <assert.h>
4598 #endif
4599 Syntax error
4600 _ACEOF
4601 if ac_fn_c_try_cpp "$LINENO"; then :
4603 else
4604 # Broken: fails on valid input.
4605 continue
4607 rm -f conftest.err conftest.$ac_ext
4609 # OK, works on sane cases. Now check whether nonexistent headers
4610 # can be detected and how.
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <ac_nonexistent.h>
4614 _ACEOF
4615 if ac_fn_c_try_cpp "$LINENO"; then :
4616 # Broken: success on invalid input.
4617 continue
4618 else
4619 # Passes both tests.
4620 ac_preproc_ok=:
4621 break
4623 rm -f conftest.err conftest.$ac_ext
4625 done
4626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4627 rm -f conftest.err conftest.$ac_ext
4628 if $ac_preproc_ok; then :
4629 break
4632 done
4633 ac_cv_prog_CPP=$CPP
4636 CPP=$ac_cv_prog_CPP
4637 else
4638 ac_cv_prog_CPP=$CPP
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4641 $as_echo "$CPP" >&6; }
4642 ac_preproc_ok=false
4643 for ac_c_preproc_warn_flag in '' yes
4645 # Use a header file that comes with gcc, so configuring glibc
4646 # with a fresh cross-compiler works.
4647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4648 # <limits.h> exists even on freestanding compilers.
4649 # On the NeXT, cc -E runs the code through the compiler's parser,
4650 # not just through cpp. "Syntax error" is here to catch this case.
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4653 #ifdef __STDC__
4654 # include <limits.h>
4655 #else
4656 # include <assert.h>
4657 #endif
4658 Syntax error
4659 _ACEOF
4660 if ac_fn_c_try_cpp "$LINENO"; then :
4662 else
4663 # Broken: fails on valid input.
4664 continue
4666 rm -f conftest.err conftest.$ac_ext
4668 # OK, works on sane cases. Now check whether nonexistent headers
4669 # can be detected and how.
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <ac_nonexistent.h>
4673 _ACEOF
4674 if ac_fn_c_try_cpp "$LINENO"; then :
4675 # Broken: success on invalid input.
4676 continue
4677 else
4678 # Passes both tests.
4679 ac_preproc_ok=:
4680 break
4682 rm -f conftest.err conftest.$ac_ext
4684 done
4685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4686 rm -f conftest.err conftest.$ac_ext
4687 if $ac_preproc_ok; then :
4689 else
4690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4692 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4693 See \`config.log' for more details." "$LINENO" 5; }
4696 ac_ext=c
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4704 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4705 if test "${ac_cv_path_GREP+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 if test -z "$GREP"; then
4709 ac_path_GREP_found=false
4710 # Loop through the user's path and test for each of PROGNAME-LIST
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4714 IFS=$as_save_IFS
4715 test -z "$as_dir" && as_dir=.
4716 for ac_prog in grep ggrep; do
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4719 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4720 # Check for GNU ac_path_GREP and select it if it is found.
4721 # Check for GNU $ac_path_GREP
4722 case `"$ac_path_GREP" --version 2>&1` in
4723 *GNU*)
4724 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4726 ac_count=0
4727 $as_echo_n 0123456789 >"conftest.in"
4728 while :
4730 cat "conftest.in" "conftest.in" >"conftest.tmp"
4731 mv "conftest.tmp" "conftest.in"
4732 cp "conftest.in" "conftest.nl"
4733 $as_echo 'GREP' >> "conftest.nl"
4734 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4735 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4736 as_fn_arith $ac_count + 1 && ac_count=$as_val
4737 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4738 # Best one so far, save it but keep looking for a better one
4739 ac_cv_path_GREP="$ac_path_GREP"
4740 ac_path_GREP_max=$ac_count
4742 # 10*(2^10) chars as input seems more than enough
4743 test $ac_count -gt 10 && break
4744 done
4745 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4746 esac
4748 $ac_path_GREP_found && break 3
4749 done
4750 done
4751 done
4752 IFS=$as_save_IFS
4753 if test -z "$ac_cv_path_GREP"; then
4754 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4756 else
4757 ac_cv_path_GREP=$GREP
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4762 $as_echo "$ac_cv_path_GREP" >&6; }
4763 GREP="$ac_cv_path_GREP"
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4767 $as_echo_n "checking for egrep... " >&6; }
4768 if test "${ac_cv_path_EGREP+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4770 else
4771 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4772 then ac_cv_path_EGREP="$GREP -E"
4773 else
4774 if test -z "$EGREP"; then
4775 ac_path_EGREP_found=false
4776 # Loop through the user's path and test for each of PROGNAME-LIST
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4780 IFS=$as_save_IFS
4781 test -z "$as_dir" && as_dir=.
4782 for ac_prog in egrep; do
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4785 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4786 # Check for GNU ac_path_EGREP and select it if it is found.
4787 # Check for GNU $ac_path_EGREP
4788 case `"$ac_path_EGREP" --version 2>&1` in
4789 *GNU*)
4790 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4792 ac_count=0
4793 $as_echo_n 0123456789 >"conftest.in"
4794 while :
4796 cat "conftest.in" "conftest.in" >"conftest.tmp"
4797 mv "conftest.tmp" "conftest.in"
4798 cp "conftest.in" "conftest.nl"
4799 $as_echo 'EGREP' >> "conftest.nl"
4800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4802 as_fn_arith $ac_count + 1 && ac_count=$as_val
4803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4804 # Best one so far, save it but keep looking for a better one
4805 ac_cv_path_EGREP="$ac_path_EGREP"
4806 ac_path_EGREP_max=$ac_count
4808 # 10*(2^10) chars as input seems more than enough
4809 test $ac_count -gt 10 && break
4810 done
4811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4812 esac
4814 $ac_path_EGREP_found && break 3
4815 done
4816 done
4817 done
4818 IFS=$as_save_IFS
4819 if test -z "$ac_cv_path_EGREP"; then
4820 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4822 else
4823 ac_cv_path_EGREP=$EGREP
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4829 $as_echo "$ac_cv_path_EGREP" >&6; }
4830 EGREP="$ac_cv_path_EGREP"
4834 # Keep these sync'd with the list in Makefile.am. The first provides an
4835 # expandable list at autoconf time; the second provides an expandable list
4836 # (i.e., shell variable) at configure time.
4838 SUBDIRS='include libsupc++ python src doc po testsuite'
4840 # These need to be absolute paths, yet at the same time need to
4841 # canonicalize only relative paths, because then amd will not unmount
4842 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4843 glibcxx_builddir=`${PWDCMD-pwd}`
4844 case $srcdir in
4845 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4846 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4847 esac
4848 toplevel_srcdir=${glibcxx_srcdir}/..
4853 # We use these options to decide which functions to include. They are
4854 # set from the top level.
4856 # Check whether --with-target-subdir was given.
4857 if test "${with_target_subdir+set}" = set; then :
4858 withval=$with_target_subdir;
4863 # Check whether --with-cross-host was given.
4864 if test "${with_cross_host+set}" = set; then :
4865 withval=$with_cross_host;
4870 # Check whether --with-newlib was given.
4871 if test "${with_newlib+set}" = set; then :
4872 withval=$with_newlib;
4876 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4877 # available). Uncomment the next line to force a particular method.
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4879 $as_echo_n "checking whether ln -s works... " >&6; }
4880 LN_S=$as_ln_s
4881 if test "$LN_S" = "ln -s"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4886 $as_echo "no, using $LN_S" >&6; }
4889 #LN_S='cp -p'
4891 if test -n "$ac_tool_prefix"; then
4892 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4893 set dummy ${ac_tool_prefix}as; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if test "${ac_cv_prog_AS+set}" = set; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$AS"; then
4900 ac_cv_prog_AS="$AS" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909 ac_cv_prog_AS="${ac_tool_prefix}as"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 AS=$ac_cv_prog_AS
4920 if test -n "$AS"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4922 $as_echo "$AS" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4930 if test -z "$ac_cv_prog_AS"; then
4931 ac_ct_AS=$AS
4932 # Extract the first word of "as", so it can be a program name with args.
4933 set dummy as; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$ac_ct_AS"; then
4940 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949 ac_cv_prog_ac_ct_AS="as"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4960 if test -n "$ac_ct_AS"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4962 $as_echo "$ac_ct_AS" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4968 if test "x$ac_ct_AS" = x; then
4969 AS=""
4970 else
4971 case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977 AS=$ac_ct_AS
4979 else
4980 AS="$ac_cv_prog_AS"
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}ar; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if test "${ac_cv_prog_AR+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 if test -n "$AR"; then
4992 ac_cv_prog_AR="$AR" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_prog_AR="${ac_tool_prefix}ar"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 AR=$ac_cv_prog_AR
5012 if test -n "$AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5014 $as_echo "$AR" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5022 if test -z "$ac_cv_prog_AR"; then
5023 ac_ct_AR=$AR
5024 # Extract the first word of "ar", so it can be a program name with args.
5025 set dummy ar; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$ac_ct_AR"; then
5032 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_ac_ct_AR="ar"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5052 if test -n "$ac_ct_AR"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5054 $as_echo "$ac_ct_AR" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5060 if test "x$ac_ct_AR" = x; then
5061 AR=""
5062 else
5063 case $cross_compiling:$ac_tool_warned in
5064 yes:)
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5068 esac
5069 AR=$ac_ct_AR
5071 else
5072 AR="$ac_cv_prog_AR"
5075 if test -n "$ac_tool_prefix"; then
5076 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5077 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$RANLIB"; then
5084 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 RANLIB=$ac_cv_prog_RANLIB
5104 if test -n "$RANLIB"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5106 $as_echo "$RANLIB" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5114 if test -z "$ac_cv_prog_RANLIB"; then
5115 ac_ct_RANLIB=$RANLIB
5116 # Extract the first word of "ranlib", so it can be a program name with args.
5117 set dummy ranlib; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$ac_ct_RANLIB"; then
5124 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_ac_ct_RANLIB="ranlib"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5144 if test -n "$ac_ct_RANLIB"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5146 $as_echo "$ac_ct_RANLIB" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5152 if test "x$ac_ct_RANLIB" = x; then
5153 RANLIB="ranlib-not-found-in-path-error"
5154 else
5155 case $cross_compiling:$ac_tool_warned in
5156 yes:)
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5159 ac_tool_warned=yes ;;
5160 esac
5161 RANLIB=$ac_ct_RANLIB
5163 else
5164 RANLIB="$ac_cv_prog_RANLIB"
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5170 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5171 # Check whether --enable-maintainer-mode was given.
5172 if test "${enable_maintainer_mode+set}" = set; then :
5173 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5174 else
5175 USE_MAINTAINER_MODE=no
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5179 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5180 if test $USE_MAINTAINER_MODE = yes; then
5181 MAINTAINER_MODE_TRUE=
5182 MAINTAINER_MODE_FALSE='#'
5183 else
5184 MAINTAINER_MODE_TRUE='#'
5185 MAINTAINER_MODE_FALSE=
5188 MAINT=$MAINTAINER_MODE_TRUE
5192 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5193 # which are themselves conditionally expanded.
5194 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5195 ## other macros from doing the same. This should be automated.) -pme
5197 # Check for C library flavor since Linux platforms use different configuration
5198 # directories depending on the C library in use.
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5202 #include <stdio.h>
5203 #if __UCLIBC__
5204 _using_uclibc
5205 #endif
5207 _ACEOF
5208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5209 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5210 uclibc=yes
5211 else
5212 uclibc=no
5214 rm -f conftest*
5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5220 #include <stdio.h>
5221 #if __BIONIC__
5222 _using_bionic
5223 #endif
5225 _ACEOF
5226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5227 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5228 bionic=yes
5229 else
5230 bionic=no
5232 rm -f conftest*
5235 # Find platform-specific directories containing configuration info.
5236 # Also possibly modify flags used elsewhere, as needed by the platform.
5238 . $glibcxx_srcdir/configure.host
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5240 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5242 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5246 if test "x${with_newlib}" != "xyes"; then
5247 enable_dlopen=yes
5252 case `pwd` in
5253 *\ * | *\ *)
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5255 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5256 esac
5260 macro_version='2.2.7a'
5261 macro_revision='1.3134'
5275 ltmain="$ac_aux_dir/ltmain.sh"
5277 # Backslashify metacharacters that are still active within
5278 # double-quoted strings.
5279 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5281 # Same as above, but do not quote variable references.
5282 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5284 # Sed substitution to delay expansion of an escaped shell variable in a
5285 # double_quote_subst'ed string.
5286 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5288 # Sed substitution to delay expansion of an escaped single quote.
5289 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5291 # Sed substitution to avoid accidental globbing in evaled expressions
5292 no_glob_subst='s/\*/\\\*/g'
5294 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5295 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5296 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5299 $as_echo_n "checking how to print strings... " >&6; }
5300 # Test print first, because it will be a builtin if present.
5301 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5302 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5303 ECHO='print -r --'
5304 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5305 ECHO='printf %s\n'
5306 else
5307 # Use this function as a fallback that always works.
5308 func_fallback_echo ()
5310 eval 'cat <<_LTECHO_EOF
5312 _LTECHO_EOF'
5314 ECHO='func_fallback_echo'
5317 # func_echo_all arg...
5318 # Invoke $ECHO with all args, space-separated.
5319 func_echo_all ()
5321 $ECHO ""
5324 case "$ECHO" in
5325 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5326 $as_echo "printf" >&6; } ;;
5327 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5328 $as_echo "print -r" >&6; } ;;
5329 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5330 $as_echo "cat" >&6; } ;;
5331 esac
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5347 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5348 if test "${ac_cv_path_SED+set}" = set; then :
5349 $as_echo_n "(cached) " >&6
5350 else
5351 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5352 for ac_i in 1 2 3 4 5 6 7; do
5353 ac_script="$ac_script$as_nl$ac_script"
5354 done
5355 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5356 { ac_script=; unset ac_script;}
5357 if test -z "$SED"; then
5358 ac_path_SED_found=false
5359 # Loop through the user's path and test for each of PROGNAME-LIST
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_prog in sed gsed; do
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5368 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5369 # Check for GNU ac_path_SED and select it if it is found.
5370 # Check for GNU $ac_path_SED
5371 case `"$ac_path_SED" --version 2>&1` in
5372 *GNU*)
5373 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5375 ac_count=0
5376 $as_echo_n 0123456789 >"conftest.in"
5377 while :
5379 cat "conftest.in" "conftest.in" >"conftest.tmp"
5380 mv "conftest.tmp" "conftest.in"
5381 cp "conftest.in" "conftest.nl"
5382 $as_echo '' >> "conftest.nl"
5383 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5384 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5385 as_fn_arith $ac_count + 1 && ac_count=$as_val
5386 if test $ac_count -gt ${ac_path_SED_max-0}; then
5387 # Best one so far, save it but keep looking for a better one
5388 ac_cv_path_SED="$ac_path_SED"
5389 ac_path_SED_max=$ac_count
5391 # 10*(2^10) chars as input seems more than enough
5392 test $ac_count -gt 10 && break
5393 done
5394 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5395 esac
5397 $ac_path_SED_found && break 3
5398 done
5399 done
5400 done
5401 IFS=$as_save_IFS
5402 if test -z "$ac_cv_path_SED"; then
5403 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5405 else
5406 ac_cv_path_SED=$SED
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5411 $as_echo "$ac_cv_path_SED" >&6; }
5412 SED="$ac_cv_path_SED"
5413 rm -f conftest.sed
5415 test -z "$SED" && SED=sed
5416 Xsed="$SED -e 1s/^X//"
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5429 $as_echo_n "checking for fgrep... " >&6; }
5430 if test "${ac_cv_path_FGREP+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5434 then ac_cv_path_FGREP="$GREP -F"
5435 else
5436 if test -z "$FGREP"; then
5437 ac_path_FGREP_found=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_prog in fgrep; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5447 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5448 # Check for GNU ac_path_FGREP and select it if it is found.
5449 # Check for GNU $ac_path_FGREP
5450 case `"$ac_path_FGREP" --version 2>&1` in
5451 *GNU*)
5452 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5454 ac_count=0
5455 $as_echo_n 0123456789 >"conftest.in"
5456 while :
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'FGREP' >> "conftest.nl"
5462 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464 as_fn_arith $ac_count + 1 && ac_count=$as_val
5465 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_FGREP="$ac_path_FGREP"
5468 ac_path_FGREP_max=$ac_count
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5472 done
5473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5476 $ac_path_FGREP_found && break 3
5477 done
5478 done
5479 done
5480 IFS=$as_save_IFS
5481 if test -z "$ac_cv_path_FGREP"; then
5482 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 else
5485 ac_cv_path_FGREP=$FGREP
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5491 $as_echo "$ac_cv_path_FGREP" >&6; }
5492 FGREP="$ac_cv_path_FGREP"
5495 test -z "$GREP" && GREP=grep
5515 # Check whether --with-gnu-ld was given.
5516 if test "${with_gnu_ld+set}" = set; then :
5517 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5518 else
5519 with_gnu_ld=no
5522 ac_prog=ld
5523 if test "$GCC" = yes; then
5524 # Check if gcc -print-prog-name=ld gives a path.
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5526 $as_echo_n "checking for ld used by $CC... " >&6; }
5527 case $host in
5528 *-*-mingw*)
5529 # gcc leaves a trailing carriage return which upsets mingw
5530 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5532 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5533 esac
5534 case $ac_prog in
5535 # Accept absolute paths.
5536 [\\/]* | ?:[\\/]*)
5537 re_direlt='/[^/][^/]*/\.\./'
5538 # Canonicalize the pathname of ld
5539 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5540 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5541 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5542 done
5543 test -z "$LD" && LD="$ac_prog"
5546 # If it fails, then pretend we aren't using GCC.
5547 ac_prog=ld
5550 # If it is relative, then search for the first ld in PATH.
5551 with_gnu_ld=unknown
5553 esac
5554 elif test "$with_gnu_ld" = yes; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5556 $as_echo_n "checking for GNU ld... " >&6; }
5557 else
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5559 $as_echo_n "checking for non-GNU ld... " >&6; }
5561 if test "${lt_cv_path_LD+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if test -z "$LD"; then
5565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5566 for ac_dir in $PATH; do
5567 IFS="$lt_save_ifs"
5568 test -z "$ac_dir" && ac_dir=.
5569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5570 lt_cv_path_LD="$ac_dir/$ac_prog"
5571 # Check to see if the program is GNU ld. I'd rather use --version,
5572 # but apparently some variants of GNU ld only accept -v.
5573 # Break only if it was the GNU/non-GNU ld that we prefer.
5574 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5575 *GNU* | *'with BFD'*)
5576 test "$with_gnu_ld" != no && break
5579 test "$with_gnu_ld" != yes && break
5581 esac
5583 done
5584 IFS="$lt_save_ifs"
5585 else
5586 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5590 LD="$lt_cv_path_LD"
5591 if test -n "$LD"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5593 $as_echo "$LD" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5601 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5605 case `$LD -v 2>&1 </dev/null` in
5606 *GNU* | *'with BFD'*)
5607 lt_cv_prog_gnu_ld=yes
5610 lt_cv_prog_gnu_ld=no
5612 esac
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5615 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5616 with_gnu_ld=$lt_cv_prog_gnu_ld
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5627 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5628 if test "${lt_cv_path_NM+set}" = set; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 if test -n "$NM"; then
5632 # Let the user override the test.
5633 lt_cv_path_NM="$NM"
5634 else
5635 lt_nm_to_check="${ac_tool_prefix}nm"
5636 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5637 lt_nm_to_check="$lt_nm_to_check nm"
5639 for lt_tmp_nm in $lt_nm_to_check; do
5640 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5641 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5642 IFS="$lt_save_ifs"
5643 test -z "$ac_dir" && ac_dir=.
5644 tmp_nm="$ac_dir/$lt_tmp_nm"
5645 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5646 # Check to see if the nm accepts a BSD-compat flag.
5647 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5648 # nm: unknown option "B" ignored
5649 # Tru64's nm complains that /dev/null is an invalid object file
5650 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5651 */dev/null* | *'Invalid file or object type'*)
5652 lt_cv_path_NM="$tmp_nm -B"
5653 break
5656 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5657 */dev/null*)
5658 lt_cv_path_NM="$tmp_nm -p"
5659 break
5662 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5663 continue # so that we can try to find one that supports BSD flags
5665 esac
5667 esac
5669 done
5670 IFS="$lt_save_ifs"
5671 done
5672 : ${lt_cv_path_NM=no}
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5676 $as_echo "$lt_cv_path_NM" >&6; }
5677 if test "$lt_cv_path_NM" != "no"; then
5678 NM="$lt_cv_path_NM"
5679 else
5680 # Didn't find any BSD compatible name lister, look for dumpbin.
5681 if test -n "$DUMPBIN"; then :
5682 # Let the user override the test.
5683 else
5684 if test -n "$ac_tool_prefix"; then
5685 for ac_prog in dumpbin "link -dump"
5687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$DUMPBIN"; then
5695 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5708 done
5709 done
5710 IFS=$as_save_IFS
5714 DUMPBIN=$ac_cv_prog_DUMPBIN
5715 if test -n "$DUMPBIN"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5717 $as_echo "$DUMPBIN" >&6; }
5718 else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 test -n "$DUMPBIN" && break
5725 done
5727 if test -z "$DUMPBIN"; then
5728 ac_ct_DUMPBIN=$DUMPBIN
5729 for ac_prog in dumpbin "link -dump"
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$ac_ct_DUMPBIN"; then
5739 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5759 if test -n "$ac_ct_DUMPBIN"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5761 $as_echo "$ac_ct_DUMPBIN" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768 test -n "$ac_ct_DUMPBIN" && break
5769 done
5771 if test "x$ac_ct_DUMPBIN" = x; then
5772 DUMPBIN=":"
5773 else
5774 case $cross_compiling:$ac_tool_warned in
5775 yes:)
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5779 esac
5780 DUMPBIN=$ac_ct_DUMPBIN
5784 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5785 *COFF*)
5786 DUMPBIN="$DUMPBIN -symbols"
5789 DUMPBIN=:
5791 esac
5794 if test "$DUMPBIN" != ":"; then
5795 NM="$DUMPBIN"
5798 test -z "$NM" && NM=nm
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5806 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5807 if test "${lt_cv_nm_interface+set}" = set; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 lt_cv_nm_interface="BSD nm"
5811 echo "int some_variable = 0;" > conftest.$ac_ext
5812 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5813 (eval "$ac_compile" 2>conftest.err)
5814 cat conftest.err >&5
5815 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5816 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5817 cat conftest.err >&5
5818 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5819 cat conftest.out >&5
5820 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5821 lt_cv_nm_interface="MS dumpbin"
5823 rm -f conftest*
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5826 $as_echo "$lt_cv_nm_interface" >&6; }
5828 # find the maximum length of command line arguments
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5830 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5831 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5835 teststring="ABCD"
5837 case $build_os in
5838 msdosdjgpp*)
5839 # On DJGPP, this test can blow up pretty badly due to problems in libc
5840 # (any single argument exceeding 2000 bytes causes a buffer overrun
5841 # during glob expansion). Even if it were fixed, the result of this
5842 # check would be larger than it should be.
5843 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5846 gnu*)
5847 # Under GNU Hurd, this test is not required because there is
5848 # no limit to the length of command line arguments.
5849 # Libtool will interpret -1 as no limit whatsoever
5850 lt_cv_sys_max_cmd_len=-1;
5853 cygwin* | mingw* | cegcc*)
5854 # On Win9x/ME, this test blows up -- it succeeds, but takes
5855 # about 5 minutes as the teststring grows exponentially.
5856 # Worse, since 9x/ME are not pre-emptively multitasking,
5857 # you end up with a "frozen" computer, even though with patience
5858 # the test eventually succeeds (with a max line length of 256k).
5859 # Instead, let's just punt: use the minimum linelength reported by
5860 # all of the supported platforms: 8192 (on NT/2K/XP).
5861 lt_cv_sys_max_cmd_len=8192;
5864 mint*)
5865 # On MiNT this can take a long time and run out of memory.
5866 lt_cv_sys_max_cmd_len=8192;
5869 amigaos*)
5870 # On AmigaOS with pdksh, this test takes hours, literally.
5871 # So we just punt and use a minimum line length of 8192.
5872 lt_cv_sys_max_cmd_len=8192;
5875 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5876 # This has been around since 386BSD, at least. Likely further.
5877 if test -x /sbin/sysctl; then
5878 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5879 elif test -x /usr/sbin/sysctl; then
5880 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5881 else
5882 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5884 # And add a safety zone
5885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5889 interix*)
5890 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5891 lt_cv_sys_max_cmd_len=196608
5894 osf*)
5895 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5896 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5897 # nice to cause kernel panics so lets avoid the loop below.
5898 # First set a reasonable default.
5899 lt_cv_sys_max_cmd_len=16384
5901 if test -x /sbin/sysconfig; then
5902 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5903 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5904 esac
5907 sco3.2v5*)
5908 lt_cv_sys_max_cmd_len=102400
5910 sysv5* | sco5v6* | sysv4.2uw2*)
5911 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5912 if test -n "$kargmax"; then
5913 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5914 else
5915 lt_cv_sys_max_cmd_len=32768
5919 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5920 if test -n "$lt_cv_sys_max_cmd_len"; then
5921 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5923 else
5924 # Make teststring a little bigger before we do anything with it.
5925 # a 1K string should be a reasonable start.
5926 for i in 1 2 3 4 5 6 7 8 ; do
5927 teststring=$teststring$teststring
5928 done
5929 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5930 # If test is not a shell built-in, we'll probably end up computing a
5931 # maximum length that is only half of the actual maximum length, but
5932 # we can't tell.
5933 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5934 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5935 test $i != 17 # 1/2 MB should be enough
5937 i=`expr $i + 1`
5938 teststring=$teststring$teststring
5939 done
5940 # Only check the string length outside the loop.
5941 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5942 teststring=
5943 # Add a significant safety factor because C++ compilers can tack on
5944 # massive amounts of additional arguments before passing them to the
5945 # linker. It appears as though 1/2 is a usable value.
5946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5949 esac
5953 if test -n $lt_cv_sys_max_cmd_len ; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5955 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5958 $as_echo "none" >&6; }
5960 max_cmd_len=$lt_cv_sys_max_cmd_len
5967 : ${CP="cp -f"}
5968 : ${MV="mv -f"}
5969 : ${RM="rm -f"}
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5972 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5973 # Try some XSI features
5974 xsi_shell=no
5975 ( _lt_dummy="a/b/c"
5976 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5977 = c,a/b,, \
5978 && eval 'test $(( 1 + 1 )) -eq 2 \
5979 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5980 && xsi_shell=yes
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5982 $as_echo "$xsi_shell" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5986 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5987 lt_shell_append=no
5988 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5989 >/dev/null 2>&1 \
5990 && lt_shell_append=yes
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5992 $as_echo "$lt_shell_append" >&6; }
5995 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5996 lt_unset=unset
5997 else
5998 lt_unset=false
6005 # test EBCDIC or ASCII
6006 case `echo X|tr X '\101'` in
6007 A) # ASCII based system
6008 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6009 lt_SP2NL='tr \040 \012'
6010 lt_NL2SP='tr \015\012 \040\040'
6012 *) # EBCDIC based system
6013 lt_SP2NL='tr \100 \n'
6014 lt_NL2SP='tr \r\n \100\100'
6016 esac
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6027 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6028 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6029 $as_echo_n "(cached) " >&6
6030 else
6031 lt_cv_ld_reload_flag='-r'
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6034 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6035 reload_flag=$lt_cv_ld_reload_flag
6036 case $reload_flag in
6037 "" | " "*) ;;
6038 *) reload_flag=" $reload_flag" ;;
6039 esac
6040 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6041 case $host_os in
6042 darwin*)
6043 if test "$GCC" = yes; then
6044 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6045 else
6046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6049 esac
6059 if test -n "$ac_tool_prefix"; then
6060 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6061 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$OBJDUMP"; then
6068 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 OBJDUMP=$ac_cv_prog_OBJDUMP
6088 if test -n "$OBJDUMP"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6090 $as_echo "$OBJDUMP" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6098 if test -z "$ac_cv_prog_OBJDUMP"; then
6099 ac_ct_OBJDUMP=$OBJDUMP
6100 # Extract the first word of "objdump", so it can be a program name with args.
6101 set dummy objdump; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$ac_ct_OBJDUMP"; then
6108 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6128 if test -n "$ac_ct_OBJDUMP"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6130 $as_echo "$ac_ct_OBJDUMP" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6136 if test "x$ac_ct_OBJDUMP" = x; then
6137 OBJDUMP="false"
6138 else
6139 case $cross_compiling:$ac_tool_warned in
6140 yes:)
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6143 ac_tool_warned=yes ;;
6144 esac
6145 OBJDUMP=$ac_ct_OBJDUMP
6147 else
6148 OBJDUMP="$ac_cv_prog_OBJDUMP"
6151 test -z "$OBJDUMP" && OBJDUMP=objdump
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6162 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6163 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 lt_cv_file_magic_cmd='$MAGIC_CMD'
6167 lt_cv_file_magic_test_file=
6168 lt_cv_deplibs_check_method='unknown'
6169 # Need to set the preceding variable on all platforms that support
6170 # interlibrary dependencies.
6171 # 'none' -- dependencies not supported.
6172 # `unknown' -- same as none, but documents that we really don't know.
6173 # 'pass_all' -- all dependencies passed with no checks.
6174 # 'test_compile' -- check by making test program.
6175 # 'file_magic [[regex]]' -- check by looking for files in library path
6176 # which responds to the $file_magic_cmd with a given extended regex.
6177 # If you have `file' or equivalent on your system and you're not sure
6178 # whether `pass_all' will *always* work, you probably want this one.
6180 case $host_os in
6181 aix[4-9]*)
6182 lt_cv_deplibs_check_method=pass_all
6185 beos*)
6186 lt_cv_deplibs_check_method=pass_all
6189 bsdi[45]*)
6190 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6191 lt_cv_file_magic_cmd='/usr/bin/file -L'
6192 lt_cv_file_magic_test_file=/shlib/libc.so
6195 cygwin*)
6196 # func_win32_libid is a shell function defined in ltmain.sh
6197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6198 lt_cv_file_magic_cmd='func_win32_libid'
6201 mingw* | pw32*)
6202 # Base MSYS/MinGW do not provide the 'file' command needed by
6203 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6204 # unless we find 'file', for example because we are cross-compiling.
6205 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6206 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6207 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6208 lt_cv_file_magic_cmd='func_win32_libid'
6209 else
6210 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6211 lt_cv_file_magic_cmd='$OBJDUMP -f'
6215 cegcc*)
6216 # use the weaker test based on 'objdump'. See mingw*.
6217 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6218 lt_cv_file_magic_cmd='$OBJDUMP -f'
6221 darwin* | rhapsody*)
6222 lt_cv_deplibs_check_method=pass_all
6225 freebsd* | dragonfly*)
6226 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6227 case $host_cpu in
6228 i*86 )
6229 # Not sure whether the presence of OpenBSD here was a mistake.
6230 # Let's accept both of them until this is cleared up.
6231 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6232 lt_cv_file_magic_cmd=/usr/bin/file
6233 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6235 esac
6236 else
6237 lt_cv_deplibs_check_method=pass_all
6241 gnu*)
6242 lt_cv_deplibs_check_method=pass_all
6245 haiku*)
6246 lt_cv_deplibs_check_method=pass_all
6249 hpux10.20* | hpux11*)
6250 lt_cv_file_magic_cmd=/usr/bin/file
6251 case $host_cpu in
6252 ia64*)
6253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6254 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6256 hppa*64*)
6257 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]'
6258 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6261 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6262 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6264 esac
6267 interix[3-9]*)
6268 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6272 irix5* | irix6* | nonstopux*)
6273 case $LD in
6274 *-32|*"-32 ") libmagic=32-bit;;
6275 *-n32|*"-n32 ") libmagic=N32;;
6276 *-64|*"-64 ") libmagic=64-bit;;
6277 *) libmagic=never-match;;
6278 esac
6279 lt_cv_deplibs_check_method=pass_all
6282 # This must be Linux ELF.
6283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6284 lt_cv_deplibs_check_method=pass_all
6287 netbsd*)
6288 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6290 else
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6295 newos6*)
6296 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6297 lt_cv_file_magic_cmd=/usr/bin/file
6298 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6301 *nto* | *qnx*)
6302 lt_cv_deplibs_check_method=pass_all
6305 openbsd*)
6306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6308 else
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6313 osf3* | osf4* | osf5*)
6314 lt_cv_deplibs_check_method=pass_all
6317 rdos*)
6318 lt_cv_deplibs_check_method=pass_all
6321 solaris*)
6322 lt_cv_deplibs_check_method=pass_all
6325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6326 lt_cv_deplibs_check_method=pass_all
6329 sysv4 | sysv4.3*)
6330 case $host_vendor in
6331 motorola)
6332 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]'
6333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6335 ncr)
6336 lt_cv_deplibs_check_method=pass_all
6338 sequent)
6339 lt_cv_file_magic_cmd='/bin/file'
6340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6342 sni)
6343 lt_cv_file_magic_cmd='/bin/file'
6344 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6345 lt_cv_file_magic_test_file=/lib/libc.so
6347 siemens)
6348 lt_cv_deplibs_check_method=pass_all
6351 lt_cv_deplibs_check_method=pass_all
6353 esac
6356 tpf*)
6357 lt_cv_deplibs_check_method=pass_all
6359 esac
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6364 file_magic_cmd=$lt_cv_file_magic_cmd
6365 deplibs_check_method=$lt_cv_deplibs_check_method
6366 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6379 if test -n "$ac_tool_prefix"; then
6380 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6381 set dummy ${ac_tool_prefix}ar; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if test "${ac_cv_prog_AR+set}" = set; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 if test -n "$AR"; then
6388 ac_cv_prog_AR="$AR" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_AR="${ac_tool_prefix}ar"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 AR=$ac_cv_prog_AR
6408 if test -n "$AR"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6410 $as_echo "$AR" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6418 if test -z "$ac_cv_prog_AR"; then
6419 ac_ct_AR=$AR
6420 # Extract the first word of "ar", so it can be a program name with args.
6421 set dummy ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$ac_ct_AR"; then
6428 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_ac_ct_AR="ar"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6448 if test -n "$ac_ct_AR"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6450 $as_echo "$ac_ct_AR" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6456 if test "x$ac_ct_AR" = x; then
6457 AR="false"
6458 else
6459 case $cross_compiling:$ac_tool_warned in
6460 yes:)
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6463 ac_tool_warned=yes ;;
6464 esac
6465 AR=$ac_ct_AR
6467 else
6468 AR="$ac_cv_prog_AR"
6471 test -z "$AR" && AR=ar
6472 test -z "$AR_FLAGS" && AR_FLAGS=cru
6484 if test -n "$ac_tool_prefix"; then
6485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6486 set dummy ${ac_tool_prefix}strip; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_STRIP+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 if test -n "$STRIP"; then
6493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6512 STRIP=$ac_cv_prog_STRIP
6513 if test -n "$STRIP"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6515 $as_echo "$STRIP" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6523 if test -z "$ac_cv_prog_STRIP"; then
6524 ac_ct_STRIP=$STRIP
6525 # Extract the first word of "strip", so it can be a program name with args.
6526 set dummy strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6530 $as_echo_n "(cached) " >&6
6531 else
6532 if test -n "$ac_ct_STRIP"; then
6533 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542 ac_cv_prog_ac_ct_STRIP="strip"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 break 2
6546 done
6547 done
6548 IFS=$as_save_IFS
6552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6553 if test -n "$ac_ct_STRIP"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6555 $as_echo "$ac_ct_STRIP" >&6; }
6556 else
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6561 if test "x$ac_ct_STRIP" = x; then
6562 STRIP=":"
6563 else
6564 case $cross_compiling:$ac_tool_warned in
6565 yes:)
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6568 ac_tool_warned=yes ;;
6569 esac
6570 STRIP=$ac_ct_STRIP
6572 else
6573 STRIP="$ac_cv_prog_STRIP"
6576 test -z "$STRIP" && STRIP=:
6583 if test -n "$ac_tool_prefix"; then
6584 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 if test -n "$RANLIB"; then
6592 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 break 2
6605 done
6606 done
6607 IFS=$as_save_IFS
6611 RANLIB=$ac_cv_prog_RANLIB
6612 if test -n "$RANLIB"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6614 $as_echo "$RANLIB" >&6; }
6615 else
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6622 if test -z "$ac_cv_prog_RANLIB"; then
6623 ac_ct_RANLIB=$RANLIB
6624 # Extract the first word of "ranlib", so it can be a program name with args.
6625 set dummy ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 if test -n "$ac_ct_RANLIB"; then
6632 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_ac_ct_RANLIB="ranlib"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6652 if test -n "$ac_ct_RANLIB"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6654 $as_echo "$ac_ct_RANLIB" >&6; }
6655 else
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6660 if test "x$ac_ct_RANLIB" = x; then
6661 RANLIB=":"
6662 else
6663 case $cross_compiling:$ac_tool_warned in
6664 yes:)
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6667 ac_tool_warned=yes ;;
6668 esac
6669 RANLIB=$ac_ct_RANLIB
6671 else
6672 RANLIB="$ac_cv_prog_RANLIB"
6675 test -z "$RANLIB" && RANLIB=:
6682 # Determine commands to create old-style static archives.
6683 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6684 old_postinstall_cmds='chmod 644 $oldlib'
6685 old_postuninstall_cmds=
6687 if test -n "$RANLIB"; then
6688 case $host_os in
6689 openbsd*)
6690 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6693 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6695 esac
6696 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6699 case $host_os in
6700 darwin*)
6701 lock_old_archive_extraction=yes ;;
6703 lock_old_archive_extraction=no ;;
6704 esac
6744 # If no C compiler was specified, use CC.
6745 LTCC=${LTCC-"$CC"}
6747 # If no C compiler flags were specified, use CFLAGS.
6748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6750 # Allow CC to be a program name with arguments.
6751 compiler=$CC
6754 # Check for command to grab the raw symbol name followed by C symbol from nm.
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6756 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6757 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6761 # These are sane defaults that work on at least a few old systems.
6762 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6764 # Character class describing NM global symbol codes.
6765 symcode='[BCDEGRST]'
6767 # Regexp to match symbols that can be accessed directly from C.
6768 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6770 # Define system-specific variables.
6771 case $host_os in
6772 aix*)
6773 symcode='[BCDT]'
6775 cygwin* | mingw* | pw32* | cegcc*)
6776 symcode='[ABCDGISTW]'
6778 hpux*)
6779 if test "$host_cpu" = ia64; then
6780 symcode='[ABCDEGRST]'
6783 irix* | nonstopux*)
6784 symcode='[BCDEGRST]'
6786 osf*)
6787 symcode='[BCDEGQRST]'
6789 solaris*)
6790 symcode='[BDRT]'
6792 sco3.2v5*)
6793 symcode='[DT]'
6795 sysv4.2uw2*)
6796 symcode='[DT]'
6798 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6799 symcode='[ABDT]'
6801 sysv4)
6802 symcode='[DFNSTU]'
6804 esac
6806 # If we're using GNU nm, then use its standard symbol codes.
6807 case `$NM -V 2>&1` in
6808 *GNU* | *'with BFD'*)
6809 symcode='[ABCDGIRSTW]' ;;
6810 esac
6812 # Transform an extracted symbol line into a proper C declaration.
6813 # Some systems (esp. on ia64) link data and code symbols differently,
6814 # so use this general approach.
6815 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6817 # Transform an extracted symbol line into symbol name and symbol address
6818 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6819 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'"
6821 # Handle CRLF in mingw tool chain
6822 opt_cr=
6823 case $build_os in
6824 mingw*)
6825 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6827 esac
6829 # Try without a prefix underscore, then with it.
6830 for ac_symprfx in "" "_"; do
6832 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6833 symxfrm="\\1 $ac_symprfx\\2 \\2"
6835 # Write the raw and C identifiers.
6836 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6837 # Fake it for dumpbin and say T for any non-static function
6838 # and D for any global variable.
6839 # Also find C++ and __fastcall symbols from MSVC++,
6840 # which start with @ or ?.
6841 lt_cv_sys_global_symbol_pipe="$AWK '"\
6842 " {last_section=section; section=\$ 3};"\
6843 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6844 " \$ 0!~/External *\|/{next};"\
6845 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6846 " {if(hide[section]) next};"\
6847 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6848 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6849 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6850 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6851 " ' prfx=^$ac_symprfx"
6852 else
6853 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6856 # Check to see that the pipe works correctly.
6857 pipe_works=no
6859 rm -f conftest*
6860 cat > conftest.$ac_ext <<_LT_EOF
6861 #ifdef __cplusplus
6862 extern "C" {
6863 #endif
6864 char nm_test_var;
6865 void nm_test_func(void);
6866 void nm_test_func(void){}
6867 #ifdef __cplusplus
6869 #endif
6870 int main(){nm_test_var='a';nm_test_func();return(0);}
6871 _LT_EOF
6873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6874 (eval $ac_compile) 2>&5
6875 ac_status=$?
6876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6877 test $ac_status = 0; }; then
6878 # Now try to grab the symbols.
6879 nlist=conftest.nm
6880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6881 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6882 ac_status=$?
6883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6884 test $ac_status = 0; } && test -s "$nlist"; then
6885 # Try sorting and uniquifying the output.
6886 if sort "$nlist" | uniq > "$nlist"T; then
6887 mv -f "$nlist"T "$nlist"
6888 else
6889 rm -f "$nlist"T
6892 # Make sure that we snagged all the symbols we need.
6893 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6894 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6895 cat <<_LT_EOF > conftest.$ac_ext
6896 #ifdef __cplusplus
6897 extern "C" {
6898 #endif
6900 _LT_EOF
6901 # Now generate the symbol file.
6902 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6904 cat <<_LT_EOF >> conftest.$ac_ext
6906 /* The mapping between symbol names and symbols. */
6907 const struct {
6908 const char *name;
6909 void *address;
6911 lt__PROGRAM__LTX_preloaded_symbols[] =
6913 { "@PROGRAM@", (void *) 0 },
6914 _LT_EOF
6915 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6916 cat <<\_LT_EOF >> conftest.$ac_ext
6917 {0, (void *) 0}
6920 /* This works around a problem in FreeBSD linker */
6921 #ifdef FREEBSD_WORKAROUND
6922 static const void *lt_preloaded_setup() {
6923 return lt__PROGRAM__LTX_preloaded_symbols;
6925 #endif
6927 #ifdef __cplusplus
6929 #endif
6930 _LT_EOF
6931 # Now try linking the two files.
6932 mv conftest.$ac_objext conftstm.$ac_objext
6933 lt_save_LIBS="$LIBS"
6934 lt_save_CFLAGS="$CFLAGS"
6935 LIBS="conftstm.$ac_objext"
6936 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6938 (eval $ac_link) 2>&5
6939 ac_status=$?
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6942 pipe_works=yes
6944 LIBS="$lt_save_LIBS"
6945 CFLAGS="$lt_save_CFLAGS"
6946 else
6947 echo "cannot find nm_test_func in $nlist" >&5
6949 else
6950 echo "cannot find nm_test_var in $nlist" >&5
6952 else
6953 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6955 else
6956 echo "$progname: failed program was:" >&5
6957 cat conftest.$ac_ext >&5
6959 rm -rf conftest* conftst*
6961 # Do not use the global_symbol_pipe unless it works.
6962 if test "$pipe_works" = yes; then
6963 break
6964 else
6965 lt_cv_sys_global_symbol_pipe=
6967 done
6971 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6972 lt_cv_sys_global_symbol_to_cdecl=
6974 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6976 $as_echo "failed" >&6; }
6977 else
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6979 $as_echo "ok" >&6; }
7003 # Check whether --enable-libtool-lock was given.
7004 if test "${enable_libtool_lock+set}" = set; then :
7005 enableval=$enable_libtool_lock;
7008 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7010 # Some flags need to be propagated to the compiler or linker for good
7011 # libtool support.
7012 case $host in
7013 ia64-*-hpux*)
7014 # Find out which ABI we are using.
7015 echo 'int i;' > conftest.$ac_ext
7016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7017 (eval $ac_compile) 2>&5
7018 ac_status=$?
7019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7020 test $ac_status = 0; }; then
7021 case `/usr/bin/file conftest.$ac_objext` in
7022 *ELF-32*)
7023 HPUX_IA64_MODE="32"
7025 *ELF-64*)
7026 HPUX_IA64_MODE="64"
7028 esac
7030 rm -rf conftest*
7032 *-*-irix6*)
7033 # Find out which ABI we are using.
7034 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7036 (eval $ac_compile) 2>&5
7037 ac_status=$?
7038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7039 test $ac_status = 0; }; then
7040 if test "$lt_cv_prog_gnu_ld" = yes; then
7041 case `/usr/bin/file conftest.$ac_objext` in
7042 *32-bit*)
7043 LD="${LD-ld} -melf32bsmip"
7045 *N32*)
7046 LD="${LD-ld} -melf32bmipn32"
7048 *64-bit*)
7049 LD="${LD-ld} -melf64bmip"
7051 esac
7052 else
7053 case `/usr/bin/file conftest.$ac_objext` in
7054 *32-bit*)
7055 LD="${LD-ld} -32"
7057 *N32*)
7058 LD="${LD-ld} -n32"
7060 *64-bit*)
7061 LD="${LD-ld} -64"
7063 esac
7066 rm -rf conftest*
7069 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7070 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7071 # Find out which ABI we are using.
7072 echo 'int i;' > conftest.$ac_ext
7073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7075 ac_status=$?
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 case `/usr/bin/file conftest.o` in
7079 *32-bit*)
7080 case $host in
7081 x86_64-*kfreebsd*-gnu)
7082 LD="${LD-ld} -m elf_i386_fbsd"
7084 x86_64-*linux*)
7085 LD="${LD-ld} -m elf_i386"
7087 ppc64-*linux*|powerpc64-*linux*)
7088 LD="${LD-ld} -m elf32ppclinux"
7090 s390x-*linux*)
7091 LD="${LD-ld} -m elf_s390"
7093 sparc64-*linux*)
7094 LD="${LD-ld} -m elf32_sparc"
7096 esac
7098 *64-bit*)
7099 case $host in
7100 x86_64-*kfreebsd*-gnu)
7101 LD="${LD-ld} -m elf_x86_64_fbsd"
7103 x86_64-*linux*)
7104 LD="${LD-ld} -m elf_x86_64"
7106 ppc*-*linux*|powerpc*-*linux*)
7107 LD="${LD-ld} -m elf64ppc"
7109 s390*-*linux*|s390*-*tpf*)
7110 LD="${LD-ld} -m elf64_s390"
7112 sparc*-*linux*)
7113 LD="${LD-ld} -m elf64_sparc"
7115 esac
7117 esac
7119 rm -rf conftest*
7122 *-*-sco3.2v5*)
7123 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7124 SAVE_CFLAGS="$CFLAGS"
7125 CFLAGS="$CFLAGS -belf"
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7127 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7128 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7131 ac_ext=c
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7137 if test x$gcc_no_link = xyes; then
7138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7144 main ()
7148 return 0;
7150 _ACEOF
7151 if ac_fn_c_try_link "$LINENO"; then :
7152 lt_cv_cc_needs_belf=yes
7153 else
7154 lt_cv_cc_needs_belf=no
7156 rm -f core conftest.err conftest.$ac_objext \
7157 conftest$ac_exeext conftest.$ac_ext
7158 ac_ext=c
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7166 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7167 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7168 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7169 CFLAGS="$SAVE_CFLAGS"
7172 sparc*-*solaris*)
7173 # Find out which ABI we are using.
7174 echo 'int i;' > conftest.$ac_ext
7175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7176 (eval $ac_compile) 2>&5
7177 ac_status=$?
7178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7179 test $ac_status = 0; }; then
7180 case `/usr/bin/file conftest.o` in
7181 *64-bit*)
7182 case $lt_cv_prog_gnu_ld in
7183 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7185 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7186 LD="${LD-ld} -64"
7189 esac
7191 esac
7193 rm -rf conftest*
7195 esac
7197 need_locks="$enable_libtool_lock"
7200 case $host_os in
7201 rhapsody* | darwin*)
7202 if test -n "$ac_tool_prefix"; then
7203 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7204 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 if test -n "$DSYMUTIL"; then
7211 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7224 done
7225 done
7226 IFS=$as_save_IFS
7230 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7231 if test -n "$DSYMUTIL"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7233 $as_echo "$DSYMUTIL" >&6; }
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7241 if test -z "$ac_cv_prog_DSYMUTIL"; then
7242 ac_ct_DSYMUTIL=$DSYMUTIL
7243 # Extract the first word of "dsymutil", so it can be a program name with args.
7244 set dummy dsymutil; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7248 $as_echo_n "(cached) " >&6
7249 else
7250 if test -n "$ac_ct_DSYMUTIL"; then
7251 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7256 IFS=$as_save_IFS
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 break 2
7264 done
7265 done
7266 IFS=$as_save_IFS
7270 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7271 if test -n "$ac_ct_DSYMUTIL"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7273 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7274 else
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7279 if test "x$ac_ct_DSYMUTIL" = x; then
7280 DSYMUTIL=":"
7281 else
7282 case $cross_compiling:$ac_tool_warned in
7283 yes:)
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7286 ac_tool_warned=yes ;;
7287 esac
7288 DSYMUTIL=$ac_ct_DSYMUTIL
7290 else
7291 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7294 if test -n "$ac_tool_prefix"; then
7295 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7296 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$NMEDIT"; then
7303 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 NMEDIT=$ac_cv_prog_NMEDIT
7323 if test -n "$NMEDIT"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7325 $as_echo "$NMEDIT" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7333 if test -z "$ac_cv_prog_NMEDIT"; then
7334 ac_ct_NMEDIT=$NMEDIT
7335 # Extract the first word of "nmedit", so it can be a program name with args.
7336 set dummy nmedit; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7341 else
7342 if test -n "$ac_ct_NMEDIT"; then
7343 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7348 IFS=$as_save_IFS
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 break 2
7356 done
7357 done
7358 IFS=$as_save_IFS
7362 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7363 if test -n "$ac_ct_NMEDIT"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7365 $as_echo "$ac_ct_NMEDIT" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7371 if test "x$ac_ct_NMEDIT" = x; then
7372 NMEDIT=":"
7373 else
7374 case $cross_compiling:$ac_tool_warned in
7375 yes:)
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7378 ac_tool_warned=yes ;;
7379 esac
7380 NMEDIT=$ac_ct_NMEDIT
7382 else
7383 NMEDIT="$ac_cv_prog_NMEDIT"
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7388 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_LIPO+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$LIPO"; then
7395 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 LIPO=$ac_cv_prog_LIPO
7415 if test -n "$LIPO"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7417 $as_echo "$LIPO" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7425 if test -z "$ac_cv_prog_LIPO"; then
7426 ac_ct_LIPO=$LIPO
7427 # Extract the first word of "lipo", so it can be a program name with args.
7428 set dummy lipo; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$ac_ct_LIPO"; then
7435 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_prog_ac_ct_LIPO="lipo"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7455 if test -n "$ac_ct_LIPO"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7457 $as_echo "$ac_ct_LIPO" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7463 if test "x$ac_ct_LIPO" = x; then
7464 LIPO=":"
7465 else
7466 case $cross_compiling:$ac_tool_warned in
7467 yes:)
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned=yes ;;
7471 esac
7472 LIPO=$ac_ct_LIPO
7474 else
7475 LIPO="$ac_cv_prog_LIPO"
7478 if test -n "$ac_tool_prefix"; then
7479 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7480 set dummy ${ac_tool_prefix}otool; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$OTOOL"; then
7487 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 OTOOL=$ac_cv_prog_OTOOL
7507 if test -n "$OTOOL"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7509 $as_echo "$OTOOL" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7517 if test -z "$ac_cv_prog_OTOOL"; then
7518 ac_ct_OTOOL=$OTOOL
7519 # Extract the first word of "otool", so it can be a program name with args.
7520 set dummy otool; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7524 $as_echo_n "(cached) " >&6
7525 else
7526 if test -n "$ac_ct_OTOOL"; then
7527 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7532 IFS=$as_save_IFS
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_ac_ct_OTOOL="otool"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 break 2
7540 done
7541 done
7542 IFS=$as_save_IFS
7546 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7547 if test -n "$ac_ct_OTOOL"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7549 $as_echo "$ac_ct_OTOOL" >&6; }
7550 else
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7555 if test "x$ac_ct_OTOOL" = x; then
7556 OTOOL=":"
7557 else
7558 case $cross_compiling:$ac_tool_warned in
7559 yes:)
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7562 ac_tool_warned=yes ;;
7563 esac
7564 OTOOL=$ac_ct_OTOOL
7566 else
7567 OTOOL="$ac_cv_prog_OTOOL"
7570 if test -n "$ac_tool_prefix"; then
7571 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7572 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$OTOOL64"; then
7579 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 OTOOL64=$ac_cv_prog_OTOOL64
7599 if test -n "$OTOOL64"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7601 $as_echo "$OTOOL64" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7609 if test -z "$ac_cv_prog_OTOOL64"; then
7610 ac_ct_OTOOL64=$OTOOL64
7611 # Extract the first word of "otool64", so it can be a program name with args.
7612 set dummy otool64; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7616 $as_echo_n "(cached) " >&6
7617 else
7618 if test -n "$ac_ct_OTOOL64"; then
7619 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7624 IFS=$as_save_IFS
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628 ac_cv_prog_ac_ct_OTOOL64="otool64"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 break 2
7632 done
7633 done
7634 IFS=$as_save_IFS
7638 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7639 if test -n "$ac_ct_OTOOL64"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7641 $as_echo "$ac_ct_OTOOL64" >&6; }
7642 else
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7647 if test "x$ac_ct_OTOOL64" = x; then
7648 OTOOL64=":"
7649 else
7650 case $cross_compiling:$ac_tool_warned in
7651 yes:)
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7654 ac_tool_warned=yes ;;
7655 esac
7656 OTOOL64=$ac_ct_OTOOL64
7658 else
7659 OTOOL64="$ac_cv_prog_OTOOL64"
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7689 $as_echo_n "checking for -single_module linker flag... " >&6; }
7690 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7691 $as_echo_n "(cached) " >&6
7692 else
7693 lt_cv_apple_cc_single_mod=no
7694 if test -z "${LT_MULTI_MODULE}"; then
7695 # By default we will add the -single_module flag. You can override
7696 # by either setting the environment variable LT_MULTI_MODULE
7697 # non-empty at configure time, or by adding -multi_module to the
7698 # link flags.
7699 rm -rf libconftest.dylib*
7700 echo "int foo(void){return 1;}" > conftest.c
7701 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7702 -dynamiclib -Wl,-single_module conftest.c" >&5
7703 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7704 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7705 _lt_result=$?
7706 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7707 lt_cv_apple_cc_single_mod=yes
7708 else
7709 cat conftest.err >&5
7711 rm -rf libconftest.dylib*
7712 rm -f conftest.*
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7716 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7718 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7719 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 lt_cv_ld_exported_symbols_list=no
7723 save_LDFLAGS=$LDFLAGS
7724 echo "_main" > conftest.sym
7725 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7726 if test x$gcc_no_link = xyes; then
7727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7733 main ()
7737 return 0;
7739 _ACEOF
7740 if ac_fn_c_try_link "$LINENO"; then :
7741 lt_cv_ld_exported_symbols_list=yes
7742 else
7743 lt_cv_ld_exported_symbols_list=no
7745 rm -f core conftest.err conftest.$ac_objext \
7746 conftest$ac_exeext conftest.$ac_ext
7747 LDFLAGS="$save_LDFLAGS"
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7751 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7753 $as_echo_n "checking for -force_load linker flag... " >&6; }
7754 if test "${lt_cv_ld_force_load+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7756 else
7757 lt_cv_ld_force_load=no
7758 cat > conftest.c << _LT_EOF
7759 int forced_loaded() { return 2;}
7760 _LT_EOF
7761 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7762 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7763 echo "$AR cru libconftest.a conftest.o" >&5
7764 $AR cru libconftest.a conftest.o 2>&5
7765 cat > conftest.c << _LT_EOF
7766 int main() { return 0;}
7767 _LT_EOF
7768 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7769 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7770 _lt_result=$?
7771 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7772 lt_cv_ld_force_load=yes
7773 else
7774 cat conftest.err >&5
7776 rm -f conftest.err libconftest.a conftest conftest.c
7777 rm -rf conftest.dSYM
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7781 $as_echo "$lt_cv_ld_force_load" >&6; }
7782 case $host_os in
7783 rhapsody* | darwin1.[012])
7784 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7785 darwin1.*)
7786 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7787 darwin*) # darwin 5.x on
7788 # if running on 10.5 or later, the deployment target defaults
7789 # to the OS version, if on x86, and 10.4, the deployment
7790 # target defaults to 10.4. Don't you love it?
7791 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7792 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7793 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7794 10.[012]*)
7795 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7796 10.*)
7797 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7798 esac
7800 esac
7801 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7802 _lt_dar_single_mod='$single_module'
7804 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7805 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7806 else
7807 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7809 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7810 _lt_dsymutil='~$DSYMUTIL $lib || :'
7811 else
7812 _lt_dsymutil=
7815 esac
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7818 $as_echo_n "checking for ANSI C header files... " >&6; }
7819 if test "${ac_cv_header_stdc+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h. */
7824 #include <stdlib.h>
7825 #include <stdarg.h>
7826 #include <string.h>
7827 #include <float.h>
7830 main ()
7834 return 0;
7836 _ACEOF
7837 if ac_fn_c_try_compile "$LINENO"; then :
7838 ac_cv_header_stdc=yes
7839 else
7840 ac_cv_header_stdc=no
7842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7844 if test $ac_cv_header_stdc = yes; then
7845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h. */
7848 #include <string.h>
7850 _ACEOF
7851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7852 $EGREP "memchr" >/dev/null 2>&1; then :
7854 else
7855 ac_cv_header_stdc=no
7857 rm -f conftest*
7861 if test $ac_cv_header_stdc = yes; then
7862 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7864 /* end confdefs.h. */
7865 #include <stdlib.h>
7867 _ACEOF
7868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7869 $EGREP "free" >/dev/null 2>&1; then :
7871 else
7872 ac_cv_header_stdc=no
7874 rm -f conftest*
7878 if test $ac_cv_header_stdc = yes; then
7879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7880 if test "$cross_compiling" = yes; then :
7882 else
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885 #include <ctype.h>
7886 #include <stdlib.h>
7887 #if ((' ' & 0x0FF) == 0x020)
7888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7890 #else
7891 # define ISLOWER(c) \
7892 (('a' <= (c) && (c) <= 'i') \
7893 || ('j' <= (c) && (c) <= 'r') \
7894 || ('s' <= (c) && (c) <= 'z'))
7895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7896 #endif
7898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7900 main ()
7902 int i;
7903 for (i = 0; i < 256; i++)
7904 if (XOR (islower (i), ISLOWER (i))
7905 || toupper (i) != TOUPPER (i))
7906 return 2;
7907 return 0;
7909 _ACEOF
7910 if ac_fn_c_try_run "$LINENO"; then :
7912 else
7913 ac_cv_header_stdc=no
7915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7916 conftest.$ac_objext conftest.beam conftest.$ac_ext
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7922 $as_echo "$ac_cv_header_stdc" >&6; }
7923 if test $ac_cv_header_stdc = yes; then
7925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7929 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7930 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7931 inttypes.h stdint.h unistd.h
7932 do :
7933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7934 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7936 eval as_val=\$$as_ac_Header
7937 if test "x$as_val" = x""yes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 _ACEOF
7944 done
7947 for ac_header in dlfcn.h
7948 do :
7949 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7951 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7952 cat >>confdefs.h <<_ACEOF
7953 #define HAVE_DLFCN_H 1
7954 _ACEOF
7958 done
7965 # Set options
7970 enable_win32_dll=no
7973 # Check whether --enable-shared was given.
7974 if test "${enable_shared+set}" = set; then :
7975 enableval=$enable_shared; p=${PACKAGE-default}
7976 case $enableval in
7977 yes) enable_shared=yes ;;
7978 no) enable_shared=no ;;
7980 enable_shared=no
7981 # Look at the argument we got. We use all the common list separators.
7982 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983 for pkg in $enableval; do
7984 IFS="$lt_save_ifs"
7985 if test "X$pkg" = "X$p"; then
7986 enable_shared=yes
7988 done
7989 IFS="$lt_save_ifs"
7991 esac
7992 else
7993 enable_shared=yes
8004 # Check whether --enable-static was given.
8005 if test "${enable_static+set}" = set; then :
8006 enableval=$enable_static; p=${PACKAGE-default}
8007 case $enableval in
8008 yes) enable_static=yes ;;
8009 no) enable_static=no ;;
8011 enable_static=no
8012 # Look at the argument we got. We use all the common list separators.
8013 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014 for pkg in $enableval; do
8015 IFS="$lt_save_ifs"
8016 if test "X$pkg" = "X$p"; then
8017 enable_static=yes
8019 done
8020 IFS="$lt_save_ifs"
8022 esac
8023 else
8024 enable_static=yes
8036 # Check whether --with-pic was given.
8037 if test "${with_pic+set}" = set; then :
8038 withval=$with_pic; pic_mode="$withval"
8039 else
8040 pic_mode=default
8044 test -z "$pic_mode" && pic_mode=default
8052 # Check whether --enable-fast-install was given.
8053 if test "${enable_fast_install+set}" = set; then :
8054 enableval=$enable_fast_install; p=${PACKAGE-default}
8055 case $enableval in
8056 yes) enable_fast_install=yes ;;
8057 no) enable_fast_install=no ;;
8059 enable_fast_install=no
8060 # Look at the argument we got. We use all the common list separators.
8061 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062 for pkg in $enableval; do
8063 IFS="$lt_save_ifs"
8064 if test "X$pkg" = "X$p"; then
8065 enable_fast_install=yes
8067 done
8068 IFS="$lt_save_ifs"
8070 esac
8071 else
8072 enable_fast_install=yes
8085 # This can be used to rebuild libtool when needed
8086 LIBTOOL_DEPS="$ltmain"
8088 # Always use our own libtool.
8089 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8116 test -z "$LN_S" && LN_S="ln -s"
8131 if test -n "${ZSH_VERSION+set}" ; then
8132 setopt NO_GLOB_SUBST
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8136 $as_echo_n "checking for objdir... " >&6; }
8137 if test "${lt_cv_objdir+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 rm -f .libs 2>/dev/null
8141 mkdir .libs 2>/dev/null
8142 if test -d .libs; then
8143 lt_cv_objdir=.libs
8144 else
8145 # MS-DOS does not allow filenames that begin with a dot.
8146 lt_cv_objdir=_libs
8148 rmdir .libs 2>/dev/null
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8151 $as_echo "$lt_cv_objdir" >&6; }
8152 objdir=$lt_cv_objdir
8158 cat >>confdefs.h <<_ACEOF
8159 #define LT_OBJDIR "$lt_cv_objdir/"
8160 _ACEOF
8165 case $host_os in
8166 aix3*)
8167 # AIX sometimes has problems with the GCC collect2 program. For some
8168 # reason, if we set the COLLECT_NAMES environment variable, the problems
8169 # vanish in a puff of smoke.
8170 if test "X${COLLECT_NAMES+set}" != Xset; then
8171 COLLECT_NAMES=
8172 export COLLECT_NAMES
8175 esac
8177 # Global variables:
8178 ofile=libtool
8179 can_build_shared=yes
8181 # All known linkers require a `.a' archive for static linking (except MSVC,
8182 # which needs '.lib').
8183 libext=a
8185 with_gnu_ld="$lt_cv_prog_gnu_ld"
8187 old_CC="$CC"
8188 old_CFLAGS="$CFLAGS"
8190 # Set sane defaults for various variables
8191 test -z "$CC" && CC=cc
8192 test -z "$LTCC" && LTCC=$CC
8193 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8194 test -z "$LD" && LD=ld
8195 test -z "$ac_objext" && ac_objext=o
8197 for cc_temp in $compiler""; do
8198 case $cc_temp in
8199 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8200 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8201 \-*) ;;
8202 *) break;;
8203 esac
8204 done
8205 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8208 # Only perform the check for file, if the check method requires it
8209 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8210 case $deplibs_check_method in
8211 file_magic*)
8212 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8214 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8215 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 case $MAGIC_CMD in
8219 [\\/*] | ?:[\\/]*)
8220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8223 lt_save_MAGIC_CMD="$MAGIC_CMD"
8224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8225 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8226 for ac_dir in $ac_dummy; do
8227 IFS="$lt_save_ifs"
8228 test -z "$ac_dir" && ac_dir=.
8229 if test -f $ac_dir/${ac_tool_prefix}file; then
8230 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8231 if test -n "$file_magic_test_file"; then
8232 case $deplibs_check_method in
8233 "file_magic "*)
8234 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8237 $EGREP "$file_magic_regex" > /dev/null; then
8239 else
8240 cat <<_LT_EOF 1>&2
8242 *** Warning: the command libtool uses to detect shared libraries,
8243 *** $file_magic_cmd, produces output that libtool cannot recognize.
8244 *** The result is that libtool may fail to recognize shared libraries
8245 *** as such. This will affect the creation of libtool libraries that
8246 *** depend on shared libraries, but programs linked with such libtool
8247 *** libraries will work regardless of this problem. Nevertheless, you
8248 *** may want to report the problem to your system manager and/or to
8249 *** bug-libtool@gnu.org
8251 _LT_EOF
8252 fi ;;
8253 esac
8255 break
8257 done
8258 IFS="$lt_save_ifs"
8259 MAGIC_CMD="$lt_save_MAGIC_CMD"
8261 esac
8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265 if test -n "$MAGIC_CMD"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8267 $as_echo "$MAGIC_CMD" >&6; }
8268 else
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8277 if test -z "$lt_cv_path_MAGIC_CMD"; then
8278 if test -n "$ac_tool_prefix"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8280 $as_echo_n "checking for file... " >&6; }
8281 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 case $MAGIC_CMD in
8285 [\\/*] | ?:[\\/]*)
8286 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8289 lt_save_MAGIC_CMD="$MAGIC_CMD"
8290 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8291 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8292 for ac_dir in $ac_dummy; do
8293 IFS="$lt_save_ifs"
8294 test -z "$ac_dir" && ac_dir=.
8295 if test -f $ac_dir/file; then
8296 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8297 if test -n "$file_magic_test_file"; then
8298 case $deplibs_check_method in
8299 "file_magic "*)
8300 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8303 $EGREP "$file_magic_regex" > /dev/null; then
8305 else
8306 cat <<_LT_EOF 1>&2
8308 *** Warning: the command libtool uses to detect shared libraries,
8309 *** $file_magic_cmd, produces output that libtool cannot recognize.
8310 *** The result is that libtool may fail to recognize shared libraries
8311 *** as such. This will affect the creation of libtool libraries that
8312 *** depend on shared libraries, but programs linked with such libtool
8313 *** libraries will work regardless of this problem. Nevertheless, you
8314 *** may want to report the problem to your system manager and/or to
8315 *** bug-libtool@gnu.org
8317 _LT_EOF
8318 fi ;;
8319 esac
8321 break
8323 done
8324 IFS="$lt_save_ifs"
8325 MAGIC_CMD="$lt_save_MAGIC_CMD"
8327 esac
8330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8331 if test -n "$MAGIC_CMD"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8333 $as_echo "$MAGIC_CMD" >&6; }
8334 else
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8340 else
8341 MAGIC_CMD=:
8347 esac
8349 # Use C for the default configuration in the libtool script
8351 lt_save_CC="$CC"
8352 ac_ext=c
8353 ac_cpp='$CPP $CPPFLAGS'
8354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8359 # Source file extension for C test sources.
8360 ac_ext=c
8362 # Object file extension for compiled C test sources.
8363 objext=o
8364 objext=$objext
8366 # Code to be used in simple compile tests
8367 lt_simple_compile_test_code="int some_variable = 0;"
8369 # Code to be used in simple link tests
8370 lt_simple_link_test_code='int main(){return(0);}'
8378 # If no C compiler was specified, use CC.
8379 LTCC=${LTCC-"$CC"}
8381 # If no C compiler flags were specified, use CFLAGS.
8382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8384 # Allow CC to be a program name with arguments.
8385 compiler=$CC
8387 # Save the default compiler, since it gets overwritten when the other
8388 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8389 compiler_DEFAULT=$CC
8391 # save warnings/boilerplate of simple test code
8392 ac_outfile=conftest.$ac_objext
8393 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8394 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8395 _lt_compiler_boilerplate=`cat conftest.err`
8396 $RM conftest*
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8400 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8401 _lt_linker_boilerplate=`cat conftest.err`
8402 $RM -r conftest*
8405 ## CAVEAT EMPTOR:
8406 ## There is no encapsulation within the following macros, do not change
8407 ## the running order or otherwise move them around unless you know exactly
8408 ## what you are doing...
8409 if test -n "$compiler"; then
8411 lt_prog_compiler_no_builtin_flag=
8413 if test "$GCC" = yes; then
8414 case $cc_basename in
8415 nvcc*)
8416 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8418 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8419 esac
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8422 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8423 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 lt_cv_prog_compiler_rtti_exceptions=no
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8429 lt_compiler_flag="-fno-rtti -fno-exceptions"
8430 # Insert the option either (1) after the last *FLAGS variable, or
8431 # (2) before a word containing "conftest.", or (3) at the end.
8432 # Note that $ac_compile itself does not contain backslashes and begins
8433 # with a dollar sign (not a hyphen), so the echo should work correctly.
8434 # The option is referenced via a variable to avoid confusing sed.
8435 lt_compile=`echo "$ac_compile" | $SED \
8436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8438 -e 's:$: $lt_compiler_flag:'`
8439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8440 (eval "$lt_compile" 2>conftest.err)
8441 ac_status=$?
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 if (exit $ac_status) && test -s "$ac_outfile"; then
8445 # The compiler can only warn and ignore the option if not recognized
8446 # So say no if there are warnings other than the usual output.
8447 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8448 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8449 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8450 lt_cv_prog_compiler_rtti_exceptions=yes
8453 $RM conftest*
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8457 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8459 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8460 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8461 else
8472 lt_prog_compiler_wl=
8473 lt_prog_compiler_pic=
8474 lt_prog_compiler_static=
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8477 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8479 if test "$GCC" = yes; then
8480 lt_prog_compiler_wl='-Wl,'
8481 lt_prog_compiler_static='-static'
8483 case $host_os in
8484 aix*)
8485 # All AIX code is PIC.
8486 if test "$host_cpu" = ia64; then
8487 # AIX 5 now supports IA64 processor
8488 lt_prog_compiler_static='-Bstatic'
8492 amigaos*)
8493 case $host_cpu in
8494 powerpc)
8495 # see comment about AmigaOS4 .so support
8496 lt_prog_compiler_pic='-fPIC'
8498 m68k)
8499 # FIXME: we need at least 68020 code to build shared libraries, but
8500 # adding the `-m68020' flag to GCC prevents building anything better,
8501 # like `-m68040'.
8502 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8504 esac
8507 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8508 # PIC is the default for these OSes.
8511 mingw* | cygwin* | pw32* | os2* | cegcc*)
8512 # This hack is so that the source file can tell whether it is being
8513 # built for inclusion in a dll (and should export symbols for example).
8514 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8515 # (--disable-auto-import) libraries
8516 lt_prog_compiler_pic='-DDLL_EXPORT'
8519 darwin* | rhapsody*)
8520 # PIC is the default on this platform
8521 # Common symbols not allowed in MH_DYLIB files
8522 lt_prog_compiler_pic='-fno-common'
8525 haiku*)
8526 # PIC is the default for Haiku.
8527 # The "-static" flag exists, but is broken.
8528 lt_prog_compiler_static=
8531 hpux*)
8532 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8533 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8534 # sets the default TLS model and affects inlining.
8535 case $host_cpu in
8536 hppa*64*)
8537 # +Z the default
8540 lt_prog_compiler_pic='-fPIC'
8542 esac
8545 interix[3-9]*)
8546 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8547 # Instead, we relocate shared libraries at runtime.
8550 msdosdjgpp*)
8551 # Just because we use GCC doesn't mean we suddenly get shared libraries
8552 # on systems that don't support them.
8553 lt_prog_compiler_can_build_shared=no
8554 enable_shared=no
8557 *nto* | *qnx*)
8558 # QNX uses GNU C++, but need to define -shared option too, otherwise
8559 # it will coredump.
8560 lt_prog_compiler_pic='-fPIC -shared'
8563 sysv4*MP*)
8564 if test -d /usr/nec; then
8565 lt_prog_compiler_pic=-Kconform_pic
8570 lt_prog_compiler_pic='-fPIC'
8572 esac
8574 case $cc_basename in
8575 nvcc*) # Cuda Compiler Driver 2.2
8576 lt_prog_compiler_wl='-Xlinker '
8577 lt_prog_compiler_pic='-Xcompiler -fPIC'
8579 esac
8580 else
8581 # PORTME Check for flag to pass linker flags through the system compiler.
8582 case $host_os in
8583 aix*)
8584 lt_prog_compiler_wl='-Wl,'
8585 if test "$host_cpu" = ia64; then
8586 # AIX 5 now supports IA64 processor
8587 lt_prog_compiler_static='-Bstatic'
8588 else
8589 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8593 mingw* | cygwin* | pw32* | os2* | cegcc*)
8594 # This hack is so that the source file can tell whether it is being
8595 # built for inclusion in a dll (and should export symbols for example).
8596 lt_prog_compiler_pic='-DDLL_EXPORT'
8599 hpux9* | hpux10* | hpux11*)
8600 lt_prog_compiler_wl='-Wl,'
8601 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8602 # not for PA HP-UX.
8603 case $host_cpu in
8604 hppa*64*|ia64*)
8605 # +Z the default
8608 lt_prog_compiler_pic='+Z'
8610 esac
8611 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8612 lt_prog_compiler_static='${wl}-a ${wl}archive'
8615 irix5* | irix6* | nonstopux*)
8616 lt_prog_compiler_wl='-Wl,'
8617 # PIC (with -KPIC) is the default.
8618 lt_prog_compiler_static='-non_shared'
8621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8622 case $cc_basename in
8623 # old Intel for x86_64 which still supported -KPIC.
8624 ecc*)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-KPIC'
8627 lt_prog_compiler_static='-static'
8629 # icc used to be incompatible with GCC.
8630 # ICC 10 doesn't accept -KPIC any more.
8631 icc* | ifort*)
8632 lt_prog_compiler_wl='-Wl,'
8633 lt_prog_compiler_pic='-fPIC'
8634 lt_prog_compiler_static='-static'
8636 # Lahey Fortran 8.1.
8637 lf95*)
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_pic='--shared'
8640 lt_prog_compiler_static='--static'
8642 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8643 # Portland Group compilers (*not* the Pentium gcc compiler,
8644 # which looks to be a dead project)
8645 lt_prog_compiler_wl='-Wl,'
8646 lt_prog_compiler_pic='-fpic'
8647 lt_prog_compiler_static='-Bstatic'
8649 ccc*)
8650 lt_prog_compiler_wl='-Wl,'
8651 # All Alpha code is PIC.
8652 lt_prog_compiler_static='-non_shared'
8654 xl* | bgxl* | bgf* | mpixl*)
8655 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8656 lt_prog_compiler_wl='-Wl,'
8657 lt_prog_compiler_pic='-qpic'
8658 lt_prog_compiler_static='-qstaticlink'
8661 case `$CC -V 2>&1 | sed 5q` in
8662 *Sun\ F* | *Sun*Fortran*)
8663 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8664 lt_prog_compiler_pic='-KPIC'
8665 lt_prog_compiler_static='-Bstatic'
8666 lt_prog_compiler_wl=''
8668 *Sun\ C*)
8669 # Sun C 5.9
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-Bstatic'
8672 lt_prog_compiler_wl='-Wl,'
8674 esac
8676 esac
8679 newsos6)
8680 lt_prog_compiler_pic='-KPIC'
8681 lt_prog_compiler_static='-Bstatic'
8684 *nto* | *qnx*)
8685 # QNX uses GNU C++, but need to define -shared option too, otherwise
8686 # it will coredump.
8687 lt_prog_compiler_pic='-fPIC -shared'
8690 osf3* | osf4* | osf5*)
8691 lt_prog_compiler_wl='-Wl,'
8692 # All OSF/1 code is PIC.
8693 lt_prog_compiler_static='-non_shared'
8696 rdos*)
8697 lt_prog_compiler_static='-non_shared'
8700 solaris*)
8701 lt_prog_compiler_pic='-KPIC'
8702 lt_prog_compiler_static='-Bstatic'
8703 case $cc_basename in
8704 f77* | f90* | f95*)
8705 lt_prog_compiler_wl='-Qoption ld ';;
8707 lt_prog_compiler_wl='-Wl,';;
8708 esac
8711 sunos4*)
8712 lt_prog_compiler_wl='-Qoption ld '
8713 lt_prog_compiler_pic='-PIC'
8714 lt_prog_compiler_static='-Bstatic'
8717 sysv4 | sysv4.2uw2* | sysv4.3*)
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_pic='-KPIC'
8720 lt_prog_compiler_static='-Bstatic'
8723 sysv4*MP*)
8724 if test -d /usr/nec ;then
8725 lt_prog_compiler_pic='-Kconform_pic'
8726 lt_prog_compiler_static='-Bstatic'
8730 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8731 lt_prog_compiler_wl='-Wl,'
8732 lt_prog_compiler_pic='-KPIC'
8733 lt_prog_compiler_static='-Bstatic'
8736 unicos*)
8737 lt_prog_compiler_wl='-Wl,'
8738 lt_prog_compiler_can_build_shared=no
8741 uts4*)
8742 lt_prog_compiler_pic='-pic'
8743 lt_prog_compiler_static='-Bstatic'
8747 lt_prog_compiler_can_build_shared=no
8749 esac
8752 case $host_os in
8753 # For platforms which do not support PIC, -DPIC is meaningless:
8754 *djgpp*)
8755 lt_prog_compiler_pic=
8758 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8760 esac
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8762 $as_echo "$lt_prog_compiler_pic" >&6; }
8770 # Check to make sure the PIC flag actually works.
8772 if test -n "$lt_prog_compiler_pic"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8774 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8775 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 lt_cv_prog_compiler_pic_works=no
8779 ac_outfile=conftest.$ac_objext
8780 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8781 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8782 # Insert the option either (1) after the last *FLAGS variable, or
8783 # (2) before a word containing "conftest.", or (3) at the end.
8784 # Note that $ac_compile itself does not contain backslashes and begins
8785 # with a dollar sign (not a hyphen), so the echo should work correctly.
8786 # The option is referenced via a variable to avoid confusing sed.
8787 lt_compile=`echo "$ac_compile" | $SED \
8788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8790 -e 's:$: $lt_compiler_flag:'`
8791 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8792 (eval "$lt_compile" 2>conftest.err)
8793 ac_status=$?
8794 cat conftest.err >&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 if (exit $ac_status) && test -s "$ac_outfile"; then
8797 # The compiler can only warn and ignore the option if not recognized
8798 # So say no if there are warnings other than the usual output.
8799 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8800 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8801 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8802 lt_cv_prog_compiler_pic_works=yes
8805 $RM conftest*
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8809 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8811 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8812 case $lt_prog_compiler_pic in
8813 "" | " "*) ;;
8814 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8815 esac
8816 else
8817 lt_prog_compiler_pic=
8818 lt_prog_compiler_can_build_shared=no
8829 # Check to make sure the static flag actually works.
8831 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8833 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8834 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 lt_cv_prog_compiler_static_works=no
8838 save_LDFLAGS="$LDFLAGS"
8839 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8840 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8841 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8842 # The linker can only warn and ignore the option if not recognized
8843 # So say no if there are warnings
8844 if test -s conftest.err; then
8845 # Append any errors to the config.log.
8846 cat conftest.err 1>&5
8847 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8848 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8849 if diff conftest.exp conftest.er2 >/dev/null; then
8850 lt_cv_prog_compiler_static_works=yes
8852 else
8853 lt_cv_prog_compiler_static_works=yes
8856 $RM -r conftest*
8857 LDFLAGS="$save_LDFLAGS"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8863 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8865 else
8866 lt_prog_compiler_static=
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8877 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 lt_cv_prog_compiler_c_o=no
8881 $RM -r conftest 2>/dev/null
8882 mkdir conftest
8883 cd conftest
8884 mkdir out
8885 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8887 lt_compiler_flag="-o out/conftest2.$ac_objext"
8888 # Insert the option either (1) after the last *FLAGS variable, or
8889 # (2) before a word containing "conftest.", or (3) at the end.
8890 # Note that $ac_compile itself does not contain backslashes and begins
8891 # with a dollar sign (not a hyphen), so the echo should work correctly.
8892 lt_compile=`echo "$ac_compile" | $SED \
8893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8895 -e 's:$: $lt_compiler_flag:'`
8896 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8897 (eval "$lt_compile" 2>out/conftest.err)
8898 ac_status=$?
8899 cat out/conftest.err >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8902 then
8903 # The compiler can only warn and ignore the option if not recognized
8904 # So say no if there are warnings
8905 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8906 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8907 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8908 lt_cv_prog_compiler_c_o=yes
8911 chmod u+w . 2>&5
8912 $RM conftest*
8913 # SGI C++ compiler will create directory out/ii_files/ for
8914 # template instantiation
8915 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8916 $RM out/* && rmdir out
8917 cd ..
8918 $RM -r conftest
8919 $RM conftest*
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8923 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8932 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 lt_cv_prog_compiler_c_o=no
8936 $RM -r conftest 2>/dev/null
8937 mkdir conftest
8938 cd conftest
8939 mkdir out
8940 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8942 lt_compiler_flag="-o out/conftest2.$ac_objext"
8943 # Insert the option either (1) after the last *FLAGS variable, or
8944 # (2) before a word containing "conftest.", or (3) at the end.
8945 # Note that $ac_compile itself does not contain backslashes and begins
8946 # with a dollar sign (not a hyphen), so the echo should work correctly.
8947 lt_compile=`echo "$ac_compile" | $SED \
8948 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8950 -e 's:$: $lt_compiler_flag:'`
8951 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8952 (eval "$lt_compile" 2>out/conftest.err)
8953 ac_status=$?
8954 cat out/conftest.err >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8957 then
8958 # The compiler can only warn and ignore the option if not recognized
8959 # So say no if there are warnings
8960 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8961 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8962 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8963 lt_cv_prog_compiler_c_o=yes
8966 chmod u+w . 2>&5
8967 $RM conftest*
8968 # SGI C++ compiler will create directory out/ii_files/ for
8969 # template instantiation
8970 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8971 $RM out/* && rmdir out
8972 cd ..
8973 $RM -r conftest
8974 $RM conftest*
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8978 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 hard_links="nottested"
8984 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8985 # do not overwrite the value of need_locks provided by the user
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8987 $as_echo_n "checking if we can lock with hard links... " >&6; }
8988 hard_links=yes
8989 $RM conftest*
8990 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991 touch conftest.a
8992 ln conftest.a conftest.b 2>&5 || hard_links=no
8993 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8995 $as_echo "$hard_links" >&6; }
8996 if test "$hard_links" = no; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8998 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8999 need_locks=warn
9001 else
9002 need_locks=no
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9011 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9013 runpath_var=
9014 allow_undefined_flag=
9015 always_export_symbols=no
9016 archive_cmds=
9017 archive_expsym_cmds=
9018 compiler_needs_object=no
9019 enable_shared_with_static_runtimes=no
9020 export_dynamic_flag_spec=
9021 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9022 hardcode_automatic=no
9023 hardcode_direct=no
9024 hardcode_direct_absolute=no
9025 hardcode_libdir_flag_spec=
9026 hardcode_libdir_flag_spec_ld=
9027 hardcode_libdir_separator=
9028 hardcode_minus_L=no
9029 hardcode_shlibpath_var=unsupported
9030 inherit_rpath=no
9031 link_all_deplibs=unknown
9032 module_cmds=
9033 module_expsym_cmds=
9034 old_archive_from_new_cmds=
9035 old_archive_from_expsyms_cmds=
9036 thread_safe_flag_spec=
9037 whole_archive_flag_spec=
9038 # include_expsyms should be a list of space-separated symbols to be *always*
9039 # included in the symbol list
9040 include_expsyms=
9041 # exclude_expsyms can be an extended regexp of symbols to exclude
9042 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9043 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9044 # as well as any symbol that contains `d'.
9045 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9046 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9047 # platforms (ab)use it in PIC code, but their linkers get confused if
9048 # the symbol is explicitly referenced. Since portable code cannot
9049 # rely on this symbol name, it's probably fine to never include it in
9050 # preloaded symbol tables.
9051 # Exclude shared library initialization/finalization symbols.
9052 extract_expsyms_cmds=
9054 case $host_os in
9055 cygwin* | mingw* | pw32* | cegcc*)
9056 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9057 # When not using gcc, we currently assume that we are using
9058 # Microsoft Visual C++.
9059 if test "$GCC" != yes; then
9060 with_gnu_ld=no
9063 interix*)
9064 # we just hope/assume this is gcc and not c89 (= MSVC++)
9065 with_gnu_ld=yes
9067 openbsd*)
9068 with_gnu_ld=no
9070 esac
9072 ld_shlibs=yes
9074 # On some targets, GNU ld is compatible enough with the native linker
9075 # that we're better off using the native interface for both.
9076 lt_use_gnu_ld_interface=no
9077 if test "$with_gnu_ld" = yes; then
9078 case $host_os in
9079 aix*)
9080 # The AIX port of GNU ld has always aspired to compatibility
9081 # with the native linker. However, as the warning in the GNU ld
9082 # block says, versions before 2.19.5* couldn't really create working
9083 # shared libraries, regardless of the interface used.
9084 case `$LD -v 2>&1` in
9085 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9086 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9087 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9089 lt_use_gnu_ld_interface=yes
9091 esac
9094 lt_use_gnu_ld_interface=yes
9096 esac
9099 if test "$lt_use_gnu_ld_interface" = yes; then
9100 # If archive_cmds runs LD, not CC, wlarc should be empty
9101 wlarc='${wl}'
9103 # Set some defaults for GNU ld with shared library support. These
9104 # are reset later if shared libraries are not supported. Putting them
9105 # here allows them to be overridden if necessary.
9106 runpath_var=LD_RUN_PATH
9107 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9108 export_dynamic_flag_spec='${wl}--export-dynamic'
9109 # ancient GNU ld didn't support --whole-archive et. al.
9110 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9111 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9112 else
9113 whole_archive_flag_spec=
9115 supports_anon_versioning=no
9116 case `$LD -v 2>&1` in
9117 *GNU\ gold*) supports_anon_versioning=yes ;;
9118 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9119 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9120 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9121 *\ 2.11.*) ;; # other 2.11 versions
9122 *) supports_anon_versioning=yes ;;
9123 esac
9125 # See if GNU ld supports shared libraries.
9126 case $host_os in
9127 aix[3-9]*)
9128 # On AIX/PPC, the GNU linker is very broken
9129 if test "$host_cpu" != ia64; then
9130 ld_shlibs=no
9131 cat <<_LT_EOF 1>&2
9133 *** Warning: the GNU linker, at least up to release 2.19, is reported
9134 *** to be unable to reliably create shared libraries on AIX.
9135 *** Therefore, libtool is disabling shared libraries support. If you
9136 *** really care for shared libraries, you may want to install binutils
9137 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9138 *** You will then need to restart the configuration process.
9140 _LT_EOF
9144 amigaos*)
9145 case $host_cpu in
9146 powerpc)
9147 # see comment about AmigaOS4 .so support
9148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds=''
9151 m68k)
9152 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)'
9153 hardcode_libdir_flag_spec='-L$libdir'
9154 hardcode_minus_L=yes
9156 esac
9159 beos*)
9160 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9161 allow_undefined_flag=unsupported
9162 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9163 # support --undefined. This deserves some investigation. FIXME
9164 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9165 else
9166 ld_shlibs=no
9170 cygwin* | mingw* | pw32* | cegcc*)
9171 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9172 # as there is no search path for DLLs.
9173 hardcode_libdir_flag_spec='-L$libdir'
9174 export_dynamic_flag_spec='${wl}--export-all-symbols'
9175 allow_undefined_flag=unsupported
9176 always_export_symbols=no
9177 enable_shared_with_static_runtimes=yes
9178 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9180 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9181 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9182 # If the export-symbols file already is a .def file (1st line
9183 # is EXPORTS), use it as is; otherwise, prepend...
9184 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9185 cp $export_symbols $output_objdir/$soname.def;
9186 else
9187 echo EXPORTS > $output_objdir/$soname.def;
9188 cat $export_symbols >> $output_objdir/$soname.def;
9190 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191 else
9192 ld_shlibs=no
9196 haiku*)
9197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198 link_all_deplibs=yes
9201 interix[3-9]*)
9202 hardcode_direct=no
9203 hardcode_shlibpath_var=no
9204 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9205 export_dynamic_flag_spec='${wl}-E'
9206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9207 # Instead, shared libraries are loaded at an image base (0x10000000 by
9208 # default) and relocated if they conflict, which is a slow very memory
9209 # consuming and fragmenting process. To avoid this, we pick a random,
9210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9212 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9213 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'
9216 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9217 tmp_diet=no
9218 if test "$host_os" = linux-dietlibc; then
9219 case $cc_basename in
9220 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9221 esac
9223 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9224 && test "$tmp_diet" = no
9225 then
9226 tmp_addflag=
9227 tmp_sharedflag='-shared'
9228 case $cc_basename,$host_cpu in
9229 pgcc*) # Portland Group C compiler
9230 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'
9231 tmp_addflag=' $pic_flag'
9233 pgf77* | pgf90* | pgf95* | pgfortran*)
9234 # Portland Group f77 and f90 compilers
9235 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'
9236 tmp_addflag=' $pic_flag -Mnomain' ;;
9237 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9238 tmp_addflag=' -i_dynamic' ;;
9239 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9240 tmp_addflag=' -i_dynamic -nofor_main' ;;
9241 ifc* | ifort*) # Intel Fortran compiler
9242 tmp_addflag=' -nofor_main' ;;
9243 lf95*) # Lahey Fortran 8.1
9244 whole_archive_flag_spec=
9245 tmp_sharedflag='--shared' ;;
9246 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9247 tmp_sharedflag='-qmkshrobj'
9248 tmp_addflag= ;;
9249 nvcc*) # Cuda Compiler Driver 2.2
9250 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'
9251 compiler_needs_object=yes
9253 esac
9254 case `$CC -V 2>&1 | sed 5q` in
9255 *Sun\ C*) # Sun C 5.9
9256 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'
9257 compiler_needs_object=yes
9258 tmp_sharedflag='-G' ;;
9259 *Sun\ F*) # Sun Fortran 8.3
9260 tmp_sharedflag='-G' ;;
9261 esac
9262 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 if test "x$supports_anon_versioning" = xyes; then
9265 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267 echo "local: *; };" >> $output_objdir/$libname.ver~
9268 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9271 case $cc_basename in
9272 xlf* | bgf* | bgxlf* | mpixlf*)
9273 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9274 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9275 hardcode_libdir_flag_spec=
9276 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9277 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9278 if test "x$supports_anon_versioning" = xyes; then
9279 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9280 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9281 echo "local: *; };" >> $output_objdir/$libname.ver~
9282 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9285 esac
9286 else
9287 ld_shlibs=no
9291 netbsd*)
9292 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9293 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9294 wlarc=
9295 else
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9301 solaris*)
9302 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9303 ld_shlibs=no
9304 cat <<_LT_EOF 1>&2
9306 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9307 *** create shared libraries on Solaris systems. Therefore, libtool
9308 *** is disabling shared libraries support. We urge you to upgrade GNU
9309 *** binutils to release 2.9.1 or newer. Another option is to modify
9310 *** your PATH or compiler configuration so that the native linker is
9311 *** used, and then restart.
9313 _LT_EOF
9314 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9317 else
9318 ld_shlibs=no
9322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9323 case `$LD -v 2>&1` in
9324 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9325 ld_shlibs=no
9326 cat <<_LT_EOF 1>&2
9328 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9329 *** reliably create shared libraries on SCO systems. Therefore, libtool
9330 *** is disabling shared libraries support. We urge you to upgrade GNU
9331 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9332 *** your PATH or compiler configuration so that the native linker is
9333 *** used, and then restart.
9335 _LT_EOF
9338 # For security reasons, it is highly recommended that you always
9339 # use absolute paths for naming shared libraries, and exclude the
9340 # DT_RUNPATH tag from executables and libraries. But doing so
9341 # requires that you compile everything twice, which is a pain.
9342 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346 else
9347 ld_shlibs=no
9350 esac
9353 sunos4*)
9354 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355 wlarc=
9356 hardcode_direct=yes
9357 hardcode_shlibpath_var=no
9361 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364 else
9365 ld_shlibs=no
9368 esac
9370 if test "$ld_shlibs" = no; then
9371 runpath_var=
9372 hardcode_libdir_flag_spec=
9373 export_dynamic_flag_spec=
9374 whole_archive_flag_spec=
9376 else
9377 # PORTME fill in a description of your system's linker (not GNU ld)
9378 case $host_os in
9379 aix3*)
9380 allow_undefined_flag=unsupported
9381 always_export_symbols=yes
9382 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'
9383 # Note: this linker hardcodes the directories in LIBPATH if there
9384 # are no directories specified by -L.
9385 hardcode_minus_L=yes
9386 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9387 # Neither direct hardcoding nor static linking is supported with a
9388 # broken collect2.
9389 hardcode_direct=unsupported
9393 aix[4-9]*)
9394 if test "$host_cpu" = ia64; then
9395 # On IA64, the linker does run time linking by default, so we don't
9396 # have to do anything special.
9397 aix_use_runtimelinking=no
9398 exp_sym_flag='-Bexport'
9399 no_entry_flag=""
9400 else
9401 # If we're using GNU nm, then we don't want the "-C" option.
9402 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9403 # Also, AIX nm treats weak defined symbols like other global
9404 # defined symbols, whereas GNU nm marks them as "W".
9405 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9406 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'
9407 else
9408 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'
9410 aix_use_runtimelinking=no
9412 # Test if we are trying to use run time linking or normal
9413 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9414 # need to do runtime linking.
9415 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9416 for ld_flag in $LDFLAGS; do
9417 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9418 aix_use_runtimelinking=yes
9419 break
9421 done
9423 esac
9425 exp_sym_flag='-bexport'
9426 no_entry_flag='-bnoentry'
9429 # When large executables or shared objects are built, AIX ld can
9430 # have problems creating the table of contents. If linking a library
9431 # or program results in "error TOC overflow" add -mminimal-toc to
9432 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9433 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9435 archive_cmds=''
9436 hardcode_direct=yes
9437 hardcode_direct_absolute=yes
9438 hardcode_libdir_separator=':'
9439 link_all_deplibs=yes
9440 file_list_spec='${wl}-f,'
9442 if test "$GCC" = yes; then
9443 case $host_os in aix4.[012]|aix4.[012].*)
9444 # We only want to do this on AIX 4.2 and lower, the check
9445 # below for broken collect2 doesn't work under 4.3+
9446 collect2name=`${CC} -print-prog-name=collect2`
9447 if test -f "$collect2name" &&
9448 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9449 then
9450 # We have reworked collect2
9452 else
9453 # We have old collect2
9454 hardcode_direct=unsupported
9455 # It fails to find uninstalled libraries when the uninstalled
9456 # path is not listed in the libpath. Setting hardcode_minus_L
9457 # to unsupported forces relinking
9458 hardcode_minus_L=yes
9459 hardcode_libdir_flag_spec='-L$libdir'
9460 hardcode_libdir_separator=
9463 esac
9464 shared_flag='-shared'
9465 if test "$aix_use_runtimelinking" = yes; then
9466 shared_flag="$shared_flag "'${wl}-G'
9468 else
9469 # not using gcc
9470 if test "$host_cpu" = ia64; then
9471 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9472 # chokes on -Wl,-G. The following line is correct:
9473 shared_flag='-G'
9474 else
9475 if test "$aix_use_runtimelinking" = yes; then
9476 shared_flag='${wl}-G'
9477 else
9478 shared_flag='${wl}-bM:SRE'
9483 export_dynamic_flag_spec='${wl}-bexpall'
9484 # It seems that -bexpall does not export symbols beginning with
9485 # underscore (_), so it is better to generate a list of symbols to export.
9486 always_export_symbols=yes
9487 if test "$aix_use_runtimelinking" = yes; then
9488 # Warning - without using the other runtime loading flags (-brtl),
9489 # -berok will link without error, but may produce a broken library.
9490 allow_undefined_flag='-berok'
9491 # Determine the default libpath from the value encoded in an
9492 # empty executable.
9493 if test x$gcc_no_link = xyes; then
9494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9500 main ()
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9509 lt_aix_libpath_sed='
9510 /Import File Strings/,/^$/ {
9511 /^0/ {
9512 s/^0 *\(.*\)$/\1/
9516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9517 # Check for a 64-bit object if we didn't find anything.
9518 if test -z "$aix_libpath"; then
9519 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9526 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9527 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"
9528 else
9529 if test "$host_cpu" = ia64; then
9530 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9531 allow_undefined_flag="-z nodefs"
9532 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"
9533 else
9534 # Determine the default libpath from the value encoded in an
9535 # empty executable.
9536 if test x$gcc_no_link = xyes; then
9537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9543 main ()
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9552 lt_aix_libpath_sed='
9553 /Import File Strings/,/^$/ {
9554 /^0/ {
9555 s/^0 *\(.*\)$/\1/
9559 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 # Check for a 64-bit object if we didn't find anything.
9561 if test -z "$aix_libpath"; then
9562 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9569 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570 # Warning - without using the other run time loading flags,
9571 # -berok will link without error, but may produce a broken library.
9572 no_undefined_flag=' ${wl}-bernotok'
9573 allow_undefined_flag=' ${wl}-berok'
9574 if test "$with_gnu_ld" = yes; then
9575 # We only use this code for GNU lds that support --whole-archive.
9576 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9577 else
9578 # Exported symbols can be pulled into shared objects from archives
9579 whole_archive_flag_spec='$convenience'
9581 archive_cmds_need_lc=yes
9582 # This is similar to how AIX traditionally builds its shared libraries.
9583 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'
9588 amigaos*)
9589 case $host_cpu in
9590 powerpc)
9591 # see comment about AmigaOS4 .so support
9592 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9593 archive_expsym_cmds=''
9595 m68k)
9596 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)'
9597 hardcode_libdir_flag_spec='-L$libdir'
9598 hardcode_minus_L=yes
9600 esac
9603 bsdi[45]*)
9604 export_dynamic_flag_spec=-rdynamic
9607 cygwin* | mingw* | pw32* | cegcc*)
9608 # When not using gcc, we currently assume that we are using
9609 # Microsoft Visual C++.
9610 # hardcode_libdir_flag_spec is actually meaningless, as there is
9611 # no search path for DLLs.
9612 hardcode_libdir_flag_spec=' '
9613 allow_undefined_flag=unsupported
9614 # Tell ltmain to make .lib files, not .a files.
9615 libext=lib
9616 # Tell ltmain to make .dll files, not .so files.
9617 shrext_cmds=".dll"
9618 # FIXME: Setting linknames here is a bad hack.
9619 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9620 # The linker will automatically build a .lib file if we build a DLL.
9621 old_archive_from_new_cmds='true'
9622 # FIXME: Should let the user specify the lib program.
9623 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9624 fix_srcfile_path='`cygpath -w "$srcfile"`'
9625 enable_shared_with_static_runtimes=yes
9628 darwin* | rhapsody*)
9631 archive_cmds_need_lc=no
9632 hardcode_direct=no
9633 hardcode_automatic=yes
9634 hardcode_shlibpath_var=unsupported
9635 if test "$lt_cv_ld_force_load" = "yes"; then
9636 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\"`'
9637 else
9638 whole_archive_flag_spec=''
9640 link_all_deplibs=yes
9641 allow_undefined_flag="$_lt_dar_allow_undefined"
9642 case $cc_basename in
9643 ifort*) _lt_dar_can_shared=yes ;;
9644 *) _lt_dar_can_shared=$GCC ;;
9645 esac
9646 if test "$_lt_dar_can_shared" = "yes"; then
9647 output_verbose_link_cmd=func_echo_all
9648 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9649 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9650 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}"
9651 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}"
9653 else
9654 ld_shlibs=no
9659 dgux*)
9660 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_libdir_flag_spec='-L$libdir'
9662 hardcode_shlibpath_var=no
9665 freebsd1*)
9666 ld_shlibs=no
9669 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9670 # support. Future versions do this automatically, but an explicit c++rt0.o
9671 # does not break anything, and helps significantly (at the cost of a little
9672 # extra space).
9673 freebsd2.2*)
9674 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9675 hardcode_libdir_flag_spec='-R$libdir'
9676 hardcode_direct=yes
9677 hardcode_shlibpath_var=no
9680 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9681 freebsd2*)
9682 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_direct=yes
9684 hardcode_minus_L=yes
9685 hardcode_shlibpath_var=no
9688 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9689 freebsd* | dragonfly*)
9690 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9691 hardcode_libdir_flag_spec='-R$libdir'
9692 hardcode_direct=yes
9693 hardcode_shlibpath_var=no
9696 hpux9*)
9697 if test "$GCC" = yes; then
9698 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'
9699 else
9700 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'
9702 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703 hardcode_libdir_separator=:
9704 hardcode_direct=yes
9706 # hardcode_minus_L: Not really in the search PATH,
9707 # but as the default location of the library.
9708 hardcode_minus_L=yes
9709 export_dynamic_flag_spec='${wl}-E'
9712 hpux10*)
9713 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9714 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715 else
9716 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9718 if test "$with_gnu_ld" = no; then
9719 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9720 hardcode_libdir_flag_spec_ld='+b $libdir'
9721 hardcode_libdir_separator=:
9722 hardcode_direct=yes
9723 hardcode_direct_absolute=yes
9724 export_dynamic_flag_spec='${wl}-E'
9725 # hardcode_minus_L: Not really in the search PATH,
9726 # but as the default location of the library.
9727 hardcode_minus_L=yes
9731 hpux11*)
9732 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9733 case $host_cpu in
9734 hppa*64*)
9735 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 ia64*)
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9741 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9743 esac
9744 else
9745 case $host_cpu in
9746 hppa*64*)
9747 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 ia64*)
9750 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9754 # Older versions of the 11.00 compiler do not understand -b yet
9755 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9757 $as_echo_n "checking if $CC understands -b... " >&6; }
9758 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9759 $as_echo_n "(cached) " >&6
9760 else
9761 lt_cv_prog_compiler__b=no
9762 save_LDFLAGS="$LDFLAGS"
9763 LDFLAGS="$LDFLAGS -b"
9764 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9765 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9766 # The linker can only warn and ignore the option if not recognized
9767 # So say no if there are warnings
9768 if test -s conftest.err; then
9769 # Append any errors to the config.log.
9770 cat conftest.err 1>&5
9771 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9773 if diff conftest.exp conftest.er2 >/dev/null; then
9774 lt_cv_prog_compiler__b=yes
9776 else
9777 lt_cv_prog_compiler__b=yes
9780 $RM -r conftest*
9781 LDFLAGS="$save_LDFLAGS"
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9785 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9787 if test x"$lt_cv_prog_compiler__b" = xyes; then
9788 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 else
9790 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9794 esac
9796 if test "$with_gnu_ld" = no; then
9797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798 hardcode_libdir_separator=:
9800 case $host_cpu in
9801 hppa*64*|ia64*)
9802 hardcode_direct=no
9803 hardcode_shlibpath_var=no
9806 hardcode_direct=yes
9807 hardcode_direct_absolute=yes
9808 export_dynamic_flag_spec='${wl}-E'
9810 # hardcode_minus_L: Not really in the search PATH,
9811 # but as the default location of the library.
9812 hardcode_minus_L=yes
9814 esac
9818 irix5* | irix6* | nonstopux*)
9819 if test "$GCC" = yes; then
9820 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'
9821 # Try to use the -exported_symbol ld option, if it does not
9822 # work, assume that -exports_file does not work either and
9823 # implicitly export all symbols.
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9826 if test x$gcc_no_link = xyes; then
9827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9831 int foo(void) {}
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 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'
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LDFLAGS="$save_LDFLAGS"
9840 else
9841 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'
9842 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'
9844 archive_cmds_need_lc='no'
9845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 inherit_rpath=yes
9848 link_all_deplibs=yes
9851 netbsd*)
9852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9853 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9854 else
9855 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9857 hardcode_libdir_flag_spec='-R$libdir'
9858 hardcode_direct=yes
9859 hardcode_shlibpath_var=no
9862 newsos6)
9863 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_direct=yes
9865 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9866 hardcode_libdir_separator=:
9867 hardcode_shlibpath_var=no
9870 *nto* | *qnx*)
9873 openbsd*)
9874 if test -f /usr/libexec/ld.so; then
9875 hardcode_direct=yes
9876 hardcode_shlibpath_var=no
9877 hardcode_direct_absolute=yes
9878 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9879 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9881 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9882 export_dynamic_flag_spec='${wl}-E'
9883 else
9884 case $host_os in
9885 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_libdir_flag_spec='-R$libdir'
9890 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9891 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9893 esac
9895 else
9896 ld_shlibs=no
9900 os2*)
9901 hardcode_libdir_flag_spec='-L$libdir'
9902 hardcode_minus_L=yes
9903 allow_undefined_flag=unsupported
9904 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'
9905 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9908 osf3*)
9909 if test "$GCC" = yes; then
9910 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9911 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'
9912 else
9913 allow_undefined_flag=' -expect_unresolved \*'
9914 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'
9916 archive_cmds_need_lc='no'
9917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9918 hardcode_libdir_separator=:
9921 osf4* | osf5*) # as osf3* with the addition of -msym flag
9922 if test "$GCC" = yes; then
9923 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9924 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'
9925 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9926 else
9927 allow_undefined_flag=' -expect_unresolved \*'
9928 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'
9929 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~
9930 $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'
9932 # Both c and cxx compiler support -rpath directly
9933 hardcode_libdir_flag_spec='-rpath $libdir'
9935 archive_cmds_need_lc='no'
9936 hardcode_libdir_separator=:
9939 solaris*)
9940 no_undefined_flag=' -z defs'
9941 if test "$GCC" = yes; then
9942 wlarc='${wl}'
9943 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9945 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9946 else
9947 case `$CC -V 2>&1` in
9948 *"Compilers 5.0"*)
9949 wlarc=''
9950 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9952 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9955 wlarc='${wl}'
9956 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9957 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9958 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9960 esac
9962 hardcode_libdir_flag_spec='-R$libdir'
9963 hardcode_shlibpath_var=no
9964 case $host_os in
9965 solaris2.[0-5] | solaris2.[0-5].*) ;;
9967 # The compiler driver will combine and reorder linker options,
9968 # but understands `-z linker_flag'. GCC discards it without `$wl',
9969 # but is careful enough not to reorder.
9970 # Supported since Solaris 2.6 (maybe 2.5.1?)
9971 if test "$GCC" = yes; then
9972 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9973 else
9974 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9977 esac
9978 link_all_deplibs=yes
9981 sunos4*)
9982 if test "x$host_vendor" = xsequent; then
9983 # Use $CC to link under sequent, because it throws in some extra .o
9984 # files that make .init and .fini sections work.
9985 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9986 else
9987 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9989 hardcode_libdir_flag_spec='-L$libdir'
9990 hardcode_direct=yes
9991 hardcode_minus_L=yes
9992 hardcode_shlibpath_var=no
9995 sysv4)
9996 case $host_vendor in
9997 sni)
9998 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999 hardcode_direct=yes # is this really true???
10001 siemens)
10002 ## LD is ld it makes a PLAMLIB
10003 ## CC just makes a GrossModule.
10004 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10005 reload_cmds='$CC -r -o $output$reload_objs'
10006 hardcode_direct=no
10008 motorola)
10009 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10010 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10012 esac
10013 runpath_var='LD_RUN_PATH'
10014 hardcode_shlibpath_var=no
10017 sysv4.3*)
10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_shlibpath_var=no
10020 export_dynamic_flag_spec='-Bexport'
10023 sysv4*MP*)
10024 if test -d /usr/nec; then
10025 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_shlibpath_var=no
10027 runpath_var=LD_RUN_PATH
10028 hardcode_runpath_var=yes
10029 ld_shlibs=yes
10033 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10034 no_undefined_flag='${wl}-z,text'
10035 archive_cmds_need_lc=no
10036 hardcode_shlibpath_var=no
10037 runpath_var='LD_RUN_PATH'
10039 if test "$GCC" = yes; then
10040 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 else
10043 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 sysv5* | sco3.2v5* | sco5v6*)
10049 # Note: We can NOT use -z defs as we might desire, because we do not
10050 # link with -lc, and that would cause any symbols used from libc to
10051 # always be unresolved, which means just about no library would
10052 # ever link correctly. If we're not using GNU ld we use -z text
10053 # though, which does catch some bad symbols but isn't as heavy-handed
10054 # as -z defs.
10055 no_undefined_flag='${wl}-z,text'
10056 allow_undefined_flag='${wl}-z,nodefs'
10057 archive_cmds_need_lc=no
10058 hardcode_shlibpath_var=no
10059 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10060 hardcode_libdir_separator=':'
10061 link_all_deplibs=yes
10062 export_dynamic_flag_spec='${wl}-Bexport'
10063 runpath_var='LD_RUN_PATH'
10065 if test "$GCC" = yes; then
10066 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 else
10069 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 uts4*)
10075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_libdir_flag_spec='-L$libdir'
10077 hardcode_shlibpath_var=no
10081 ld_shlibs=no
10083 esac
10085 if test x$host_vendor = xsni; then
10086 case $host in
10087 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10088 export_dynamic_flag_spec='${wl}-Blargedynsym'
10090 esac
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10095 $as_echo "$ld_shlibs" >&6; }
10096 test "$ld_shlibs" = no && can_build_shared=no
10098 with_gnu_ld=$with_gnu_ld
10115 # Do we need to explicitly link libc?
10117 case "x$archive_cmds_need_lc" in
10118 x|xyes)
10119 # Assume -lc should be added
10120 archive_cmds_need_lc=yes
10122 if test "$enable_shared" = yes && test "$GCC" = yes; then
10123 case $archive_cmds in
10124 *'~'*)
10125 # FIXME: we may have to deal with multi-command sequences.
10127 '$CC '*)
10128 # Test whether the compiler implicitly links with -lc since on some
10129 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10130 # to ld, don't add -lc before -lgcc.
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10132 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10133 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 $RM conftest*
10137 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10140 (eval $ac_compile) 2>&5
10141 ac_status=$?
10142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10143 test $ac_status = 0; } 2>conftest.err; then
10144 soname=conftest
10145 lib=conftest
10146 libobjs=conftest.$ac_objext
10147 deplibs=
10148 wl=$lt_prog_compiler_wl
10149 pic_flag=$lt_prog_compiler_pic
10150 compiler_flags=-v
10151 linker_flags=-v
10152 verstring=
10153 output_objdir=.
10154 libname=conftest
10155 lt_save_allow_undefined_flag=$allow_undefined_flag
10156 allow_undefined_flag=
10157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10158 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10159 ac_status=$?
10160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10161 test $ac_status = 0; }
10162 then
10163 lt_cv_archive_cmds_need_lc=no
10164 else
10165 lt_cv_archive_cmds_need_lc=yes
10167 allow_undefined_flag=$lt_save_allow_undefined_flag
10168 else
10169 cat conftest.err 1>&5
10171 $RM conftest*
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10175 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10176 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10178 esac
10181 esac
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10342 if test "$GCC" = yes; then
10343 case $host_os in
10344 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10345 *) lt_awk_arg="/^libraries:/" ;;
10346 esac
10347 case $host_os in
10348 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10349 *) lt_sed_strip_eq="s,=/,/,g" ;;
10350 esac
10351 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10352 case $lt_search_path_spec in
10353 *\;*)
10354 # if the path contains ";" then we assume it to be the separator
10355 # otherwise default to the standard path separator (i.e. ":") - it is
10356 # assumed that no part of a normal pathname contains ";" but that should
10357 # okay in the real world where ";" in dirpaths is itself problematic.
10358 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10361 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10363 esac
10364 # Ok, now we have the path, separated by spaces, we can step through it
10365 # and add multilib dir if necessary.
10366 lt_tmp_lt_search_path_spec=
10367 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10368 for lt_sys_path in $lt_search_path_spec; do
10369 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10370 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10371 else
10372 test -d "$lt_sys_path" && \
10373 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10375 done
10376 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10377 BEGIN {RS=" "; FS="/|\n";} {
10378 lt_foo="";
10379 lt_count=0;
10380 for (lt_i = NF; lt_i > 0; lt_i--) {
10381 if ($lt_i != "" && $lt_i != ".") {
10382 if ($lt_i == "..") {
10383 lt_count++;
10384 } else {
10385 if (lt_count == 0) {
10386 lt_foo="/" $lt_i lt_foo;
10387 } else {
10388 lt_count--;
10393 if (lt_foo != "") { lt_freq[lt_foo]++; }
10394 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10396 # AWK program above erroneously prepends '/' to C:/dos/paths
10397 # for these hosts.
10398 case $host_os in
10399 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10400 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10401 esac
10402 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10403 else
10404 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10406 library_names_spec=
10407 libname_spec='lib$name'
10408 soname_spec=
10409 shrext_cmds=".so"
10410 postinstall_cmds=
10411 postuninstall_cmds=
10412 finish_cmds=
10413 finish_eval=
10414 shlibpath_var=
10415 shlibpath_overrides_runpath=unknown
10416 version_type=none
10417 dynamic_linker="$host_os ld.so"
10418 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10419 need_lib_prefix=unknown
10420 hardcode_into_libs=no
10422 # when you set need_version to no, make sure it does not cause -set_version
10423 # flags to be left without arguments
10424 need_version=unknown
10426 case $host_os in
10427 aix3*)
10428 version_type=linux
10429 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10430 shlibpath_var=LIBPATH
10432 # AIX 3 has no versioning support, so we append a major version to the name.
10433 soname_spec='${libname}${release}${shared_ext}$major'
10436 aix[4-9]*)
10437 version_type=linux
10438 need_lib_prefix=no
10439 need_version=no
10440 hardcode_into_libs=yes
10441 if test "$host_cpu" = ia64; then
10442 # AIX 5 supports IA64
10443 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 else
10446 # With GCC up to 2.95.x, collect2 would create an import file
10447 # for dependence libraries. The import file would start with
10448 # the line `#! .'. This would cause the generated library to
10449 # depend on `.', always an invalid library. This was fixed in
10450 # development snapshots of GCC prior to 3.0.
10451 case $host_os in
10452 aix4 | aix4.[01] | aix4.[01].*)
10453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10454 echo ' yes '
10455 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10457 else
10458 can_build_shared=no
10461 esac
10462 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10463 # soname into executable. Probably we can add versioning support to
10464 # collect2, so additional links can be useful in future.
10465 if test "$aix_use_runtimelinking" = yes; then
10466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467 # instead of lib<name>.a to let people know that these are not
10468 # typical AIX shared libraries.
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470 else
10471 # We preserve .a as extension for shared libraries through AIX4.2
10472 # and later when we are not doing run time linking.
10473 library_names_spec='${libname}${release}.a $libname.a'
10474 soname_spec='${libname}${release}${shared_ext}$major'
10476 shlibpath_var=LIBPATH
10480 amigaos*)
10481 case $host_cpu in
10482 powerpc)
10483 # Since July 2007 AmigaOS4 officially supports .so libraries.
10484 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487 m68k)
10488 library_names_spec='$libname.ixlibrary $libname.a'
10489 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10490 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'
10492 esac
10495 beos*)
10496 library_names_spec='${libname}${shared_ext}'
10497 dynamic_linker="$host_os ld.so"
10498 shlibpath_var=LIBRARY_PATH
10501 bsdi[45]*)
10502 version_type=linux
10503 need_version=no
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10507 shlibpath_var=LD_LIBRARY_PATH
10508 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10509 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10510 # the default ld.so.conf also contains /usr/contrib/lib and
10511 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10512 # libtool to hard-code these into programs
10515 cygwin* | mingw* | pw32* | cegcc*)
10516 version_type=windows
10517 shrext_cmds=".dll"
10518 need_version=no
10519 need_lib_prefix=no
10521 case $GCC,$host_os in
10522 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10523 library_names_spec='$libname.dll.a'
10524 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10525 postinstall_cmds='base_file=`basename \${file}`~
10526 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10527 dldir=$destdir/`dirname \$dlpath`~
10528 test -d \$dldir || mkdir -p \$dldir~
10529 $install_prog $dir/$dlname \$dldir/$dlname~
10530 chmod a+x \$dldir/$dlname~
10531 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10532 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10534 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535 dlpath=$dir/\$dldll~
10536 $RM \$dlpath'
10537 shlibpath_overrides_runpath=yes
10539 case $host_os in
10540 cygwin*)
10541 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10542 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10544 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10546 mingw* | cegcc*)
10547 # MinGW DLLs use traditional 'lib' prefix
10548 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10550 pw32*)
10551 # pw32 DLLs use 'pw' prefix rather than 'lib'
10552 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554 esac
10558 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10560 esac
10561 dynamic_linker='Win32 ld.exe'
10562 # FIXME: first we should search . and the directory the executable is in
10563 shlibpath_var=PATH
10566 darwin* | rhapsody*)
10567 dynamic_linker="$host_os dyld"
10568 version_type=darwin
10569 need_lib_prefix=no
10570 need_version=no
10571 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10572 soname_spec='${libname}${release}${major}$shared_ext'
10573 shlibpath_overrides_runpath=yes
10574 shlibpath_var=DYLD_LIBRARY_PATH
10575 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10578 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10581 dgux*)
10582 version_type=linux
10583 need_lib_prefix=no
10584 need_version=no
10585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 shlibpath_var=LD_LIBRARY_PATH
10590 freebsd1*)
10591 dynamic_linker=no
10594 freebsd* | dragonfly*)
10595 # DragonFly does not have aout. When/if they implement a new
10596 # versioning mechanism, adjust this.
10597 if test -x /usr/bin/objformat; then
10598 objformat=`/usr/bin/objformat`
10599 else
10600 case $host_os in
10601 freebsd[123]*) objformat=aout ;;
10602 *) objformat=elf ;;
10603 esac
10605 version_type=freebsd-$objformat
10606 case $version_type in
10607 freebsd-elf*)
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10609 need_version=no
10610 need_lib_prefix=no
10612 freebsd-*)
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10614 need_version=yes
10616 esac
10617 shlibpath_var=LD_LIBRARY_PATH
10618 case $host_os in
10619 freebsd2*)
10620 shlibpath_overrides_runpath=yes
10622 freebsd3.[01]* | freebsdelf3.[01]*)
10623 shlibpath_overrides_runpath=yes
10624 hardcode_into_libs=yes
10626 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10627 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10628 shlibpath_overrides_runpath=no
10629 hardcode_into_libs=yes
10631 *) # from 4.6 on, and DragonFly
10632 shlibpath_overrides_runpath=yes
10633 hardcode_into_libs=yes
10635 esac
10638 gnu*)
10639 version_type=linux
10640 need_lib_prefix=no
10641 need_version=no
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 shlibpath_var=LD_LIBRARY_PATH
10645 hardcode_into_libs=yes
10648 haiku*)
10649 version_type=linux
10650 need_lib_prefix=no
10651 need_version=no
10652 dynamic_linker="$host_os runtime_loader"
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10654 soname_spec='${libname}${release}${shared_ext}$major'
10655 shlibpath_var=LIBRARY_PATH
10656 shlibpath_overrides_runpath=yes
10657 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10658 hardcode_into_libs=yes
10661 hpux9* | hpux10* | hpux11*)
10662 # Give a soname corresponding to the major version so that dld.sl refuses to
10663 # link against other versions.
10664 version_type=sunos
10665 need_lib_prefix=no
10666 need_version=no
10667 case $host_cpu in
10668 ia64*)
10669 shrext_cmds='.so'
10670 hardcode_into_libs=yes
10671 dynamic_linker="$host_os dld.so"
10672 shlibpath_var=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 if test "X$HPUX_IA64_MODE" = X32; then
10677 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10678 else
10679 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10681 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10683 hppa*64*)
10684 shrext_cmds='.sl'
10685 hardcode_into_libs=yes
10686 dynamic_linker="$host_os dld.sl"
10687 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10688 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10692 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10695 shrext_cmds='.sl'
10696 dynamic_linker="$host_os dld.sl"
10697 shlibpath_var=SHLIB_PATH
10698 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10702 esac
10703 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10704 postinstall_cmds='chmod 555 $lib'
10705 # or fails outright, so override atomically:
10706 install_override_mode=555
10709 interix[3-9]*)
10710 version_type=linux
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10716 shlibpath_var=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath=no
10718 hardcode_into_libs=yes
10721 irix5* | irix6* | nonstopux*)
10722 case $host_os in
10723 nonstopux*) version_type=nonstopux ;;
10725 if test "$lt_cv_prog_gnu_ld" = yes; then
10726 version_type=linux
10727 else
10728 version_type=irix
10729 fi ;;
10730 esac
10731 need_lib_prefix=no
10732 need_version=no
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 case $host_os in
10736 irix5* | nonstopux*)
10737 libsuff= shlibsuff=
10740 case $LD in # libtool.m4 will add one of these switches to LD
10741 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10742 libsuff= shlibsuff= libmagic=32-bit;;
10743 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10744 libsuff=32 shlibsuff=N32 libmagic=N32;;
10745 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10746 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10747 *) libsuff= shlibsuff= libmagic=never-match;;
10748 esac
10750 esac
10751 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10752 shlibpath_overrides_runpath=no
10753 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10754 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10755 hardcode_into_libs=yes
10758 # No shared lib support for Linux oldld, aout, or coff.
10759 linux*oldld* | linux*aout* | linux*coff*)
10760 dynamic_linker=no
10763 # This must be Linux ELF.
10764 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 shlibpath_overrides_runpath=no
10774 # Some binutils ld are patched to set DT_RUNPATH
10775 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10776 $as_echo_n "(cached) " >&6
10777 else
10778 lt_cv_shlibpath_overrides_runpath=no
10779 save_LDFLAGS=$LDFLAGS
10780 save_libdir=$libdir
10781 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10782 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10783 if test x$gcc_no_link = xyes; then
10784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10790 main ()
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10799 lt_cv_shlibpath_overrides_runpath=yes
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LDFLAGS=$save_LDFLAGS
10805 libdir=$save_libdir
10809 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10811 # This implies no fast_install, which is unacceptable.
10812 # Some rework will be needed to allow for fast_install
10813 # before this can be enabled.
10814 hardcode_into_libs=yes
10816 # Append ld.so.conf contents to the search path
10817 if test -f /etc/ld.so.conf; then
10818 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' ' '`
10819 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10822 # We used to test for /lib/ld.so.1 and disable shared libraries on
10823 # powerpc, because MkLinux only supported shared libraries with the
10824 # GNU dynamic linker. Since this was broken with cross compilers,
10825 # most powerpc-linux boxes support dynamic linking these days and
10826 # people can always --disable-shared, the test was removed, and we
10827 # assume the GNU/Linux dynamic linker is in use.
10828 dynamic_linker='GNU/Linux ld.so'
10831 netbsd*)
10832 version_type=sunos
10833 need_lib_prefix=no
10834 need_version=no
10835 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10838 dynamic_linker='NetBSD (a.out) ld.so'
10839 else
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 dynamic_linker='NetBSD ld.elf_so'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=yes
10846 hardcode_into_libs=yes
10849 newsos6)
10850 version_type=linux
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=yes
10856 *nto* | *qnx*)
10857 version_type=qnx
10858 need_lib_prefix=no
10859 need_version=no
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 shlibpath_var=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath=no
10864 hardcode_into_libs=yes
10865 dynamic_linker='ldqnx.so'
10868 openbsd*)
10869 version_type=sunos
10870 sys_lib_dlsearch_path_spec="/usr/lib"
10871 need_lib_prefix=no
10872 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10873 case $host_os in
10874 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10875 *) need_version=no ;;
10876 esac
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10878 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10881 case $host_os in
10882 openbsd2.[89] | openbsd2.[89].*)
10883 shlibpath_overrides_runpath=no
10886 shlibpath_overrides_runpath=yes
10888 esac
10889 else
10890 shlibpath_overrides_runpath=yes
10894 os2*)
10895 libname_spec='$name'
10896 shrext_cmds=".dll"
10897 need_lib_prefix=no
10898 library_names_spec='$libname${shared_ext} $libname.a'
10899 dynamic_linker='OS/2 ld.exe'
10900 shlibpath_var=LIBPATH
10903 osf3* | osf4* | osf5*)
10904 version_type=osf
10905 need_lib_prefix=no
10906 need_version=no
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10911 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10914 rdos*)
10915 dynamic_linker=no
10918 solaris*)
10919 version_type=linux
10920 need_lib_prefix=no
10921 need_version=no
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=yes
10926 hardcode_into_libs=yes
10927 # ldd complains unless libraries are executable
10928 postinstall_cmds='chmod +x $lib'
10931 sunos4*)
10932 version_type=sunos
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10934 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes
10937 if test "$with_gnu_ld" = yes; then
10938 need_lib_prefix=no
10940 need_version=yes
10943 sysv4 | sysv4.3*)
10944 version_type=linux
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 shlibpath_var=LD_LIBRARY_PATH
10948 case $host_vendor in
10949 sni)
10950 shlibpath_overrides_runpath=no
10951 need_lib_prefix=no
10952 runpath_var=LD_RUN_PATH
10954 siemens)
10955 need_lib_prefix=no
10957 motorola)
10958 need_lib_prefix=no
10959 need_version=no
10960 shlibpath_overrides_runpath=no
10961 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10963 esac
10966 sysv4*MP*)
10967 if test -d /usr/nec ;then
10968 version_type=linux
10969 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10970 soname_spec='$libname${shared_ext}.$major'
10971 shlibpath_var=LD_LIBRARY_PATH
10975 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10976 version_type=freebsd-elf
10977 need_lib_prefix=no
10978 need_version=no
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 hardcode_into_libs=yes
10984 if test "$with_gnu_ld" = yes; then
10985 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10986 else
10987 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10988 case $host_os in
10989 sco3.2v5*)
10990 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10992 esac
10994 sys_lib_dlsearch_path_spec='/usr/lib'
10997 tpf*)
10998 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10999 version_type=linux
11000 need_lib_prefix=no
11001 need_version=no
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003 shlibpath_var=LD_LIBRARY_PATH
11004 shlibpath_overrides_runpath=no
11005 hardcode_into_libs=yes
11008 uts4*)
11009 version_type=linux
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 shlibpath_var=LD_LIBRARY_PATH
11016 dynamic_linker=no
11018 esac
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11020 $as_echo "$dynamic_linker" >&6; }
11021 test "$dynamic_linker" = no && can_build_shared=no
11023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11024 if test "$GCC" = yes; then
11025 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11028 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11029 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11032 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11127 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11128 hardcode_action=
11129 if test -n "$hardcode_libdir_flag_spec" ||
11130 test -n "$runpath_var" ||
11131 test "X$hardcode_automatic" = "Xyes" ; then
11133 # We can hardcode non-existent directories.
11134 if test "$hardcode_direct" != no &&
11135 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11136 # have to relink, otherwise we might link with an installed library
11137 # when we should be linking with a yet-to-be-installed one
11138 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11139 test "$hardcode_minus_L" != no; then
11140 # Linking always hardcodes the temporary library directory.
11141 hardcode_action=relink
11142 else
11143 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11144 hardcode_action=immediate
11146 else
11147 # We cannot hardcode anything, or else we can only hardcode existing
11148 # directories.
11149 hardcode_action=unsupported
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11152 $as_echo "$hardcode_action" >&6; }
11154 if test "$hardcode_action" = relink ||
11155 test "$inherit_rpath" = yes; then
11156 # Fast installation is not supported
11157 enable_fast_install=no
11158 elif test "$shlibpath_overrides_runpath" = yes ||
11159 test "$enable_shared" = no; then
11160 # Fast installation is not necessary
11161 enable_fast_install=needless
11169 if test "x$enable_dlopen" != xyes; then
11170 enable_dlopen=unknown
11171 enable_dlopen_self=unknown
11172 enable_dlopen_self_static=unknown
11173 else
11174 lt_cv_dlopen=no
11175 lt_cv_dlopen_libs=
11177 case $host_os in
11178 beos*)
11179 lt_cv_dlopen="load_add_on"
11180 lt_cv_dlopen_libs=
11181 lt_cv_dlopen_self=yes
11184 mingw* | pw32* | cegcc*)
11185 lt_cv_dlopen="LoadLibrary"
11186 lt_cv_dlopen_libs=
11189 cygwin*)
11190 lt_cv_dlopen="dlopen"
11191 lt_cv_dlopen_libs=
11194 darwin*)
11195 # if libdl is installed we need to link against it
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-ldl $LIBS"
11203 if test x$gcc_no_link = xyes; then
11204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char dlopen ();
11217 main ()
11219 return dlopen ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 ac_cv_lib_dl_dlopen=yes
11226 else
11227 ac_cv_lib_dl_dlopen=no
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11236 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11237 else
11239 lt_cv_dlopen="dyld"
11240 lt_cv_dlopen_libs=
11241 lt_cv_dlopen_self=yes
11248 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249 if test "x$ac_cv_func_shl_load" = x""yes; then :
11250 lt_cv_dlopen="shl_load"
11251 else
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11254 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-ldld $LIBS"
11259 if test x$gcc_no_link = xyes; then
11260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char shl_load ();
11273 main ()
11275 return shl_load ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_dld_shl_load=yes
11282 else
11283 ac_cv_lib_dld_shl_load=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11290 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11291 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11292 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11293 else
11294 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11295 if test "x$ac_cv_func_dlopen" = x""yes; then :
11296 lt_cv_dlopen="dlopen"
11297 else
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11300 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-ldl $LIBS"
11305 if test x$gcc_no_link = xyes; then
11306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char dlopen ();
11319 main ()
11321 return dlopen ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_dl_dlopen=yes
11328 else
11329 ac_cv_lib_dl_dlopen=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11336 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11337 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11338 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11339 else
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11341 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11342 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lsvld $LIBS"
11347 if test x$gcc_no_link = xyes; then
11348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char dlopen ();
11361 main ()
11363 return dlopen ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_svld_dlopen=yes
11370 else
11371 ac_cv_lib_svld_dlopen=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11378 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11379 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11381 else
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11383 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11384 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-ldld $LIBS"
11389 if test x$gcc_no_link = xyes; then
11390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char dld_link ();
11403 main ()
11405 return dld_link ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_dld_dld_link=yes
11412 else
11413 ac_cv_lib_dld_dld_link=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11420 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11421 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11422 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11441 esac
11443 if test "x$lt_cv_dlopen" != xno; then
11444 enable_dlopen=yes
11445 else
11446 enable_dlopen=no
11449 case $lt_cv_dlopen in
11450 dlopen)
11451 save_CPPFLAGS="$CPPFLAGS"
11452 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11454 save_LDFLAGS="$LDFLAGS"
11455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11457 save_LIBS="$LIBS"
11458 LIBS="$lt_cv_dlopen_libs $LIBS"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11461 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11462 if test "${lt_cv_dlopen_self+set}" = set; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 if test "$cross_compiling" = yes; then :
11466 lt_cv_dlopen_self=cross
11467 else
11468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11469 lt_status=$lt_dlunknown
11470 cat > conftest.$ac_ext <<_LT_EOF
11471 #line 11471 "configure"
11472 #include "confdefs.h"
11474 #if HAVE_DLFCN_H
11475 #include <dlfcn.h>
11476 #endif
11478 #include <stdio.h>
11480 #ifdef RTLD_GLOBAL
11481 # define LT_DLGLOBAL RTLD_GLOBAL
11482 #else
11483 # ifdef DL_GLOBAL
11484 # define LT_DLGLOBAL DL_GLOBAL
11485 # else
11486 # define LT_DLGLOBAL 0
11487 # endif
11488 #endif
11490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11491 find out it does not work in some platform. */
11492 #ifndef LT_DLLAZY_OR_NOW
11493 # ifdef RTLD_LAZY
11494 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11495 # else
11496 # ifdef DL_LAZY
11497 # define LT_DLLAZY_OR_NOW DL_LAZY
11498 # else
11499 # ifdef RTLD_NOW
11500 # define LT_DLLAZY_OR_NOW RTLD_NOW
11501 # else
11502 # ifdef DL_NOW
11503 # define LT_DLLAZY_OR_NOW DL_NOW
11504 # else
11505 # define LT_DLLAZY_OR_NOW 0
11506 # endif
11507 # endif
11508 # endif
11509 # endif
11510 #endif
11512 /* When -fvisbility=hidden is used, assume the code has been annotated
11513 correspondingly for the symbols needed. */
11514 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11515 void fnord () __attribute__((visibility("default")));
11516 #endif
11518 void fnord () { int i=42; }
11519 int main ()
11521 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11522 int status = $lt_dlunknown;
11524 if (self)
11526 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11527 else
11529 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11530 else puts (dlerror ());
11532 /* dlclose (self); */
11534 else
11535 puts (dlerror ());
11537 return status;
11539 _LT_EOF
11540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11541 (eval $ac_link) 2>&5
11542 ac_status=$?
11543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11544 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11545 (./conftest; exit; ) >&5 2>/dev/null
11546 lt_status=$?
11547 case x$lt_status in
11548 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11549 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11550 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11551 esac
11552 else :
11553 # compilation failed
11554 lt_cv_dlopen_self=no
11557 rm -fr conftest*
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11562 $as_echo "$lt_cv_dlopen_self" >&6; }
11564 if test "x$lt_cv_dlopen_self" = xyes; then
11565 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11567 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11568 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 if test "$cross_compiling" = yes; then :
11572 lt_cv_dlopen_self_static=cross
11573 else
11574 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11575 lt_status=$lt_dlunknown
11576 cat > conftest.$ac_ext <<_LT_EOF
11577 #line 11577 "configure"
11578 #include "confdefs.h"
11580 #if HAVE_DLFCN_H
11581 #include <dlfcn.h>
11582 #endif
11584 #include <stdio.h>
11586 #ifdef RTLD_GLOBAL
11587 # define LT_DLGLOBAL RTLD_GLOBAL
11588 #else
11589 # ifdef DL_GLOBAL
11590 # define LT_DLGLOBAL DL_GLOBAL
11591 # else
11592 # define LT_DLGLOBAL 0
11593 # endif
11594 #endif
11596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11597 find out it does not work in some platform. */
11598 #ifndef LT_DLLAZY_OR_NOW
11599 # ifdef RTLD_LAZY
11600 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11601 # else
11602 # ifdef DL_LAZY
11603 # define LT_DLLAZY_OR_NOW DL_LAZY
11604 # else
11605 # ifdef RTLD_NOW
11606 # define LT_DLLAZY_OR_NOW RTLD_NOW
11607 # else
11608 # ifdef DL_NOW
11609 # define LT_DLLAZY_OR_NOW DL_NOW
11610 # else
11611 # define LT_DLLAZY_OR_NOW 0
11612 # endif
11613 # endif
11614 # endif
11615 # endif
11616 #endif
11618 /* When -fvisbility=hidden is used, assume the code has been annotated
11619 correspondingly for the symbols needed. */
11620 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11621 void fnord () __attribute__((visibility("default")));
11622 #endif
11624 void fnord () { int i=42; }
11625 int main ()
11627 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11628 int status = $lt_dlunknown;
11630 if (self)
11632 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11633 else
11635 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11636 else puts (dlerror ());
11638 /* dlclose (self); */
11640 else
11641 puts (dlerror ());
11643 return status;
11645 _LT_EOF
11646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11647 (eval $ac_link) 2>&5
11648 ac_status=$?
11649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11650 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11651 (./conftest; exit; ) >&5 2>/dev/null
11652 lt_status=$?
11653 case x$lt_status in
11654 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11655 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11656 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11657 esac
11658 else :
11659 # compilation failed
11660 lt_cv_dlopen_self_static=no
11663 rm -fr conftest*
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11668 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11671 CPPFLAGS="$save_CPPFLAGS"
11672 LDFLAGS="$save_LDFLAGS"
11673 LIBS="$save_LIBS"
11675 esac
11677 case $lt_cv_dlopen_self in
11678 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11679 *) enable_dlopen_self=unknown ;;
11680 esac
11682 case $lt_cv_dlopen_self_static in
11683 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11684 *) enable_dlopen_self_static=unknown ;;
11685 esac
11704 striplib=
11705 old_striplib=
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11707 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11708 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11709 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11710 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11712 $as_echo "yes" >&6; }
11713 else
11714 # FIXME - insert some real tests, host_os isn't really good enough
11715 case $host_os in
11716 darwin*)
11717 if test -n "$STRIP" ; then
11718 striplib="$STRIP -x"
11719 old_striplib="$STRIP -S"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11721 $as_echo "yes" >&6; }
11722 else
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11731 esac
11745 # Report which library types will actually be built
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11747 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11749 $as_echo "$can_build_shared" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11752 $as_echo_n "checking whether to build shared libraries... " >&6; }
11753 test "$can_build_shared" = "no" && enable_shared=no
11755 # On AIX, shared libraries and static libraries use the same namespace, and
11756 # are all built from PIC.
11757 case $host_os in
11758 aix3*)
11759 test "$enable_shared" = yes && enable_static=no
11760 if test -n "$RANLIB"; then
11761 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11762 postinstall_cmds='$RANLIB $lib'
11766 aix[4-9]*)
11767 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11768 test "$enable_shared" = yes && enable_static=no
11771 esac
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11773 $as_echo "$enable_shared" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11776 $as_echo_n "checking whether to build static libraries... " >&6; }
11777 # Make sure either enable_shared or enable_static is yes.
11778 test "$enable_shared" = yes || enable_static=yes
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11780 $as_echo "$enable_static" >&6; }
11786 ac_ext=c
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11792 CC="$lt_save_CC"
11794 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11795 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11796 (test "X$CXX" != "Xg++"))) ; then
11797 ac_ext=cpp
11798 ac_cpp='$CXXCPP $CPPFLAGS'
11799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11803 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11804 if test -z "$CXXCPP"; then
11805 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 # Double quotes because CXXCPP needs to be expanded
11809 for CXXCPP in "$CXX -E" "/lib/cpp"
11811 ac_preproc_ok=false
11812 for ac_cxx_preproc_warn_flag in '' yes
11814 # Use a header file that comes with gcc, so configuring glibc
11815 # with a fresh cross-compiler works.
11816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11817 # <limits.h> exists even on freestanding compilers.
11818 # On the NeXT, cc -E runs the code through the compiler's parser,
11819 # not just through cpp. "Syntax error" is here to catch this case.
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11822 #ifdef __STDC__
11823 # include <limits.h>
11824 #else
11825 # include <assert.h>
11826 #endif
11827 Syntax error
11828 _ACEOF
11829 if ac_fn_cxx_try_cpp "$LINENO"; then :
11831 else
11832 # Broken: fails on valid input.
11833 continue
11835 rm -f conftest.err conftest.$ac_ext
11837 # OK, works on sane cases. Now check whether nonexistent headers
11838 # can be detected and how.
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 #include <ac_nonexistent.h>
11842 _ACEOF
11843 if ac_fn_cxx_try_cpp "$LINENO"; then :
11844 # Broken: success on invalid input.
11845 continue
11846 else
11847 # Passes both tests.
11848 ac_preproc_ok=:
11849 break
11851 rm -f conftest.err conftest.$ac_ext
11853 done
11854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11855 rm -f conftest.err conftest.$ac_ext
11856 if $ac_preproc_ok; then :
11857 break
11860 done
11861 ac_cv_prog_CXXCPP=$CXXCPP
11864 CXXCPP=$ac_cv_prog_CXXCPP
11865 else
11866 ac_cv_prog_CXXCPP=$CXXCPP
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11869 $as_echo "$CXXCPP" >&6; }
11870 ac_preproc_ok=false
11871 for ac_cxx_preproc_warn_flag in '' yes
11873 # Use a header file that comes with gcc, so configuring glibc
11874 # with a fresh cross-compiler works.
11875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11876 # <limits.h> exists even on freestanding compilers.
11877 # On the NeXT, cc -E runs the code through the compiler's parser,
11878 # not just through cpp. "Syntax error" is here to catch this case.
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11881 #ifdef __STDC__
11882 # include <limits.h>
11883 #else
11884 # include <assert.h>
11885 #endif
11886 Syntax error
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11890 else
11891 # Broken: fails on valid input.
11892 continue
11894 rm -f conftest.err conftest.$ac_ext
11896 # OK, works on sane cases. Now check whether nonexistent headers
11897 # can be detected and how.
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 #include <ac_nonexistent.h>
11901 _ACEOF
11902 if ac_fn_cxx_try_cpp "$LINENO"; then :
11903 # Broken: success on invalid input.
11904 continue
11905 else
11906 # Passes both tests.
11907 ac_preproc_ok=:
11908 break
11910 rm -f conftest.err conftest.$ac_ext
11912 done
11913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11914 rm -f conftest.err conftest.$ac_ext
11915 if $ac_preproc_ok; then :
11917 else
11918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11920 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11921 See \`config.log' for more details." "$LINENO" 5; }
11924 ac_ext=c
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930 else
11931 _lt_caught_CXX_error=yes
11934 ac_ext=cpp
11935 ac_cpp='$CXXCPP $CPPFLAGS'
11936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11940 archive_cmds_need_lc_CXX=no
11941 allow_undefined_flag_CXX=
11942 always_export_symbols_CXX=no
11943 archive_expsym_cmds_CXX=
11944 compiler_needs_object_CXX=no
11945 export_dynamic_flag_spec_CXX=
11946 hardcode_direct_CXX=no
11947 hardcode_direct_absolute_CXX=no
11948 hardcode_libdir_flag_spec_CXX=
11949 hardcode_libdir_flag_spec_ld_CXX=
11950 hardcode_libdir_separator_CXX=
11951 hardcode_minus_L_CXX=no
11952 hardcode_shlibpath_var_CXX=unsupported
11953 hardcode_automatic_CXX=no
11954 inherit_rpath_CXX=no
11955 module_cmds_CXX=
11956 module_expsym_cmds_CXX=
11957 link_all_deplibs_CXX=unknown
11958 old_archive_cmds_CXX=$old_archive_cmds
11959 reload_flag_CXX=$reload_flag
11960 reload_cmds_CXX=$reload_cmds
11961 no_undefined_flag_CXX=
11962 whole_archive_flag_spec_CXX=
11963 enable_shared_with_static_runtimes_CXX=no
11965 # Source file extension for C++ test sources.
11966 ac_ext=cpp
11968 # Object file extension for compiled C++ test sources.
11969 objext=o
11970 objext_CXX=$objext
11972 # No sense in running all these tests if we already determined that
11973 # the CXX compiler isn't working. Some variables (like enable_shared)
11974 # are currently assumed to apply to all compilers on this platform,
11975 # and will be corrupted by setting them based on a non-working compiler.
11976 if test "$_lt_caught_CXX_error" != yes; then
11977 # Code to be used in simple compile tests
11978 lt_simple_compile_test_code="int some_variable = 0;"
11980 # Code to be used in simple link tests
11981 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11990 # If no C compiler was specified, use CC.
11991 LTCC=${LTCC-"$CC"}
11993 # If no C compiler flags were specified, use CFLAGS.
11994 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11996 # Allow CC to be a program name with arguments.
11997 compiler=$CC
12000 # save warnings/boilerplate of simple test code
12001 ac_outfile=conftest.$ac_objext
12002 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12003 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12004 _lt_compiler_boilerplate=`cat conftest.err`
12005 $RM conftest*
12007 ac_outfile=conftest.$ac_objext
12008 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12009 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12010 _lt_linker_boilerplate=`cat conftest.err`
12011 $RM -r conftest*
12014 # Allow CC to be a program name with arguments.
12015 lt_save_CC=$CC
12016 lt_save_LD=$LD
12017 lt_save_GCC=$GCC
12018 GCC=$GXX
12019 lt_save_with_gnu_ld=$with_gnu_ld
12020 lt_save_path_LD=$lt_cv_path_LD
12021 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12022 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12023 else
12024 $as_unset lt_cv_prog_gnu_ld
12026 if test -n "${lt_cv_path_LDCXX+set}"; then
12027 lt_cv_path_LD=$lt_cv_path_LDCXX
12028 else
12029 $as_unset lt_cv_path_LD
12031 test -z "${LDCXX+set}" || LD=$LDCXX
12032 CC=${CXX-"c++"}
12033 compiler=$CC
12034 compiler_CXX=$CC
12035 for cc_temp in $compiler""; do
12036 case $cc_temp in
12037 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12038 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12039 \-*) ;;
12040 *) break;;
12041 esac
12042 done
12043 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12046 if test -n "$compiler"; then
12047 # We don't want -fno-exception when compiling C++ code, so set the
12048 # no_builtin_flag separately
12049 if test "$GXX" = yes; then
12050 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12051 else
12052 lt_prog_compiler_no_builtin_flag_CXX=
12055 if test "$GXX" = yes; then
12056 # Set up default GNU C++ configuration
12060 # Check whether --with-gnu-ld was given.
12061 if test "${with_gnu_ld+set}" = set; then :
12062 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12063 else
12064 with_gnu_ld=no
12067 ac_prog=ld
12068 if test "$GCC" = yes; then
12069 # Check if gcc -print-prog-name=ld gives a path.
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12071 $as_echo_n "checking for ld used by $CC... " >&6; }
12072 case $host in
12073 *-*-mingw*)
12074 # gcc leaves a trailing carriage return which upsets mingw
12075 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12077 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12078 esac
12079 case $ac_prog in
12080 # Accept absolute paths.
12081 [\\/]* | ?:[\\/]*)
12082 re_direlt='/[^/][^/]*/\.\./'
12083 # Canonicalize the pathname of ld
12084 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12085 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12086 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12087 done
12088 test -z "$LD" && LD="$ac_prog"
12091 # If it fails, then pretend we aren't using GCC.
12092 ac_prog=ld
12095 # If it is relative, then search for the first ld in PATH.
12096 with_gnu_ld=unknown
12098 esac
12099 elif test "$with_gnu_ld" = yes; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12101 $as_echo_n "checking for GNU ld... " >&6; }
12102 else
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12104 $as_echo_n "checking for non-GNU ld... " >&6; }
12106 if test "${lt_cv_path_LD+set}" = set; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 if test -z "$LD"; then
12110 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12111 for ac_dir in $PATH; do
12112 IFS="$lt_save_ifs"
12113 test -z "$ac_dir" && ac_dir=.
12114 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12115 lt_cv_path_LD="$ac_dir/$ac_prog"
12116 # Check to see if the program is GNU ld. I'd rather use --version,
12117 # but apparently some variants of GNU ld only accept -v.
12118 # Break only if it was the GNU/non-GNU ld that we prefer.
12119 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12120 *GNU* | *'with BFD'*)
12121 test "$with_gnu_ld" != no && break
12124 test "$with_gnu_ld" != yes && break
12126 esac
12128 done
12129 IFS="$lt_save_ifs"
12130 else
12131 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12135 LD="$lt_cv_path_LD"
12136 if test -n "$LD"; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12138 $as_echo "$LD" >&6; }
12139 else
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 $as_echo "no" >&6; }
12143 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12145 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12146 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12150 case `$LD -v 2>&1 </dev/null` in
12151 *GNU* | *'with BFD'*)
12152 lt_cv_prog_gnu_ld=yes
12155 lt_cv_prog_gnu_ld=no
12157 esac
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12160 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12161 with_gnu_ld=$lt_cv_prog_gnu_ld
12169 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12170 # archiving commands below assume that GNU ld is being used.
12171 if test "$with_gnu_ld" = yes; then
12172 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12173 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'
12175 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12176 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12178 # If archive_cmds runs LD, not CC, wlarc should be empty
12179 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12180 # investigate it a little bit more. (MM)
12181 wlarc='${wl}'
12183 # ancient GNU ld didn't support --whole-archive et. al.
12184 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12185 $GREP 'no-whole-archive' > /dev/null; then
12186 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12187 else
12188 whole_archive_flag_spec_CXX=
12190 else
12191 with_gnu_ld=no
12192 wlarc=
12194 # A generic and very simple default shared library creation
12195 # command for GNU C++ for the case where it uses the native
12196 # linker, instead of GNU ld. If possible, this setting should
12197 # overridden to take advantage of the native linker features on
12198 # the platform it is being used on.
12199 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12202 # Commands to make compiler produce verbose output that lists
12203 # what "hidden" libraries, object files and flags are used when
12204 # linking a shared library.
12205 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12207 else
12208 GXX=no
12209 with_gnu_ld=no
12210 wlarc=
12213 # PORTME: fill in a description of your system's C++ link characteristics
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12215 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12216 ld_shlibs_CXX=yes
12217 case $host_os in
12218 aix3*)
12219 # FIXME: insert proper C++ library support
12220 ld_shlibs_CXX=no
12222 aix[4-9]*)
12223 if test "$host_cpu" = ia64; then
12224 # On IA64, the linker does run time linking by default, so we don't
12225 # have to do anything special.
12226 aix_use_runtimelinking=no
12227 exp_sym_flag='-Bexport'
12228 no_entry_flag=""
12229 else
12230 aix_use_runtimelinking=no
12232 # Test if we are trying to use run time linking or normal
12233 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12234 # need to do runtime linking.
12235 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12236 for ld_flag in $LDFLAGS; do
12237 case $ld_flag in
12238 *-brtl*)
12239 aix_use_runtimelinking=yes
12240 break
12242 esac
12243 done
12245 esac
12247 exp_sym_flag='-bexport'
12248 no_entry_flag='-bnoentry'
12251 # When large executables or shared objects are built, AIX ld can
12252 # have problems creating the table of contents. If linking a library
12253 # or program results in "error TOC overflow" add -mminimal-toc to
12254 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12255 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12257 archive_cmds_CXX=''
12258 hardcode_direct_CXX=yes
12259 hardcode_direct_absolute_CXX=yes
12260 hardcode_libdir_separator_CXX=':'
12261 link_all_deplibs_CXX=yes
12262 file_list_spec_CXX='${wl}-f,'
12264 if test "$GXX" = yes; then
12265 case $host_os in aix4.[012]|aix4.[012].*)
12266 # We only want to do this on AIX 4.2 and lower, the check
12267 # below for broken collect2 doesn't work under 4.3+
12268 collect2name=`${CC} -print-prog-name=collect2`
12269 if test -f "$collect2name" &&
12270 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12271 then
12272 # We have reworked collect2
12274 else
12275 # We have old collect2
12276 hardcode_direct_CXX=unsupported
12277 # It fails to find uninstalled libraries when the uninstalled
12278 # path is not listed in the libpath. Setting hardcode_minus_L
12279 # to unsupported forces relinking
12280 hardcode_minus_L_CXX=yes
12281 hardcode_libdir_flag_spec_CXX='-L$libdir'
12282 hardcode_libdir_separator_CXX=
12284 esac
12285 shared_flag='-shared'
12286 if test "$aix_use_runtimelinking" = yes; then
12287 shared_flag="$shared_flag "'${wl}-G'
12289 else
12290 # not using gcc
12291 if test "$host_cpu" = ia64; then
12292 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12293 # chokes on -Wl,-G. The following line is correct:
12294 shared_flag='-G'
12295 else
12296 if test "$aix_use_runtimelinking" = yes; then
12297 shared_flag='${wl}-G'
12298 else
12299 shared_flag='${wl}-bM:SRE'
12304 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12305 # It seems that -bexpall does not export symbols beginning with
12306 # underscore (_), so it is better to generate a list of symbols to
12307 # export.
12308 always_export_symbols_CXX=yes
12309 if test "$aix_use_runtimelinking" = yes; then
12310 # Warning - without using the other runtime loading flags (-brtl),
12311 # -berok will link without error, but may produce a broken library.
12312 allow_undefined_flag_CXX='-berok'
12313 # Determine the default libpath from the value encoded in an empty
12314 # executable.
12315 if test x$gcc_no_link = xyes; then
12316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12322 main ()
12326 return 0;
12328 _ACEOF
12329 if ac_fn_cxx_try_link "$LINENO"; then :
12331 lt_aix_libpath_sed='
12332 /Import File Strings/,/^$/ {
12333 /^0/ {
12334 s/^0 *\(.*\)$/\1/
12338 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12339 # Check for a 64-bit object if we didn't find anything.
12340 if test -z "$aix_libpath"; then
12341 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12344 rm -f core conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12348 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12350 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"
12351 else
12352 if test "$host_cpu" = ia64; then
12353 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12354 allow_undefined_flag_CXX="-z nodefs"
12355 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"
12356 else
12357 # Determine the default libpath from the value encoded in an
12358 # empty executable.
12359 if test x$gcc_no_link = xyes; then
12360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12366 main ()
12370 return 0;
12372 _ACEOF
12373 if ac_fn_cxx_try_link "$LINENO"; then :
12375 lt_aix_libpath_sed='
12376 /Import File Strings/,/^$/ {
12377 /^0/ {
12378 s/^0 *\(.*\)$/\1/
12382 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12383 # Check for a 64-bit object if we didn't find anything.
12384 if test -z "$aix_libpath"; then
12385 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12393 # Warning - without using the other run time loading flags,
12394 # -berok will link without error, but may produce a broken library.
12395 no_undefined_flag_CXX=' ${wl}-bernotok'
12396 allow_undefined_flag_CXX=' ${wl}-berok'
12397 if test "$with_gnu_ld" = yes; then
12398 # We only use this code for GNU lds that support --whole-archive.
12399 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12400 else
12401 # Exported symbols can be pulled into shared objects from archives
12402 whole_archive_flag_spec_CXX='$convenience'
12404 archive_cmds_need_lc_CXX=yes
12405 # This is similar to how AIX traditionally builds its shared
12406 # libraries.
12407 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'
12412 beos*)
12413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12414 allow_undefined_flag_CXX=unsupported
12415 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12416 # support --undefined. This deserves some investigation. FIXME
12417 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12418 else
12419 ld_shlibs_CXX=no
12423 chorus*)
12424 case $cc_basename in
12426 # FIXME: insert proper C++ library support
12427 ld_shlibs_CXX=no
12429 esac
12432 cygwin* | mingw* | pw32* | cegcc*)
12433 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12434 # as there is no search path for DLLs.
12435 hardcode_libdir_flag_spec_CXX='-L$libdir'
12436 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12437 allow_undefined_flag_CXX=unsupported
12438 always_export_symbols_CXX=no
12439 enable_shared_with_static_runtimes_CXX=yes
12441 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12442 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'
12443 # If the export-symbols file already is a .def file (1st line
12444 # is EXPORTS), use it as is; otherwise, prepend...
12445 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12446 cp $export_symbols $output_objdir/$soname.def;
12447 else
12448 echo EXPORTS > $output_objdir/$soname.def;
12449 cat $export_symbols >> $output_objdir/$soname.def;
12451 $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'
12452 else
12453 ld_shlibs_CXX=no
12456 darwin* | rhapsody*)
12459 archive_cmds_need_lc_CXX=no
12460 hardcode_direct_CXX=no
12461 hardcode_automatic_CXX=yes
12462 hardcode_shlibpath_var_CXX=unsupported
12463 if test "$lt_cv_ld_force_load" = "yes"; then
12464 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\"`'
12465 else
12466 whole_archive_flag_spec_CXX=''
12468 link_all_deplibs_CXX=yes
12469 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12470 case $cc_basename in
12471 ifort*) _lt_dar_can_shared=yes ;;
12472 *) _lt_dar_can_shared=$GCC ;;
12473 esac
12474 if test "$_lt_dar_can_shared" = "yes"; then
12475 output_verbose_link_cmd=func_echo_all
12476 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}"
12477 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12478 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}"
12479 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}"
12480 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12481 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}"
12482 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}"
12485 else
12486 ld_shlibs_CXX=no
12491 dgux*)
12492 case $cc_basename in
12493 ec++*)
12494 # FIXME: insert proper C++ library support
12495 ld_shlibs_CXX=no
12497 ghcx*)
12498 # Green Hills C++ Compiler
12499 # FIXME: insert proper C++ library support
12500 ld_shlibs_CXX=no
12503 # FIXME: insert proper C++ library support
12504 ld_shlibs_CXX=no
12506 esac
12509 freebsd[12]*)
12510 # C++ shared libraries reported to be fairly broken before
12511 # switch to ELF
12512 ld_shlibs_CXX=no
12515 freebsd-elf*)
12516 archive_cmds_need_lc_CXX=no
12519 freebsd* | dragonfly*)
12520 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12521 # conventions
12522 ld_shlibs_CXX=yes
12525 gnu*)
12528 haiku*)
12529 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12530 link_all_deplibs_CXX=yes
12533 hpux9*)
12534 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12535 hardcode_libdir_separator_CXX=:
12536 export_dynamic_flag_spec_CXX='${wl}-E'
12537 hardcode_direct_CXX=yes
12538 hardcode_minus_L_CXX=yes # Not in the search PATH,
12539 # but as the default
12540 # location of the library.
12542 case $cc_basename in
12543 CC*)
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12547 aCC*)
12548 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'
12549 # Commands to make compiler produce verbose output that lists
12550 # what "hidden" libraries, object files and flags are used when
12551 # linking a shared library.
12553 # There doesn't appear to be a way to prevent this compiler from
12554 # explicitly linking system object files so we need to strip them
12555 # from the output so that they don't get included in the library
12556 # dependencies.
12557 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"'
12560 if test "$GXX" = yes; then
12561 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'
12562 else
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12567 esac
12570 hpux10*|hpux11*)
12571 if test $with_gnu_ld = no; then
12572 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12573 hardcode_libdir_separator_CXX=:
12575 case $host_cpu in
12576 hppa*64*|ia64*)
12579 export_dynamic_flag_spec_CXX='${wl}-E'
12581 esac
12583 case $host_cpu in
12584 hppa*64*|ia64*)
12585 hardcode_direct_CXX=no
12586 hardcode_shlibpath_var_CXX=no
12589 hardcode_direct_CXX=yes
12590 hardcode_direct_absolute_CXX=yes
12591 hardcode_minus_L_CXX=yes # Not in the search PATH,
12592 # but as the default
12593 # location of the library.
12595 esac
12597 case $cc_basename in
12598 CC*)
12599 # FIXME: insert proper C++ library support
12600 ld_shlibs_CXX=no
12602 aCC*)
12603 case $host_cpu in
12604 hppa*64*)
12605 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12607 ia64*)
12608 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12611 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12613 esac
12614 # Commands to make compiler produce verbose output that lists
12615 # what "hidden" libraries, object files and flags are used when
12616 # linking a shared library.
12618 # There doesn't appear to be a way to prevent this compiler from
12619 # explicitly linking system object files so we need to strip them
12620 # from the output so that they don't get included in the library
12621 # dependencies.
12622 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"'
12625 if test "$GXX" = yes; then
12626 if test $with_gnu_ld = no; then
12627 case $host_cpu in
12628 hppa*64*)
12629 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631 ia64*)
12632 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 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'
12637 esac
12639 else
12640 # FIXME: insert proper C++ library support
12641 ld_shlibs_CXX=no
12644 esac
12647 interix[3-9]*)
12648 hardcode_direct_CXX=no
12649 hardcode_shlibpath_var_CXX=no
12650 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12651 export_dynamic_flag_spec_CXX='${wl}-E'
12652 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12653 # Instead, shared libraries are loaded at an image base (0x10000000 by
12654 # default) and relocated if they conflict, which is a slow very memory
12655 # consuming and fragmenting process. To avoid this, we pick a random,
12656 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12657 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12658 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'
12659 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'
12661 irix5* | irix6*)
12662 case $cc_basename in
12663 CC*)
12664 # SGI C++
12665 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'
12667 # Archives containing C++ object files must be created using
12668 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12669 # necessary to make sure instantiated templates are included
12670 # in the archive.
12671 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12674 if test "$GXX" = yes; then
12675 if test "$with_gnu_ld" = no; then
12676 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'
12677 else
12678 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'
12681 link_all_deplibs_CXX=yes
12683 esac
12684 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12685 hardcode_libdir_separator_CXX=:
12686 inherit_rpath_CXX=yes
12689 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12690 case $cc_basename in
12691 KCC*)
12692 # Kuck and Associates, Inc. (KAI) C++ Compiler
12694 # KCC will only create a shared library if the output file
12695 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12696 # to its proper name (with version) after linking.
12697 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'
12698 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'
12699 # Commands to make compiler produce verbose output that lists
12700 # what "hidden" libraries, object files and flags are used when
12701 # linking a shared library.
12703 # There doesn't appear to be a way to prevent this compiler from
12704 # explicitly linking system object files so we need to strip them
12705 # from the output so that they don't get included in the library
12706 # dependencies.
12707 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"'
12709 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12710 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12712 # Archives containing C++ object files must be created using
12713 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12714 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12716 icpc* | ecpc* )
12717 # Intel C++
12718 with_gnu_ld=yes
12719 # version 8.0 and above of icpc choke on multiply defined symbols
12720 # if we add $predep_objects and $postdep_objects, however 7.1 and
12721 # earlier do not add the objects themselves.
12722 case `$CC -V 2>&1` in
12723 *"Version 7."*)
12724 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12725 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'
12727 *) # Version 8.0 or newer
12728 tmp_idyn=
12729 case $host_cpu in
12730 ia64*) tmp_idyn=' -i_dynamic';;
12731 esac
12732 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12733 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'
12735 esac
12736 archive_cmds_need_lc_CXX=no
12737 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12738 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12739 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12741 pgCC* | pgcpp*)
12742 # Portland Group C++ compiler
12743 case `$CC -V` in
12744 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12745 prelink_cmds_CXX='tpldir=Template.dir~
12746 rm -rf $tpldir~
12747 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12748 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12749 old_archive_cmds_CXX='tpldir=Template.dir~
12750 rm -rf $tpldir~
12751 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12752 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12753 $RANLIB $oldlib'
12754 archive_cmds_CXX='tpldir=Template.dir~
12755 rm -rf $tpldir~
12756 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12757 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12758 archive_expsym_cmds_CXX='tpldir=Template.dir~
12759 rm -rf $tpldir~
12760 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12761 $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'
12763 *) # Version 6 and above use weak symbols
12764 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12765 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'
12767 esac
12769 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12770 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12771 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'
12773 cxx*)
12774 # Compaq C++
12775 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12778 runpath_var=LD_RUN_PATH
12779 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12780 hardcode_libdir_separator_CXX=:
12782 # Commands to make compiler produce verbose output that lists
12783 # what "hidden" libraries, object files and flags are used when
12784 # linking a shared library.
12786 # There doesn't appear to be a way to prevent this compiler from
12787 # explicitly linking system object files so we need to strip them
12788 # from the output so that they don't get included in the library
12789 # dependencies.
12790 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'
12792 xl* | mpixl* | bgxl*)
12793 # IBM XL 8.0 on PPC, with GNU ld
12794 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12795 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12796 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12797 if test "x$supports_anon_versioning" = xyes; then
12798 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12799 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12800 echo "local: *; };" >> $output_objdir/$libname.ver~
12801 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12805 case `$CC -V 2>&1 | sed 5q` in
12806 *Sun\ C*)
12807 # Sun C++ 5.9
12808 no_undefined_flag_CXX=' -zdefs'
12809 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12810 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'
12811 hardcode_libdir_flag_spec_CXX='-R$libdir'
12812 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'
12813 compiler_needs_object_CXX=yes
12815 # Not sure whether something based on
12816 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12817 # would be better.
12818 output_verbose_link_cmd='func_echo_all'
12820 # Archives containing C++ object files must be created using
12821 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12822 # necessary to make sure instantiated templates are included
12823 # in the archive.
12824 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12826 esac
12828 esac
12831 lynxos*)
12832 # FIXME: insert proper C++ library support
12833 ld_shlibs_CXX=no
12836 m88k*)
12837 # FIXME: insert proper C++ library support
12838 ld_shlibs_CXX=no
12841 mvs*)
12842 case $cc_basename in
12843 cxx*)
12844 # FIXME: insert proper C++ library support
12845 ld_shlibs_CXX=no
12848 # FIXME: insert proper C++ library support
12849 ld_shlibs_CXX=no
12851 esac
12854 netbsd*)
12855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12856 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12857 wlarc=
12858 hardcode_libdir_flag_spec_CXX='-R$libdir'
12859 hardcode_direct_CXX=yes
12860 hardcode_shlibpath_var_CXX=no
12862 # Workaround some broken pre-1.5 toolchains
12863 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12866 *nto* | *qnx*)
12867 ld_shlibs_CXX=yes
12870 openbsd2*)
12871 # C++ shared libraries are fairly broken
12872 ld_shlibs_CXX=no
12875 openbsd*)
12876 if test -f /usr/libexec/ld.so; then
12877 hardcode_direct_CXX=yes
12878 hardcode_shlibpath_var_CXX=no
12879 hardcode_direct_absolute_CXX=yes
12880 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12881 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12882 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12883 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12884 export_dynamic_flag_spec_CXX='${wl}-E'
12885 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12887 output_verbose_link_cmd=func_echo_all
12888 else
12889 ld_shlibs_CXX=no
12893 osf3* | osf4* | osf5*)
12894 case $cc_basename in
12895 KCC*)
12896 # Kuck and Associates, Inc. (KAI) C++ Compiler
12898 # KCC will only create a shared library if the output file
12899 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12900 # to its proper name (with version) after linking.
12901 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'
12903 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12904 hardcode_libdir_separator_CXX=:
12906 # Archives containing C++ object files must be created using
12907 # the KAI C++ compiler.
12908 case $host in
12909 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12910 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12911 esac
12913 RCC*)
12914 # Rational C++ 2.4.1
12915 # FIXME: insert proper C++ library support
12916 ld_shlibs_CXX=no
12918 cxx*)
12919 case $host in
12920 osf3*)
12921 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12922 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'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12926 allow_undefined_flag_CXX=' -expect_unresolved \*'
12927 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'
12928 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12929 echo "-hidden">> $lib.exp~
12930 $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~
12931 $RM $lib.exp'
12932 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12934 esac
12936 hardcode_libdir_separator_CXX=:
12938 # Commands to make compiler produce verbose output that lists
12939 # what "hidden" libraries, object files and flags are used when
12940 # linking a shared library.
12942 # There doesn't appear to be a way to prevent this compiler from
12943 # explicitly linking system object files so we need to strip them
12944 # from the output so that they don't get included in the library
12945 # dependencies.
12946 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"'
12949 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12950 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951 case $host in
12952 osf3*)
12953 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'
12956 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'
12958 esac
12960 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12961 hardcode_libdir_separator_CXX=:
12963 # Commands to make compiler produce verbose output that lists
12964 # what "hidden" libraries, object files and flags are used when
12965 # linking a shared library.
12966 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12968 else
12969 # FIXME: insert proper C++ library support
12970 ld_shlibs_CXX=no
12973 esac
12976 psos*)
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12981 sunos4*)
12982 case $cc_basename in
12983 CC*)
12984 # Sun C++ 4.x
12985 # FIXME: insert proper C++ library support
12986 ld_shlibs_CXX=no
12988 lcc*)
12989 # Lucid
12990 # FIXME: insert proper C++ library support
12991 ld_shlibs_CXX=no
12994 # FIXME: insert proper C++ library support
12995 ld_shlibs_CXX=no
12997 esac
13000 solaris*)
13001 case $cc_basename in
13002 CC*)
13003 # Sun C++ 4.2, 5.x and Centerline C++
13004 archive_cmds_need_lc_CXX=yes
13005 no_undefined_flag_CXX=' -zdefs'
13006 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13008 $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'
13010 hardcode_libdir_flag_spec_CXX='-R$libdir'
13011 hardcode_shlibpath_var_CXX=no
13012 case $host_os in
13013 solaris2.[0-5] | solaris2.[0-5].*) ;;
13015 # The compiler driver will combine and reorder linker options,
13016 # but understands `-z linker_flag'.
13017 # Supported since Solaris 2.6 (maybe 2.5.1?)
13018 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13020 esac
13021 link_all_deplibs_CXX=yes
13023 output_verbose_link_cmd='func_echo_all'
13025 # Archives containing C++ object files must be created using
13026 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13027 # necessary to make sure instantiated templates are included
13028 # in the archive.
13029 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13031 gcx*)
13032 # Green Hills C++ Compiler
13033 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13035 # The C++ compiler must be used to create the archive.
13036 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13039 # GNU C++ compiler with Solaris linker
13040 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13041 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13042 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13043 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13044 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13045 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13047 # Commands to make compiler produce verbose output that lists
13048 # what "hidden" libraries, object files and flags are used when
13049 # linking a shared library.
13050 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13051 else
13052 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13053 # platform.
13054 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13056 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13058 # Commands to make compiler produce verbose output that lists
13059 # what "hidden" libraries, object files and flags are used when
13060 # linking a shared library.
13061 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13064 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13065 case $host_os in
13066 solaris2.[0-5] | solaris2.[0-5].*) ;;
13068 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13070 esac
13073 esac
13076 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13077 no_undefined_flag_CXX='${wl}-z,text'
13078 archive_cmds_need_lc_CXX=no
13079 hardcode_shlibpath_var_CXX=no
13080 runpath_var='LD_RUN_PATH'
13082 case $cc_basename in
13083 CC*)
13084 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13085 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13091 esac
13094 sysv5* | sco3.2v5* | sco5v6*)
13095 # Note: We can NOT use -z defs as we might desire, because we do not
13096 # link with -lc, and that would cause any symbols used from libc to
13097 # always be unresolved, which means just about no library would
13098 # ever link correctly. If we're not using GNU ld we use -z text
13099 # though, which does catch some bad symbols but isn't as heavy-handed
13100 # as -z defs.
13101 no_undefined_flag_CXX='${wl}-z,text'
13102 allow_undefined_flag_CXX='${wl}-z,nodefs'
13103 archive_cmds_need_lc_CXX=no
13104 hardcode_shlibpath_var_CXX=no
13105 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13106 hardcode_libdir_separator_CXX=':'
13107 link_all_deplibs_CXX=yes
13108 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13109 runpath_var='LD_RUN_PATH'
13111 case $cc_basename in
13112 CC*)
13113 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13116 '"$old_archive_cmds_CXX"
13117 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13118 '"$reload_cmds_CXX"
13121 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 esac
13127 tandem*)
13128 case $cc_basename in
13129 NCC*)
13130 # NonStop-UX NCC 3.20
13131 # FIXME: insert proper C++ library support
13132 ld_shlibs_CXX=no
13135 # FIXME: insert proper C++ library support
13136 ld_shlibs_CXX=no
13138 esac
13141 vxworks*)
13142 # FIXME: insert proper C++ library support
13143 ld_shlibs_CXX=no
13147 # FIXME: insert proper C++ library support
13148 ld_shlibs_CXX=no
13150 esac
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13153 $as_echo "$ld_shlibs_CXX" >&6; }
13154 test "$ld_shlibs_CXX" = no && can_build_shared=no
13156 GCC_CXX="$GXX"
13157 LD_CXX="$LD"
13159 ## CAVEAT EMPTOR:
13160 ## There is no encapsulation within the following macros, do not change
13161 ## the running order or otherwise move them around unless you know exactly
13162 ## what you are doing...
13163 # Dependencies to place before and after the object being linked:
13164 predep_objects_CXX=
13165 postdep_objects_CXX=
13166 predeps_CXX=
13167 postdeps_CXX=
13168 compiler_lib_search_path_CXX=
13170 cat > conftest.$ac_ext <<_LT_EOF
13171 class Foo
13173 public:
13174 Foo (void) { a = 0; }
13175 private:
13176 int a;
13178 _LT_EOF
13180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13181 (eval $ac_compile) 2>&5
13182 ac_status=$?
13183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13184 test $ac_status = 0; }; then
13185 # Parse the compiler output and extract the necessary
13186 # objects, libraries and library flags.
13188 # Sentinel used to keep track of whether or not we are before
13189 # the conftest object file.
13190 pre_test_object_deps_done=no
13192 for p in `eval "$output_verbose_link_cmd"`; do
13193 case $p in
13195 -L* | -R* | -l*)
13196 # Some compilers place space between "-{L,R}" and the path.
13197 # Remove the space.
13198 if test $p = "-L" ||
13199 test $p = "-R"; then
13200 prev=$p
13201 continue
13202 else
13203 prev=
13206 if test "$pre_test_object_deps_done" = no; then
13207 case $p in
13208 -L* | -R*)
13209 # Internal compiler library paths should come after those
13210 # provided the user. The postdeps already come after the
13211 # user supplied libs so there is no need to process them.
13212 if test -z "$compiler_lib_search_path_CXX"; then
13213 compiler_lib_search_path_CXX="${prev}${p}"
13214 else
13215 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13218 # The "-l" case would never come before the object being
13219 # linked, so don't bother handling this case.
13220 esac
13221 else
13222 if test -z "$postdeps_CXX"; then
13223 postdeps_CXX="${prev}${p}"
13224 else
13225 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13230 *.$objext)
13231 # This assumes that the test object file only shows up
13232 # once in the compiler output.
13233 if test "$p" = "conftest.$objext"; then
13234 pre_test_object_deps_done=yes
13235 continue
13238 if test "$pre_test_object_deps_done" = no; then
13239 if test -z "$predep_objects_CXX"; then
13240 predep_objects_CXX="$p"
13241 else
13242 predep_objects_CXX="$predep_objects_CXX $p"
13244 else
13245 if test -z "$postdep_objects_CXX"; then
13246 postdep_objects_CXX="$p"
13247 else
13248 postdep_objects_CXX="$postdep_objects_CXX $p"
13253 *) ;; # Ignore the rest.
13255 esac
13256 done
13258 # Clean up.
13259 rm -f a.out a.exe
13260 else
13261 echo "libtool.m4: error: problem compiling CXX test program"
13264 $RM -f confest.$objext
13266 # PORTME: override above test on systems where it is broken
13267 case $host_os in
13268 interix[3-9]*)
13269 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13270 # hack all around it, let's just trust "g++" to DTRT.
13271 predep_objects_CXX=
13272 postdep_objects_CXX=
13273 postdeps_CXX=
13276 linux*)
13277 case `$CC -V 2>&1 | sed 5q` in
13278 *Sun\ C*)
13279 # Sun C++ 5.9
13281 # The more standards-conforming stlport4 library is
13282 # incompatible with the Cstd library. Avoid specifying
13283 # it if it's in CXXFLAGS. Ignore libCrun as
13284 # -library=stlport4 depends on it.
13285 case " $CXX $CXXFLAGS " in
13286 *" -library=stlport4 "*)
13287 solaris_use_stlport4=yes
13289 esac
13291 if test "$solaris_use_stlport4" != yes; then
13292 postdeps_CXX='-library=Cstd -library=Crun'
13295 esac
13298 solaris*)
13299 case $cc_basename in
13300 CC*)
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13309 esac
13311 # Adding this requires a known-good setup of shared libraries for
13312 # Sun compiler versions before 5.6, else PIC objects from an old
13313 # archive will be linked into the output, leading to subtle bugs.
13314 if test "$solaris_use_stlport4" != yes; then
13315 postdeps_CXX='-library=Cstd -library=Crun'
13318 esac
13320 esac
13323 case " $postdeps_CXX " in
13324 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13325 esac
13326 compiler_lib_search_dirs_CXX=
13327 if test -n "${compiler_lib_search_path_CXX}"; then
13328 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13361 lt_prog_compiler_wl_CXX=
13362 lt_prog_compiler_pic_CXX=
13363 lt_prog_compiler_static_CXX=
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13366 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13368 # C++ specific cases for pic, static, wl, etc.
13369 if test "$GXX" = yes; then
13370 lt_prog_compiler_wl_CXX='-Wl,'
13371 lt_prog_compiler_static_CXX='-static'
13373 case $host_os in
13374 aix*)
13375 # All AIX code is PIC.
13376 if test "$host_cpu" = ia64; then
13377 # AIX 5 now supports IA64 processor
13378 lt_prog_compiler_static_CXX='-Bstatic'
13382 amigaos*)
13383 case $host_cpu in
13384 powerpc)
13385 # see comment about AmigaOS4 .so support
13386 lt_prog_compiler_pic_CXX='-fPIC'
13388 m68k)
13389 # FIXME: we need at least 68020 code to build shared libraries, but
13390 # adding the `-m68020' flag to GCC prevents building anything better,
13391 # like `-m68040'.
13392 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13394 esac
13397 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13398 # PIC is the default for these OSes.
13400 mingw* | cygwin* | os2* | pw32* | cegcc*)
13401 # This hack is so that the source file can tell whether it is being
13402 # built for inclusion in a dll (and should export symbols for example).
13403 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13404 # (--disable-auto-import) libraries
13405 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13407 darwin* | rhapsody*)
13408 # PIC is the default on this platform
13409 # Common symbols not allowed in MH_DYLIB files
13410 lt_prog_compiler_pic_CXX='-fno-common'
13412 *djgpp*)
13413 # DJGPP does not support shared libraries at all
13414 lt_prog_compiler_pic_CXX=
13416 haiku*)
13417 # PIC is the default for Haiku.
13418 # The "-static" flag exists, but is broken.
13419 lt_prog_compiler_static_CXX=
13421 interix[3-9]*)
13422 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13423 # Instead, we relocate shared libraries at runtime.
13425 sysv4*MP*)
13426 if test -d /usr/nec; then
13427 lt_prog_compiler_pic_CXX=-Kconform_pic
13430 hpux*)
13431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13433 # sets the default TLS model and affects inlining.
13434 case $host_cpu in
13435 hppa*64*)
13438 lt_prog_compiler_pic_CXX='-fPIC'
13440 esac
13442 *qnx* | *nto*)
13443 # QNX uses GNU C++, but need to define -shared option too, otherwise
13444 # it will coredump.
13445 lt_prog_compiler_pic_CXX='-fPIC -shared'
13448 lt_prog_compiler_pic_CXX='-fPIC'
13450 esac
13451 else
13452 case $host_os in
13453 aix[4-9]*)
13454 # All AIX code is PIC.
13455 if test "$host_cpu" = ia64; then
13456 # AIX 5 now supports IA64 processor
13457 lt_prog_compiler_static_CXX='-Bstatic'
13458 else
13459 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13462 chorus*)
13463 case $cc_basename in
13464 cxch68*)
13465 # Green Hills C++ Compiler
13466 # _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"
13468 esac
13470 dgux*)
13471 case $cc_basename in
13472 ec++*)
13473 lt_prog_compiler_pic_CXX='-KPIC'
13475 ghcx*)
13476 # Green Hills C++ Compiler
13477 lt_prog_compiler_pic_CXX='-pic'
13481 esac
13483 freebsd* | dragonfly*)
13484 # FreeBSD uses GNU C++
13486 hpux9* | hpux10* | hpux11*)
13487 case $cc_basename in
13488 CC*)
13489 lt_prog_compiler_wl_CXX='-Wl,'
13490 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13491 if test "$host_cpu" != ia64; then
13492 lt_prog_compiler_pic_CXX='+Z'
13495 aCC*)
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13498 case $host_cpu in
13499 hppa*64*|ia64*)
13500 # +Z the default
13503 lt_prog_compiler_pic_CXX='+Z'
13505 esac
13509 esac
13511 interix*)
13512 # This is c89, which is MS Visual C++ (no shared libs)
13513 # Anyone wants to do a port?
13515 irix5* | irix6* | nonstopux*)
13516 case $cc_basename in
13517 CC*)
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_static_CXX='-non_shared'
13520 # CC pic flag -KPIC is the default.
13524 esac
13526 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13527 case $cc_basename in
13528 KCC*)
13529 # KAI C++ Compiler
13530 lt_prog_compiler_wl_CXX='--backend -Wl,'
13531 lt_prog_compiler_pic_CXX='-fPIC'
13533 ecpc* )
13534 # old Intel C++ for x86_64 which still supported -KPIC.
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_pic_CXX='-KPIC'
13537 lt_prog_compiler_static_CXX='-static'
13539 icpc* )
13540 # Intel C++, used to be incompatible with GCC.
13541 # ICC 10 doesn't accept -KPIC any more.
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_pic_CXX='-fPIC'
13544 lt_prog_compiler_static_CXX='-static'
13546 pgCC* | pgcpp*)
13547 # Portland Group C++ compiler
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_pic_CXX='-fpic'
13550 lt_prog_compiler_static_CXX='-Bstatic'
13552 cxx*)
13553 # Compaq C++
13554 # Make sure the PIC flag is empty. It appears that all Alpha
13555 # Linux and Compaq Tru64 Unix objects are PIC.
13556 lt_prog_compiler_pic_CXX=
13557 lt_prog_compiler_static_CXX='-non_shared'
13559 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13560 # IBM XL 8.0, 9.0 on PPC and BlueGene
13561 lt_prog_compiler_wl_CXX='-Wl,'
13562 lt_prog_compiler_pic_CXX='-qpic'
13563 lt_prog_compiler_static_CXX='-qstaticlink'
13566 case `$CC -V 2>&1 | sed 5q` in
13567 *Sun\ C*)
13568 # Sun C++ 5.9
13569 lt_prog_compiler_pic_CXX='-KPIC'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13571 lt_prog_compiler_wl_CXX='-Qoption ld '
13573 esac
13575 esac
13577 lynxos*)
13579 m88k*)
13581 mvs*)
13582 case $cc_basename in
13583 cxx*)
13584 lt_prog_compiler_pic_CXX='-W c,exportall'
13588 esac
13590 netbsd*)
13592 *qnx* | *nto*)
13593 # QNX uses GNU C++, but need to define -shared option too, otherwise
13594 # it will coredump.
13595 lt_prog_compiler_pic_CXX='-fPIC -shared'
13597 osf3* | osf4* | osf5*)
13598 case $cc_basename in
13599 KCC*)
13600 lt_prog_compiler_wl_CXX='--backend -Wl,'
13602 RCC*)
13603 # Rational C++ 2.4.1
13604 lt_prog_compiler_pic_CXX='-pic'
13606 cxx*)
13607 # Digital/Compaq C++
13608 lt_prog_compiler_wl_CXX='-Wl,'
13609 # Make sure the PIC flag is empty. It appears that all Alpha
13610 # Linux and Compaq Tru64 Unix objects are PIC.
13611 lt_prog_compiler_pic_CXX=
13612 lt_prog_compiler_static_CXX='-non_shared'
13616 esac
13618 psos*)
13620 solaris*)
13621 case $cc_basename in
13622 CC*)
13623 # Sun C++ 4.2, 5.x and Centerline C++
13624 lt_prog_compiler_pic_CXX='-KPIC'
13625 lt_prog_compiler_static_CXX='-Bstatic'
13626 lt_prog_compiler_wl_CXX='-Qoption ld '
13628 gcx*)
13629 # Green Hills C++ Compiler
13630 lt_prog_compiler_pic_CXX='-PIC'
13634 esac
13636 sunos4*)
13637 case $cc_basename in
13638 CC*)
13639 # Sun C++ 4.x
13640 lt_prog_compiler_pic_CXX='-pic'
13641 lt_prog_compiler_static_CXX='-Bstatic'
13643 lcc*)
13644 # Lucid
13645 lt_prog_compiler_pic_CXX='-pic'
13649 esac
13651 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13652 case $cc_basename in
13653 CC*)
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 lt_prog_compiler_pic_CXX='-KPIC'
13656 lt_prog_compiler_static_CXX='-Bstatic'
13658 esac
13660 tandem*)
13661 case $cc_basename in
13662 NCC*)
13663 # NonStop-UX NCC 3.20
13664 lt_prog_compiler_pic_CXX='-KPIC'
13668 esac
13670 vxworks*)
13673 lt_prog_compiler_can_build_shared_CXX=no
13675 esac
13678 case $host_os in
13679 # For platforms which do not support PIC, -DPIC is meaningless:
13680 *djgpp*)
13681 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13686 esac
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13688 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13693 # Check to make sure the PIC flag actually works.
13695 if test -n "$lt_prog_compiler_pic_CXX"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13697 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13698 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 lt_cv_prog_compiler_pic_works_CXX=no
13702 ac_outfile=conftest.$ac_objext
13703 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13704 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13705 # Insert the option either (1) after the last *FLAGS variable, or
13706 # (2) before a word containing "conftest.", or (3) at the end.
13707 # Note that $ac_compile itself does not contain backslashes and begins
13708 # with a dollar sign (not a hyphen), so the echo should work correctly.
13709 # The option is referenced via a variable to avoid confusing sed.
13710 lt_compile=`echo "$ac_compile" | $SED \
13711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13713 -e 's:$: $lt_compiler_flag:'`
13714 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13715 (eval "$lt_compile" 2>conftest.err)
13716 ac_status=$?
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 if (exit $ac_status) && test -s "$ac_outfile"; then
13720 # The compiler can only warn and ignore the option if not recognized
13721 # So say no if there are warnings other than the usual output.
13722 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13723 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13724 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13725 lt_cv_prog_compiler_pic_works_CXX=yes
13728 $RM conftest*
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13732 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13734 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13735 case $lt_prog_compiler_pic_CXX in
13736 "" | " "*) ;;
13737 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13738 esac
13739 else
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_can_build_shared_CXX=no
13749 # Check to make sure the static flag actually works.
13751 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13753 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13754 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 lt_cv_prog_compiler_static_works_CXX=no
13758 save_LDFLAGS="$LDFLAGS"
13759 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13760 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13761 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13762 # The linker can only warn and ignore the option if not recognized
13763 # So say no if there are warnings
13764 if test -s conftest.err; then
13765 # Append any errors to the config.log.
13766 cat conftest.err 1>&5
13767 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13769 if diff conftest.exp conftest.er2 >/dev/null; then
13770 lt_cv_prog_compiler_static_works_CXX=yes
13772 else
13773 lt_cv_prog_compiler_static_works_CXX=yes
13776 $RM -r conftest*
13777 LDFLAGS="$save_LDFLAGS"
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13781 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13783 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13785 else
13786 lt_prog_compiler_static_CXX=
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13793 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13794 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13795 $as_echo_n "(cached) " >&6
13796 else
13797 lt_cv_prog_compiler_c_o_CXX=no
13798 $RM -r conftest 2>/dev/null
13799 mkdir conftest
13800 cd conftest
13801 mkdir out
13802 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13804 lt_compiler_flag="-o out/conftest2.$ac_objext"
13805 # Insert the option either (1) after the last *FLAGS variable, or
13806 # (2) before a word containing "conftest.", or (3) at the end.
13807 # Note that $ac_compile itself does not contain backslashes and begins
13808 # with a dollar sign (not a hyphen), so the echo should work correctly.
13809 lt_compile=`echo "$ac_compile" | $SED \
13810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13812 -e 's:$: $lt_compiler_flag:'`
13813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13814 (eval "$lt_compile" 2>out/conftest.err)
13815 ac_status=$?
13816 cat out/conftest.err >&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13819 then
13820 # The compiler can only warn and ignore the option if not recognized
13821 # So say no if there are warnings
13822 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13823 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13824 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13825 lt_cv_prog_compiler_c_o_CXX=yes
13828 chmod u+w . 2>&5
13829 $RM conftest*
13830 # SGI C++ compiler will create directory out/ii_files/ for
13831 # template instantiation
13832 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13833 $RM out/* && rmdir out
13834 cd ..
13835 $RM -r conftest
13836 $RM conftest*
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13845 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13846 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 lt_cv_prog_compiler_c_o_CXX=no
13850 $RM -r conftest 2>/dev/null
13851 mkdir conftest
13852 cd conftest
13853 mkdir out
13854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13856 lt_compiler_flag="-o out/conftest2.$ac_objext"
13857 # Insert the option either (1) after the last *FLAGS variable, or
13858 # (2) before a word containing "conftest.", or (3) at the end.
13859 # Note that $ac_compile itself does not contain backslashes and begins
13860 # with a dollar sign (not a hyphen), so the echo should work correctly.
13861 lt_compile=`echo "$ac_compile" | $SED \
13862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13864 -e 's:$: $lt_compiler_flag:'`
13865 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13866 (eval "$lt_compile" 2>out/conftest.err)
13867 ac_status=$?
13868 cat out/conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13871 then
13872 # The compiler can only warn and ignore the option if not recognized
13873 # So say no if there are warnings
13874 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13875 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13876 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13877 lt_cv_prog_compiler_c_o_CXX=yes
13880 chmod u+w . 2>&5
13881 $RM conftest*
13882 # SGI C++ compiler will create directory out/ii_files/ for
13883 # template instantiation
13884 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13885 $RM out/* && rmdir out
13886 cd ..
13887 $RM -r conftest
13888 $RM conftest*
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13892 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13897 hard_links="nottested"
13898 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13899 # do not overwrite the value of need_locks provided by the user
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13901 $as_echo_n "checking if we can lock with hard links... " >&6; }
13902 hard_links=yes
13903 $RM conftest*
13904 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13905 touch conftest.a
13906 ln conftest.a conftest.b 2>&5 || hard_links=no
13907 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13909 $as_echo "$hard_links" >&6; }
13910 if test "$hard_links" = no; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13912 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13913 need_locks=warn
13915 else
13916 need_locks=no
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13922 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13924 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13925 case $host_os in
13926 aix[4-9]*)
13927 # If we're using GNU nm, then we don't want the "-C" option.
13928 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13929 # Also, AIX nm treats weak defined symbols like other global defined
13930 # symbols, whereas GNU nm marks them as "W".
13931 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13932 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'
13933 else
13934 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'
13937 pw32*)
13938 export_symbols_cmds_CXX="$ltdll_cmds"
13940 cygwin* | mingw* | cegcc*)
13941 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'
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13946 esac
13947 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13950 $as_echo "$ld_shlibs_CXX" >&6; }
13951 test "$ld_shlibs_CXX" = no && can_build_shared=no
13953 with_gnu_ld_CXX=$with_gnu_ld
13961 # Do we need to explicitly link libc?
13963 case "x$archive_cmds_need_lc_CXX" in
13964 x|xyes)
13965 # Assume -lc should be added
13966 archive_cmds_need_lc_CXX=yes
13968 if test "$enable_shared" = yes && test "$GCC" = yes; then
13969 case $archive_cmds_CXX in
13970 *'~'*)
13971 # FIXME: we may have to deal with multi-command sequences.
13973 '$CC '*)
13974 # Test whether the compiler implicitly links with -lc since on some
13975 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13976 # to ld, don't add -lc before -lgcc.
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13978 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13979 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 $RM conftest*
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13986 (eval $ac_compile) 2>&5
13987 ac_status=$?
13988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989 test $ac_status = 0; } 2>conftest.err; then
13990 soname=conftest
13991 lib=conftest
13992 libobjs=conftest.$ac_objext
13993 deplibs=
13994 wl=$lt_prog_compiler_wl_CXX
13995 pic_flag=$lt_prog_compiler_pic_CXX
13996 compiler_flags=-v
13997 linker_flags=-v
13998 verstring=
13999 output_objdir=.
14000 libname=conftest
14001 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14002 allow_undefined_flag_CXX=
14003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14004 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14005 ac_status=$?
14006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007 test $ac_status = 0; }
14008 then
14009 lt_cv_archive_cmds_need_lc_CXX=no
14010 else
14011 lt_cv_archive_cmds_need_lc_CXX=yes
14013 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14014 else
14015 cat conftest.err 1>&5
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14021 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14022 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14024 esac
14027 esac
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14093 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14095 library_names_spec=
14096 libname_spec='lib$name'
14097 soname_spec=
14098 shrext_cmds=".so"
14099 postinstall_cmds=
14100 postuninstall_cmds=
14101 finish_cmds=
14102 finish_eval=
14103 shlibpath_var=
14104 shlibpath_overrides_runpath=unknown
14105 version_type=none
14106 dynamic_linker="$host_os ld.so"
14107 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14108 need_lib_prefix=unknown
14109 hardcode_into_libs=no
14111 # when you set need_version to no, make sure it does not cause -set_version
14112 # flags to be left without arguments
14113 need_version=unknown
14115 case $host_os in
14116 aix3*)
14117 version_type=linux
14118 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14119 shlibpath_var=LIBPATH
14121 # AIX 3 has no versioning support, so we append a major version to the name.
14122 soname_spec='${libname}${release}${shared_ext}$major'
14125 aix[4-9]*)
14126 version_type=linux
14127 need_lib_prefix=no
14128 need_version=no
14129 hardcode_into_libs=yes
14130 if test "$host_cpu" = ia64; then
14131 # AIX 5 supports IA64
14132 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14133 shlibpath_var=LD_LIBRARY_PATH
14134 else
14135 # With GCC up to 2.95.x, collect2 would create an import file
14136 # for dependence libraries. The import file would start with
14137 # the line `#! .'. This would cause the generated library to
14138 # depend on `.', always an invalid library. This was fixed in
14139 # development snapshots of GCC prior to 3.0.
14140 case $host_os in
14141 aix4 | aix4.[01] | aix4.[01].*)
14142 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14143 echo ' yes '
14144 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14146 else
14147 can_build_shared=no
14150 esac
14151 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14152 # soname into executable. Probably we can add versioning support to
14153 # collect2, so additional links can be useful in future.
14154 if test "$aix_use_runtimelinking" = yes; then
14155 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14156 # instead of lib<name>.a to let people know that these are not
14157 # typical AIX shared libraries.
14158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14159 else
14160 # We preserve .a as extension for shared libraries through AIX4.2
14161 # and later when we are not doing run time linking.
14162 library_names_spec='${libname}${release}.a $libname.a'
14163 soname_spec='${libname}${release}${shared_ext}$major'
14165 shlibpath_var=LIBPATH
14169 amigaos*)
14170 case $host_cpu in
14171 powerpc)
14172 # Since July 2007 AmigaOS4 officially supports .so libraries.
14173 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 m68k)
14177 library_names_spec='$libname.ixlibrary $libname.a'
14178 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14179 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'
14181 esac
14184 beos*)
14185 library_names_spec='${libname}${shared_ext}'
14186 dynamic_linker="$host_os ld.so"
14187 shlibpath_var=LIBRARY_PATH
14190 bsdi[45]*)
14191 version_type=linux
14192 need_version=no
14193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194 soname_spec='${libname}${release}${shared_ext}$major'
14195 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14196 shlibpath_var=LD_LIBRARY_PATH
14197 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14198 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14199 # the default ld.so.conf also contains /usr/contrib/lib and
14200 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14201 # libtool to hard-code these into programs
14204 cygwin* | mingw* | pw32* | cegcc*)
14205 version_type=windows
14206 shrext_cmds=".dll"
14207 need_version=no
14208 need_lib_prefix=no
14210 case $GCC,$host_os in
14211 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14212 library_names_spec='$libname.dll.a'
14213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14214 postinstall_cmds='base_file=`basename \${file}`~
14215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14216 dldir=$destdir/`dirname \$dlpath`~
14217 test -d \$dldir || mkdir -p \$dldir~
14218 $install_prog $dir/$dlname \$dldir/$dlname~
14219 chmod a+x \$dldir/$dlname~
14220 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14221 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14223 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14224 dlpath=$dir/\$dldll~
14225 $RM \$dlpath'
14226 shlibpath_overrides_runpath=yes
14228 case $host_os in
14229 cygwin*)
14230 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14231 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14234 mingw* | cegcc*)
14235 # MinGW DLLs use traditional 'lib' prefix
14236 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14238 pw32*)
14239 # pw32 DLLs use 'pw' prefix rather than 'lib'
14240 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14242 esac
14246 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14248 esac
14249 dynamic_linker='Win32 ld.exe'
14250 # FIXME: first we should search . and the directory the executable is in
14251 shlibpath_var=PATH
14254 darwin* | rhapsody*)
14255 dynamic_linker="$host_os dyld"
14256 version_type=darwin
14257 need_lib_prefix=no
14258 need_version=no
14259 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14260 soname_spec='${libname}${release}${major}$shared_ext'
14261 shlibpath_overrides_runpath=yes
14262 shlibpath_var=DYLD_LIBRARY_PATH
14263 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14268 dgux*)
14269 version_type=linux
14270 need_lib_prefix=no
14271 need_version=no
14272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14273 soname_spec='${libname}${release}${shared_ext}$major'
14274 shlibpath_var=LD_LIBRARY_PATH
14277 freebsd1*)
14278 dynamic_linker=no
14281 freebsd* | dragonfly*)
14282 # DragonFly does not have aout. When/if they implement a new
14283 # versioning mechanism, adjust this.
14284 if test -x /usr/bin/objformat; then
14285 objformat=`/usr/bin/objformat`
14286 else
14287 case $host_os in
14288 freebsd[123]*) objformat=aout ;;
14289 *) objformat=elf ;;
14290 esac
14292 version_type=freebsd-$objformat
14293 case $version_type in
14294 freebsd-elf*)
14295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14296 need_version=no
14297 need_lib_prefix=no
14299 freebsd-*)
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14301 need_version=yes
14303 esac
14304 shlibpath_var=LD_LIBRARY_PATH
14305 case $host_os in
14306 freebsd2*)
14307 shlibpath_overrides_runpath=yes
14309 freebsd3.[01]* | freebsdelf3.[01]*)
14310 shlibpath_overrides_runpath=yes
14311 hardcode_into_libs=yes
14313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14315 shlibpath_overrides_runpath=no
14316 hardcode_into_libs=yes
14318 *) # from 4.6 on, and DragonFly
14319 shlibpath_overrides_runpath=yes
14320 hardcode_into_libs=yes
14322 esac
14325 gnu*)
14326 version_type=linux
14327 need_lib_prefix=no
14328 need_version=no
14329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14330 soname_spec='${libname}${release}${shared_ext}$major'
14331 shlibpath_var=LD_LIBRARY_PATH
14332 hardcode_into_libs=yes
14335 haiku*)
14336 version_type=linux
14337 need_lib_prefix=no
14338 need_version=no
14339 dynamic_linker="$host_os runtime_loader"
14340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14341 soname_spec='${libname}${release}${shared_ext}$major'
14342 shlibpath_var=LIBRARY_PATH
14343 shlibpath_overrides_runpath=yes
14344 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14345 hardcode_into_libs=yes
14348 hpux9* | hpux10* | hpux11*)
14349 # Give a soname corresponding to the major version so that dld.sl refuses to
14350 # link against other versions.
14351 version_type=sunos
14352 need_lib_prefix=no
14353 need_version=no
14354 case $host_cpu in
14355 ia64*)
14356 shrext_cmds='.so'
14357 hardcode_into_libs=yes
14358 dynamic_linker="$host_os dld.so"
14359 shlibpath_var=LD_LIBRARY_PATH
14360 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14362 soname_spec='${libname}${release}${shared_ext}$major'
14363 if test "X$HPUX_IA64_MODE" = X32; then
14364 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14365 else
14366 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14368 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14370 hppa*64*)
14371 shrext_cmds='.sl'
14372 hardcode_into_libs=yes
14373 dynamic_linker="$host_os dld.sl"
14374 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14375 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377 soname_spec='${libname}${release}${shared_ext}$major'
14378 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14379 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14382 shrext_cmds='.sl'
14383 dynamic_linker="$host_os dld.sl"
14384 shlibpath_var=SHLIB_PATH
14385 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14389 esac
14390 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14391 postinstall_cmds='chmod 555 $lib'
14392 # or fails outright, so override atomically:
14393 install_override_mode=555
14396 interix[3-9]*)
14397 version_type=linux
14398 need_lib_prefix=no
14399 need_version=no
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14403 shlibpath_var=LD_LIBRARY_PATH
14404 shlibpath_overrides_runpath=no
14405 hardcode_into_libs=yes
14408 irix5* | irix6* | nonstopux*)
14409 case $host_os in
14410 nonstopux*) version_type=nonstopux ;;
14412 if test "$lt_cv_prog_gnu_ld" = yes; then
14413 version_type=linux
14414 else
14415 version_type=irix
14416 fi ;;
14417 esac
14418 need_lib_prefix=no
14419 need_version=no
14420 soname_spec='${libname}${release}${shared_ext}$major'
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 case $host_os in
14423 irix5* | nonstopux*)
14424 libsuff= shlibsuff=
14427 case $LD in # libtool.m4 will add one of these switches to LD
14428 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14429 libsuff= shlibsuff= libmagic=32-bit;;
14430 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14431 libsuff=32 shlibsuff=N32 libmagic=N32;;
14432 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14433 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14434 *) libsuff= shlibsuff= libmagic=never-match;;
14435 esac
14437 esac
14438 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14439 shlibpath_overrides_runpath=no
14440 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14441 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14442 hardcode_into_libs=yes
14445 # No shared lib support for Linux oldld, aout, or coff.
14446 linux*oldld* | linux*aout* | linux*coff*)
14447 dynamic_linker=no
14450 # This must be Linux ELF.
14451 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14461 # Some binutils ld are patched to set DT_RUNPATH
14462 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 lt_cv_shlibpath_overrides_runpath=no
14466 save_LDFLAGS=$LDFLAGS
14467 save_libdir=$libdir
14468 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14469 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14470 if test x$gcc_no_link = xyes; then
14471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14477 main ()
14481 return 0;
14483 _ACEOF
14484 if ac_fn_cxx_try_link "$LINENO"; then :
14485 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14486 lt_cv_shlibpath_overrides_runpath=yes
14489 rm -f core conftest.err conftest.$ac_objext \
14490 conftest$ac_exeext conftest.$ac_ext
14491 LDFLAGS=$save_LDFLAGS
14492 libdir=$save_libdir
14496 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14498 # This implies no fast_install, which is unacceptable.
14499 # Some rework will be needed to allow for fast_install
14500 # before this can be enabled.
14501 hardcode_into_libs=yes
14503 # Append ld.so.conf contents to the search path
14504 if test -f /etc/ld.so.conf; then
14505 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' ' '`
14506 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14509 # We used to test for /lib/ld.so.1 and disable shared libraries on
14510 # powerpc, because MkLinux only supported shared libraries with the
14511 # GNU dynamic linker. Since this was broken with cross compilers,
14512 # most powerpc-linux boxes support dynamic linking these days and
14513 # people can always --disable-shared, the test was removed, and we
14514 # assume the GNU/Linux dynamic linker is in use.
14515 dynamic_linker='GNU/Linux ld.so'
14518 netbsd*)
14519 version_type=sunos
14520 need_lib_prefix=no
14521 need_version=no
14522 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14524 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14525 dynamic_linker='NetBSD (a.out) ld.so'
14526 else
14527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14528 soname_spec='${libname}${release}${shared_ext}$major'
14529 dynamic_linker='NetBSD ld.elf_so'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes
14533 hardcode_into_libs=yes
14536 newsos6)
14537 version_type=linux
14538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=yes
14543 *nto* | *qnx*)
14544 version_type=qnx
14545 need_lib_prefix=no
14546 need_version=no
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec='${libname}${release}${shared_ext}$major'
14549 shlibpath_var=LD_LIBRARY_PATH
14550 shlibpath_overrides_runpath=no
14551 hardcode_into_libs=yes
14552 dynamic_linker='ldqnx.so'
14555 openbsd*)
14556 version_type=sunos
14557 sys_lib_dlsearch_path_spec="/usr/lib"
14558 need_lib_prefix=no
14559 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14560 case $host_os in
14561 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14562 *) need_version=no ;;
14563 esac
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14565 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14566 shlibpath_var=LD_LIBRARY_PATH
14567 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14568 case $host_os in
14569 openbsd2.[89] | openbsd2.[89].*)
14570 shlibpath_overrides_runpath=no
14573 shlibpath_overrides_runpath=yes
14575 esac
14576 else
14577 shlibpath_overrides_runpath=yes
14581 os2*)
14582 libname_spec='$name'
14583 shrext_cmds=".dll"
14584 need_lib_prefix=no
14585 library_names_spec='$libname${shared_ext} $libname.a'
14586 dynamic_linker='OS/2 ld.exe'
14587 shlibpath_var=LIBPATH
14590 osf3* | osf4* | osf5*)
14591 version_type=osf
14592 need_lib_prefix=no
14593 need_version=no
14594 soname_spec='${libname}${release}${shared_ext}$major'
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 shlibpath_var=LD_LIBRARY_PATH
14597 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14598 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14601 rdos*)
14602 dynamic_linker=no
14605 solaris*)
14606 version_type=linux
14607 need_lib_prefix=no
14608 need_version=no
14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 shlibpath_var=LD_LIBRARY_PATH
14612 shlibpath_overrides_runpath=yes
14613 hardcode_into_libs=yes
14614 # ldd complains unless libraries are executable
14615 postinstall_cmds='chmod +x $lib'
14618 sunos4*)
14619 version_type=sunos
14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14621 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14622 shlibpath_var=LD_LIBRARY_PATH
14623 shlibpath_overrides_runpath=yes
14624 if test "$with_gnu_ld" = yes; then
14625 need_lib_prefix=no
14627 need_version=yes
14630 sysv4 | sysv4.3*)
14631 version_type=linux
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14633 soname_spec='${libname}${release}${shared_ext}$major'
14634 shlibpath_var=LD_LIBRARY_PATH
14635 case $host_vendor in
14636 sni)
14637 shlibpath_overrides_runpath=no
14638 need_lib_prefix=no
14639 runpath_var=LD_RUN_PATH
14641 siemens)
14642 need_lib_prefix=no
14644 motorola)
14645 need_lib_prefix=no
14646 need_version=no
14647 shlibpath_overrides_runpath=no
14648 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14650 esac
14653 sysv4*MP*)
14654 if test -d /usr/nec ;then
14655 version_type=linux
14656 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14657 soname_spec='$libname${shared_ext}.$major'
14658 shlibpath_var=LD_LIBRARY_PATH
14662 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14663 version_type=freebsd-elf
14664 need_lib_prefix=no
14665 need_version=no
14666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14667 soname_spec='${libname}${release}${shared_ext}$major'
14668 shlibpath_var=LD_LIBRARY_PATH
14669 shlibpath_overrides_runpath=yes
14670 hardcode_into_libs=yes
14671 if test "$with_gnu_ld" = yes; then
14672 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14673 else
14674 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14675 case $host_os in
14676 sco3.2v5*)
14677 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14679 esac
14681 sys_lib_dlsearch_path_spec='/usr/lib'
14684 tpf*)
14685 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14686 version_type=linux
14687 need_lib_prefix=no
14688 need_version=no
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath=no
14692 hardcode_into_libs=yes
14695 uts4*)
14696 version_type=linux
14697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698 soname_spec='${libname}${release}${shared_ext}$major'
14699 shlibpath_var=LD_LIBRARY_PATH
14703 dynamic_linker=no
14705 esac
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14707 $as_echo "$dynamic_linker" >&6; }
14708 test "$dynamic_linker" = no && can_build_shared=no
14710 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14711 if test "$GCC" = yes; then
14712 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14715 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14716 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14718 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14719 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14760 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14761 hardcode_action_CXX=
14762 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14763 test -n "$runpath_var_CXX" ||
14764 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14766 # We can hardcode non-existent directories.
14767 if test "$hardcode_direct_CXX" != no &&
14768 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14769 # have to relink, otherwise we might link with an installed library
14770 # when we should be linking with a yet-to-be-installed one
14771 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14772 test "$hardcode_minus_L_CXX" != no; then
14773 # Linking always hardcodes the temporary library directory.
14774 hardcode_action_CXX=relink
14775 else
14776 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14777 hardcode_action_CXX=immediate
14779 else
14780 # We cannot hardcode anything, or else we can only hardcode existing
14781 # directories.
14782 hardcode_action_CXX=unsupported
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14785 $as_echo "$hardcode_action_CXX" >&6; }
14787 if test "$hardcode_action_CXX" = relink ||
14788 test "$inherit_rpath_CXX" = yes; then
14789 # Fast installation is not supported
14790 enable_fast_install=no
14791 elif test "$shlibpath_overrides_runpath" = yes ||
14792 test "$enable_shared" = no; then
14793 # Fast installation is not necessary
14794 enable_fast_install=needless
14803 fi # test -n "$compiler"
14805 CC=$lt_save_CC
14806 LDCXX=$LD
14807 LD=$lt_save_LD
14808 GCC=$lt_save_GCC
14809 with_gnu_ld=$lt_save_with_gnu_ld
14810 lt_cv_path_LDCXX=$lt_cv_path_LD
14811 lt_cv_path_LD=$lt_save_path_LD
14812 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14813 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14814 fi # test "$_lt_caught_CXX_error" != yes
14816 ac_ext=c
14817 ac_cpp='$CPP $CPPFLAGS'
14818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14834 ac_config_commands="$ac_config_commands libtool"
14839 # Only expand once:
14845 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14846 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14848 # Possibly disable most of the library.
14849 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14850 ## than just ignoring the results. Faster /and/ more correct, win win.
14852 # Check whether --enable-hosted-libstdcxx was given.
14853 if test "${enable_hosted_libstdcxx+set}" = set; then :
14854 enableval=$enable_hosted_libstdcxx;
14855 else
14856 case "$host" in
14857 arm*-*-symbianelf*)
14858 enable_hosted_libstdcxx=no
14861 enable_hosted_libstdcxx=yes
14863 esac
14866 if test "$enable_hosted_libstdcxx" = no; then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14868 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14869 is_hosted=no
14870 hosted_define=0
14871 enable_abi_check=no
14872 enable_libstdcxx_pch=no
14873 else
14874 is_hosted=yes
14875 hosted_define=1
14879 cat >>confdefs.h <<_ACEOF
14880 #define _GLIBCXX_HOSTED $hosted_define
14881 _ACEOF
14885 # Enable compiler support that doesn't require linking.
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14888 $as_echo_n "checking for exception model to use... " >&6; }
14890 ac_ext=cpp
14891 ac_cpp='$CXXCPP $CPPFLAGS'
14892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14896 # Check whether --enable-sjlj-exceptions was given.
14897 if test "${enable_sjlj_exceptions+set}" = set; then :
14898 enableval=$enable_sjlj_exceptions;
14899 case "$enableval" in
14900 yes|no|auto) ;;
14901 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14902 esac
14904 else
14905 enable_sjlj_exceptions=auto
14910 if test $enable_sjlj_exceptions = auto; then
14911 # Botheration. Now we've got to detect the exception model. Link tests
14912 # against libgcc.a are problematic since we've not been given proper -L
14913 # bits for single-tree newlib and libgloss.
14915 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14916 cat > conftest.$ac_ext << EOF
14917 #line 14917 "configure"
14918 struct S { ~S(); };
14919 void bar();
14920 void foo()
14922 S s;
14923 bar();
14926 old_CXXFLAGS="$CXXFLAGS"
14927 CXXFLAGS=-S
14928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14929 (eval $ac_compile) 2>&5
14930 ac_status=$?
14931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14932 test $ac_status = 0; }; then
14933 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14934 enable_sjlj_exceptions=yes
14935 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14936 enable_sjlj_exceptions=no
14937 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14938 enable_sjlj_exceptions=no
14941 CXXFLAGS="$old_CXXFLAGS"
14942 rm -f conftest*
14945 # This is a tad weird, for hysterical raisins. We have to map
14946 # enable/disable to two different models.
14947 case $enable_sjlj_exceptions in
14948 yes)
14950 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14952 ac_exception_model_name=sjlj
14955 ac_exception_model_name="call frame"
14958 as_fn_error "unable to detect exception model" "$LINENO" 5
14960 esac
14961 ac_ext=c
14962 ac_cpp='$CPP $CPPFLAGS'
14963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14968 $as_echo "$ac_exception_model_name" >&6; }
14971 # Check whether --enable-libstdcxx-pch was given.
14972 if test "${enable_libstdcxx_pch+set}" = set; then :
14973 enableval=$enable_libstdcxx_pch;
14974 case "$enableval" in
14975 yes|no) ;;
14976 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14977 esac
14979 else
14980 enable_libstdcxx_pch=$is_hosted
14984 if test $enable_libstdcxx_pch = yes; then
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14986 $as_echo_n "checking for compiler with PCH support... " >&6; }
14987 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 ac_save_CXXFLAGS="$CXXFLAGS"
14991 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14993 ac_ext=cpp
14994 ac_cpp='$CXXCPP $CPPFLAGS'
14995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14999 echo '#include <math.h>' > conftest.h
15000 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15001 -o conftest.h.gch 1>&5 2>&1 &&
15002 echo '#error "pch failed"' > conftest.h &&
15003 echo '#include "conftest.h"' > conftest.cc &&
15004 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15005 then
15006 glibcxx_cv_prog_CXX_pch=yes
15007 else
15008 glibcxx_cv_prog_CXX_pch=no
15010 rm -f conftest*
15011 CXXFLAGS=$ac_save_CXXFLAGS
15012 ac_ext=c
15013 ac_cpp='$CPP $CPPFLAGS'
15014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15021 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15022 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15026 $as_echo_n "checking for enabled PCH... " >&6; }
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15028 $as_echo "$enable_libstdcxx_pch" >&6; }
15031 if test $enable_libstdcxx_pch = yes; then
15032 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15033 else
15034 glibcxx_PCHFLAGS=""
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15040 $as_echo_n "checking for thread model used by GCC... " >&6; }
15041 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15043 $as_echo "$target_thread_file" >&6; }
15045 if test $target_thread_file != single; then
15047 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15051 glibcxx_thread_h=gthr-$target_thread_file.h
15053 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15054 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15055 enable_thread=yes
15056 else
15057 enable_thread=no
15064 ac_ext=cpp
15065 ac_cpp='$CXXCPP $CPPFLAGS'
15066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15070 old_CXXFLAGS="$CXXFLAGS"
15072 # Do link tests if possible, instead asm tests, limited to some platforms
15073 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15074 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15075 atomic_builtins_link_tests=no
15076 if test x$gcc_no_link != xyes; then
15077 # Can do link tests. Limit to some tested platforms
15078 case "$host" in
15079 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15080 atomic_builtins_link_tests=yes
15082 esac
15085 if test x$atomic_builtins_link_tests = xyes; then
15087 # Do link tests.
15089 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15092 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15093 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15094 $as_echo_n "(cached) " >&6
15095 else
15097 if test x$gcc_no_link = xyes; then
15098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15104 main ()
15106 typedef bool atomic_type;
15107 atomic_type c1;
15108 atomic_type c2;
15109 const atomic_type c3(0);
15110 __sync_fetch_and_add(&c1, c2);
15111 __sync_val_compare_and_swap(&c1, c3, c2);
15112 __sync_lock_test_and_set(&c1, c3);
15113 __sync_lock_release(&c1);
15114 __sync_synchronize();
15116 return 0;
15118 _ACEOF
15119 if ac_fn_cxx_try_link "$LINENO"; then :
15120 glibcxx_cv_atomic_bool=yes
15121 else
15122 glibcxx_cv_atomic_bool=no
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15129 if test $glibcxx_cv_atomic_bool = yes; then
15131 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15135 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15138 $as_echo_n "checking for atomic builtins for short... " >&6; }
15139 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15143 if test x$gcc_no_link = xyes; then
15144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15150 main ()
15152 typedef short atomic_type;
15153 atomic_type c1;
15154 atomic_type c2;
15155 const atomic_type c3(0);
15156 __sync_fetch_and_add(&c1, c2);
15157 __sync_val_compare_and_swap(&c1, c3, c2);
15158 __sync_lock_test_and_set(&c1, c3);
15159 __sync_lock_release(&c1);
15160 __sync_synchronize();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_cxx_try_link "$LINENO"; then :
15166 glibcxx_cv_atomic_short=yes
15167 else
15168 glibcxx_cv_atomic_short=no
15170 rm -f core conftest.err conftest.$ac_objext \
15171 conftest$ac_exeext conftest.$ac_ext
15175 if test $glibcxx_cv_atomic_short = yes; then
15177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15181 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15184 $as_echo_n "checking for atomic builtins for int... " >&6; }
15185 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15189 if test x$gcc_no_link = xyes; then
15190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15196 main ()
15198 typedef int atomic_type;
15199 atomic_type c1;
15200 atomic_type c2;
15201 const atomic_type c3(0);
15202 __sync_fetch_and_add(&c1, c2);
15203 __sync_val_compare_and_swap(&c1, c3, c2);
15204 __sync_lock_test_and_set(&c1, c3);
15205 __sync_lock_release(&c1);
15206 __sync_synchronize();
15208 return 0;
15210 _ACEOF
15211 if ac_fn_cxx_try_link "$LINENO"; then :
15212 glibcxx_cv_atomic_int=yes
15213 else
15214 glibcxx_cv_atomic_int=no
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15221 if test $glibcxx_cv_atomic_int = yes; then
15223 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15227 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15230 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15231 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef long long atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 const atomic_type c3(0);
15248 __sync_fetch_and_add(&c1, c2);
15249 __sync_val_compare_and_swap(&c1, c3, c2);
15250 __sync_lock_test_and_set(&c1, c3);
15251 __sync_lock_release(&c1);
15252 __sync_synchronize();
15254 return 0;
15256 _ACEOF
15257 if ac_fn_cxx_try_link "$LINENO"; then :
15258 glibcxx_cv_atomic_long_long=yes
15259 else
15260 glibcxx_cv_atomic_long_long=no
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15267 if test $glibcxx_cv_atomic_long_long = yes; then
15269 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15273 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15275 else
15277 # Do asm tests.
15279 # Compile unoptimized.
15280 CXXFLAGS='-O0 -S'
15282 # Fake what AC_TRY_COMPILE does.
15284 cat > conftest.$ac_ext << EOF
15285 #line 15285 "configure"
15286 int main()
15288 typedef bool atomic_type;
15289 atomic_type c1;
15290 atomic_type c2;
15291 const atomic_type c3(0);
15292 __sync_fetch_and_add(&c1, c2);
15293 __sync_val_compare_and_swap(&c1, c3, c2);
15294 __sync_lock_test_and_set(&c1, c3);
15295 __sync_lock_release(&c1);
15296 __sync_synchronize();
15297 return 0;
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15302 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15304 (eval $ac_compile) 2>&5
15305 ac_status=$?
15306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15307 test $ac_status = 0; }; then
15308 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15309 glibcxx_cv_atomic_bool=no
15310 else
15312 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15314 glibcxx_cv_atomic_bool=yes
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15318 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15319 rm -f conftest*
15321 cat > conftest.$ac_ext << EOF
15322 #line 15322 "configure"
15323 int main()
15325 typedef short atomic_type;
15326 atomic_type c1;
15327 atomic_type c2;
15328 const atomic_type c3(0);
15329 __sync_fetch_and_add(&c1, c2);
15330 __sync_val_compare_and_swap(&c1, c3, c2);
15331 __sync_lock_test_and_set(&c1, c3);
15332 __sync_lock_release(&c1);
15333 __sync_synchronize();
15334 return 0;
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15339 $as_echo_n "checking for atomic builtins for short... " >&6; }
15340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15341 (eval $ac_compile) 2>&5
15342 ac_status=$?
15343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344 test $ac_status = 0; }; then
15345 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15346 glibcxx_cv_atomic_short=no
15347 else
15349 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15351 glibcxx_cv_atomic_short=yes
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15355 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15356 rm -f conftest*
15358 cat > conftest.$ac_ext << EOF
15359 #line 15359 "configure"
15360 int main()
15362 // NB: _Atomic_word not necessarily int.
15363 typedef int atomic_type;
15364 atomic_type c1;
15365 atomic_type c2;
15366 const atomic_type c3(0);
15367 __sync_fetch_and_add(&c1, c2);
15368 __sync_val_compare_and_swap(&c1, c3, c2);
15369 __sync_lock_test_and_set(&c1, c3);
15370 __sync_lock_release(&c1);
15371 __sync_synchronize();
15372 return 0;
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15377 $as_echo_n "checking for atomic builtins for int... " >&6; }
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379 (eval $ac_compile) 2>&5
15380 ac_status=$?
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15383 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384 glibcxx_cv_atomic_int=no
15385 else
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15389 glibcxx_cv_atomic_int=yes
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15393 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15394 rm -f conftest*
15396 cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15398 int main()
15400 typedef long long atomic_type;
15401 atomic_type c1;
15402 atomic_type c2;
15403 const atomic_type c3(0);
15404 __sync_fetch_and_add(&c1, c2);
15405 __sync_val_compare_and_swap(&c1, c3, c2);
15406 __sync_lock_test_and_set(&c1, c3);
15407 __sync_lock_release(&c1);
15408 __sync_synchronize();
15409 return 0;
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15414 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15416 (eval $ac_compile) 2>&5
15417 ac_status=$?
15418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 test $ac_status = 0; }; then
15420 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15421 glibcxx_cv_atomic_long_long=no
15422 else
15424 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15426 glibcxx_cv_atomic_long_long=yes
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15430 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15431 rm -f conftest*
15435 CXXFLAGS="$old_CXXFLAGS"
15436 ac_ext=c
15437 ac_cpp='$CPP $CPPFLAGS'
15438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15443 # Set atomicity_dir to builtins if either of above tests pass.
15444 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15445 atomicity_dir=cpu/generic/atomicity_builtins
15448 # If still generic, set to mutex.
15449 if test $atomicity_dir = "cpu/generic" ; then
15450 atomicity_dir=cpu/generic/atomicity_mutex
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15452 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15453 if test "x$target_thread_file" = xsingle; then
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15455 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15457 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15458 else
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15460 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15462 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15469 # Fake what AC_TRY_COMPILE does, without linking as this is
15470 # unnecessary for this test.
15472 cat > conftest.$ac_ext << EOF
15473 #line 15473 "configure"
15474 int main()
15476 _Decimal32 d1;
15477 _Decimal64 d2;
15478 _Decimal128 d3;
15479 return 0;
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15484 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15486 (eval $ac_compile) 2>&5
15487 ac_status=$?
15488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 test $ac_status = 0; }; then
15491 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15493 enable_dfp=yes
15494 else
15495 enable_dfp=no
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15498 $as_echo "$enable_dfp" >&6; }
15499 rm -f conftest*
15502 # Checks for compiler support that doesn't require linking.
15504 # All these tests are for C++; save the language and the compiler flags.
15505 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15506 # found in GLIBCXX_CONFIGURE.
15508 ac_ext=cpp
15509 ac_cpp='$CXXCPP $CPPFLAGS'
15510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15514 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15515 ac_save_CXXFLAGS="$CXXFLAGS"
15517 # Check for maintainer-mode bits.
15518 if test x"$USE_MAINTAINER_MODE" = xno; then
15519 WERROR=''
15520 else
15521 WERROR='-Werror'
15524 # Check for -ffunction-sections -fdata-sections
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15526 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15527 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15530 int foo; void bar() { };
15532 main ()
15536 return 0;
15538 _ACEOF
15539 if ac_fn_cxx_try_compile "$LINENO"; then :
15540 ac_fdsections=yes
15541 else
15542 ac_fdsections=no
15544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 if test "$ac_test_CXXFLAGS" = set; then
15546 CXXFLAGS="$ac_save_CXXFLAGS"
15547 else
15548 # this is the suspicious part
15549 CXXFLAGS=''
15551 if test x"$ac_fdsections" = x"yes"; then
15552 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15555 $as_echo "$ac_fdsections" >&6; }
15557 ac_ext=c
15558 ac_cpp='$CPP $CPPFLAGS'
15559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15567 # Enable all the variable C++ runtime options that don't require linking.
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15570 $as_echo_n "checking for underlying I/O to use... " >&6; }
15571 # Check whether --enable-cstdio was given.
15572 if test "${enable_cstdio+set}" = set; then :
15573 enableval=$enable_cstdio;
15574 case "$enableval" in
15575 stdio) ;;
15576 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15577 esac
15579 else
15580 enable_cstdio=stdio
15585 # Now that libio has been removed, you can have any color you want as long
15586 # as it's black. This is one big no-op until other packages are added, but
15587 # showing the framework never hurts.
15588 case ${enable_cstdio} in
15589 stdio)
15590 CSTDIO_H=config/io/c_io_stdio.h
15591 BASIC_FILE_H=config/io/basic_file_stdio.h
15592 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15594 $as_echo "stdio" >&6; }
15596 esac
15603 # Check whether --enable-clocale was given.
15604 if test "${enable_clocale+set}" = set; then :
15605 enableval=$enable_clocale;
15606 case "$enableval" in
15607 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15608 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15609 esac
15611 else
15612 enable_clocale=auto
15617 # Deal with gettext issues. Default to not using it (=no) until we detect
15618 # support for it later. Let the user turn it off via --e/d, but let that
15619 # default to on for easier handling.
15620 USE_NLS=no
15621 # Check whether --enable-nls was given.
15622 if test "${enable_nls+set}" = set; then :
15623 enableval=$enable_nls;
15624 else
15625 enable_nls=yes
15629 # Either a known packaage, or "auto"
15630 if test $enable_clocale = no || test $enable_clocale = yes; then
15631 enable_clocale=auto
15633 enable_clocale_flag=$enable_clocale
15635 # Probe for locale model to use if none specified.
15636 # Default to "generic".
15637 if test $enable_clocale_flag = auto; then
15638 case ${target_os} in
15639 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15640 enable_clocale_flag=gnu
15642 darwin* | freebsd*)
15643 enable_clocale_flag=darwin
15646 enable_clocale_flag=generic
15648 esac
15651 # Sanity check model, and test for special functionality.
15652 if test $enable_clocale_flag = gnu; then
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15656 #include <features.h>
15657 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15658 _GLIBCXX_ok
15659 #endif
15661 _ACEOF
15662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15663 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15664 enable_clocale_flag=gnu
15665 else
15666 enable_clocale_flag=generic
15668 rm -f conftest*
15671 # Set it to scream when it hurts.
15672 ac_save_CFLAGS="$CFLAGS"
15673 CFLAGS="-Wimplicit-function-declaration -Werror"
15675 # Use strxfrm_l if available.
15676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h. */
15678 #define _GNU_SOURCE 1
15679 #include <string.h>
15680 #include <locale.h>
15682 main ()
15684 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_compile "$LINENO"; then :
15691 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15696 # Use strerror_l if available.
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15699 #define _GNU_SOURCE 1
15700 #include <string.h>
15701 #include <locale.h>
15703 main ()
15705 __locale_t loc; strerror_l(5, loc);
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_compile "$LINENO"; then :
15712 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15717 CFLAGS="$ac_save_CFLAGS"
15720 # Perhaps use strerror_r if available, and strerror_l isn't.
15721 ac_save_CFLAGS="$CFLAGS"
15722 CFLAGS="-Wimplicit-function-declaration -Werror"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15725 #define _GNU_SOURCE 1
15726 #include <string.h>
15727 #include <locale.h>
15729 main ()
15731 char s[128]; strerror_r(5, s, 128);
15733 return 0;
15735 _ACEOF
15736 if ac_fn_c_try_compile "$LINENO"; then :
15738 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 CFLAGS="$ac_save_CFLAGS"
15744 # Set configure bits for specified locale package
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15746 $as_echo_n "checking for C locale to use... " >&6; }
15747 case ${enable_clocale_flag} in
15748 generic)
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15750 $as_echo "generic" >&6; }
15752 CLOCALE_H=config/locale/generic/c_locale.h
15753 CLOCALE_CC=config/locale/generic/c_locale.cc
15754 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15755 CCOLLATE_CC=config/locale/generic/collate_members.cc
15756 CCTYPE_CC=config/locale/generic/ctype_members.cc
15757 CMESSAGES_H=config/locale/generic/messages_members.h
15758 CMESSAGES_CC=config/locale/generic/messages_members.cc
15759 CMONEY_CC=config/locale/generic/monetary_members.cc
15760 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15761 CTIME_H=config/locale/generic/time_members.h
15762 CTIME_CC=config/locale/generic/time_members.cc
15763 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15765 darwin)
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15767 $as_echo "darwin or freebsd" >&6; }
15769 CLOCALE_H=config/locale/generic/c_locale.h
15770 CLOCALE_CC=config/locale/generic/c_locale.cc
15771 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15772 CCOLLATE_CC=config/locale/generic/collate_members.cc
15773 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15774 CMESSAGES_H=config/locale/generic/messages_members.h
15775 CMESSAGES_CC=config/locale/generic/messages_members.cc
15776 CMONEY_CC=config/locale/generic/monetary_members.cc
15777 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15778 CTIME_H=config/locale/generic/time_members.h
15779 CTIME_CC=config/locale/generic/time_members.cc
15780 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15783 gnu)
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15785 $as_echo "gnu" >&6; }
15787 # Declare intention to use gettext, and add support for specific
15788 # languages.
15789 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15790 ALL_LINGUAS="de fr"
15792 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15793 # Extract the first word of "msgfmt", so it can be a program name with args.
15794 set dummy msgfmt; ac_word=$2
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15796 $as_echo_n "checking for $ac_word... " >&6; }
15797 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 if test -n "$check_msgfmt"; then
15801 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15802 else
15803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15804 for as_dir in $PATH
15806 IFS=$as_save_IFS
15807 test -z "$as_dir" && as_dir=.
15808 for ac_exec_ext in '' $ac_executable_extensions; do
15809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15810 ac_cv_prog_check_msgfmt="yes"
15811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15812 break 2
15814 done
15815 done
15816 IFS=$as_save_IFS
15818 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15821 check_msgfmt=$ac_cv_prog_check_msgfmt
15822 if test -n "$check_msgfmt"; then
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15824 $as_echo "$check_msgfmt" >&6; }
15825 else
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15827 $as_echo "no" >&6; }
15831 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15832 USE_NLS=yes
15834 # Export the build objects.
15835 for ling in $ALL_LINGUAS; do \
15836 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15837 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15838 done
15842 CLOCALE_H=config/locale/gnu/c_locale.h
15843 CLOCALE_CC=config/locale/gnu/c_locale.cc
15844 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15845 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15846 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15847 CMESSAGES_H=config/locale/gnu/messages_members.h
15848 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15849 CMONEY_CC=config/locale/gnu/monetary_members.cc
15850 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15851 CTIME_H=config/locale/gnu/time_members.h
15852 CTIME_CC=config/locale/gnu/time_members.cc
15853 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15855 ieee_1003.1-2001)
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15857 $as_echo "IEEE 1003.1" >&6; }
15859 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15860 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15861 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15862 CCOLLATE_CC=config/locale/generic/collate_members.cc
15863 CCTYPE_CC=config/locale/generic/ctype_members.cc
15864 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15865 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15866 CMONEY_CC=config/locale/generic/monetary_members.cc
15867 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15868 CTIME_H=config/locale/generic/time_members.h
15869 CTIME_CC=config/locale/generic/time_members.cc
15870 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15872 esac
15874 # This is where the testsuite looks for locale catalogs, using the
15875 # -DLOCALEDIR define during testsuite compilation.
15876 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15879 # A standalone libintl (e.g., GNU libintl) may be in use.
15880 if test $USE_NLS = yes; then
15881 for ac_header in libintl.h
15882 do :
15883 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15884 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_LIBINTL_H 1
15887 _ACEOF
15889 else
15890 USE_NLS=no
15893 done
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15896 $as_echo_n "checking for library containing gettext... " >&6; }
15897 if test "${ac_cv_search_gettext+set}" = set; then :
15898 $as_echo_n "(cached) " >&6
15899 else
15900 ac_func_search_save_LIBS=$LIBS
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char gettext ();
15912 main ()
15914 return gettext ();
15916 return 0;
15918 _ACEOF
15919 for ac_lib in '' intl; do
15920 if test -z "$ac_lib"; then
15921 ac_res="none required"
15922 else
15923 ac_res=-l$ac_lib
15924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15926 if test x$gcc_no_link = xyes; then
15927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15929 if ac_fn_c_try_link "$LINENO"; then :
15930 ac_cv_search_gettext=$ac_res
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext
15934 if test "${ac_cv_search_gettext+set}" = set; then :
15935 break
15937 done
15938 if test "${ac_cv_search_gettext+set}" = set; then :
15940 else
15941 ac_cv_search_gettext=no
15943 rm conftest.$ac_ext
15944 LIBS=$ac_func_search_save_LIBS
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15947 $as_echo "$ac_cv_search_gettext" >&6; }
15948 ac_res=$ac_cv_search_gettext
15949 if test "$ac_res" != no; then :
15950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15952 else
15953 USE_NLS=no
15957 if test $USE_NLS = yes; then
15959 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15979 $as_echo_n "checking for std::allocator base class... " >&6; }
15980 # Check whether --enable-libstdcxx-allocator was given.
15981 if test "${enable_libstdcxx_allocator+set}" = set; then :
15982 enableval=$enable_libstdcxx_allocator;
15983 case "$enableval" in
15984 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15985 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15986 esac
15988 else
15989 enable_libstdcxx_allocator=auto
15994 # If they didn't use this option switch, or if they specified --enable
15995 # with no specific model, we'll have to look for one. If they
15996 # specified --disable (???), do likewise.
15997 if test $enable_libstdcxx_allocator = no ||
15998 test $enable_libstdcxx_allocator = yes;
15999 then
16000 enable_libstdcxx_allocator=auto
16003 # Either a known package, or "auto". Auto implies the default choice
16004 # for a particular platform.
16005 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16007 # Probe for host-specific support if no specific model is specified.
16008 # Default to "new".
16009 if test $enable_libstdcxx_allocator_flag = auto; then
16010 case ${target_os} in
16011 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16012 enable_libstdcxx_allocator_flag=new
16015 enable_libstdcxx_allocator_flag=new
16017 esac
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16020 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16023 # Set configure bits for specified locale package
16024 case ${enable_libstdcxx_allocator_flag} in
16025 bitmap)
16026 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16027 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16029 malloc)
16030 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16031 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16034 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16035 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16037 new)
16038 ALLOCATOR_H=config/allocator/new_allocator_base.h
16039 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16041 pool)
16042 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16043 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16045 esac
16051 # Check whether --enable-cheaders was given.
16052 if test "${enable_cheaders+set}" = set; then :
16053 enableval=$enable_cheaders;
16054 case "$enableval" in
16055 c|c_std|c_global) ;;
16056 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16057 esac
16059 else
16060 enable_cheaders=$c_model
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16065 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16067 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16069 # Allow overrides to configure.host here.
16070 if test $enable_cheaders = c_global; then
16071 c_compatibility=yes
16074 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16075 c_extra=yes
16085 # Check whether --enable-long-long was given.
16086 if test "${enable_long_long+set}" = set; then :
16087 enableval=$enable_long_long;
16088 case "$enableval" in
16089 yes|no) ;;
16090 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16091 esac
16093 else
16094 enable_long_long=yes
16098 if test $enable_long_long = yes; then
16100 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16104 $as_echo_n "checking for enabled long long specializations... " >&6; }
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16106 $as_echo "$enable_long_long" >&6; }
16109 # Check whether --enable-wchar_t was given.
16110 if test "${enable_wchar_t+set}" = set; then :
16111 enableval=$enable_wchar_t;
16112 case "$enableval" in
16113 yes|no) ;;
16114 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16115 esac
16117 else
16118 enable_wchar_t=yes
16123 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16124 for ac_header in wchar.h
16125 do :
16126 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_WCHAR_H 1
16130 _ACEOF
16131 ac_has_wchar_h=yes
16132 else
16133 ac_has_wchar_h=no
16136 done
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16139 $as_echo_n "checking for mbstate_t... " >&6; }
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16142 #include <wchar.h>
16144 main ()
16146 mbstate_t teststate;
16148 return 0;
16150 _ACEOF
16151 if ac_fn_c_try_compile "$LINENO"; then :
16152 have_mbstate_t=yes
16153 else
16154 have_mbstate_t=no
16156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16158 $as_echo "$have_mbstate_t" >&6; }
16159 if test x"$have_mbstate_t" = xyes; then
16161 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16165 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16166 # ac_has_wchar_h.
16167 for ac_header in wctype.h
16168 do :
16169 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16170 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define HAVE_WCTYPE_H 1
16173 _ACEOF
16174 ac_has_wctype_h=yes
16175 else
16176 ac_has_wctype_h=no
16179 done
16182 if test x"$enable_wchar_t" = x"yes"; then
16185 ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16192 if test x"$ac_has_wchar_h" = xyes &&
16193 test x"$ac_has_wctype_h" = xyes; then
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16196 #include <wchar.h>
16197 #include <stddef.h>
16198 wint_t i;
16199 long l = WEOF;
16200 long j = WCHAR_MIN;
16201 long k = WCHAR_MAX;
16202 namespace test
16204 using ::btowc;
16205 using ::fgetwc;
16206 using ::fgetws;
16207 using ::fputwc;
16208 using ::fputws;
16209 using ::fwide;
16210 using ::fwprintf;
16211 using ::fwscanf;
16212 using ::getwc;
16213 using ::getwchar;
16214 using ::mbrlen;
16215 using ::mbrtowc;
16216 using ::mbsinit;
16217 using ::mbsrtowcs;
16218 using ::putwc;
16219 using ::putwchar;
16220 using ::swprintf;
16221 using ::swscanf;
16222 using ::ungetwc;
16223 using ::vfwprintf;
16224 using ::vswprintf;
16225 using ::vwprintf;
16226 using ::wcrtomb;
16227 using ::wcscat;
16228 using ::wcschr;
16229 using ::wcscmp;
16230 using ::wcscoll;
16231 using ::wcscpy;
16232 using ::wcscspn;
16233 using ::wcsftime;
16234 using ::wcslen;
16235 using ::wcsncat;
16236 using ::wcsncmp;
16237 using ::wcsncpy;
16238 using ::wcspbrk;
16239 using ::wcsrchr;
16240 using ::wcsrtombs;
16241 using ::wcsspn;
16242 using ::wcsstr;
16243 using ::wcstod;
16244 using ::wcstok;
16245 using ::wcstol;
16246 using ::wcstoul;
16247 using ::wcsxfrm;
16248 using ::wctob;
16249 using ::wmemchr;
16250 using ::wmemcmp;
16251 using ::wmemcpy;
16252 using ::wmemmove;
16253 using ::wmemset;
16254 using ::wprintf;
16255 using ::wscanf;
16259 main ()
16263 return 0;
16265 _ACEOF
16266 if ac_fn_cxx_try_compile "$LINENO"; then :
16268 else
16269 enable_wchar_t=no
16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272 else
16273 enable_wchar_t=no
16276 ac_ext=c
16277 ac_cpp='$CPP $CPPFLAGS'
16278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16284 if test x"$enable_wchar_t" = x"yes"; then
16286 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16291 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16293 $as_echo "$enable_wchar_t" >&6; }
16297 # Check whether --enable-c99 was given.
16298 if test "${enable_c99+set}" = set; then :
16299 enableval=$enable_c99;
16300 case "$enableval" in
16301 yes|no) ;;
16302 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16303 esac
16305 else
16306 enable_c99=yes
16311 if test x"$enable_c99" = x"yes"; then
16314 ac_ext=cpp
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16321 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16322 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16323 # spuriously enabled.
16324 # Long term, -std=c++0x could be even better, could manage to explicitely
16325 # request C99 facilities to the underlying C headers.
16326 ac_save_CXXFLAGS="$CXXFLAGS"
16327 CXXFLAGS="$CXXFLAGS -std=c++98"
16328 ac_save_LIBS="$LIBS"
16329 ac_save_gcc_no_link="$gcc_no_link"
16331 if test x$gcc_no_link != xyes; then
16332 # Use -fno-exceptions to that the C driver can link these tests without
16333 # hitting undefined references to personality routines.
16334 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16336 $as_echo_n "checking for sin in -lm... " >&6; }
16337 if test "${ac_cv_lib_m_sin+set}" = set; then :
16338 $as_echo_n "(cached) " >&6
16339 else
16340 ac_check_lib_save_LIBS=$LIBS
16341 LIBS="-lm $LIBS"
16342 if test x$gcc_no_link = xyes; then
16343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16348 /* Override any GCC internal prototype to avoid an error.
16349 Use char because int might match the return type of a GCC
16350 builtin and then its argument prototype would still apply. */
16351 #ifdef __cplusplus
16352 extern "C"
16353 #endif
16354 char sin ();
16356 main ()
16358 return sin ();
16360 return 0;
16362 _ACEOF
16363 if ac_fn_cxx_try_link "$LINENO"; then :
16364 ac_cv_lib_m_sin=yes
16365 else
16366 ac_cv_lib_m_sin=no
16368 rm -f core conftest.err conftest.$ac_objext \
16369 conftest$ac_exeext conftest.$ac_ext
16370 LIBS=$ac_check_lib_save_LIBS
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16373 $as_echo "$ac_cv_lib_m_sin" >&6; }
16374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16376 LIBS="$LIBS -lm"
16378 else
16380 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16381 gcc_no_link=yes
16387 # Check for the existence of <math.h> functions used if C99 is enabled.
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16389 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16390 if test "${glibcxx_cv_c99_math+set}" = set; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16394 if test x$gcc_no_link = xyes; then
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #include <math.h>
16398 volatile double d1, d2;
16399 volatile int i;
16401 main ()
16403 i = fpclassify(d1);
16404 i = isfinite(d1);
16405 i = isinf(d1);
16406 i = isnan(d1);
16407 i = isnormal(d1);
16408 i = signbit(d1);
16409 i = isgreater(d1, d2);
16410 i = isgreaterequal(d1, d2);
16411 i = isless(d1, d2);
16412 i = islessequal(d1, d2);
16413 i = islessgreater(d1, d2);
16414 i = islessgreater(d1, d2);
16415 i = isunordered(d1, d2);
16418 return 0;
16420 _ACEOF
16421 if ac_fn_cxx_try_compile "$LINENO"; then :
16422 glibcxx_cv_c99_math=yes
16423 else
16424 glibcxx_cv_c99_math=no
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 else
16428 if test x$gcc_no_link = xyes; then
16429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #include <math.h>
16434 volatile double d1, d2;
16435 volatile int i;
16437 main ()
16439 i = fpclassify(d1);
16440 i = isfinite(d1);
16441 i = isinf(d1);
16442 i = isnan(d1);
16443 i = isnormal(d1);
16444 i = signbit(d1);
16445 i = isgreater(d1, d2);
16446 i = isgreaterequal(d1, d2);
16447 i = isless(d1, d2);
16448 i = islessequal(d1, d2);
16449 i = islessgreater(d1, d2);
16450 i = islessgreater(d1, d2);
16451 i = isunordered(d1, d2);
16454 return 0;
16456 _ACEOF
16457 if ac_fn_cxx_try_link "$LINENO"; then :
16458 glibcxx_cv_c99_math=yes
16459 else
16460 glibcxx_cv_c99_math=no
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16469 $as_echo "$glibcxx_cv_c99_math" >&6; }
16470 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16472 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16476 # Check for the existence of <complex.h> complex math functions.
16477 # This is necessary even though libstdc++ uses the builtin versions
16478 # of these functions, because if the builtin cannot be used, a reference
16479 # to the library function is emitted.
16480 for ac_header in tgmath.h
16481 do :
16482 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16483 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_TGMATH_H 1
16486 _ACEOF
16487 ac_has_tgmath_h=yes
16488 else
16489 ac_has_tgmath_h=no
16492 done
16494 for ac_header in complex.h
16495 do :
16496 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16497 if test "x$ac_cv_header_complex_h" = x""yes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_COMPLEX_H 1
16500 _ACEOF
16501 ac_has_complex_h=yes
16502 else
16503 ac_has_complex_h=no
16506 done
16508 glibcxx_cv_c99_complex=no;
16509 if test x"$ac_has_complex_h" = x"yes"; then
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16511 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16512 if test x$gcc_no_link = xyes; then
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16515 #include <complex.h>
16516 typedef __complex__ float float_type;
16517 typedef __complex__ double double_type;
16518 typedef __complex__ long double ld_type;
16519 volatile float_type tmpf;
16520 volatile double_type tmpd;
16521 volatile ld_type tmpld;
16522 volatile float f;
16523 volatile double d;
16524 volatile long double ld;
16526 main ()
16528 f = cabsf(tmpf);
16529 f = cargf(tmpf);
16530 tmpf = ccosf(tmpf);
16531 tmpf = ccoshf(tmpf);
16532 tmpf = cexpf(tmpf);
16533 tmpf = clogf(tmpf);
16534 tmpf = csinf(tmpf);
16535 tmpf = csinhf(tmpf);
16536 tmpf = csqrtf(tmpf);
16537 tmpf = ctanf(tmpf);
16538 tmpf = ctanhf(tmpf);
16539 tmpf = cpowf(tmpf, tmpf);
16540 tmpf = cprojf(tmpf);
16541 d = cabs(tmpd);
16542 d = carg(tmpd);
16543 tmpd = ccos(tmpd);
16544 tmpd = ccosh(tmpd);
16545 tmpd = cexp(tmpd);
16546 tmpd = clog(tmpd);
16547 tmpd = csin(tmpd);
16548 tmpd = csinh(tmpd);
16549 tmpd = csqrt(tmpd);
16550 tmpd = ctan(tmpd);
16551 tmpd = ctanh(tmpd);
16552 tmpd = cpow(tmpd, tmpd);
16553 tmpd = cproj(tmpd);
16554 ld = cabsl(tmpld);
16555 ld = cargl(tmpld);
16556 tmpld = ccosl(tmpld);
16557 tmpld = ccoshl(tmpld);
16558 tmpld = cexpl(tmpld);
16559 tmpld = clogl(tmpld);
16560 tmpld = csinl(tmpld);
16561 tmpld = csinhl(tmpld);
16562 tmpld = csqrtl(tmpld);
16563 tmpld = ctanl(tmpld);
16564 tmpld = ctanhl(tmpld);
16565 tmpld = cpowl(tmpld, tmpld);
16566 tmpld = cprojl(tmpld);
16569 return 0;
16571 _ACEOF
16572 if ac_fn_cxx_try_compile "$LINENO"; then :
16573 glibcxx_cv_c99_complex=yes
16574 else
16575 glibcxx_cv_c99_complex=no
16577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16578 else
16579 if test x$gcc_no_link = xyes; then
16580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 #include <complex.h>
16585 typedef __complex__ float float_type;
16586 typedef __complex__ double double_type;
16587 typedef __complex__ long double ld_type;
16588 volatile float_type tmpf;
16589 volatile double_type tmpd;
16590 volatile ld_type tmpld;
16591 volatile float f;
16592 volatile double d;
16593 volatile long double ld;
16595 main ()
16597 f = cabsf(tmpf);
16598 f = cargf(tmpf);
16599 tmpf = ccosf(tmpf);
16600 tmpf = ccoshf(tmpf);
16601 tmpf = cexpf(tmpf);
16602 tmpf = clogf(tmpf);
16603 tmpf = csinf(tmpf);
16604 tmpf = csinhf(tmpf);
16605 tmpf = csqrtf(tmpf);
16606 tmpf = ctanf(tmpf);
16607 tmpf = ctanhf(tmpf);
16608 tmpf = cpowf(tmpf, tmpf);
16609 tmpf = cprojf(tmpf);
16610 d = cabs(tmpd);
16611 d = carg(tmpd);
16612 tmpd = ccos(tmpd);
16613 tmpd = ccosh(tmpd);
16614 tmpd = cexp(tmpd);
16615 tmpd = clog(tmpd);
16616 tmpd = csin(tmpd);
16617 tmpd = csinh(tmpd);
16618 tmpd = csqrt(tmpd);
16619 tmpd = ctan(tmpd);
16620 tmpd = ctanh(tmpd);
16621 tmpd = cpow(tmpd, tmpd);
16622 tmpd = cproj(tmpd);
16623 ld = cabsl(tmpld);
16624 ld = cargl(tmpld);
16625 tmpld = ccosl(tmpld);
16626 tmpld = ccoshl(tmpld);
16627 tmpld = cexpl(tmpld);
16628 tmpld = clogl(tmpld);
16629 tmpld = csinl(tmpld);
16630 tmpld = csinhl(tmpld);
16631 tmpld = csqrtl(tmpld);
16632 tmpld = ctanl(tmpld);
16633 tmpld = ctanhl(tmpld);
16634 tmpld = cpowl(tmpld, tmpld);
16635 tmpld = cprojl(tmpld);
16638 return 0;
16640 _ACEOF
16641 if ac_fn_cxx_try_link "$LINENO"; then :
16642 glibcxx_cv_c99_complex=yes
16643 else
16644 glibcxx_cv_c99_complex=no
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16651 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16652 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16654 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16658 # Check for the existence in <stdio.h> of vscanf, et. al.
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16660 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16661 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16665 if test x$gcc_no_link = xyes; then
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16668 #include <stdio.h>
16669 #include <stdarg.h>
16670 void foo(char* fmt, ...)
16672 va_list args; va_start(args, fmt);
16673 vfscanf(stderr, "%i", args);
16674 vscanf("%i", args);
16675 vsnprintf(fmt, 0, "%i", args);
16676 vsscanf(fmt, "%i", args);
16679 main ()
16681 snprintf("12", 0, "%i");
16683 return 0;
16685 _ACEOF
16686 if ac_fn_cxx_try_compile "$LINENO"; then :
16687 glibcxx_cv_c99_stdio=yes
16688 else
16689 glibcxx_cv_c99_stdio=no
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692 else
16693 if test x$gcc_no_link = xyes; then
16694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <stdio.h>
16699 #include <stdarg.h>
16700 void foo(char* fmt, ...)
16702 va_list args; va_start(args, fmt);
16703 vfscanf(stderr, "%i", args);
16704 vscanf("%i", args);
16705 vsnprintf(fmt, 0, "%i", args);
16706 vsscanf(fmt, "%i", args);
16709 main ()
16711 snprintf("12", 0, "%i");
16713 return 0;
16715 _ACEOF
16716 if ac_fn_cxx_try_link "$LINENO"; then :
16717 glibcxx_cv_c99_stdio=yes
16718 else
16719 glibcxx_cv_c99_stdio=no
16721 rm -f core conftest.err conftest.$ac_objext \
16722 conftest$ac_exeext conftest.$ac_ext
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16728 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16730 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16732 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16733 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16737 if test x$gcc_no_link = xyes; then
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16740 #include <stdlib.h>
16741 volatile float f;
16742 volatile long double ld;
16743 volatile unsigned long long ll;
16744 lldiv_t mydivt;
16746 main ()
16748 char* tmp;
16749 f = strtof("gnu", &tmp);
16750 ld = strtold("gnu", &tmp);
16751 ll = strtoll("gnu", &tmp, 10);
16752 ll = strtoull("gnu", &tmp, 10);
16753 ll = llabs(10);
16754 mydivt = lldiv(10,1);
16755 ll = mydivt.quot;
16756 ll = mydivt.rem;
16757 ll = atoll("10");
16758 _Exit(0);
16761 return 0;
16763 _ACEOF
16764 if ac_fn_cxx_try_compile "$LINENO"; then :
16765 glibcxx_cv_c99_stdlib=yes
16766 else
16767 glibcxx_cv_c99_stdlib=no
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 else
16771 if test x$gcc_no_link = xyes; then
16772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <stdlib.h>
16777 volatile float f;
16778 volatile long double ld;
16779 volatile unsigned long long ll;
16780 lldiv_t mydivt;
16782 main ()
16784 char* tmp;
16785 f = strtof("gnu", &tmp);
16786 ld = strtold("gnu", &tmp);
16787 ll = strtoll("gnu", &tmp, 10);
16788 ll = strtoull("gnu", &tmp, 10);
16789 ll = llabs(10);
16790 mydivt = lldiv(10,1);
16791 ll = mydivt.quot;
16792 ll = mydivt.rem;
16793 ll = atoll("10");
16794 _Exit(0);
16797 return 0;
16799 _ACEOF
16800 if ac_fn_cxx_try_link "$LINENO"; then :
16801 glibcxx_cv_c99_stdlib=yes
16802 else
16803 glibcxx_cv_c99_stdlib=no
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16812 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16814 # Check for the existence in <wchar.h> of wcstold, etc.
16815 glibcxx_cv_c99_wchar=no;
16816 if test x"$ac_has_wchar_h" = xyes &&
16817 test x"$ac_has_wctype_h" = xyes; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16819 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16822 #include <wchar.h>
16823 namespace test
16825 using ::wcstold;
16826 using ::wcstoll;
16827 using ::wcstoull;
16831 main ()
16835 return 0;
16837 _ACEOF
16838 if ac_fn_cxx_try_compile "$LINENO"; then :
16839 glibcxx_cv_c99_wchar=yes
16840 else
16841 glibcxx_cv_c99_wchar=no
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16845 # Checks for wide character functions that may not be present.
16846 # Injection of these is wrapped with guard macros.
16847 # NB: only put functions here, instead of immediately above, if
16848 # absolutely necessary.
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 #include <wchar.h>
16852 namespace test { using ::vfwscanf; }
16854 main ()
16858 return 0;
16860 _ACEOF
16861 if ac_fn_cxx_try_compile "$LINENO"; then :
16863 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <wchar.h>
16871 namespace test { using ::vswscanf; }
16873 main ()
16877 return 0;
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16882 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16889 #include <wchar.h>
16890 namespace test { using ::vwscanf; }
16892 main ()
16896 return 0;
16898 _ACEOF
16899 if ac_fn_cxx_try_compile "$LINENO"; then :
16901 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 #include <wchar.h>
16909 namespace test { using ::wcstof; }
16911 main ()
16915 return 0;
16917 _ACEOF
16918 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #include <wctype.h>
16929 main ()
16931 wint_t t; int i = iswblank(t);
16933 return 0;
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16938 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16944 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16947 # Option parsed, now set things appropriately.
16948 if test x"$glibcxx_cv_c99_math" = x"no" ||
16949 test x"$glibcxx_cv_c99_complex" = x"no" ||
16950 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16951 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16952 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16953 enable_c99=no;
16954 else
16956 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16960 gcc_no_link="$ac_save_gcc_no_link"
16961 LIBS="$ac_save_LIBS"
16962 CXXFLAGS="$ac_save_CXXFLAGS"
16963 ac_ext=c
16964 ac_cpp='$CPP $CPPFLAGS'
16965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16972 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16974 $as_echo "$enable_c99" >&6; }
16977 # Check whether --enable-concept-checks was given.
16978 if test "${enable_concept_checks+set}" = set; then :
16979 enableval=$enable_concept_checks;
16980 case "$enableval" in
16981 yes|no) ;;
16982 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16983 esac
16985 else
16986 enable_concept_checks=no
16990 if test $enable_concept_checks = yes; then
16992 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16997 # Check whether --enable-libstdcxx-debug-flags was given.
16998 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16999 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17000 xno | x) enable_libstdcxx_debug_flags= ;;
17001 x-*) ;;
17002 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17003 esac
17004 else
17005 enable_libstdcxx_debug_flags="-g3 -O0"
17010 # Option parsed, now set things appropriately
17011 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17015 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17019 $as_echo_n "checking for additional debug build... " >&6; }
17020 # Check whether --enable-libstdcxx-debug was given.
17021 if test "${enable_libstdcxx_debug+set}" = set; then :
17022 enableval=$enable_libstdcxx_debug;
17023 case "$enableval" in
17024 yes|no) ;;
17025 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17026 esac
17028 else
17029 enable_libstdcxx_debug=no
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17034 $as_echo "$enable_libstdcxx_debug" >&6; }
17039 enable_parallel=no;
17041 # See if configured libgomp/omp.h exists. (libgomp may be in
17042 # noconfigdirs but not explicitly disabled.)
17043 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17044 enable_parallel=yes;
17045 else
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17047 $as_echo "$as_me: target-libgomp not built" >&6;}
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17051 $as_echo_n "checking for parallel mode support... " >&6; }
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17053 $as_echo "$enable_parallel" >&6; }
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17057 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17058 # Check whether --enable-cxx-flags was given.
17059 if test "${enable_cxx_flags+set}" = set; then :
17060 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17061 xno | x) enable_cxx_flags= ;;
17062 x-*) ;;
17063 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17064 esac
17065 else
17066 enable_cxx_flags=
17071 # Run through flags (either default or command-line) and set anything
17072 # extra (e.g., #defines) that must accompany particular g++ options.
17073 if test -n "$enable_cxx_flags"; then
17074 for f in $enable_cxx_flags; do
17075 case "$f" in
17076 -fhonor-std) ;;
17077 -*) ;;
17078 *) # and we're trying to pass /what/ exactly?
17079 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17080 esac
17081 done
17084 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17086 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17090 # Check whether --enable-fully-dynamic-string was given.
17091 if test "${enable_fully_dynamic_string+set}" = set; then :
17092 enableval=$enable_fully_dynamic_string;
17093 case "$enableval" in
17094 yes|no) ;;
17095 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17096 esac
17098 else
17099 enable_fully_dynamic_string=no
17103 if test $enable_fully_dynamic_string = yes; then
17105 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17110 # Checks for operating systems support that doesn't require linking.
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17114 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17115 if test "${glibcxx_cv_system_error1+set}" = set; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <errno.h>
17123 main ()
17125 int i = EOWNERDEAD;
17127 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_compile "$LINENO"; then :
17131 glibcxx_cv_system_error1=yes
17132 else
17133 glibcxx_cv_system_error1=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17140 $as_echo "$glibcxx_cv_system_error1" >&6; }
17141 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17143 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17147 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17148 if test "${glibcxx_cv_system_error2+set}" = set; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <errno.h>
17156 main ()
17158 int i = ENOTRECOVERABLE;
17160 return 0;
17162 _ACEOF
17163 if ac_fn_c_try_compile "$LINENO"; then :
17164 glibcxx_cv_system_error2=yes
17165 else
17166 glibcxx_cv_system_error2=no
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17173 $as_echo "$glibcxx_cv_system_error2" >&6; }
17174 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17176 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17180 $as_echo_n "checking for ENOLINK... " >&6; }
17181 if test "${glibcxx_cv_system_error3+set}" = set; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 #include <errno.h>
17189 main ()
17191 int i = ENOLINK;
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_compile "$LINENO"; then :
17197 glibcxx_cv_system_error3=yes
17198 else
17199 glibcxx_cv_system_error3=no
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17206 $as_echo "$glibcxx_cv_system_error3" >&6; }
17207 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17209 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17213 $as_echo_n "checking for EPROTO... " >&6; }
17214 if test "${glibcxx_cv_system_error4+set}" = set; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17220 #include <errno.h>
17222 main ()
17224 int i = EPROTO;
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_compile "$LINENO"; then :
17230 glibcxx_cv_system_error4=yes
17231 else
17232 glibcxx_cv_system_error4=no
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17239 $as_echo "$glibcxx_cv_system_error4" >&6; }
17240 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17242 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17246 $as_echo_n "checking for ENODATA... " >&6; }
17247 if test "${glibcxx_cv_system_error5+set}" = set; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #include <errno.h>
17255 main ()
17257 int i = ENODATA;
17259 return 0;
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263 glibcxx_cv_system_error5=yes
17264 else
17265 glibcxx_cv_system_error5=no
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17272 $as_echo "$glibcxx_cv_system_error5" >&6; }
17273 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17275 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17279 $as_echo_n "checking for ENOSR... " >&6; }
17280 if test "${glibcxx_cv_system_error6+set}" = set; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 #include <errno.h>
17288 main ()
17290 int i = ENOSR;
17292 return 0;
17294 _ACEOF
17295 if ac_fn_c_try_compile "$LINENO"; then :
17296 glibcxx_cv_system_error6=yes
17297 else
17298 glibcxx_cv_system_error6=no
17300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17305 $as_echo "$glibcxx_cv_system_error6" >&6; }
17306 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17308 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17312 $as_echo_n "checking for ENOSTR... " >&6; }
17313 if test "${glibcxx_cv_system_error7+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <errno.h>
17321 main ()
17323 int i = ENOSTR;
17325 return 0;
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329 glibcxx_cv_system_error7=yes
17330 else
17331 glibcxx_cv_system_error7=no
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17338 $as_echo "$glibcxx_cv_system_error7" >&6; }
17339 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17341 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17345 $as_echo_n "checking for ETIME... " >&6; }
17346 if test "${glibcxx_cv_system_error8+set}" = set; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #include <errno.h>
17354 main ()
17356 int i = ETIME;
17358 return 0;
17360 _ACEOF
17361 if ac_fn_c_try_compile "$LINENO"; then :
17362 glibcxx_cv_system_error8=yes
17363 else
17364 glibcxx_cv_system_error8=no
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17371 $as_echo "$glibcxx_cv_system_error8" >&6; }
17372 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17374 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17378 $as_echo_n "checking for EBADMSG... " >&6; }
17379 if test "${glibcxx_cv_system_error9+set}" = set; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <errno.h>
17387 main ()
17389 int i = EBADMSG;
17391 return 0;
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17395 glibcxx_cv_system_error9=yes
17396 else
17397 glibcxx_cv_system_error9=no
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17404 $as_echo "$glibcxx_cv_system_error9" >&6; }
17405 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17407 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17411 $as_echo_n "checking for ECANCELED... " >&6; }
17412 if test "${glibcxx_cv_system_error10+set}" = set; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #include <errno.h>
17420 main ()
17422 int i = ECANCELED;
17424 return 0;
17426 _ACEOF
17427 if ac_fn_c_try_compile "$LINENO"; then :
17428 glibcxx_cv_system_error10=yes
17429 else
17430 glibcxx_cv_system_error10=no
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17437 $as_echo "$glibcxx_cv_system_error10" >&6; }
17438 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17440 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17444 $as_echo_n "checking for EOVERFLOW... " >&6; }
17445 if test "${glibcxx_cv_system_error11+set}" = set; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #include <errno.h>
17453 main ()
17455 int i = EOVERFLOW;
17457 return 0;
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461 glibcxx_cv_system_error11=yes
17462 else
17463 glibcxx_cv_system_error11=no
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17470 $as_echo "$glibcxx_cv_system_error11" >&6; }
17471 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17473 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17477 $as_echo_n "checking for ENOTSUP... " >&6; }
17478 if test "${glibcxx_cv_system_error12+set}" = set; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484 #include <errno.h>
17486 main ()
17488 int i = ENOTSUP;
17490 return 0;
17492 _ACEOF
17493 if ac_fn_c_try_compile "$LINENO"; then :
17494 glibcxx_cv_system_error12=yes
17495 else
17496 glibcxx_cv_system_error12=no
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17503 $as_echo "$glibcxx_cv_system_error12" >&6; }
17504 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17506 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17510 $as_echo_n "checking for EIDRM... " >&6; }
17511 if test "${glibcxx_cv_system_error13+set}" = set; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <errno.h>
17519 main ()
17521 int i = EIDRM;
17523 return 0;
17525 _ACEOF
17526 if ac_fn_c_try_compile "$LINENO"; then :
17527 glibcxx_cv_system_error13=yes
17528 else
17529 glibcxx_cv_system_error13=no
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17536 $as_echo "$glibcxx_cv_system_error13" >&6; }
17537 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17539 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17543 $as_echo_n "checking for ETXTBSY... " >&6; }
17544 if test "${glibcxx_cv_system_error14+set}" = set; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17550 #include <errno.h>
17552 main ()
17554 int i = ETXTBSY;
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_compile "$LINENO"; then :
17560 glibcxx_cv_system_error14=yes
17561 else
17562 glibcxx_cv_system_error14=no
17564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17569 $as_echo "$glibcxx_cv_system_error14" >&6; }
17570 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17572 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17578 # For the streamoff typedef.
17582 ac_ext=cpp
17583 ac_cpp='$CXXCPP $CPPFLAGS'
17584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17590 $as_echo_n "checking for int64_t... " >&6; }
17591 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <stdint.h>
17599 main ()
17601 int64_t var;
17603 return 0;
17605 _ACEOF
17606 if ac_fn_cxx_try_compile "$LINENO"; then :
17607 glibcxx_cv_INT64_T=yes
17608 else
17609 glibcxx_cv_INT64_T=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17616 if test $glibcxx_cv_INT64_T = yes; then
17618 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17621 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17624 $as_echo_n "checking for int64_t as long... " >&6; }
17625 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17626 $as_echo_n "(cached) " >&6
17627 else
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 #include <stdint.h>
17632 template<typename, typename> struct same { enum { value = -1 }; };
17633 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17634 int array[same<int64_t, long>::value];
17636 main ()
17640 return 0;
17642 _ACEOF
17643 if ac_fn_cxx_try_compile "$LINENO"; then :
17644 glibcxx_cv_int64_t_long=yes
17645 else
17646 glibcxx_cv_int64_t_long=no
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17653 if test $glibcxx_cv_int64_t_long = yes; then
17655 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17658 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17662 $as_echo_n "checking for int64_t as long long... " >&6; }
17663 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #include <stdint.h>
17670 template<typename, typename> struct same { enum { value = -1 }; };
17671 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17672 int array[same<int64_t, long long>::value];
17674 main ()
17678 return 0;
17680 _ACEOF
17681 if ac_fn_cxx_try_compile "$LINENO"; then :
17682 glibcxx_cv_int64_t_long_long=yes
17683 else
17684 glibcxx_cv_int64_t_long_long=no
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 if test $glibcxx_cv_int64_t_long_long = yes; then
17693 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17696 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17700 ac_ext=c
17701 ac_cpp='$CPP $CPPFLAGS'
17702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17708 # For LFS support.
17711 ac_ext=cpp
17712 ac_cpp='$CXXCPP $CPPFLAGS'
17713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17717 ac_save_CXXFLAGS="$CXXFLAGS"
17718 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17720 $as_echo_n "checking for LFS support... " >&6; }
17721 if test "${glibcxx_cv_LFS+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17725 if test x$gcc_no_link = xyes; then
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <unistd.h>
17729 #include <stdio.h>
17730 #include <sys/stat.h>
17733 main ()
17735 FILE* fp;
17736 fopen64("t", "w");
17737 fseeko64(fp, 0, SEEK_CUR);
17738 ftello64(fp);
17739 lseek64(1, 0, SEEK_CUR);
17740 struct stat64 buf;
17741 fstat64(1, &buf);
17743 return 0;
17745 _ACEOF
17746 if ac_fn_cxx_try_compile "$LINENO"; then :
17747 glibcxx_cv_LFS=yes
17748 else
17749 glibcxx_cv_LFS=no
17751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752 else
17753 if test x$gcc_no_link = xyes; then
17754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17758 #include <unistd.h>
17759 #include <stdio.h>
17760 #include <sys/stat.h>
17763 main ()
17765 FILE* fp;
17766 fopen64("t", "w");
17767 fseeko64(fp, 0, SEEK_CUR);
17768 ftello64(fp);
17769 lseek64(1, 0, SEEK_CUR);
17770 struct stat64 buf;
17771 fstat64(1, &buf);
17773 return 0;
17775 _ACEOF
17776 if ac_fn_cxx_try_link "$LINENO"; then :
17777 glibcxx_cv_LFS=yes
17778 else
17779 glibcxx_cv_LFS=no
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17787 if test $glibcxx_cv_LFS = yes; then
17789 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17793 $as_echo "$glibcxx_cv_LFS" >&6; }
17794 CXXFLAGS="$ac_save_CXXFLAGS"
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803 # For showmanyc_helper().
17804 for ac_header in sys/ioctl.h sys/filio.h
17805 do :
17806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17808 eval as_val=\$$as_ac_Header
17809 if test "x$as_val" = x""yes; then :
17810 cat >>confdefs.h <<_ACEOF
17811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17812 _ACEOF
17816 done
17821 ac_ext=cpp
17822 ac_cpp='$CXXCPP $CPPFLAGS'
17823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17827 ac_save_CXXFLAGS="$CXXFLAGS"
17828 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17831 $as_echo_n "checking for poll... " >&6; }
17832 if test "${glibcxx_cv_POLL+set}" = set; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17836 if test x$gcc_no_link = xyes; then
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <poll.h>
17841 main ()
17843 struct pollfd pfd[1];
17844 pfd[0].events = POLLIN;
17845 poll(pfd, 1, 0);
17847 return 0;
17849 _ACEOF
17850 if ac_fn_cxx_try_compile "$LINENO"; then :
17851 glibcxx_cv_POLL=yes
17852 else
17853 glibcxx_cv_POLL=no
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 else
17857 if test x$gcc_no_link = xyes; then
17858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 #include <poll.h>
17864 main ()
17866 struct pollfd pfd[1];
17867 pfd[0].events = POLLIN;
17868 poll(pfd, 1, 0);
17870 return 0;
17872 _ACEOF
17873 if ac_fn_cxx_try_link "$LINENO"; then :
17874 glibcxx_cv_POLL=yes
17875 else
17876 glibcxx_cv_POLL=no
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17884 if test $glibcxx_cv_POLL = yes; then
17886 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17890 $as_echo "$glibcxx_cv_POLL" >&6; }
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17903 ac_ext=cpp
17904 ac_cpp='$CXXCPP $CPPFLAGS'
17905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17909 ac_save_CXXFLAGS="$CXXFLAGS"
17910 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17913 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17914 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17918 if test x$gcc_no_link = xyes; then
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <sys/stat.h>
17923 main ()
17925 struct stat buffer;
17926 fstat(0, &buffer);
17927 S_ISREG(buffer.st_mode);
17929 return 0;
17931 _ACEOF
17932 if ac_fn_cxx_try_compile "$LINENO"; then :
17933 glibcxx_cv_S_ISREG=yes
17934 else
17935 glibcxx_cv_S_ISREG=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 else
17939 if test x$gcc_no_link = xyes; then
17940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #include <sys/stat.h>
17946 main ()
17948 struct stat buffer;
17949 fstat(0, &buffer);
17950 S_ISREG(buffer.st_mode);
17952 return 0;
17954 _ACEOF
17955 if ac_fn_cxx_try_link "$LINENO"; then :
17956 glibcxx_cv_S_ISREG=yes
17957 else
17958 glibcxx_cv_S_ISREG=no
17960 rm -f core conftest.err conftest.$ac_objext \
17961 conftest$ac_exeext conftest.$ac_ext
17966 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17967 $as_echo_n "(cached) " >&6
17968 else
17970 if test x$gcc_no_link = xyes; then
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 #include <sys/stat.h>
17975 main ()
17977 struct stat buffer;
17978 fstat(0, &buffer);
17979 S_IFREG & buffer.st_mode;
17981 return 0;
17983 _ACEOF
17984 if ac_fn_cxx_try_compile "$LINENO"; then :
17985 glibcxx_cv_S_IFREG=yes
17986 else
17987 glibcxx_cv_S_IFREG=no
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 else
17991 if test x$gcc_no_link = xyes; then
17992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <sys/stat.h>
17998 main ()
18000 struct stat buffer;
18001 fstat(0, &buffer);
18002 S_IFREG & buffer.st_mode;
18004 return 0;
18006 _ACEOF
18007 if ac_fn_cxx_try_link "$LINENO"; then :
18008 glibcxx_cv_S_IFREG=yes
18009 else
18010 glibcxx_cv_S_IFREG=no
18012 rm -f core conftest.err conftest.$ac_objext \
18013 conftest$ac_exeext conftest.$ac_ext
18018 res=no
18019 if test $glibcxx_cv_S_ISREG = yes; then
18021 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18023 res=S_ISREG
18024 elif test $glibcxx_cv_S_IFREG = yes; then
18026 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18028 res=S_IFREG
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18031 $as_echo "$res" >&6; }
18033 CXXFLAGS="$ac_save_CXXFLAGS"
18034 ac_ext=c
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18042 # For xsputn_2().
18043 for ac_header in sys/uio.h
18044 do :
18045 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18046 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18047 cat >>confdefs.h <<_ACEOF
18048 #define HAVE_SYS_UIO_H 1
18049 _ACEOF
18053 done
18058 ac_ext=cpp
18059 ac_cpp='$CXXCPP $CPPFLAGS'
18060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18064 ac_save_CXXFLAGS="$CXXFLAGS"
18065 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18068 $as_echo_n "checking for writev... " >&6; }
18069 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18070 $as_echo_n "(cached) " >&6
18071 else
18073 if test x$gcc_no_link = xyes; then
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18076 #include <sys/uio.h>
18078 main ()
18080 struct iovec iov[2];
18081 writev(0, iov, 0);
18083 return 0;
18085 _ACEOF
18086 if ac_fn_cxx_try_compile "$LINENO"; then :
18087 glibcxx_cv_WRITEV=yes
18088 else
18089 glibcxx_cv_WRITEV=no
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 else
18093 if test x$gcc_no_link = xyes; then
18094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <sys/uio.h>
18100 main ()
18102 struct iovec iov[2];
18103 writev(0, iov, 0);
18105 return 0;
18107 _ACEOF
18108 if ac_fn_cxx_try_link "$LINENO"; then :
18109 glibcxx_cv_WRITEV=yes
18110 else
18111 glibcxx_cv_WRITEV=no
18113 rm -f core conftest.err conftest.$ac_objext \
18114 conftest$ac_exeext conftest.$ac_ext
18119 if test $glibcxx_cv_WRITEV = yes; then
18121 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18125 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18127 CXXFLAGS="$ac_save_CXXFLAGS"
18128 ac_ext=c
18129 ac_cpp='$CPP $CPPFLAGS'
18130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18136 # For C99 support to TR1.
18140 ac_ext=cpp
18141 ac_cpp='$CXXCPP $CPPFLAGS'
18142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18147 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18148 # undefined and fake C99 facilities may be spuriously enabled.
18149 ac_save_CXXFLAGS="$CXXFLAGS"
18150 CXXFLAGS="$CXXFLAGS -std=c++98"
18152 # Check for the existence of <complex.h> complex math functions used
18153 # by tr1/complex.
18154 for ac_header in complex.h
18155 do :
18156 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_complex_h" = x""yes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_COMPLEX_H 1
18160 _ACEOF
18161 ac_has_complex_h=yes
18162 else
18163 ac_has_complex_h=no
18166 done
18168 ac_c99_complex_tr1=no;
18169 if test x"$ac_has_complex_h" = x"yes"; then
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18171 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18174 #include <complex.h>
18176 main ()
18178 typedef __complex__ float float_type; float_type tmpf;
18179 cacosf(tmpf);
18180 casinf(tmpf);
18181 catanf(tmpf);
18182 cacoshf(tmpf);
18183 casinhf(tmpf);
18184 catanhf(tmpf);
18185 typedef __complex__ double double_type; double_type tmpd;
18186 cacos(tmpd);
18187 casin(tmpd);
18188 catan(tmpd);
18189 cacosh(tmpd);
18190 casinh(tmpd);
18191 catanh(tmpd);
18192 typedef __complex__ long double ld_type; ld_type tmpld;
18193 cacosl(tmpld);
18194 casinl(tmpld);
18195 catanl(tmpld);
18196 cacoshl(tmpld);
18197 casinhl(tmpld);
18198 catanhl(tmpld);
18201 return 0;
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205 ac_c99_complex_tr1=yes
18206 else
18207 ac_c99_complex_tr1=no
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18212 $as_echo "$ac_c99_complex_tr1" >&6; }
18213 if test x"$ac_c99_complex_tr1" = x"yes"; then
18215 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18219 # Check for the existence of <ctype.h> functions.
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18221 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18222 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18223 $as_echo_n "(cached) " >&6
18224 else
18226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h. */
18228 #include <ctype.h>
18230 main ()
18232 int ch;
18233 int ret;
18234 ret = isblank(ch);
18237 return 0;
18239 _ACEOF
18240 if ac_fn_cxx_try_compile "$LINENO"; then :
18241 glibcxx_cv_c99_ctype_tr1=yes
18242 else
18243 glibcxx_cv_c99_ctype_tr1=no
18245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18250 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18251 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18253 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18257 # Check for the existence of <fenv.h> functions.
18258 for ac_header in fenv.h
18259 do :
18260 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18261 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18262 cat >>confdefs.h <<_ACEOF
18263 #define HAVE_FENV_H 1
18264 _ACEOF
18265 ac_has_fenv_h=yes
18266 else
18267 ac_has_fenv_h=no
18270 done
18272 ac_c99_fenv_tr1=no;
18273 if test x"$ac_has_fenv_h" = x"yes"; then
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18275 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h. */
18278 #include <fenv.h>
18280 main ()
18282 int except, mode;
18283 fexcept_t* pflag;
18284 fenv_t* penv;
18285 int ret;
18286 ret = feclearexcept(except);
18287 ret = fegetexceptflag(pflag, except);
18288 ret = feraiseexcept(except);
18289 ret = fesetexceptflag(pflag, except);
18290 ret = fetestexcept(except);
18291 ret = fegetround();
18292 ret = fesetround(mode);
18293 ret = fegetenv(penv);
18294 ret = feholdexcept(penv);
18295 ret = fesetenv(penv);
18296 ret = feupdateenv(penv);
18299 return 0;
18301 _ACEOF
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303 ac_c99_fenv_tr1=yes
18304 else
18305 ac_c99_fenv_tr1=no
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18310 $as_echo "$ac_c99_fenv_tr1" >&6; }
18311 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18313 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18317 # Check for the existence of <stdint.h> types.
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18319 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18320 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #define __STDC_LIMIT_MACROS
18327 #define __STDC_CONSTANT_MACROS
18328 #include <stdint.h>
18330 main ()
18332 typedef int8_t my_int8_t;
18333 my_int8_t i8 = INT8_MIN;
18334 i8 = INT8_MAX;
18335 typedef int16_t my_int16_t;
18336 my_int16_t i16 = INT16_MIN;
18337 i16 = INT16_MAX;
18338 typedef int32_t my_int32_t;
18339 my_int32_t i32 = INT32_MIN;
18340 i32 = INT32_MAX;
18341 typedef int64_t my_int64_t;
18342 my_int64_t i64 = INT64_MIN;
18343 i64 = INT64_MAX;
18344 typedef int_fast8_t my_int_fast8_t;
18345 my_int_fast8_t if8 = INT_FAST8_MIN;
18346 if8 = INT_FAST8_MAX;
18347 typedef int_fast16_t my_int_fast16_t;
18348 my_int_fast16_t if16 = INT_FAST16_MIN;
18349 if16 = INT_FAST16_MAX;
18350 typedef int_fast32_t my_int_fast32_t;
18351 my_int_fast32_t if32 = INT_FAST32_MIN;
18352 if32 = INT_FAST32_MAX;
18353 typedef int_fast64_t my_int_fast64_t;
18354 my_int_fast64_t if64 = INT_FAST64_MIN;
18355 if64 = INT_FAST64_MAX;
18356 typedef int_least8_t my_int_least8_t;
18357 my_int_least8_t il8 = INT_LEAST8_MIN;
18358 il8 = INT_LEAST8_MAX;
18359 typedef int_least16_t my_int_least16_t;
18360 my_int_least16_t il16 = INT_LEAST16_MIN;
18361 il16 = INT_LEAST16_MAX;
18362 typedef int_least32_t my_int_least32_t;
18363 my_int_least32_t il32 = INT_LEAST32_MIN;
18364 il32 = INT_LEAST32_MAX;
18365 typedef int_least64_t my_int_least64_t;
18366 my_int_least64_t il64 = INT_LEAST64_MIN;
18367 il64 = INT_LEAST64_MAX;
18368 typedef intmax_t my_intmax_t;
18369 my_intmax_t im = INTMAX_MAX;
18370 im = INTMAX_MIN;
18371 typedef intptr_t my_intptr_t;
18372 my_intptr_t ip = INTPTR_MAX;
18373 ip = INTPTR_MIN;
18374 typedef uint8_t my_uint8_t;
18375 my_uint8_t ui8 = UINT8_MAX;
18376 ui8 = UINT8_MAX;
18377 typedef uint16_t my_uint16_t;
18378 my_uint16_t ui16 = UINT16_MAX;
18379 ui16 = UINT16_MAX;
18380 typedef uint32_t my_uint32_t;
18381 my_uint32_t ui32 = UINT32_MAX;
18382 ui32 = UINT32_MAX;
18383 typedef uint64_t my_uint64_t;
18384 my_uint64_t ui64 = UINT64_MAX;
18385 ui64 = UINT64_MAX;
18386 typedef uint_fast8_t my_uint_fast8_t;
18387 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18388 uif8 = UINT_FAST8_MAX;
18389 typedef uint_fast16_t my_uint_fast16_t;
18390 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18391 uif16 = UINT_FAST16_MAX;
18392 typedef uint_fast32_t my_uint_fast32_t;
18393 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18394 uif32 = UINT_FAST32_MAX;
18395 typedef uint_fast64_t my_uint_fast64_t;
18396 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18397 uif64 = UINT_FAST64_MAX;
18398 typedef uint_least8_t my_uint_least8_t;
18399 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18400 uil8 = UINT_LEAST8_MAX;
18401 typedef uint_least16_t my_uint_least16_t;
18402 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18403 uil16 = UINT_LEAST16_MAX;
18404 typedef uint_least32_t my_uint_least32_t;
18405 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18406 uil32 = UINT_LEAST32_MAX;
18407 typedef uint_least64_t my_uint_least64_t;
18408 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18409 uil64 = UINT_LEAST64_MAX;
18410 typedef uintmax_t my_uintmax_t;
18411 my_uintmax_t uim = UINTMAX_MAX;
18412 uim = UINTMAX_MAX;
18413 typedef uintptr_t my_uintptr_t;
18414 my_uintptr_t uip = UINTPTR_MAX;
18415 uip = UINTPTR_MAX;
18418 return 0;
18420 _ACEOF
18421 if ac_fn_cxx_try_compile "$LINENO"; then :
18422 glibcxx_cv_c99_stdint_tr1=yes
18423 else
18424 glibcxx_cv_c99_stdint_tr1=no
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18431 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18432 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18434 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18438 # Check for the existence of <math.h> functions.
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18440 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18441 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <math.h>
18449 main ()
18451 typedef double_t my_double_t;
18452 typedef float_t my_float_t;
18453 acosh(0.0);
18454 acoshf(0.0f);
18455 acoshl(0.0l);
18456 asinh(0.0);
18457 asinhf(0.0f);
18458 asinhl(0.0l);
18459 atanh(0.0);
18460 atanhf(0.0f);
18461 atanhl(0.0l);
18462 cbrt(0.0);
18463 cbrtf(0.0f);
18464 cbrtl(0.0l);
18465 copysign(0.0, 0.0);
18466 copysignf(0.0f, 0.0f);
18467 copysignl(0.0l, 0.0l);
18468 erf(0.0);
18469 erff(0.0f);
18470 erfl(0.0l);
18471 erfc(0.0);
18472 erfcf(0.0f);
18473 erfcl(0.0l);
18474 exp2(0.0);
18475 exp2f(0.0f);
18476 exp2l(0.0l);
18477 expm1(0.0);
18478 expm1f(0.0f);
18479 expm1l(0.0l);
18480 fdim(0.0, 0.0);
18481 fdimf(0.0f, 0.0f);
18482 fdiml(0.0l, 0.0l);
18483 fma(0.0, 0.0, 0.0);
18484 fmaf(0.0f, 0.0f, 0.0f);
18485 fmal(0.0l, 0.0l, 0.0l);
18486 fmax(0.0, 0.0);
18487 fmaxf(0.0f, 0.0f);
18488 fmaxl(0.0l, 0.0l);
18489 fmin(0.0, 0.0);
18490 fminf(0.0f, 0.0f);
18491 fminl(0.0l, 0.0l);
18492 hypot(0.0, 0.0);
18493 hypotf(0.0f, 0.0f);
18494 hypotl(0.0l, 0.0l);
18495 ilogb(0.0);
18496 ilogbf(0.0f);
18497 ilogbl(0.0l);
18498 lgamma(0.0);
18499 lgammaf(0.0f);
18500 lgammal(0.0l);
18501 llrint(0.0);
18502 llrintf(0.0f);
18503 llrintl(0.0l);
18504 llround(0.0);
18505 llroundf(0.0f);
18506 llroundl(0.0l);
18507 log1p(0.0);
18508 log1pf(0.0f);
18509 log1pl(0.0l);
18510 log2(0.0);
18511 log2f(0.0f);
18512 log2l(0.0l);
18513 logb(0.0);
18514 logbf(0.0f);
18515 logbl(0.0l);
18516 lrint(0.0);
18517 lrintf(0.0f);
18518 lrintl(0.0l);
18519 lround(0.0);
18520 lroundf(0.0f);
18521 lroundl(0.0l);
18522 nan(0);
18523 nanf(0);
18524 nanl(0);
18525 nearbyint(0.0);
18526 nearbyintf(0.0f);
18527 nearbyintl(0.0l);
18528 nextafter(0.0, 0.0);
18529 nextafterf(0.0f, 0.0f);
18530 nextafterl(0.0l, 0.0l);
18531 nexttoward(0.0, 0.0);
18532 nexttowardf(0.0f, 0.0f);
18533 nexttowardl(0.0l, 0.0l);
18534 remainder(0.0, 0.0);
18535 remainderf(0.0f, 0.0f);
18536 remainderl(0.0l, 0.0l);
18537 remquo(0.0, 0.0, 0);
18538 remquof(0.0f, 0.0f, 0);
18539 remquol(0.0l, 0.0l, 0);
18540 rint(0.0);
18541 rintf(0.0f);
18542 rintl(0.0l);
18543 round(0.0);
18544 roundf(0.0f);
18545 roundl(0.0l);
18546 scalbln(0.0, 0l);
18547 scalblnf(0.0f, 0l);
18548 scalblnl(0.0l, 0l);
18549 scalbn(0.0, 0);
18550 scalbnf(0.0f, 0);
18551 scalbnl(0.0l, 0);
18552 tgamma(0.0);
18553 tgammaf(0.0f);
18554 tgammal(0.0l);
18555 trunc(0.0);
18556 truncf(0.0f);
18557 truncl(0.0l);
18560 return 0;
18562 _ACEOF
18563 if ac_fn_cxx_try_compile "$LINENO"; then :
18564 glibcxx_cv_c99_math_tr1=yes
18565 else
18566 glibcxx_cv_c99_math_tr1=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18573 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18574 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18576 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18580 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18581 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18582 ac_c99_inttypes_tr1=no;
18583 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18585 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 #include <inttypes.h>
18590 main ()
18592 intmax_t i, numer, denom, base;
18593 const char* s;
18594 char** endptr;
18595 intmax_t ret = imaxabs(i);
18596 imaxdiv_t dret = imaxdiv(numer, denom);
18597 ret = strtoimax(s, endptr, base);
18598 uintmax_t uret = strtoumax(s, endptr, base);
18601 return 0;
18603 _ACEOF
18604 if ac_fn_cxx_try_compile "$LINENO"; then :
18605 ac_c99_inttypes_tr1=yes
18606 else
18607 ac_c99_inttypes_tr1=no
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18612 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18613 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18615 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18619 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18620 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18621 ac_c99_inttypes_wchar_t_tr1=no;
18622 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18624 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <inttypes.h>
18629 main ()
18631 intmax_t base;
18632 const wchar_t* s;
18633 wchar_t** endptr;
18634 intmax_t ret = wcstoimax(s, endptr, base);
18635 uintmax_t uret = wcstoumax(s, endptr, base);
18638 return 0;
18640 _ACEOF
18641 if ac_fn_cxx_try_compile "$LINENO"; then :
18642 ac_c99_inttypes_wchar_t_tr1=yes
18643 else
18644 ac_c99_inttypes_wchar_t_tr1=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18649 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18650 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18652 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18656 # Check for the existence of the <stdbool.h> header.
18657 for ac_header in stdbool.h
18658 do :
18659 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18660 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18661 cat >>confdefs.h <<_ACEOF
18662 #define HAVE_STDBOOL_H 1
18663 _ACEOF
18667 done
18670 CXXFLAGS="$ac_save_CXXFLAGS"
18671 ac_ext=c
18672 ac_cpp='$CPP $CPPFLAGS'
18673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18679 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18683 $as_echo_n "checking for the value of EOF... " >&6; }
18684 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18688 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18690 else
18691 as_fn_error "computing EOF failed" "$LINENO" 5
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18697 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18699 cat >>confdefs.h <<_ACEOF
18700 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18701 _ACEOF
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18705 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18706 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18710 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18712 else
18713 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18719 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18721 cat >>confdefs.h <<_ACEOF
18722 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18723 _ACEOF
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18727 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18728 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18732 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18734 else
18735 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18741 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18743 cat >>confdefs.h <<_ACEOF
18744 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18745 _ACEOF
18749 # For gettimeofday support.
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18753 $as_echo_n "checking for gettimeofday... " >&6; }
18756 ac_ext=cpp
18757 ac_cpp='$CXXCPP $CPPFLAGS'
18758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18762 ac_save_CXXFLAGS="$CXXFLAGS"
18763 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18765 ac_has_gettimeofday=no;
18766 for ac_header in sys/time.h
18767 do :
18768 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18769 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_SYS_TIME_H 1
18772 _ACEOF
18773 ac_has_sys_time_h=yes
18774 else
18775 ac_has_sys_time_h=no
18778 done
18780 if test x"$ac_has_sys_time_h" = x"yes"; then
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18782 $as_echo_n "checking for gettimeofday... " >&6; }
18783 if test x$gcc_no_link = xyes; then
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18786 #include <sys/time.h>
18788 main ()
18790 timeval tv; gettimeofday(&tv, 0);
18792 return 0;
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796 ac_has_gettimeofday=yes
18797 else
18798 ac_has_gettimeofday=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 else
18802 if test x$gcc_no_link = xyes; then
18803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807 #include <sys/time.h>
18809 main ()
18811 timeval tv; gettimeofday(&tv, 0);
18813 return 0;
18815 _ACEOF
18816 if ac_fn_cxx_try_link "$LINENO"; then :
18817 ac_has_gettimeofday=yes
18818 else
18819 ac_has_gettimeofday=no
18821 rm -f core conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18826 $as_echo "$ac_has_gettimeofday" >&6; }
18829 if test x"$ac_has_gettimeofday" = x"yes"; then
18831 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18835 CXXFLAGS="$ac_save_CXXFLAGS"
18836 ac_ext=c
18837 ac_cpp='$CPP $CPPFLAGS'
18838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18844 # For clock_gettime, nanosleep and sched_yield support.
18845 # NB: The default is [no], because otherwise it requires linking.
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18849 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18850 # Check whether --enable-libstdcxx-time was given.
18851 if test "${enable_libstdcxx_time+set}" = set; then :
18852 enableval=$enable_libstdcxx_time;
18853 case "$enableval" in
18854 yes|no|rt) ;;
18855 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18856 esac
18858 else
18859 enable_libstdcxx_time=no
18865 ac_ext=cpp
18866 ac_cpp='$CXXCPP $CPPFLAGS'
18867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18871 ac_save_CXXFLAGS="$CXXFLAGS"
18872 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18873 ac_save_LIBS="$LIBS"
18875 ac_has_clock_monotonic=no
18876 ac_has_clock_realtime=no
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18878 $as_echo "$enable_libstdcxx_time" >&6; }
18880 if test x"$enable_libstdcxx_time" != x"no"; then
18882 if test x"$enable_libstdcxx_time" = x"rt"; then
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18884 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18885 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18886 $as_echo_n "(cached) " >&6
18887 else
18888 ac_func_search_save_LIBS=$LIBS
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18892 /* Override any GCC internal prototype to avoid an error.
18893 Use char because int might match the return type of a GCC
18894 builtin and then its argument prototype would still apply. */
18895 #ifdef __cplusplus
18896 extern "C"
18897 #endif
18898 char clock_gettime ();
18900 main ()
18902 return clock_gettime ();
18904 return 0;
18906 _ACEOF
18907 for ac_lib in '' rt posix4; do
18908 if test -z "$ac_lib"; then
18909 ac_res="none required"
18910 else
18911 ac_res=-l$ac_lib
18912 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18914 if test x$gcc_no_link = xyes; then
18915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18917 if ac_fn_cxx_try_link "$LINENO"; then :
18918 ac_cv_search_clock_gettime=$ac_res
18920 rm -f core conftest.err conftest.$ac_objext \
18921 conftest$ac_exeext
18922 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18923 break
18925 done
18926 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18928 else
18929 ac_cv_search_clock_gettime=no
18931 rm conftest.$ac_ext
18932 LIBS=$ac_func_search_save_LIBS
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18935 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18936 ac_res=$ac_cv_search_clock_gettime
18937 if test "$ac_res" != no; then :
18938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18943 $as_echo_n "checking for library containing nanosleep... " >&6; }
18944 if test "${ac_cv_search_nanosleep+set}" = set; then :
18945 $as_echo_n "(cached) " >&6
18946 else
18947 ac_func_search_save_LIBS=$LIBS
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18951 /* Override any GCC internal prototype to avoid an error.
18952 Use char because int might match the return type of a GCC
18953 builtin and then its argument prototype would still apply. */
18954 #ifdef __cplusplus
18955 extern "C"
18956 #endif
18957 char nanosleep ();
18959 main ()
18961 return nanosleep ();
18963 return 0;
18965 _ACEOF
18966 for ac_lib in '' rt posix4; do
18967 if test -z "$ac_lib"; then
18968 ac_res="none required"
18969 else
18970 ac_res=-l$ac_lib
18971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18973 if test x$gcc_no_link = xyes; then
18974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18976 if ac_fn_cxx_try_link "$LINENO"; then :
18977 ac_cv_search_nanosleep=$ac_res
18979 rm -f core conftest.err conftest.$ac_objext \
18980 conftest$ac_exeext
18981 if test "${ac_cv_search_nanosleep+set}" = set; then :
18982 break
18984 done
18985 if test "${ac_cv_search_nanosleep+set}" = set; then :
18987 else
18988 ac_cv_search_nanosleep=no
18990 rm conftest.$ac_ext
18991 LIBS=$ac_func_search_save_LIBS
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18994 $as_echo "$ac_cv_search_nanosleep" >&6; }
18995 ac_res=$ac_cv_search_nanosleep
18996 if test "$ac_res" != no; then :
18997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19001 else
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19003 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19004 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19007 ac_func_search_save_LIBS=$LIBS
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19011 /* Override any GCC internal prototype to avoid an error.
19012 Use char because int might match the return type of a GCC
19013 builtin and then its argument prototype would still apply. */
19014 #ifdef __cplusplus
19015 extern "C"
19016 #endif
19017 char clock_gettime ();
19019 main ()
19021 return clock_gettime ();
19023 return 0;
19025 _ACEOF
19026 for ac_lib in '' posix4; do
19027 if test -z "$ac_lib"; then
19028 ac_res="none required"
19029 else
19030 ac_res=-l$ac_lib
19031 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19033 if test x$gcc_no_link = xyes; then
19034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19036 if ac_fn_cxx_try_link "$LINENO"; then :
19037 ac_cv_search_clock_gettime=$ac_res
19039 rm -f core conftest.err conftest.$ac_objext \
19040 conftest$ac_exeext
19041 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19042 break
19044 done
19045 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19047 else
19048 ac_cv_search_clock_gettime=no
19050 rm conftest.$ac_ext
19051 LIBS=$ac_func_search_save_LIBS
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19054 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19055 ac_res=$ac_cv_search_clock_gettime
19056 if test "$ac_res" != no; then :
19057 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19062 $as_echo_n "checking for library containing nanosleep... " >&6; }
19063 if test "${ac_cv_search_nanosleep+set}" = set; then :
19064 $as_echo_n "(cached) " >&6
19065 else
19066 ac_func_search_save_LIBS=$LIBS
19067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19070 /* Override any GCC internal prototype to avoid an error.
19071 Use char because int might match the return type of a GCC
19072 builtin and then its argument prototype would still apply. */
19073 #ifdef __cplusplus
19074 extern "C"
19075 #endif
19076 char nanosleep ();
19078 main ()
19080 return nanosleep ();
19082 return 0;
19084 _ACEOF
19085 for ac_lib in '' posix4; do
19086 if test -z "$ac_lib"; then
19087 ac_res="none required"
19088 else
19089 ac_res=-l$ac_lib
19090 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19092 if test x$gcc_no_link = xyes; then
19093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19095 if ac_fn_cxx_try_link "$LINENO"; then :
19096 ac_cv_search_nanosleep=$ac_res
19098 rm -f core conftest.err conftest.$ac_objext \
19099 conftest$ac_exeext
19100 if test "${ac_cv_search_nanosleep+set}" = set; then :
19101 break
19103 done
19104 if test "${ac_cv_search_nanosleep+set}" = set; then :
19106 else
19107 ac_cv_search_nanosleep=no
19109 rm conftest.$ac_ext
19110 LIBS=$ac_func_search_save_LIBS
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19113 $as_echo "$ac_cv_search_nanosleep" >&6; }
19114 ac_res=$ac_cv_search_nanosleep
19115 if test "$ac_res" != no; then :
19116 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19122 case "$ac_cv_search_clock_gettime" in
19123 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19125 esac
19126 case "$ac_cv_search_nanosleep" in
19127 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19129 esac
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19132 $as_echo_n "checking for library containing sched_yield... " >&6; }
19133 if test "${ac_cv_search_sched_yield+set}" = set; then :
19134 $as_echo_n "(cached) " >&6
19135 else
19136 ac_func_search_save_LIBS=$LIBS
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19140 /* Override any GCC internal prototype to avoid an error.
19141 Use char because int might match the return type of a GCC
19142 builtin and then its argument prototype would still apply. */
19143 #ifdef __cplusplus
19144 extern "C"
19145 #endif
19146 char sched_yield ();
19148 main ()
19150 return sched_yield ();
19152 return 0;
19154 _ACEOF
19155 for ac_lib in '' rt posix4; do
19156 if test -z "$ac_lib"; then
19157 ac_res="none required"
19158 else
19159 ac_res=-l$ac_lib
19160 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19162 if test x$gcc_no_link = xyes; then
19163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19165 if ac_fn_cxx_try_link "$LINENO"; then :
19166 ac_cv_search_sched_yield=$ac_res
19168 rm -f core conftest.err conftest.$ac_objext \
19169 conftest$ac_exeext
19170 if test "${ac_cv_search_sched_yield+set}" = set; then :
19171 break
19173 done
19174 if test "${ac_cv_search_sched_yield+set}" = set; then :
19176 else
19177 ac_cv_search_sched_yield=no
19179 rm conftest.$ac_ext
19180 LIBS=$ac_func_search_save_LIBS
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19183 $as_echo "$ac_cv_search_sched_yield" >&6; }
19184 ac_res=$ac_cv_search_sched_yield
19185 if test "$ac_res" != no; then :
19186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19191 case "$ac_cv_search_sched_yield" in
19192 -lposix4*)
19193 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19195 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19198 -lrt*)
19199 if test x"$enable_libstdcxx_time" = x"rt"; then
19200 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19202 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19208 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19211 esac
19213 for ac_header in unistd.h
19214 do :
19215 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19216 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_UNISTD_H 1
19219 _ACEOF
19220 ac_has_unistd_h=yes
19221 else
19222 ac_has_unistd_h=no
19225 done
19228 if test x"$ac_has_unistd_h" = x"yes"; then
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19230 $as_echo_n "checking for monotonic clock... " >&6; }
19231 if test x$gcc_no_link = xyes; then
19232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19236 #include <unistd.h>
19237 #include <time.h>
19240 main ()
19242 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19243 timespec tp;
19244 #endif
19245 clock_gettime(CLOCK_MONOTONIC, &tp);
19248 return 0;
19250 _ACEOF
19251 if ac_fn_cxx_try_link "$LINENO"; then :
19252 ac_has_clock_monotonic=yes
19253 else
19254 ac_has_clock_monotonic=no
19256 rm -f core conftest.err conftest.$ac_objext \
19257 conftest$ac_exeext conftest.$ac_ext
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19260 $as_echo "$ac_has_clock_monotonic" >&6; }
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19263 $as_echo_n "checking for realtime clock... " >&6; }
19264 if test x$gcc_no_link = xyes; then
19265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 #include <unistd.h>
19270 #include <time.h>
19273 main ()
19275 #if _POSIX_TIMERS > 0
19276 timespec tp;
19277 #endif
19278 clock_gettime(CLOCK_REALTIME, &tp);
19281 return 0;
19283 _ACEOF
19284 if ac_fn_cxx_try_link "$LINENO"; then :
19285 ac_has_clock_realtime=yes
19286 else
19287 ac_has_clock_realtime=no
19289 rm -f core conftest.err conftest.$ac_objext \
19290 conftest$ac_exeext conftest.$ac_ext
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19293 $as_echo "$ac_has_clock_realtime" >&6; }
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19296 $as_echo_n "checking for nanosleep... " >&6; }
19297 if test x$gcc_no_link = xyes; then
19298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 #include <unistd.h>
19303 #include <time.h>
19306 main ()
19308 #if _POSIX_TIMERS > 0
19309 timespec tp;
19310 #endif
19311 nanosleep(&tp, 0);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_nanosleep=yes
19319 else
19320 ac_has_nanosleep=no
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19326 $as_echo "$ac_has_nanosleep" >&6; }
19330 if test x"$ac_has_clock_monotonic" = x"yes"; then
19332 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19336 if test x"$ac_has_clock_realtime" = x"yes"; then
19338 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19342 if test x"$ac_has_nanosleep" = x"yes"; then
19344 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19350 CXXFLAGS="$ac_save_CXXFLAGS"
19351 LIBS="$ac_save_LIBS"
19352 ac_ext=c
19353 ac_cpp='$CPP $CPPFLAGS'
19354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19360 # For gthread support
19363 ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19370 ac_save_CXXFLAGS="$CXXFLAGS"
19371 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19373 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19374 case $target_thread_file in
19375 posix)
19376 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19377 esac
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19380 $as_echo_n "checking for gthreads library... " >&6; }
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #include "gthr.h"
19386 main ()
19389 #ifndef __GTHREADS_CXX0X
19390 #error
19391 #endif
19393 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19394 #if (defined(_PTHREADS) \
19395 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19396 #error
19397 #endif
19400 return 0;
19402 _ACEOF
19403 if ac_fn_cxx_try_compile "$LINENO"; then :
19404 ac_has_gthreads=yes
19405 else
19406 ac_has_gthreads=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19411 $as_echo "$ac_has_gthreads" >&6; }
19413 if test x"$ac_has_gthreads" = x"yes"; then
19415 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19419 CXXFLAGS="$ac_save_CXXFLAGS"
19420 ac_ext=c
19421 ac_cpp='$CPP $CPPFLAGS'
19422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19429 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19430 if test "x$ac_cv_header_locale_h" = x""yes; then :
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19433 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19434 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19435 $as_echo_n "(cached) " >&6
19436 else
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 #include <locale.h>
19441 main ()
19443 return LC_MESSAGES
19445 return 0;
19447 _ACEOF
19448 if ac_fn_c_try_compile "$LINENO"; then :
19449 ac_cv_val_LC_MESSAGES=yes
19450 else
19451 ac_cv_val_LC_MESSAGES=no
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19456 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19457 if test $ac_cv_val_LC_MESSAGES = yes; then
19459 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19468 # Check for available headers.
19469 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19470 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19471 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19472 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19473 wchar.h wctype.h
19474 do :
19475 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19476 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19477 eval as_val=\$$as_ac_Header
19478 if test "x$as_val" = x""yes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19481 _ACEOF
19485 done
19488 # Only do link tests if native. Else, hardcode.
19489 if $GLIBCXX_IS_NATIVE; then
19491 # We can do more elaborate tests that assume a working linker.
19492 CANADIAN=no
19496 # Check whether --with-gnu-ld was given.
19497 if test "${with_gnu_ld+set}" = set; then :
19498 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19499 else
19500 with_gnu_ld=no
19503 ac_prog=ld
19504 if test "$GCC" = yes; then
19505 # Check if gcc -print-prog-name=ld gives a path.
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19507 $as_echo_n "checking for ld used by $CC... " >&6; }
19508 case $host in
19509 *-*-mingw*)
19510 # gcc leaves a trailing carriage return which upsets mingw
19511 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19513 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19514 esac
19515 case $ac_prog in
19516 # Accept absolute paths.
19517 [\\/]* | ?:[\\/]*)
19518 re_direlt='/[^/][^/]*/\.\./'
19519 # Canonicalize the pathname of ld
19520 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19521 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19522 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19523 done
19524 test -z "$LD" && LD="$ac_prog"
19527 # If it fails, then pretend we aren't using GCC.
19528 ac_prog=ld
19531 # If it is relative, then search for the first ld in PATH.
19532 with_gnu_ld=unknown
19534 esac
19535 elif test "$with_gnu_ld" = yes; then
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19537 $as_echo_n "checking for GNU ld... " >&6; }
19538 else
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19540 $as_echo_n "checking for non-GNU ld... " >&6; }
19542 if test "${lt_cv_path_LD+set}" = set; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 if test -z "$LD"; then
19546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19547 for ac_dir in $PATH; do
19548 IFS="$lt_save_ifs"
19549 test -z "$ac_dir" && ac_dir=.
19550 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19551 lt_cv_path_LD="$ac_dir/$ac_prog"
19552 # Check to see if the program is GNU ld. I'd rather use --version,
19553 # but apparently some variants of GNU ld only accept -v.
19554 # Break only if it was the GNU/non-GNU ld that we prefer.
19555 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19556 *GNU* | *'with BFD'*)
19557 test "$with_gnu_ld" != no && break
19560 test "$with_gnu_ld" != yes && break
19562 esac
19564 done
19565 IFS="$lt_save_ifs"
19566 else
19567 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19571 LD="$lt_cv_path_LD"
19572 if test -n "$LD"; then
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19574 $as_echo "$LD" >&6; }
19575 else
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19577 $as_echo "no" >&6; }
19579 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19581 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19582 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19584 else
19585 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19586 case `$LD -v 2>&1 </dev/null` in
19587 *GNU* | *'with BFD'*)
19588 lt_cv_prog_gnu_ld=yes
19591 lt_cv_prog_gnu_ld=no
19593 esac
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19596 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19597 with_gnu_ld=$lt_cv_prog_gnu_ld
19605 # If we're not using GNU ld, then there's no point in even trying these
19606 # tests. Check for that first. We should have already tested for gld
19607 # by now (in libtool), but require it now just to be safe...
19608 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19609 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19613 # The name set by libtool depends on the version of libtool. Shame on us
19614 # for depending on an impl detail, but c'est la vie. Older versions used
19615 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19616 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19617 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19618 # set (hence we're using an older libtool), then set it.
19619 if test x${with_gnu_ld+set} != xset; then
19620 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19621 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19622 with_gnu_ld=no
19623 else
19624 with_gnu_ld=$ac_cv_prog_gnu_ld
19628 # Start by getting the version number. I think the libtool test already
19629 # does some of this, but throws away the result.
19630 glibcxx_ld_is_gold=no
19631 if test x"$with_gnu_ld" = x"yes"; then
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19633 $as_echo_n "checking for ld version... " >&6; }
19635 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19636 glibcxx_ld_is_gold=yes
19638 ldver=`$LD --version 2>/dev/null |
19639 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'`
19641 glibcxx_gnu_ld_version=`echo $ldver | \
19642 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19644 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19647 # Set --gc-sections.
19648 glibcxx_have_gc_sections=no
19649 if test "$glibcxx_ld_is_gold" = "yes"; then
19650 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19651 glibcxx_have_gc_sections=yes
19653 else
19654 glibcxx_gcsections_min_ld=21602
19655 if test x"$with_gnu_ld" = x"yes" &&
19656 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19657 glibcxx_have_gc_sections=yes
19660 if test "$glibcxx_have_gc_sections" = "yes"; then
19661 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19662 # NB: This flag only works reliably after 2.16.1. Configure tests
19663 # for this are difficult, so hard wire a value that should work.
19665 ac_test_CFLAGS="${CFLAGS+set}"
19666 ac_save_CFLAGS="$CFLAGS"
19667 CFLAGS='-Wl,--gc-sections'
19669 # Check for -Wl,--gc-sections
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19671 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19672 if test x$gcc_no_link = xyes; then
19673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19677 int one(void) { return 1; }
19678 int two(void) { return 2; }
19681 main ()
19683 two();
19685 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 ac_gcsections=yes
19690 else
19691 ac_gcsections=no
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19695 if test "$ac_gcsections" = "yes"; then
19696 rm -f conftest.c
19697 touch conftest.c
19698 if $CC -c conftest.c; then
19699 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19700 grep "Warning: gc-sections option ignored" > /dev/null; then
19701 ac_gcsections=no
19704 rm -f conftest.c conftest.o conftest
19706 if test "$ac_gcsections" = "yes"; then
19707 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19710 $as_echo "$ac_gcsections" >&6; }
19712 if test "$ac_test_CFLAGS" = set; then
19713 CFLAGS="$ac_save_CFLAGS"
19714 else
19715 # this is the suspicious part
19716 CFLAGS=''
19720 # Set -z,relro.
19721 # Note this is only for shared objects.
19722 ac_ld_relro=no
19723 if test x"$with_gnu_ld" = x"yes"; then
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19725 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19726 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19727 if test -n "$cxx_z_relo"; then
19728 OPT_LDFLAGS="-Wl,-z,relro"
19729 ac_ld_relro=yes
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19732 $as_echo "$ac_ld_relro" >&6; }
19735 # Set linker optimization flags.
19736 if test x"$with_gnu_ld" = x"yes"; then
19737 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19744 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19745 ac_save_CXXFLAGS="$CXXFLAGS"
19746 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19749 $as_echo_n "checking for sin in -lm... " >&6; }
19750 if test "${ac_cv_lib_m_sin+set}" = set; then :
19751 $as_echo_n "(cached) " >&6
19752 else
19753 ac_check_lib_save_LIBS=$LIBS
19754 LIBS="-lm $LIBS"
19755 if test x$gcc_no_link = xyes; then
19756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19761 /* Override any GCC internal prototype to avoid an error.
19762 Use char because int might match the return type of a GCC
19763 builtin and then its argument prototype would still apply. */
19764 #ifdef __cplusplus
19765 extern "C"
19766 #endif
19767 char sin ();
19769 main ()
19771 return sin ();
19773 return 0;
19775 _ACEOF
19776 if ac_fn_c_try_link "$LINENO"; then :
19777 ac_cv_lib_m_sin=yes
19778 else
19779 ac_cv_lib_m_sin=no
19781 rm -f core conftest.err conftest.$ac_objext \
19782 conftest$ac_exeext conftest.$ac_ext
19783 LIBS=$ac_check_lib_save_LIBS
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19786 $as_echo "$ac_cv_lib_m_sin" >&6; }
19787 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19788 libm="-lm"
19791 ac_save_LIBS="$LIBS"
19792 LIBS="$LIBS $libm"
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19797 $as_echo_n "checking for isinf declaration... " >&6; }
19798 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19799 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19804 ac_ext=cpp
19805 ac_cpp='$CXXCPP $CPPFLAGS'
19806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 #include <math.h>
19813 #ifdef HAVE_IEEEFP_H
19814 #include <ieeefp.h>
19815 #endif
19818 main ()
19820 isinf(0);
19822 return 0;
19824 _ACEOF
19825 if ac_fn_cxx_try_compile "$LINENO"; then :
19826 glibcxx_cv_func_isinf_use=yes
19827 else
19828 glibcxx_cv_func_isinf_use=no
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 ac_ext=c
19832 ac_cpp='$CPP $CPPFLAGS'
19833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19842 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19844 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19845 for ac_func in isinf
19846 do :
19847 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19848 if test "x$ac_cv_func_isinf" = x""yes; then :
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_ISINF 1
19851 _ACEOF
19854 done
19856 else
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19859 $as_echo_n "checking for _isinf declaration... " >&6; }
19860 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19861 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19862 $as_echo_n "(cached) " >&6
19863 else
19866 ac_ext=cpp
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <math.h>
19875 #ifdef HAVE_IEEEFP_H
19876 #include <ieeefp.h>
19877 #endif
19880 main ()
19882 _isinf(0);
19884 return 0;
19886 _ACEOF
19887 if ac_fn_cxx_try_compile "$LINENO"; then :
19888 glibcxx_cv_func__isinf_use=yes
19889 else
19890 glibcxx_cv_func__isinf_use=no
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893 ac_ext=c
19894 ac_cpp='$CPP $CPPFLAGS'
19895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19904 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19906 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19907 for ac_func in _isinf
19908 do :
19909 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19910 if test "x$ac_cv_func__isinf" = x""yes; then :
19911 cat >>confdefs.h <<_ACEOF
19912 #define HAVE__ISINF 1
19913 _ACEOF
19916 done
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19926 $as_echo_n "checking for isnan declaration... " >&6; }
19927 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19928 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19933 ac_ext=cpp
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h. */
19941 #include <math.h>
19942 #ifdef HAVE_IEEEFP_H
19943 #include <ieeefp.h>
19944 #endif
19947 main ()
19949 isnan(0);
19951 return 0;
19953 _ACEOF
19954 if ac_fn_cxx_try_compile "$LINENO"; then :
19955 glibcxx_cv_func_isnan_use=yes
19956 else
19957 glibcxx_cv_func_isnan_use=no
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960 ac_ext=c
19961 ac_cpp='$CPP $CPPFLAGS'
19962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19971 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19973 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19974 for ac_func in isnan
19975 do :
19976 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19977 if test "x$ac_cv_func_isnan" = x""yes; then :
19978 cat >>confdefs.h <<_ACEOF
19979 #define HAVE_ISNAN 1
19980 _ACEOF
19983 done
19985 else
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19988 $as_echo_n "checking for _isnan declaration... " >&6; }
19989 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19990 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19991 $as_echo_n "(cached) " >&6
19992 else
19995 ac_ext=cpp
19996 ac_cpp='$CXXCPP $CPPFLAGS'
19997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20003 #include <math.h>
20004 #ifdef HAVE_IEEEFP_H
20005 #include <ieeefp.h>
20006 #endif
20009 main ()
20011 _isnan(0);
20013 return 0;
20015 _ACEOF
20016 if ac_fn_cxx_try_compile "$LINENO"; then :
20017 glibcxx_cv_func__isnan_use=yes
20018 else
20019 glibcxx_cv_func__isnan_use=no
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 ac_ext=c
20023 ac_cpp='$CPP $CPPFLAGS'
20024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20033 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20035 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20036 for ac_func in _isnan
20037 do :
20038 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20039 if test "x$ac_cv_func__isnan" = x""yes; then :
20040 cat >>confdefs.h <<_ACEOF
20041 #define HAVE__ISNAN 1
20042 _ACEOF
20045 done
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20055 $as_echo_n "checking for finite declaration... " >&6; }
20056 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20057 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20058 $as_echo_n "(cached) " >&6
20059 else
20062 ac_ext=cpp
20063 ac_cpp='$CXXCPP $CPPFLAGS'
20064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #include <math.h>
20071 #ifdef HAVE_IEEEFP_H
20072 #include <ieeefp.h>
20073 #endif
20076 main ()
20078 finite(0);
20080 return 0;
20082 _ACEOF
20083 if ac_fn_cxx_try_compile "$LINENO"; then :
20084 glibcxx_cv_func_finite_use=yes
20085 else
20086 glibcxx_cv_func_finite_use=no
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089 ac_ext=c
20090 ac_cpp='$CPP $CPPFLAGS'
20091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20100 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20102 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20103 for ac_func in finite
20104 do :
20105 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20106 if test "x$ac_cv_func_finite" = x""yes; then :
20107 cat >>confdefs.h <<_ACEOF
20108 #define HAVE_FINITE 1
20109 _ACEOF
20112 done
20114 else
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20117 $as_echo_n "checking for _finite declaration... " >&6; }
20118 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20119 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20120 $as_echo_n "(cached) " >&6
20121 else
20124 ac_ext=cpp
20125 ac_cpp='$CXXCPP $CPPFLAGS'
20126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20132 #include <math.h>
20133 #ifdef HAVE_IEEEFP_H
20134 #include <ieeefp.h>
20135 #endif
20138 main ()
20140 _finite(0);
20142 return 0;
20144 _ACEOF
20145 if ac_fn_cxx_try_compile "$LINENO"; then :
20146 glibcxx_cv_func__finite_use=yes
20147 else
20148 glibcxx_cv_func__finite_use=no
20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20151 ac_ext=c
20152 ac_cpp='$CPP $CPPFLAGS'
20153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20162 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20164 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20165 for ac_func in _finite
20166 do :
20167 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20168 if test "x$ac_cv_func__finite" = x""yes; then :
20169 cat >>confdefs.h <<_ACEOF
20170 #define HAVE__FINITE 1
20171 _ACEOF
20174 done
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20184 $as_echo_n "checking for sincos declaration... " >&6; }
20185 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20186 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20187 $as_echo_n "(cached) " >&6
20188 else
20191 ac_ext=cpp
20192 ac_cpp='$CXXCPP $CPPFLAGS'
20193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199 #include <math.h>
20201 main ()
20203 sincos(0, 0, 0);
20205 return 0;
20207 _ACEOF
20208 if ac_fn_cxx_try_compile "$LINENO"; then :
20209 glibcxx_cv_func_sincos_use=yes
20210 else
20211 glibcxx_cv_func_sincos_use=no
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214 ac_ext=c
20215 ac_cpp='$CPP $CPPFLAGS'
20216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20225 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20227 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20228 for ac_func in sincos
20229 do :
20230 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20231 if test "x$ac_cv_func_sincos" = x""yes; then :
20232 cat >>confdefs.h <<_ACEOF
20233 #define HAVE_SINCOS 1
20234 _ACEOF
20237 done
20239 else
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20242 $as_echo_n "checking for _sincos declaration... " >&6; }
20243 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20244 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20245 $as_echo_n "(cached) " >&6
20246 else
20249 ac_ext=cpp
20250 ac_cpp='$CXXCPP $CPPFLAGS'
20251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h. */
20257 #include <math.h>
20259 main ()
20261 _sincos(0, 0, 0);
20263 return 0;
20265 _ACEOF
20266 if ac_fn_cxx_try_compile "$LINENO"; then :
20267 glibcxx_cv_func__sincos_use=yes
20268 else
20269 glibcxx_cv_func__sincos_use=no
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 ac_ext=c
20273 ac_cpp='$CPP $CPPFLAGS'
20274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20283 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20285 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20286 for ac_func in _sincos
20287 do :
20288 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20289 if test "x$ac_cv_func__sincos" = x""yes; then :
20290 cat >>confdefs.h <<_ACEOF
20291 #define HAVE__SINCOS 1
20292 _ACEOF
20295 done
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20305 $as_echo_n "checking for fpclass declaration... " >&6; }
20306 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20307 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20308 $as_echo_n "(cached) " >&6
20309 else
20312 ac_ext=cpp
20313 ac_cpp='$CXXCPP $CPPFLAGS'
20314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20320 #include <math.h>
20321 #ifdef HAVE_IEEEFP_H
20322 #include <ieeefp.h>
20323 #endif
20326 main ()
20328 fpclass(0);
20330 return 0;
20332 _ACEOF
20333 if ac_fn_cxx_try_compile "$LINENO"; then :
20334 glibcxx_cv_func_fpclass_use=yes
20335 else
20336 glibcxx_cv_func_fpclass_use=no
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 ac_ext=c
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20350 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20352 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20353 for ac_func in fpclass
20354 do :
20355 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20356 if test "x$ac_cv_func_fpclass" = x""yes; then :
20357 cat >>confdefs.h <<_ACEOF
20358 #define HAVE_FPCLASS 1
20359 _ACEOF
20362 done
20364 else
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20367 $as_echo_n "checking for _fpclass declaration... " >&6; }
20368 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20369 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20370 $as_echo_n "(cached) " >&6
20371 else
20374 ac_ext=cpp
20375 ac_cpp='$CXXCPP $CPPFLAGS'
20376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20381 /* end confdefs.h. */
20382 #include <math.h>
20383 #ifdef HAVE_IEEEFP_H
20384 #include <ieeefp.h>
20385 #endif
20388 main ()
20390 _fpclass(0);
20392 return 0;
20394 _ACEOF
20395 if ac_fn_cxx_try_compile "$LINENO"; then :
20396 glibcxx_cv_func__fpclass_use=yes
20397 else
20398 glibcxx_cv_func__fpclass_use=no
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 ac_ext=c
20402 ac_cpp='$CPP $CPPFLAGS'
20403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20412 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20414 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20415 for ac_func in _fpclass
20416 do :
20417 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20418 if test "x$ac_cv_func__fpclass" = x""yes; then :
20419 cat >>confdefs.h <<_ACEOF
20420 #define HAVE__FPCLASS 1
20421 _ACEOF
20424 done
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20434 $as_echo_n "checking for qfpclass declaration... " >&6; }
20435 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20436 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20441 ac_ext=cpp
20442 ac_cpp='$CXXCPP $CPPFLAGS'
20443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <math.h>
20450 #ifdef HAVE_IEEEFP_H
20451 #include <ieeefp.h>
20452 #endif
20455 main ()
20457 qfpclass(0);
20459 return 0;
20461 _ACEOF
20462 if ac_fn_cxx_try_compile "$LINENO"; then :
20463 glibcxx_cv_func_qfpclass_use=yes
20464 else
20465 glibcxx_cv_func_qfpclass_use=no
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 ac_ext=c
20469 ac_cpp='$CPP $CPPFLAGS'
20470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20479 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20481 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20482 for ac_func in qfpclass
20483 do :
20484 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20485 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20486 cat >>confdefs.h <<_ACEOF
20487 #define HAVE_QFPCLASS 1
20488 _ACEOF
20491 done
20493 else
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20496 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20497 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20498 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20499 $as_echo_n "(cached) " >&6
20500 else
20503 ac_ext=cpp
20504 ac_cpp='$CXXCPP $CPPFLAGS'
20505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20510 /* end confdefs.h. */
20511 #include <math.h>
20512 #ifdef HAVE_IEEEFP_H
20513 #include <ieeefp.h>
20514 #endif
20517 main ()
20519 _qfpclass(0);
20521 return 0;
20523 _ACEOF
20524 if ac_fn_cxx_try_compile "$LINENO"; then :
20525 glibcxx_cv_func__qfpclass_use=yes
20526 else
20527 glibcxx_cv_func__qfpclass_use=no
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 ac_ext=c
20531 ac_cpp='$CPP $CPPFLAGS'
20532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20541 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20543 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20544 for ac_func in _qfpclass
20545 do :
20546 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20547 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20548 cat >>confdefs.h <<_ACEOF
20549 #define HAVE__QFPCLASS 1
20550 _ACEOF
20553 done
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20563 $as_echo_n "checking for hypot declaration... " >&6; }
20564 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20565 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20566 $as_echo_n "(cached) " >&6
20567 else
20570 ac_ext=cpp
20571 ac_cpp='$CXXCPP $CPPFLAGS'
20572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h. */
20578 #include <math.h>
20580 main ()
20582 hypot(0, 0);
20584 return 0;
20586 _ACEOF
20587 if ac_fn_cxx_try_compile "$LINENO"; then :
20588 glibcxx_cv_func_hypot_use=yes
20589 else
20590 glibcxx_cv_func_hypot_use=no
20592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20593 ac_ext=c
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20604 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20606 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20607 for ac_func in hypot
20608 do :
20609 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20610 if test "x$ac_cv_func_hypot" = x""yes; then :
20611 cat >>confdefs.h <<_ACEOF
20612 #define HAVE_HYPOT 1
20613 _ACEOF
20616 done
20618 else
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20621 $as_echo_n "checking for _hypot declaration... " >&6; }
20622 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20623 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20624 $as_echo_n "(cached) " >&6
20625 else
20628 ac_ext=cpp
20629 ac_cpp='$CXXCPP $CPPFLAGS'
20630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20636 #include <math.h>
20638 main ()
20640 _hypot(0, 0);
20642 return 0;
20644 _ACEOF
20645 if ac_fn_cxx_try_compile "$LINENO"; then :
20646 glibcxx_cv_func__hypot_use=yes
20647 else
20648 glibcxx_cv_func__hypot_use=no
20650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651 ac_ext=c
20652 ac_cpp='$CPP $CPPFLAGS'
20653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20662 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20664 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20665 for ac_func in _hypot
20666 do :
20667 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20668 if test "x$ac_cv_func__hypot" = x""yes; then :
20669 cat >>confdefs.h <<_ACEOF
20670 #define HAVE__HYPOT 1
20671 _ACEOF
20674 done
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20684 $as_echo_n "checking for float trig functions... " >&6; }
20685 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20686 $as_echo_n "(cached) " >&6
20687 else
20690 ac_ext=cpp
20691 ac_cpp='$CXXCPP $CPPFLAGS'
20692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20698 #include <math.h>
20700 main ()
20702 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20704 return 0;
20706 _ACEOF
20707 if ac_fn_cxx_try_compile "$LINENO"; then :
20708 glibcxx_cv_func_float_trig_use=yes
20709 else
20710 glibcxx_cv_func_float_trig_use=no
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713 ac_ext=c
20714 ac_cpp='$CPP $CPPFLAGS'
20715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20722 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20723 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20724 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20725 do :
20726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20728 eval as_val=\$$as_ac_var
20729 if test "x$as_val" = x""yes; then :
20730 cat >>confdefs.h <<_ACEOF
20731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20732 _ACEOF
20735 done
20737 else
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20739 $as_echo_n "checking for _float trig functions... " >&6; }
20740 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20741 $as_echo_n "(cached) " >&6
20742 else
20745 ac_ext=cpp
20746 ac_cpp='$CXXCPP $CPPFLAGS'
20747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20753 #include <math.h>
20755 main ()
20757 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20759 return 0;
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763 glibcxx_cv_func__float_trig_use=yes
20764 else
20765 glibcxx_cv_func__float_trig_use=no
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768 ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20777 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20778 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20779 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20780 do :
20781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20783 eval as_val=\$$as_ac_var
20784 if test "x$as_val" = x""yes; then :
20785 cat >>confdefs.h <<_ACEOF
20786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20787 _ACEOF
20790 done
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20800 $as_echo_n "checking for float round functions... " >&6; }
20801 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20802 $as_echo_n "(cached) " >&6
20803 else
20806 ac_ext=cpp
20807 ac_cpp='$CXXCPP $CPPFLAGS'
20808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20814 #include <math.h>
20816 main ()
20818 ceilf (0); floorf (0);
20820 return 0;
20822 _ACEOF
20823 if ac_fn_cxx_try_compile "$LINENO"; then :
20824 glibcxx_cv_func_float_round_use=yes
20825 else
20826 glibcxx_cv_func_float_round_use=no
20828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829 ac_ext=c
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20838 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20839 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20840 for ac_func in ceilf floorf
20841 do :
20842 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20844 eval as_val=\$$as_ac_var
20845 if test "x$as_val" = x""yes; then :
20846 cat >>confdefs.h <<_ACEOF
20847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20848 _ACEOF
20851 done
20853 else
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20855 $as_echo_n "checking for _float round functions... " >&6; }
20856 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20857 $as_echo_n "(cached) " >&6
20858 else
20861 ac_ext=cpp
20862 ac_cpp='$CXXCPP $CPPFLAGS'
20863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #include <math.h>
20871 main ()
20873 _ceilf (0); _floorf (0);
20875 return 0;
20877 _ACEOF
20878 if ac_fn_cxx_try_compile "$LINENO"; then :
20879 glibcxx_cv_func__float_round_use=yes
20880 else
20881 glibcxx_cv_func__float_round_use=no
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884 ac_ext=c
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20893 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20894 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20895 for ac_func in _ceilf _floorf
20896 do :
20897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20899 eval as_val=\$$as_ac_var
20900 if test "x$as_val" = x""yes; then :
20901 cat >>confdefs.h <<_ACEOF
20902 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20903 _ACEOF
20906 done
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20917 $as_echo_n "checking for expf declaration... " >&6; }
20918 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20919 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20920 $as_echo_n "(cached) " >&6
20921 else
20924 ac_ext=cpp
20925 ac_cpp='$CXXCPP $CPPFLAGS'
20926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #include <math.h>
20933 #ifdef HAVE_IEEEFP_H
20934 #include <ieeefp.h>
20935 #endif
20938 main ()
20940 expf(0);
20942 return 0;
20944 _ACEOF
20945 if ac_fn_cxx_try_compile "$LINENO"; then :
20946 glibcxx_cv_func_expf_use=yes
20947 else
20948 glibcxx_cv_func_expf_use=no
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 ac_ext=c
20952 ac_cpp='$CPP $CPPFLAGS'
20953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20962 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20964 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20965 for ac_func in expf
20966 do :
20967 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20968 if test "x$ac_cv_func_expf" = x""yes; then :
20969 cat >>confdefs.h <<_ACEOF
20970 #define HAVE_EXPF 1
20971 _ACEOF
20974 done
20976 else
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20979 $as_echo_n "checking for _expf declaration... " >&6; }
20980 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20981 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20982 $as_echo_n "(cached) " >&6
20983 else
20986 ac_ext=cpp
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 #include <math.h>
20995 #ifdef HAVE_IEEEFP_H
20996 #include <ieeefp.h>
20997 #endif
21000 main ()
21002 _expf(0);
21004 return 0;
21006 _ACEOF
21007 if ac_fn_cxx_try_compile "$LINENO"; then :
21008 glibcxx_cv_func__expf_use=yes
21009 else
21010 glibcxx_cv_func__expf_use=no
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 ac_ext=c
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21024 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21026 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21027 for ac_func in _expf
21028 do :
21029 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21030 if test "x$ac_cv_func__expf" = x""yes; then :
21031 cat >>confdefs.h <<_ACEOF
21032 #define HAVE__EXPF 1
21033 _ACEOF
21036 done
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21046 $as_echo_n "checking for isnanf declaration... " >&6; }
21047 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21048 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21049 $as_echo_n "(cached) " >&6
21050 else
21053 ac_ext=cpp
21054 ac_cpp='$CXXCPP $CPPFLAGS'
21055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21061 #include <math.h>
21062 #ifdef HAVE_IEEEFP_H
21063 #include <ieeefp.h>
21064 #endif
21067 main ()
21069 isnanf(0);
21071 return 0;
21073 _ACEOF
21074 if ac_fn_cxx_try_compile "$LINENO"; then :
21075 glibcxx_cv_func_isnanf_use=yes
21076 else
21077 glibcxx_cv_func_isnanf_use=no
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 ac_ext=c
21081 ac_cpp='$CPP $CPPFLAGS'
21082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21091 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21093 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21094 for ac_func in isnanf
21095 do :
21096 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21097 if test "x$ac_cv_func_isnanf" = x""yes; then :
21098 cat >>confdefs.h <<_ACEOF
21099 #define HAVE_ISNANF 1
21100 _ACEOF
21103 done
21105 else
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21108 $as_echo_n "checking for _isnanf declaration... " >&6; }
21109 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21110 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21111 $as_echo_n "(cached) " >&6
21112 else
21115 ac_ext=cpp
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #include <math.h>
21124 #ifdef HAVE_IEEEFP_H
21125 #include <ieeefp.h>
21126 #endif
21129 main ()
21131 _isnanf(0);
21133 return 0;
21135 _ACEOF
21136 if ac_fn_cxx_try_compile "$LINENO"; then :
21137 glibcxx_cv_func__isnanf_use=yes
21138 else
21139 glibcxx_cv_func__isnanf_use=no
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 ac_ext=c
21143 ac_cpp='$CPP $CPPFLAGS'
21144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21153 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21155 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21156 for ac_func in _isnanf
21157 do :
21158 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21159 if test "x$ac_cv_func__isnanf" = x""yes; then :
21160 cat >>confdefs.h <<_ACEOF
21161 #define HAVE__ISNANF 1
21162 _ACEOF
21165 done
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21175 $as_echo_n "checking for isinff declaration... " >&6; }
21176 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21177 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21178 $as_echo_n "(cached) " >&6
21179 else
21182 ac_ext=cpp
21183 ac_cpp='$CXXCPP $CPPFLAGS'
21184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21190 #include <math.h>
21191 #ifdef HAVE_IEEEFP_H
21192 #include <ieeefp.h>
21193 #endif
21196 main ()
21198 isinff(0);
21200 return 0;
21202 _ACEOF
21203 if ac_fn_cxx_try_compile "$LINENO"; then :
21204 glibcxx_cv_func_isinff_use=yes
21205 else
21206 glibcxx_cv_func_isinff_use=no
21208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 ac_ext=c
21210 ac_cpp='$CPP $CPPFLAGS'
21211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21220 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21222 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21223 for ac_func in isinff
21224 do :
21225 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21226 if test "x$ac_cv_func_isinff" = x""yes; then :
21227 cat >>confdefs.h <<_ACEOF
21228 #define HAVE_ISINFF 1
21229 _ACEOF
21232 done
21234 else
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21237 $as_echo_n "checking for _isinff declaration... " >&6; }
21238 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21239 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21240 $as_echo_n "(cached) " >&6
21241 else
21244 ac_ext=cpp
21245 ac_cpp='$CXXCPP $CPPFLAGS'
21246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21252 #include <math.h>
21253 #ifdef HAVE_IEEEFP_H
21254 #include <ieeefp.h>
21255 #endif
21258 main ()
21260 _isinff(0);
21262 return 0;
21264 _ACEOF
21265 if ac_fn_cxx_try_compile "$LINENO"; then :
21266 glibcxx_cv_func__isinff_use=yes
21267 else
21268 glibcxx_cv_func__isinff_use=no
21270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21271 ac_ext=c
21272 ac_cpp='$CPP $CPPFLAGS'
21273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21282 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21284 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21285 for ac_func in _isinff
21286 do :
21287 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21288 if test "x$ac_cv_func__isinff" = x""yes; then :
21289 cat >>confdefs.h <<_ACEOF
21290 #define HAVE__ISINFF 1
21291 _ACEOF
21294 done
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21304 $as_echo_n "checking for atan2f declaration... " >&6; }
21305 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21306 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21307 $as_echo_n "(cached) " >&6
21308 else
21311 ac_ext=cpp
21312 ac_cpp='$CXXCPP $CPPFLAGS'
21313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #include <math.h>
21321 main ()
21323 atan2f(0, 0);
21325 return 0;
21327 _ACEOF
21328 if ac_fn_cxx_try_compile "$LINENO"; then :
21329 glibcxx_cv_func_atan2f_use=yes
21330 else
21331 glibcxx_cv_func_atan2f_use=no
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334 ac_ext=c
21335 ac_cpp='$CPP $CPPFLAGS'
21336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21345 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21347 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21348 for ac_func in atan2f
21349 do :
21350 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21351 if test "x$ac_cv_func_atan2f" = x""yes; then :
21352 cat >>confdefs.h <<_ACEOF
21353 #define HAVE_ATAN2F 1
21354 _ACEOF
21357 done
21359 else
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21362 $as_echo_n "checking for _atan2f declaration... " >&6; }
21363 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21364 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21365 $as_echo_n "(cached) " >&6
21366 else
21369 ac_ext=cpp
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21376 /* end confdefs.h. */
21377 #include <math.h>
21379 main ()
21381 _atan2f(0, 0);
21383 return 0;
21385 _ACEOF
21386 if ac_fn_cxx_try_compile "$LINENO"; then :
21387 glibcxx_cv_func__atan2f_use=yes
21388 else
21389 glibcxx_cv_func__atan2f_use=no
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392 ac_ext=c
21393 ac_cpp='$CPP $CPPFLAGS'
21394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21403 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21405 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21406 for ac_func in _atan2f
21407 do :
21408 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21409 if test "x$ac_cv_func__atan2f" = x""yes; then :
21410 cat >>confdefs.h <<_ACEOF
21411 #define HAVE__ATAN2F 1
21412 _ACEOF
21415 done
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21425 $as_echo_n "checking for fabsf declaration... " >&6; }
21426 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21427 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21428 $as_echo_n "(cached) " >&6
21429 else
21432 ac_ext=cpp
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21439 /* end confdefs.h. */
21440 #include <math.h>
21441 #ifdef HAVE_IEEEFP_H
21442 #include <ieeefp.h>
21443 #endif
21446 main ()
21448 fabsf(0);
21450 return 0;
21452 _ACEOF
21453 if ac_fn_cxx_try_compile "$LINENO"; then :
21454 glibcxx_cv_func_fabsf_use=yes
21455 else
21456 glibcxx_cv_func_fabsf_use=no
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 ac_ext=c
21460 ac_cpp='$CPP $CPPFLAGS'
21461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21470 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21472 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21473 for ac_func in fabsf
21474 do :
21475 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21476 if test "x$ac_cv_func_fabsf" = x""yes; then :
21477 cat >>confdefs.h <<_ACEOF
21478 #define HAVE_FABSF 1
21479 _ACEOF
21482 done
21484 else
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21487 $as_echo_n "checking for _fabsf declaration... " >&6; }
21488 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21489 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21490 $as_echo_n "(cached) " >&6
21491 else
21494 ac_ext=cpp
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h. */
21502 #include <math.h>
21503 #ifdef HAVE_IEEEFP_H
21504 #include <ieeefp.h>
21505 #endif
21508 main ()
21510 _fabsf(0);
21512 return 0;
21514 _ACEOF
21515 if ac_fn_cxx_try_compile "$LINENO"; then :
21516 glibcxx_cv_func__fabsf_use=yes
21517 else
21518 glibcxx_cv_func__fabsf_use=no
21520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21521 ac_ext=c
21522 ac_cpp='$CPP $CPPFLAGS'
21523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21532 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21534 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21535 for ac_func in _fabsf
21536 do :
21537 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21538 if test "x$ac_cv_func__fabsf" = x""yes; then :
21539 cat >>confdefs.h <<_ACEOF
21540 #define HAVE__FABSF 1
21541 _ACEOF
21544 done
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21554 $as_echo_n "checking for fmodf declaration... " >&6; }
21555 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21556 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21557 $as_echo_n "(cached) " >&6
21558 else
21561 ac_ext=cpp
21562 ac_cpp='$CXXCPP $CPPFLAGS'
21563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21569 #include <math.h>
21571 main ()
21573 fmodf(0, 0);
21575 return 0;
21577 _ACEOF
21578 if ac_fn_cxx_try_compile "$LINENO"; then :
21579 glibcxx_cv_func_fmodf_use=yes
21580 else
21581 glibcxx_cv_func_fmodf_use=no
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 ac_ext=c
21585 ac_cpp='$CPP $CPPFLAGS'
21586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21595 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21597 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21598 for ac_func in fmodf
21599 do :
21600 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21601 if test "x$ac_cv_func_fmodf" = x""yes; then :
21602 cat >>confdefs.h <<_ACEOF
21603 #define HAVE_FMODF 1
21604 _ACEOF
21607 done
21609 else
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21612 $as_echo_n "checking for _fmodf declaration... " >&6; }
21613 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21614 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21616 else
21619 ac_ext=cpp
21620 ac_cpp='$CXXCPP $CPPFLAGS'
21621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h. */
21627 #include <math.h>
21629 main ()
21631 _fmodf(0, 0);
21633 return 0;
21635 _ACEOF
21636 if ac_fn_cxx_try_compile "$LINENO"; then :
21637 glibcxx_cv_func__fmodf_use=yes
21638 else
21639 glibcxx_cv_func__fmodf_use=no
21641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21653 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21655 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21656 for ac_func in _fmodf
21657 do :
21658 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21659 if test "x$ac_cv_func__fmodf" = x""yes; then :
21660 cat >>confdefs.h <<_ACEOF
21661 #define HAVE__FMODF 1
21662 _ACEOF
21665 done
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21675 $as_echo_n "checking for frexpf declaration... " >&6; }
21676 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21677 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21678 $as_echo_n "(cached) " >&6
21679 else
21682 ac_ext=cpp
21683 ac_cpp='$CXXCPP $CPPFLAGS'
21684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21690 #include <math.h>
21692 main ()
21694 frexpf(0, 0);
21696 return 0;
21698 _ACEOF
21699 if ac_fn_cxx_try_compile "$LINENO"; then :
21700 glibcxx_cv_func_frexpf_use=yes
21701 else
21702 glibcxx_cv_func_frexpf_use=no
21704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705 ac_ext=c
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21716 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21718 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21719 for ac_func in frexpf
21720 do :
21721 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21722 if test "x$ac_cv_func_frexpf" = x""yes; then :
21723 cat >>confdefs.h <<_ACEOF
21724 #define HAVE_FREXPF 1
21725 _ACEOF
21728 done
21730 else
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21733 $as_echo_n "checking for _frexpf declaration... " >&6; }
21734 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21735 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <math.h>
21750 main ()
21752 _frexpf(0, 0);
21754 return 0;
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758 glibcxx_cv_func__frexpf_use=yes
21759 else
21760 glibcxx_cv_func__frexpf_use=no
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763 ac_ext=c
21764 ac_cpp='$CPP $CPPFLAGS'
21765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21774 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21776 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21777 for ac_func in _frexpf
21778 do :
21779 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21780 if test "x$ac_cv_func__frexpf" = x""yes; then :
21781 cat >>confdefs.h <<_ACEOF
21782 #define HAVE__FREXPF 1
21783 _ACEOF
21786 done
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21796 $as_echo_n "checking for hypotf declaration... " >&6; }
21797 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21798 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21799 $as_echo_n "(cached) " >&6
21800 else
21803 ac_ext=cpp
21804 ac_cpp='$CXXCPP $CPPFLAGS'
21805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21811 #include <math.h>
21813 main ()
21815 hypotf(0, 0);
21817 return 0;
21819 _ACEOF
21820 if ac_fn_cxx_try_compile "$LINENO"; then :
21821 glibcxx_cv_func_hypotf_use=yes
21822 else
21823 glibcxx_cv_func_hypotf_use=no
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826 ac_ext=c
21827 ac_cpp='$CPP $CPPFLAGS'
21828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21837 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21839 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21840 for ac_func in hypotf
21841 do :
21842 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21843 if test "x$ac_cv_func_hypotf" = x""yes; then :
21844 cat >>confdefs.h <<_ACEOF
21845 #define HAVE_HYPOTF 1
21846 _ACEOF
21849 done
21851 else
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21854 $as_echo_n "checking for _hypotf declaration... " >&6; }
21855 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21856 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21857 $as_echo_n "(cached) " >&6
21858 else
21861 ac_ext=cpp
21862 ac_cpp='$CXXCPP $CPPFLAGS'
21863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21868 /* end confdefs.h. */
21869 #include <math.h>
21871 main ()
21873 _hypotf(0, 0);
21875 return 0;
21877 _ACEOF
21878 if ac_fn_cxx_try_compile "$LINENO"; then :
21879 glibcxx_cv_func__hypotf_use=yes
21880 else
21881 glibcxx_cv_func__hypotf_use=no
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 ac_ext=c
21885 ac_cpp='$CPP $CPPFLAGS'
21886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21895 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21897 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21898 for ac_func in _hypotf
21899 do :
21900 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21901 if test "x$ac_cv_func__hypotf" = x""yes; then :
21902 cat >>confdefs.h <<_ACEOF
21903 #define HAVE__HYPOTF 1
21904 _ACEOF
21907 done
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21917 $as_echo_n "checking for ldexpf declaration... " >&6; }
21918 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21919 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21920 $as_echo_n "(cached) " >&6
21921 else
21924 ac_ext=cpp
21925 ac_cpp='$CXXCPP $CPPFLAGS'
21926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21932 #include <math.h>
21934 main ()
21936 ldexpf(0, 0);
21938 return 0;
21940 _ACEOF
21941 if ac_fn_cxx_try_compile "$LINENO"; then :
21942 glibcxx_cv_func_ldexpf_use=yes
21943 else
21944 glibcxx_cv_func_ldexpf_use=no
21946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947 ac_ext=c
21948 ac_cpp='$CPP $CPPFLAGS'
21949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21958 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21960 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21961 for ac_func in ldexpf
21962 do :
21963 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21964 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21965 cat >>confdefs.h <<_ACEOF
21966 #define HAVE_LDEXPF 1
21967 _ACEOF
21970 done
21972 else
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21975 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21976 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21977 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21978 $as_echo_n "(cached) " >&6
21979 else
21982 ac_ext=cpp
21983 ac_cpp='$CXXCPP $CPPFLAGS'
21984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21990 #include <math.h>
21992 main ()
21994 _ldexpf(0, 0);
21996 return 0;
21998 _ACEOF
21999 if ac_fn_cxx_try_compile "$LINENO"; then :
22000 glibcxx_cv_func__ldexpf_use=yes
22001 else
22002 glibcxx_cv_func__ldexpf_use=no
22004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 ac_ext=c
22006 ac_cpp='$CPP $CPPFLAGS'
22007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22016 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22018 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22019 for ac_func in _ldexpf
22020 do :
22021 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22022 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22023 cat >>confdefs.h <<_ACEOF
22024 #define HAVE__LDEXPF 1
22025 _ACEOF
22028 done
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22038 $as_echo_n "checking for logf declaration... " >&6; }
22039 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22040 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22041 $as_echo_n "(cached) " >&6
22042 else
22045 ac_ext=cpp
22046 ac_cpp='$CXXCPP $CPPFLAGS'
22047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22052 /* end confdefs.h. */
22053 #include <math.h>
22054 #ifdef HAVE_IEEEFP_H
22055 #include <ieeefp.h>
22056 #endif
22059 main ()
22061 logf(0);
22063 return 0;
22065 _ACEOF
22066 if ac_fn_cxx_try_compile "$LINENO"; then :
22067 glibcxx_cv_func_logf_use=yes
22068 else
22069 glibcxx_cv_func_logf_use=no
22071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 ac_ext=c
22073 ac_cpp='$CPP $CPPFLAGS'
22074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22083 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22085 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22086 for ac_func in logf
22087 do :
22088 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22089 if test "x$ac_cv_func_logf" = x""yes; then :
22090 cat >>confdefs.h <<_ACEOF
22091 #define HAVE_LOGF 1
22092 _ACEOF
22095 done
22097 else
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22100 $as_echo_n "checking for _logf declaration... " >&6; }
22101 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22102 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22103 $as_echo_n "(cached) " >&6
22104 else
22107 ac_ext=cpp
22108 ac_cpp='$CXXCPP $CPPFLAGS'
22109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22115 #include <math.h>
22116 #ifdef HAVE_IEEEFP_H
22117 #include <ieeefp.h>
22118 #endif
22121 main ()
22123 _logf(0);
22125 return 0;
22127 _ACEOF
22128 if ac_fn_cxx_try_compile "$LINENO"; then :
22129 glibcxx_cv_func__logf_use=yes
22130 else
22131 glibcxx_cv_func__logf_use=no
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134 ac_ext=c
22135 ac_cpp='$CPP $CPPFLAGS'
22136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22145 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22147 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22148 for ac_func in _logf
22149 do :
22150 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22151 if test "x$ac_cv_func__logf" = x""yes; then :
22152 cat >>confdefs.h <<_ACEOF
22153 #define HAVE__LOGF 1
22154 _ACEOF
22157 done
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22167 $as_echo_n "checking for log10f declaration... " >&6; }
22168 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22169 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22174 ac_ext=cpp
22175 ac_cpp='$CXXCPP $CPPFLAGS'
22176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22181 /* end confdefs.h. */
22182 #include <math.h>
22183 #ifdef HAVE_IEEEFP_H
22184 #include <ieeefp.h>
22185 #endif
22188 main ()
22190 log10f(0);
22192 return 0;
22194 _ACEOF
22195 if ac_fn_cxx_try_compile "$LINENO"; then :
22196 glibcxx_cv_func_log10f_use=yes
22197 else
22198 glibcxx_cv_func_log10f_use=no
22200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22201 ac_ext=c
22202 ac_cpp='$CPP $CPPFLAGS'
22203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22212 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22214 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22215 for ac_func in log10f
22216 do :
22217 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22218 if test "x$ac_cv_func_log10f" = x""yes; then :
22219 cat >>confdefs.h <<_ACEOF
22220 #define HAVE_LOG10F 1
22221 _ACEOF
22224 done
22226 else
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22229 $as_echo_n "checking for _log10f declaration... " >&6; }
22230 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22231 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22232 $as_echo_n "(cached) " >&6
22233 else
22236 ac_ext=cpp
22237 ac_cpp='$CXXCPP $CPPFLAGS'
22238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22244 #include <math.h>
22245 #ifdef HAVE_IEEEFP_H
22246 #include <ieeefp.h>
22247 #endif
22250 main ()
22252 _log10f(0);
22254 return 0;
22256 _ACEOF
22257 if ac_fn_cxx_try_compile "$LINENO"; then :
22258 glibcxx_cv_func__log10f_use=yes
22259 else
22260 glibcxx_cv_func__log10f_use=no
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 ac_ext=c
22264 ac_cpp='$CPP $CPPFLAGS'
22265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22274 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22276 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22277 for ac_func in _log10f
22278 do :
22279 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22280 if test "x$ac_cv_func__log10f" = x""yes; then :
22281 cat >>confdefs.h <<_ACEOF
22282 #define HAVE__LOG10F 1
22283 _ACEOF
22286 done
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22296 $as_echo_n "checking for modff declaration... " >&6; }
22297 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22298 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22299 $as_echo_n "(cached) " >&6
22300 else
22303 ac_ext=cpp
22304 ac_cpp='$CXXCPP $CPPFLAGS'
22305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22311 #include <math.h>
22313 main ()
22315 modff(0, 0);
22317 return 0;
22319 _ACEOF
22320 if ac_fn_cxx_try_compile "$LINENO"; then :
22321 glibcxx_cv_func_modff_use=yes
22322 else
22323 glibcxx_cv_func_modff_use=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 ac_ext=c
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22337 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22339 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22340 for ac_func in modff
22341 do :
22342 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22343 if test "x$ac_cv_func_modff" = x""yes; then :
22344 cat >>confdefs.h <<_ACEOF
22345 #define HAVE_MODFF 1
22346 _ACEOF
22349 done
22351 else
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22354 $as_echo_n "checking for _modff declaration... " >&6; }
22355 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22356 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22357 $as_echo_n "(cached) " >&6
22358 else
22361 ac_ext=cpp
22362 ac_cpp='$CXXCPP $CPPFLAGS'
22363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22368 /* end confdefs.h. */
22369 #include <math.h>
22371 main ()
22373 _modff(0, 0);
22375 return 0;
22377 _ACEOF
22378 if ac_fn_cxx_try_compile "$LINENO"; then :
22379 glibcxx_cv_func__modff_use=yes
22380 else
22381 glibcxx_cv_func__modff_use=no
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 ac_ext=c
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22395 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22397 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22398 for ac_func in _modff
22399 do :
22400 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22401 if test "x$ac_cv_func__modff" = x""yes; then :
22402 cat >>confdefs.h <<_ACEOF
22403 #define HAVE__MODFF 1
22404 _ACEOF
22407 done
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22417 $as_echo_n "checking for modf declaration... " >&6; }
22418 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22419 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22420 $as_echo_n "(cached) " >&6
22421 else
22424 ac_ext=cpp
22425 ac_cpp='$CXXCPP $CPPFLAGS'
22426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22432 #include <math.h>
22434 main ()
22436 modf(0, 0);
22438 return 0;
22440 _ACEOF
22441 if ac_fn_cxx_try_compile "$LINENO"; then :
22442 glibcxx_cv_func_modf_use=yes
22443 else
22444 glibcxx_cv_func_modf_use=no
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447 ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22458 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22460 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22461 for ac_func in modf
22462 do :
22463 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22464 if test "x$ac_cv_func_modf" = x""yes; then :
22465 cat >>confdefs.h <<_ACEOF
22466 #define HAVE_MODF 1
22467 _ACEOF
22470 done
22472 else
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22475 $as_echo_n "checking for _modf declaration... " >&6; }
22476 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22477 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22479 else
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22490 #include <math.h>
22492 main ()
22494 _modf(0, 0);
22496 return 0;
22498 _ACEOF
22499 if ac_fn_cxx_try_compile "$LINENO"; then :
22500 glibcxx_cv_func__modf_use=yes
22501 else
22502 glibcxx_cv_func__modf_use=no
22504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22505 ac_ext=c
22506 ac_cpp='$CPP $CPPFLAGS'
22507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22516 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22518 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22519 for ac_func in _modf
22520 do :
22521 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22522 if test "x$ac_cv_func__modf" = x""yes; then :
22523 cat >>confdefs.h <<_ACEOF
22524 #define HAVE__MODF 1
22525 _ACEOF
22528 done
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22538 $as_echo_n "checking for powf declaration... " >&6; }
22539 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22540 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22541 $as_echo_n "(cached) " >&6
22542 else
22545 ac_ext=cpp
22546 ac_cpp='$CXXCPP $CPPFLAGS'
22547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22553 #include <math.h>
22555 main ()
22557 powf(0, 0);
22559 return 0;
22561 _ACEOF
22562 if ac_fn_cxx_try_compile "$LINENO"; then :
22563 glibcxx_cv_func_powf_use=yes
22564 else
22565 glibcxx_cv_func_powf_use=no
22567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22568 ac_ext=c
22569 ac_cpp='$CPP $CPPFLAGS'
22570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22579 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22581 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22582 for ac_func in powf
22583 do :
22584 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22585 if test "x$ac_cv_func_powf" = x""yes; then :
22586 cat >>confdefs.h <<_ACEOF
22587 #define HAVE_POWF 1
22588 _ACEOF
22591 done
22593 else
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22596 $as_echo_n "checking for _powf declaration... " >&6; }
22597 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22598 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22599 $as_echo_n "(cached) " >&6
22600 else
22603 ac_ext=cpp
22604 ac_cpp='$CXXCPP $CPPFLAGS'
22605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610 /* end confdefs.h. */
22611 #include <math.h>
22613 main ()
22615 _powf(0, 0);
22617 return 0;
22619 _ACEOF
22620 if ac_fn_cxx_try_compile "$LINENO"; then :
22621 glibcxx_cv_func__powf_use=yes
22622 else
22623 glibcxx_cv_func__powf_use=no
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22637 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22639 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22640 for ac_func in _powf
22641 do :
22642 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22643 if test "x$ac_cv_func__powf" = x""yes; then :
22644 cat >>confdefs.h <<_ACEOF
22645 #define HAVE__POWF 1
22646 _ACEOF
22649 done
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22659 $as_echo_n "checking for sqrtf declaration... " >&6; }
22660 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22661 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22663 else
22666 ac_ext=cpp
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22673 /* end confdefs.h. */
22674 #include <math.h>
22675 #ifdef HAVE_IEEEFP_H
22676 #include <ieeefp.h>
22677 #endif
22680 main ()
22682 sqrtf(0);
22684 return 0;
22686 _ACEOF
22687 if ac_fn_cxx_try_compile "$LINENO"; then :
22688 glibcxx_cv_func_sqrtf_use=yes
22689 else
22690 glibcxx_cv_func_sqrtf_use=no
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 ac_ext=c
22694 ac_cpp='$CPP $CPPFLAGS'
22695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22704 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22706 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22707 for ac_func in sqrtf
22708 do :
22709 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22710 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22711 cat >>confdefs.h <<_ACEOF
22712 #define HAVE_SQRTF 1
22713 _ACEOF
22716 done
22718 else
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22721 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22722 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22723 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22724 $as_echo_n "(cached) " >&6
22725 else
22728 ac_ext=cpp
22729 ac_cpp='$CXXCPP $CPPFLAGS'
22730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22735 /* end confdefs.h. */
22736 #include <math.h>
22737 #ifdef HAVE_IEEEFP_H
22738 #include <ieeefp.h>
22739 #endif
22742 main ()
22744 _sqrtf(0);
22746 return 0;
22748 _ACEOF
22749 if ac_fn_cxx_try_compile "$LINENO"; then :
22750 glibcxx_cv_func__sqrtf_use=yes
22751 else
22752 glibcxx_cv_func__sqrtf_use=no
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755 ac_ext=c
22756 ac_cpp='$CPP $CPPFLAGS'
22757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22766 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22768 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22769 for ac_func in _sqrtf
22770 do :
22771 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22772 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22773 cat >>confdefs.h <<_ACEOF
22774 #define HAVE__SQRTF 1
22775 _ACEOF
22778 done
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22788 $as_echo_n "checking for sincosf declaration... " >&6; }
22789 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22790 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22791 $as_echo_n "(cached) " >&6
22792 else
22795 ac_ext=cpp
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802 /* end confdefs.h. */
22803 #include <math.h>
22805 main ()
22807 sincosf(0, 0, 0);
22809 return 0;
22811 _ACEOF
22812 if ac_fn_cxx_try_compile "$LINENO"; then :
22813 glibcxx_cv_func_sincosf_use=yes
22814 else
22815 glibcxx_cv_func_sincosf_use=no
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818 ac_ext=c
22819 ac_cpp='$CPP $CPPFLAGS'
22820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22829 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22831 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22832 for ac_func in sincosf
22833 do :
22834 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22835 if test "x$ac_cv_func_sincosf" = x""yes; then :
22836 cat >>confdefs.h <<_ACEOF
22837 #define HAVE_SINCOSF 1
22838 _ACEOF
22841 done
22843 else
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22846 $as_echo_n "checking for _sincosf declaration... " >&6; }
22847 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22848 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22849 $as_echo_n "(cached) " >&6
22850 else
22853 ac_ext=cpp
22854 ac_cpp='$CXXCPP $CPPFLAGS'
22855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22861 #include <math.h>
22863 main ()
22865 _sincosf(0, 0, 0);
22867 return 0;
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871 glibcxx_cv_func__sincosf_use=yes
22872 else
22873 glibcxx_cv_func__sincosf_use=no
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22887 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22889 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22890 for ac_func in _sincosf
22891 do :
22892 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22893 if test "x$ac_cv_func__sincosf" = x""yes; then :
22894 cat >>confdefs.h <<_ACEOF
22895 #define HAVE__SINCOSF 1
22896 _ACEOF
22899 done
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22909 $as_echo_n "checking for finitef declaration... " >&6; }
22910 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22911 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22912 $as_echo_n "(cached) " >&6
22913 else
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924 #include <math.h>
22925 #ifdef HAVE_IEEEFP_H
22926 #include <ieeefp.h>
22927 #endif
22930 main ()
22932 finitef(0);
22934 return 0;
22936 _ACEOF
22937 if ac_fn_cxx_try_compile "$LINENO"; then :
22938 glibcxx_cv_func_finitef_use=yes
22939 else
22940 glibcxx_cv_func_finitef_use=no
22942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943 ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22954 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22956 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22957 for ac_func in finitef
22958 do :
22959 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22960 if test "x$ac_cv_func_finitef" = x""yes; then :
22961 cat >>confdefs.h <<_ACEOF
22962 #define HAVE_FINITEF 1
22963 _ACEOF
22966 done
22968 else
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22971 $as_echo_n "checking for _finitef declaration... " >&6; }
22972 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22973 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22974 $as_echo_n "(cached) " >&6
22975 else
22978 ac_ext=cpp
22979 ac_cpp='$CXXCPP $CPPFLAGS'
22980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22986 #include <math.h>
22987 #ifdef HAVE_IEEEFP_H
22988 #include <ieeefp.h>
22989 #endif
22992 main ()
22994 _finitef(0);
22996 return 0;
22998 _ACEOF
22999 if ac_fn_cxx_try_compile "$LINENO"; then :
23000 glibcxx_cv_func__finitef_use=yes
23001 else
23002 glibcxx_cv_func__finitef_use=no
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005 ac_ext=c
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23016 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23018 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23019 for ac_func in _finitef
23020 do :
23021 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23022 if test "x$ac_cv_func__finitef" = x""yes; then :
23023 cat >>confdefs.h <<_ACEOF
23024 #define HAVE__FINITEF 1
23025 _ACEOF
23028 done
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23038 $as_echo_n "checking for long double trig functions... " >&6; }
23039 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23040 $as_echo_n "(cached) " >&6
23041 else
23044 ac_ext=cpp
23045 ac_cpp='$CXXCPP $CPPFLAGS'
23046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23051 /* end confdefs.h. */
23052 #include <math.h>
23054 main ()
23056 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23058 return 0;
23060 _ACEOF
23061 if ac_fn_cxx_try_compile "$LINENO"; then :
23062 glibcxx_cv_func_long_double_trig_use=yes
23063 else
23064 glibcxx_cv_func_long_double_trig_use=no
23066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23067 ac_ext=c
23068 ac_cpp='$CPP $CPPFLAGS'
23069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23076 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23077 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23078 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23079 do :
23080 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23082 eval as_val=\$$as_ac_var
23083 if test "x$as_val" = x""yes; then :
23084 cat >>confdefs.h <<_ACEOF
23085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23086 _ACEOF
23089 done
23091 else
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23093 $as_echo_n "checking for _long double trig functions... " >&6; }
23094 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23095 $as_echo_n "(cached) " >&6
23096 else
23099 ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h. */
23107 #include <math.h>
23109 main ()
23111 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23113 return 0;
23115 _ACEOF
23116 if ac_fn_cxx_try_compile "$LINENO"; then :
23117 glibcxx_cv_func__long_double_trig_use=yes
23118 else
23119 glibcxx_cv_func__long_double_trig_use=no
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122 ac_ext=c
23123 ac_cpp='$CPP $CPPFLAGS'
23124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23131 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23132 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23133 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23134 do :
23135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23137 eval as_val=\$$as_ac_var
23138 if test "x$as_val" = x""yes; then :
23139 cat >>confdefs.h <<_ACEOF
23140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23141 _ACEOF
23144 done
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23154 $as_echo_n "checking for long double round functions... " >&6; }
23155 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23156 $as_echo_n "(cached) " >&6
23157 else
23160 ac_ext=cpp
23161 ac_cpp='$CXXCPP $CPPFLAGS'
23162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23167 /* end confdefs.h. */
23168 #include <math.h>
23170 main ()
23172 ceill (0); floorl (0);
23174 return 0;
23176 _ACEOF
23177 if ac_fn_cxx_try_compile "$LINENO"; then :
23178 glibcxx_cv_func_long_double_round_use=yes
23179 else
23180 glibcxx_cv_func_long_double_round_use=no
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183 ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23192 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23193 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23194 for ac_func in ceill floorl
23195 do :
23196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23198 eval as_val=\$$as_ac_var
23199 if test "x$as_val" = x""yes; then :
23200 cat >>confdefs.h <<_ACEOF
23201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23202 _ACEOF
23205 done
23207 else
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23209 $as_echo_n "checking for _long double round functions... " >&6; }
23210 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23215 ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223 #include <math.h>
23225 main ()
23227 _ceill (0); _floorl (0);
23229 return 0;
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233 glibcxx_cv_func__long_double_round_use=yes
23234 else
23235 glibcxx_cv_func__long_double_round_use=no
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23247 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23248 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23249 for ac_func in _ceill _floorl
23250 do :
23251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23253 eval as_val=\$$as_ac_var
23254 if test "x$as_val" = x""yes; then :
23255 cat >>confdefs.h <<_ACEOF
23256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23257 _ACEOF
23260 done
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23271 $as_echo_n "checking for isnanl declaration... " >&6; }
23272 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23273 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23274 $as_echo_n "(cached) " >&6
23275 else
23278 ac_ext=cpp
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h. */
23286 #include <math.h>
23287 #ifdef HAVE_IEEEFP_H
23288 #include <ieeefp.h>
23289 #endif
23292 main ()
23294 isnanl(0);
23296 return 0;
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300 glibcxx_cv_func_isnanl_use=yes
23301 else
23302 glibcxx_cv_func_isnanl_use=no
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23316 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23318 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23319 for ac_func in isnanl
23320 do :
23321 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23322 if test "x$ac_cv_func_isnanl" = x""yes; then :
23323 cat >>confdefs.h <<_ACEOF
23324 #define HAVE_ISNANL 1
23325 _ACEOF
23328 done
23330 else
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23333 $as_echo_n "checking for _isnanl declaration... " >&6; }
23334 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23335 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23336 $as_echo_n "(cached) " >&6
23337 else
23340 ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23348 #include <math.h>
23349 #ifdef HAVE_IEEEFP_H
23350 #include <ieeefp.h>
23351 #endif
23354 main ()
23356 _isnanl(0);
23358 return 0;
23360 _ACEOF
23361 if ac_fn_cxx_try_compile "$LINENO"; then :
23362 glibcxx_cv_func__isnanl_use=yes
23363 else
23364 glibcxx_cv_func__isnanl_use=no
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23367 ac_ext=c
23368 ac_cpp='$CPP $CPPFLAGS'
23369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23378 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23380 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23381 for ac_func in _isnanl
23382 do :
23383 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23384 if test "x$ac_cv_func__isnanl" = x""yes; then :
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE__ISNANL 1
23387 _ACEOF
23390 done
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23400 $as_echo_n "checking for isinfl declaration... " >&6; }
23401 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23402 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23403 $as_echo_n "(cached) " >&6
23404 else
23407 ac_ext=cpp
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23415 #include <math.h>
23416 #ifdef HAVE_IEEEFP_H
23417 #include <ieeefp.h>
23418 #endif
23421 main ()
23423 isinfl(0);
23425 return 0;
23427 _ACEOF
23428 if ac_fn_cxx_try_compile "$LINENO"; then :
23429 glibcxx_cv_func_isinfl_use=yes
23430 else
23431 glibcxx_cv_func_isinfl_use=no
23433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23434 ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23445 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23447 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23448 for ac_func in isinfl
23449 do :
23450 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23451 if test "x$ac_cv_func_isinfl" = x""yes; then :
23452 cat >>confdefs.h <<_ACEOF
23453 #define HAVE_ISINFL 1
23454 _ACEOF
23457 done
23459 else
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23462 $as_echo_n "checking for _isinfl declaration... " >&6; }
23463 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23464 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23465 $as_echo_n "(cached) " >&6
23466 else
23469 ac_ext=cpp
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h. */
23477 #include <math.h>
23478 #ifdef HAVE_IEEEFP_H
23479 #include <ieeefp.h>
23480 #endif
23483 main ()
23485 _isinfl(0);
23487 return 0;
23489 _ACEOF
23490 if ac_fn_cxx_try_compile "$LINENO"; then :
23491 glibcxx_cv_func__isinfl_use=yes
23492 else
23493 glibcxx_cv_func__isinfl_use=no
23495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496 ac_ext=c
23497 ac_cpp='$CPP $CPPFLAGS'
23498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23507 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23509 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23510 for ac_func in _isinfl
23511 do :
23512 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23513 if test "x$ac_cv_func__isinfl" = x""yes; then :
23514 cat >>confdefs.h <<_ACEOF
23515 #define HAVE__ISINFL 1
23516 _ACEOF
23519 done
23528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23529 $as_echo_n "checking for atan2l declaration... " >&6; }
23530 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23531 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23532 $as_echo_n "(cached) " >&6
23533 else
23536 ac_ext=cpp
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23543 /* end confdefs.h. */
23544 #include <math.h>
23546 main ()
23548 atan2l(0, 0);
23550 return 0;
23552 _ACEOF
23553 if ac_fn_cxx_try_compile "$LINENO"; then :
23554 glibcxx_cv_func_atan2l_use=yes
23555 else
23556 glibcxx_cv_func_atan2l_use=no
23558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23559 ac_ext=c
23560 ac_cpp='$CPP $CPPFLAGS'
23561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23570 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23572 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23573 for ac_func in atan2l
23574 do :
23575 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23576 if test "x$ac_cv_func_atan2l" = x""yes; then :
23577 cat >>confdefs.h <<_ACEOF
23578 #define HAVE_ATAN2L 1
23579 _ACEOF
23582 done
23584 else
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23587 $as_echo_n "checking for _atan2l declaration... " >&6; }
23588 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23589 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23590 $as_echo_n "(cached) " >&6
23591 else
23594 ac_ext=cpp
23595 ac_cpp='$CXXCPP $CPPFLAGS'
23596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 /* end confdefs.h. */
23602 #include <math.h>
23604 main ()
23606 _atan2l(0, 0);
23608 return 0;
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612 glibcxx_cv_func__atan2l_use=yes
23613 else
23614 glibcxx_cv_func__atan2l_use=no
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23628 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23630 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23631 for ac_func in _atan2l
23632 do :
23633 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23634 if test "x$ac_cv_func__atan2l" = x""yes; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define HAVE__ATAN2L 1
23637 _ACEOF
23640 done
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23650 $as_echo_n "checking for expl declaration... " >&6; }
23651 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23652 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23657 ac_ext=cpp
23658 ac_cpp='$CXXCPP $CPPFLAGS'
23659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23664 /* end confdefs.h. */
23665 #include <math.h>
23666 #ifdef HAVE_IEEEFP_H
23667 #include <ieeefp.h>
23668 #endif
23671 main ()
23673 expl(0);
23675 return 0;
23677 _ACEOF
23678 if ac_fn_cxx_try_compile "$LINENO"; then :
23679 glibcxx_cv_func_expl_use=yes
23680 else
23681 glibcxx_cv_func_expl_use=no
23683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23684 ac_ext=c
23685 ac_cpp='$CPP $CPPFLAGS'
23686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23695 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23697 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23698 for ac_func in expl
23699 do :
23700 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23701 if test "x$ac_cv_func_expl" = x""yes; then :
23702 cat >>confdefs.h <<_ACEOF
23703 #define HAVE_EXPL 1
23704 _ACEOF
23707 done
23709 else
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23712 $as_echo_n "checking for _expl declaration... " >&6; }
23713 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23714 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23715 $as_echo_n "(cached) " >&6
23716 else
23719 ac_ext=cpp
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h. */
23727 #include <math.h>
23728 #ifdef HAVE_IEEEFP_H
23729 #include <ieeefp.h>
23730 #endif
23733 main ()
23735 _expl(0);
23737 return 0;
23739 _ACEOF
23740 if ac_fn_cxx_try_compile "$LINENO"; then :
23741 glibcxx_cv_func__expl_use=yes
23742 else
23743 glibcxx_cv_func__expl_use=no
23745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23746 ac_ext=c
23747 ac_cpp='$CPP $CPPFLAGS'
23748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23757 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23759 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23760 for ac_func in _expl
23761 do :
23762 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23763 if test "x$ac_cv_func__expl" = x""yes; then :
23764 cat >>confdefs.h <<_ACEOF
23765 #define HAVE__EXPL 1
23766 _ACEOF
23769 done
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23779 $as_echo_n "checking for fabsl declaration... " >&6; }
23780 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23781 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23782 $as_echo_n "(cached) " >&6
23783 else
23786 ac_ext=cpp
23787 ac_cpp='$CXXCPP $CPPFLAGS'
23788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23793 /* end confdefs.h. */
23794 #include <math.h>
23795 #ifdef HAVE_IEEEFP_H
23796 #include <ieeefp.h>
23797 #endif
23800 main ()
23802 fabsl(0);
23804 return 0;
23806 _ACEOF
23807 if ac_fn_cxx_try_compile "$LINENO"; then :
23808 glibcxx_cv_func_fabsl_use=yes
23809 else
23810 glibcxx_cv_func_fabsl_use=no
23812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23813 ac_ext=c
23814 ac_cpp='$CPP $CPPFLAGS'
23815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23824 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23826 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23827 for ac_func in fabsl
23828 do :
23829 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23830 if test "x$ac_cv_func_fabsl" = x""yes; then :
23831 cat >>confdefs.h <<_ACEOF
23832 #define HAVE_FABSL 1
23833 _ACEOF
23836 done
23838 else
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23841 $as_echo_n "checking for _fabsl declaration... " >&6; }
23842 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23843 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23844 $as_echo_n "(cached) " >&6
23845 else
23848 ac_ext=cpp
23849 ac_cpp='$CXXCPP $CPPFLAGS'
23850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23855 /* end confdefs.h. */
23856 #include <math.h>
23857 #ifdef HAVE_IEEEFP_H
23858 #include <ieeefp.h>
23859 #endif
23862 main ()
23864 _fabsl(0);
23866 return 0;
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870 glibcxx_cv_func__fabsl_use=yes
23871 else
23872 glibcxx_cv_func__fabsl_use=no
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875 ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23886 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23888 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23889 for ac_func in _fabsl
23890 do :
23891 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23892 if test "x$ac_cv_func__fabsl" = x""yes; then :
23893 cat >>confdefs.h <<_ACEOF
23894 #define HAVE__FABSL 1
23895 _ACEOF
23898 done
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23908 $as_echo_n "checking for fmodl declaration... " >&6; }
23909 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23910 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23911 $as_echo_n "(cached) " >&6
23912 else
23915 ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23922 /* end confdefs.h. */
23923 #include <math.h>
23925 main ()
23927 fmodl(0, 0);
23929 return 0;
23931 _ACEOF
23932 if ac_fn_cxx_try_compile "$LINENO"; then :
23933 glibcxx_cv_func_fmodl_use=yes
23934 else
23935 glibcxx_cv_func_fmodl_use=no
23937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23938 ac_ext=c
23939 ac_cpp='$CPP $CPPFLAGS'
23940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23949 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23951 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23952 for ac_func in fmodl
23953 do :
23954 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23955 if test "x$ac_cv_func_fmodl" = x""yes; then :
23956 cat >>confdefs.h <<_ACEOF
23957 #define HAVE_FMODL 1
23958 _ACEOF
23961 done
23963 else
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23966 $as_echo_n "checking for _fmodl declaration... " >&6; }
23967 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23968 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23969 $as_echo_n "(cached) " >&6
23970 else
23973 ac_ext=cpp
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23981 #include <math.h>
23983 main ()
23985 _fmodl(0, 0);
23987 return 0;
23989 _ACEOF
23990 if ac_fn_cxx_try_compile "$LINENO"; then :
23991 glibcxx_cv_func__fmodl_use=yes
23992 else
23993 glibcxx_cv_func__fmodl_use=no
23995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996 ac_ext=c
23997 ac_cpp='$CPP $CPPFLAGS'
23998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24007 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24009 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24010 for ac_func in _fmodl
24011 do :
24012 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24013 if test "x$ac_cv_func__fmodl" = x""yes; then :
24014 cat >>confdefs.h <<_ACEOF
24015 #define HAVE__FMODL 1
24016 _ACEOF
24019 done
24028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24029 $as_echo_n "checking for frexpl declaration... " >&6; }
24030 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24031 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24032 $as_echo_n "(cached) " >&6
24033 else
24036 ac_ext=cpp
24037 ac_cpp='$CXXCPP $CPPFLAGS'
24038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h. */
24044 #include <math.h>
24046 main ()
24048 frexpl(0, 0);
24050 return 0;
24052 _ACEOF
24053 if ac_fn_cxx_try_compile "$LINENO"; then :
24054 glibcxx_cv_func_frexpl_use=yes
24055 else
24056 glibcxx_cv_func_frexpl_use=no
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24070 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24072 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24073 for ac_func in frexpl
24074 do :
24075 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24076 if test "x$ac_cv_func_frexpl" = x""yes; then :
24077 cat >>confdefs.h <<_ACEOF
24078 #define HAVE_FREXPL 1
24079 _ACEOF
24082 done
24084 else
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24087 $as_echo_n "checking for _frexpl declaration... " >&6; }
24088 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24089 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24102 #include <math.h>
24104 main ()
24106 _frexpl(0, 0);
24108 return 0;
24110 _ACEOF
24111 if ac_fn_cxx_try_compile "$LINENO"; then :
24112 glibcxx_cv_func__frexpl_use=yes
24113 else
24114 glibcxx_cv_func__frexpl_use=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24128 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24130 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24131 for ac_func in _frexpl
24132 do :
24133 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24134 if test "x$ac_cv_func__frexpl" = x""yes; then :
24135 cat >>confdefs.h <<_ACEOF
24136 #define HAVE__FREXPL 1
24137 _ACEOF
24140 done
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24150 $as_echo_n "checking for hypotl declaration... " >&6; }
24151 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24152 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24153 $as_echo_n "(cached) " >&6
24154 else
24157 ac_ext=cpp
24158 ac_cpp='$CXXCPP $CPPFLAGS'
24159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h. */
24165 #include <math.h>
24167 main ()
24169 hypotl(0, 0);
24171 return 0;
24173 _ACEOF
24174 if ac_fn_cxx_try_compile "$LINENO"; then :
24175 glibcxx_cv_func_hypotl_use=yes
24176 else
24177 glibcxx_cv_func_hypotl_use=no
24179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24180 ac_ext=c
24181 ac_cpp='$CPP $CPPFLAGS'
24182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24191 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24193 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24194 for ac_func in hypotl
24195 do :
24196 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24197 if test "x$ac_cv_func_hypotl" = x""yes; then :
24198 cat >>confdefs.h <<_ACEOF
24199 #define HAVE_HYPOTL 1
24200 _ACEOF
24203 done
24205 else
24207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24208 $as_echo_n "checking for _hypotl declaration... " >&6; }
24209 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24210 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24211 $as_echo_n "(cached) " >&6
24212 else
24215 ac_ext=cpp
24216 ac_cpp='$CXXCPP $CPPFLAGS'
24217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24222 /* end confdefs.h. */
24223 #include <math.h>
24225 main ()
24227 _hypotl(0, 0);
24229 return 0;
24231 _ACEOF
24232 if ac_fn_cxx_try_compile "$LINENO"; then :
24233 glibcxx_cv_func__hypotl_use=yes
24234 else
24235 glibcxx_cv_func__hypotl_use=no
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 ac_ext=c
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24249 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24251 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24252 for ac_func in _hypotl
24253 do :
24254 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24255 if test "x$ac_cv_func__hypotl" = x""yes; then :
24256 cat >>confdefs.h <<_ACEOF
24257 #define HAVE__HYPOTL 1
24258 _ACEOF
24261 done
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24271 $as_echo_n "checking for ldexpl declaration... " >&6; }
24272 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24273 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24274 $as_echo_n "(cached) " >&6
24275 else
24278 ac_ext=cpp
24279 ac_cpp='$CXXCPP $CPPFLAGS'
24280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24285 /* end confdefs.h. */
24286 #include <math.h>
24288 main ()
24290 ldexpl(0, 0);
24292 return 0;
24294 _ACEOF
24295 if ac_fn_cxx_try_compile "$LINENO"; then :
24296 glibcxx_cv_func_ldexpl_use=yes
24297 else
24298 glibcxx_cv_func_ldexpl_use=no
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301 ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24312 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24314 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24315 for ac_func in ldexpl
24316 do :
24317 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24318 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24319 cat >>confdefs.h <<_ACEOF
24320 #define HAVE_LDEXPL 1
24321 _ACEOF
24324 done
24326 else
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24329 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24330 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24331 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24332 $as_echo_n "(cached) " >&6
24333 else
24336 ac_ext=cpp
24337 ac_cpp='$CXXCPP $CPPFLAGS'
24338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h. */
24344 #include <math.h>
24346 main ()
24348 _ldexpl(0, 0);
24350 return 0;
24352 _ACEOF
24353 if ac_fn_cxx_try_compile "$LINENO"; then :
24354 glibcxx_cv_func__ldexpl_use=yes
24355 else
24356 glibcxx_cv_func__ldexpl_use=no
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359 ac_ext=c
24360 ac_cpp='$CPP $CPPFLAGS'
24361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24370 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24372 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24373 for ac_func in _ldexpl
24374 do :
24375 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24376 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24377 cat >>confdefs.h <<_ACEOF
24378 #define HAVE__LDEXPL 1
24379 _ACEOF
24382 done
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24392 $as_echo_n "checking for logl declaration... " >&6; }
24393 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24394 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24395 $as_echo_n "(cached) " >&6
24396 else
24399 ac_ext=cpp
24400 ac_cpp='$CXXCPP $CPPFLAGS'
24401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24406 /* end confdefs.h. */
24407 #include <math.h>
24408 #ifdef HAVE_IEEEFP_H
24409 #include <ieeefp.h>
24410 #endif
24413 main ()
24415 logl(0);
24417 return 0;
24419 _ACEOF
24420 if ac_fn_cxx_try_compile "$LINENO"; then :
24421 glibcxx_cv_func_logl_use=yes
24422 else
24423 glibcxx_cv_func_logl_use=no
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426 ac_ext=c
24427 ac_cpp='$CPP $CPPFLAGS'
24428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24437 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24439 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24440 for ac_func in logl
24441 do :
24442 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24443 if test "x$ac_cv_func_logl" = x""yes; then :
24444 cat >>confdefs.h <<_ACEOF
24445 #define HAVE_LOGL 1
24446 _ACEOF
24449 done
24451 else
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24454 $as_echo_n "checking for _logl declaration... " >&6; }
24455 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24456 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24457 $as_echo_n "(cached) " >&6
24458 else
24461 ac_ext=cpp
24462 ac_cpp='$CXXCPP $CPPFLAGS'
24463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24468 /* end confdefs.h. */
24469 #include <math.h>
24470 #ifdef HAVE_IEEEFP_H
24471 #include <ieeefp.h>
24472 #endif
24475 main ()
24477 _logl(0);
24479 return 0;
24481 _ACEOF
24482 if ac_fn_cxx_try_compile "$LINENO"; then :
24483 glibcxx_cv_func__logl_use=yes
24484 else
24485 glibcxx_cv_func__logl_use=no
24487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 ac_ext=c
24489 ac_cpp='$CPP $CPPFLAGS'
24490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24499 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24501 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24502 for ac_func in _logl
24503 do :
24504 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24505 if test "x$ac_cv_func__logl" = x""yes; then :
24506 cat >>confdefs.h <<_ACEOF
24507 #define HAVE__LOGL 1
24508 _ACEOF
24511 done
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24521 $as_echo_n "checking for log10l declaration... " >&6; }
24522 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24523 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24524 $as_echo_n "(cached) " >&6
24525 else
24528 ac_ext=cpp
24529 ac_cpp='$CXXCPP $CPPFLAGS'
24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h. */
24536 #include <math.h>
24537 #ifdef HAVE_IEEEFP_H
24538 #include <ieeefp.h>
24539 #endif
24542 main ()
24544 log10l(0);
24546 return 0;
24548 _ACEOF
24549 if ac_fn_cxx_try_compile "$LINENO"; then :
24550 glibcxx_cv_func_log10l_use=yes
24551 else
24552 glibcxx_cv_func_log10l_use=no
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24566 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24568 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24569 for ac_func in log10l
24570 do :
24571 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24572 if test "x$ac_cv_func_log10l" = x""yes; then :
24573 cat >>confdefs.h <<_ACEOF
24574 #define HAVE_LOG10L 1
24575 _ACEOF
24578 done
24580 else
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24583 $as_echo_n "checking for _log10l declaration... " >&6; }
24584 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24585 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24590 ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24598 #include <math.h>
24599 #ifdef HAVE_IEEEFP_H
24600 #include <ieeefp.h>
24601 #endif
24604 main ()
24606 _log10l(0);
24608 return 0;
24610 _ACEOF
24611 if ac_fn_cxx_try_compile "$LINENO"; then :
24612 glibcxx_cv_func__log10l_use=yes
24613 else
24614 glibcxx_cv_func__log10l_use=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 ac_ext=c
24618 ac_cpp='$CPP $CPPFLAGS'
24619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24628 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24630 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24631 for ac_func in _log10l
24632 do :
24633 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24634 if test "x$ac_cv_func__log10l" = x""yes; then :
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE__LOG10L 1
24637 _ACEOF
24640 done
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24650 $as_echo_n "checking for modfl declaration... " >&6; }
24651 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24652 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24653 $as_echo_n "(cached) " >&6
24654 else
24657 ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 #include <math.h>
24667 main ()
24669 modfl(0, 0);
24671 return 0;
24673 _ACEOF
24674 if ac_fn_cxx_try_compile "$LINENO"; then :
24675 glibcxx_cv_func_modfl_use=yes
24676 else
24677 glibcxx_cv_func_modfl_use=no
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24680 ac_ext=c
24681 ac_cpp='$CPP $CPPFLAGS'
24682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24691 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24693 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24694 for ac_func in modfl
24695 do :
24696 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24697 if test "x$ac_cv_func_modfl" = x""yes; then :
24698 cat >>confdefs.h <<_ACEOF
24699 #define HAVE_MODFL 1
24700 _ACEOF
24703 done
24705 else
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24708 $as_echo_n "checking for _modfl declaration... " >&6; }
24709 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24710 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24711 $as_echo_n "(cached) " >&6
24712 else
24715 ac_ext=cpp
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24722 /* end confdefs.h. */
24723 #include <math.h>
24725 main ()
24727 _modfl(0, 0);
24729 return 0;
24731 _ACEOF
24732 if ac_fn_cxx_try_compile "$LINENO"; then :
24733 glibcxx_cv_func__modfl_use=yes
24734 else
24735 glibcxx_cv_func__modfl_use=no
24737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24738 ac_ext=c
24739 ac_cpp='$CPP $CPPFLAGS'
24740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24749 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24751 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24752 for ac_func in _modfl
24753 do :
24754 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24755 if test "x$ac_cv_func__modfl" = x""yes; then :
24756 cat >>confdefs.h <<_ACEOF
24757 #define HAVE__MODFL 1
24758 _ACEOF
24761 done
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24771 $as_echo_n "checking for powl declaration... " >&6; }
24772 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24773 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24774 $as_echo_n "(cached) " >&6
24775 else
24778 ac_ext=cpp
24779 ac_cpp='$CXXCPP $CPPFLAGS'
24780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24785 /* end confdefs.h. */
24786 #include <math.h>
24788 main ()
24790 powl(0, 0);
24792 return 0;
24794 _ACEOF
24795 if ac_fn_cxx_try_compile "$LINENO"; then :
24796 glibcxx_cv_func_powl_use=yes
24797 else
24798 glibcxx_cv_func_powl_use=no
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24801 ac_ext=c
24802 ac_cpp='$CPP $CPPFLAGS'
24803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24812 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24814 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24815 for ac_func in powl
24816 do :
24817 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24818 if test "x$ac_cv_func_powl" = x""yes; then :
24819 cat >>confdefs.h <<_ACEOF
24820 #define HAVE_POWL 1
24821 _ACEOF
24824 done
24826 else
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24829 $as_echo_n "checking for _powl declaration... " >&6; }
24830 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24831 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24832 $as_echo_n "(cached) " >&6
24833 else
24836 ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24844 #include <math.h>
24846 main ()
24848 _powl(0, 0);
24850 return 0;
24852 _ACEOF
24853 if ac_fn_cxx_try_compile "$LINENO"; then :
24854 glibcxx_cv_func__powl_use=yes
24855 else
24856 glibcxx_cv_func__powl_use=no
24858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24859 ac_ext=c
24860 ac_cpp='$CPP $CPPFLAGS'
24861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24870 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24872 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24873 for ac_func in _powl
24874 do :
24875 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24876 if test "x$ac_cv_func__powl" = x""yes; then :
24877 cat >>confdefs.h <<_ACEOF
24878 #define HAVE__POWL 1
24879 _ACEOF
24882 done
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24892 $as_echo_n "checking for sqrtl declaration... " >&6; }
24893 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24894 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24895 $as_echo_n "(cached) " >&6
24896 else
24899 ac_ext=cpp
24900 ac_cpp='$CXXCPP $CPPFLAGS'
24901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24906 /* end confdefs.h. */
24907 #include <math.h>
24908 #ifdef HAVE_IEEEFP_H
24909 #include <ieeefp.h>
24910 #endif
24913 main ()
24915 sqrtl(0);
24917 return 0;
24919 _ACEOF
24920 if ac_fn_cxx_try_compile "$LINENO"; then :
24921 glibcxx_cv_func_sqrtl_use=yes
24922 else
24923 glibcxx_cv_func_sqrtl_use=no
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_ext=c
24927 ac_cpp='$CPP $CPPFLAGS'
24928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24937 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24939 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24940 for ac_func in sqrtl
24941 do :
24942 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24943 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24944 cat >>confdefs.h <<_ACEOF
24945 #define HAVE_SQRTL 1
24946 _ACEOF
24949 done
24951 else
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24954 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24955 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24956 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24958 else
24961 ac_ext=cpp
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24968 /* end confdefs.h. */
24969 #include <math.h>
24970 #ifdef HAVE_IEEEFP_H
24971 #include <ieeefp.h>
24972 #endif
24975 main ()
24977 _sqrtl(0);
24979 return 0;
24981 _ACEOF
24982 if ac_fn_cxx_try_compile "$LINENO"; then :
24983 glibcxx_cv_func__sqrtl_use=yes
24984 else
24985 glibcxx_cv_func__sqrtl_use=no
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988 ac_ext=c
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24999 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25001 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25002 for ac_func in _sqrtl
25003 do :
25004 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25005 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25006 cat >>confdefs.h <<_ACEOF
25007 #define HAVE__SQRTL 1
25008 _ACEOF
25011 done
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25021 $as_echo_n "checking for sincosl declaration... " >&6; }
25022 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25023 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25024 $as_echo_n "(cached) " >&6
25025 else
25028 ac_ext=cpp
25029 ac_cpp='$CXXCPP $CPPFLAGS'
25030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h. */
25036 #include <math.h>
25038 main ()
25040 sincosl(0, 0, 0);
25042 return 0;
25044 _ACEOF
25045 if ac_fn_cxx_try_compile "$LINENO"; then :
25046 glibcxx_cv_func_sincosl_use=yes
25047 else
25048 glibcxx_cv_func_sincosl_use=no
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 ac_ext=c
25052 ac_cpp='$CPP $CPPFLAGS'
25053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25062 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25064 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25065 for ac_func in sincosl
25066 do :
25067 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25068 if test "x$ac_cv_func_sincosl" = x""yes; then :
25069 cat >>confdefs.h <<_ACEOF
25070 #define HAVE_SINCOSL 1
25071 _ACEOF
25074 done
25076 else
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25079 $as_echo_n "checking for _sincosl declaration... " >&6; }
25080 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25081 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25094 #include <math.h>
25096 main ()
25098 _sincosl(0, 0, 0);
25100 return 0;
25102 _ACEOF
25103 if ac_fn_cxx_try_compile "$LINENO"; then :
25104 glibcxx_cv_func__sincosl_use=yes
25105 else
25106 glibcxx_cv_func__sincosl_use=no
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25120 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25122 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25123 for ac_func in _sincosl
25124 do :
25125 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25126 if test "x$ac_cv_func__sincosl" = x""yes; then :
25127 cat >>confdefs.h <<_ACEOF
25128 #define HAVE__SINCOSL 1
25129 _ACEOF
25132 done
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25142 $as_echo_n "checking for finitel declaration... " >&6; }
25143 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25144 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25145 $as_echo_n "(cached) " >&6
25146 else
25149 ac_ext=cpp
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h. */
25157 #include <math.h>
25158 #ifdef HAVE_IEEEFP_H
25159 #include <ieeefp.h>
25160 #endif
25163 main ()
25165 finitel(0);
25167 return 0;
25169 _ACEOF
25170 if ac_fn_cxx_try_compile "$LINENO"; then :
25171 glibcxx_cv_func_finitel_use=yes
25172 else
25173 glibcxx_cv_func_finitel_use=no
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176 ac_ext=c
25177 ac_cpp='$CPP $CPPFLAGS'
25178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25187 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25189 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25190 for ac_func in finitel
25191 do :
25192 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25193 if test "x$ac_cv_func_finitel" = x""yes; then :
25194 cat >>confdefs.h <<_ACEOF
25195 #define HAVE_FINITEL 1
25196 _ACEOF
25199 done
25201 else
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25204 $as_echo_n "checking for _finitel declaration... " >&6; }
25205 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25206 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25207 $as_echo_n "(cached) " >&6
25208 else
25211 ac_ext=cpp
25212 ac_cpp='$CXXCPP $CPPFLAGS'
25213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h. */
25219 #include <math.h>
25220 #ifdef HAVE_IEEEFP_H
25221 #include <ieeefp.h>
25222 #endif
25225 main ()
25227 _finitel(0);
25229 return 0;
25231 _ACEOF
25232 if ac_fn_cxx_try_compile "$LINENO"; then :
25233 glibcxx_cv_func__finitel_use=yes
25234 else
25235 glibcxx_cv_func__finitel_use=no
25237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25238 ac_ext=c
25239 ac_cpp='$CPP $CPPFLAGS'
25240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25249 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25251 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25252 for ac_func in _finitel
25253 do :
25254 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25255 if test "x$ac_cv_func__finitel" = x""yes; then :
25256 cat >>confdefs.h <<_ACEOF
25257 #define HAVE__FINITEL 1
25258 _ACEOF
25261 done
25269 LIBS="$ac_save_LIBS"
25270 CXXFLAGS="$ac_save_CXXFLAGS"
25273 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25274 ac_save_CXXFLAGS="$CXXFLAGS"
25275 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25279 $as_echo_n "checking for strtold declaration... " >&6; }
25280 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25281 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25283 else
25286 ac_ext=cpp
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25294 #include <stdlib.h>
25296 main ()
25298 strtold(0, 0);
25300 return 0;
25302 _ACEOF
25303 if ac_fn_cxx_try_compile "$LINENO"; then :
25304 glibcxx_cv_func_strtold_use=yes
25305 else
25306 glibcxx_cv_func_strtold_use=no
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25309 ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25320 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25321 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25322 for ac_func in strtold
25323 do :
25324 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25325 if test "x$ac_cv_func_strtold" = x""yes; then :
25326 cat >>confdefs.h <<_ACEOF
25327 #define HAVE_STRTOLD 1
25328 _ACEOF
25331 done
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25339 $as_echo_n "checking for strtof declaration... " >&6; }
25340 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25341 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25342 $as_echo_n "(cached) " >&6
25343 else
25346 ac_ext=cpp
25347 ac_cpp='$CXXCPP $CPPFLAGS'
25348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25353 /* end confdefs.h. */
25354 #include <stdlib.h>
25356 main ()
25358 strtof(0, 0);
25360 return 0;
25362 _ACEOF
25363 if ac_fn_cxx_try_compile "$LINENO"; then :
25364 glibcxx_cv_func_strtof_use=yes
25365 else
25366 glibcxx_cv_func_strtof_use=no
25368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25369 ac_ext=c
25370 ac_cpp='$CPP $CPPFLAGS'
25371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25380 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25381 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25382 for ac_func in strtof
25383 do :
25384 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25385 if test "x$ac_cv_func_strtof" = x""yes; then :
25386 cat >>confdefs.h <<_ACEOF
25387 #define HAVE_STRTOF 1
25388 _ACEOF
25391 done
25398 CXXFLAGS="$ac_save_CXXFLAGS"
25401 # For /dev/random and /dev/urandom for TR1.
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25405 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25406 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25407 $as_echo_n "(cached) " >&6
25408 else
25410 if test -r /dev/random && test -r /dev/urandom; then
25411 glibcxx_cv_random_tr1=yes;
25412 else
25413 glibcxx_cv_random_tr1=no;
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25419 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25421 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25423 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25429 # For TLS support.
25432 # Check whether --enable-tls was given.
25433 if test "${enable_tls+set}" = set; then :
25434 enableval=$enable_tls;
25435 case "$enableval" in
25436 yes|no) ;;
25437 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25438 esac
25440 else
25441 enable_tls=yes
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25446 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25447 if test "${gcc_cv_have_tls+set}" = set; then :
25448 $as_echo_n "(cached) " >&6
25449 else
25451 if test "$cross_compiling" = yes; then :
25452 if test x$gcc_no_link = xyes; then
25453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25457 __thread int a; int b; int main() { return a = b; }
25458 _ACEOF
25459 if ac_fn_c_try_link "$LINENO"; then :
25460 chktls_save_LDFLAGS="$LDFLAGS"
25461 case $host in
25462 *-*-linux*)
25463 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25465 esac
25466 chktls_save_CFLAGS="$CFLAGS"
25467 CFLAGS="-fPIC $CFLAGS"
25468 if test x$gcc_no_link = xyes; then
25469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25473 int f() { return 0; }
25474 _ACEOF
25475 if ac_fn_c_try_link "$LINENO"; then :
25476 if test x$gcc_no_link = xyes; then
25477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25481 __thread int a; int b; int f() { return a = b; }
25482 _ACEOF
25483 if ac_fn_c_try_link "$LINENO"; then :
25484 gcc_cv_have_tls=yes
25485 else
25486 gcc_cv_have_tls=no
25488 rm -f core conftest.err conftest.$ac_objext \
25489 conftest$ac_exeext conftest.$ac_ext
25490 else
25491 gcc_cv_have_tls=yes
25493 rm -f core conftest.err conftest.$ac_objext \
25494 conftest$ac_exeext conftest.$ac_ext
25495 CFLAGS="$chktls_save_CFLAGS"
25496 LDFLAGS="$chktls_save_LDFLAGS"
25497 else
25498 gcc_cv_have_tls=no
25500 rm -f core conftest.err conftest.$ac_objext \
25501 conftest$ac_exeext conftest.$ac_ext
25504 else
25505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25506 /* end confdefs.h. */
25507 __thread int a; int b; int main() { return a = b; }
25508 _ACEOF
25509 if ac_fn_c_try_run "$LINENO"; then :
25510 chktls_save_LDFLAGS="$LDFLAGS"
25511 LDFLAGS="-static $LDFLAGS"
25512 if test x$gcc_no_link = xyes; then
25513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h. */
25517 int main() { return 0; }
25518 _ACEOF
25519 if ac_fn_c_try_link "$LINENO"; then :
25520 if test "$cross_compiling" = yes; then :
25521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25523 as_fn_error "cannot run test program while cross compiling
25524 See \`config.log' for more details." "$LINENO" 5; }
25525 else
25526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25527 /* end confdefs.h. */
25528 __thread int a; int b; int main() { return a = b; }
25529 _ACEOF
25530 if ac_fn_c_try_run "$LINENO"; then :
25531 gcc_cv_have_tls=yes
25532 else
25533 gcc_cv_have_tls=no
25535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25536 conftest.$ac_objext conftest.beam conftest.$ac_ext
25539 else
25540 gcc_cv_have_tls=yes
25542 rm -f core conftest.err conftest.$ac_objext \
25543 conftest$ac_exeext conftest.$ac_ext
25544 LDFLAGS="$chktls_save_LDFLAGS"
25545 if test $gcc_cv_have_tls = yes; then
25546 chktls_save_CFLAGS="$CFLAGS"
25547 thread_CFLAGS=failed
25548 for flag in '' '-pthread' '-lpthread'; do
25549 CFLAGS="$flag $chktls_save_CFLAGS"
25550 if test x$gcc_no_link = xyes; then
25551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h. */
25555 #include <pthread.h>
25556 void *g(void *d) { return NULL; }
25558 main ()
25560 pthread_t t; pthread_create(&t,NULL,g,NULL);
25562 return 0;
25564 _ACEOF
25565 if ac_fn_c_try_link "$LINENO"; then :
25566 thread_CFLAGS="$flag"
25568 rm -f core conftest.err conftest.$ac_objext \
25569 conftest$ac_exeext conftest.$ac_ext
25570 if test "X$thread_CFLAGS" != Xfailed; then
25571 break
25573 done
25574 CFLAGS="$chktls_save_CFLAGS"
25575 if test "X$thread_CFLAGS" != Xfailed; then
25576 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25577 if test "$cross_compiling" = yes; then :
25578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25580 as_fn_error "cannot run test program while cross compiling
25581 See \`config.log' for more details." "$LINENO" 5; }
25582 else
25583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25584 /* end confdefs.h. */
25585 #include <pthread.h>
25586 __thread int a;
25587 static int *volatile a_in_other_thread;
25588 static void *
25589 thread_func (void *arg)
25591 a_in_other_thread = &a;
25592 return (void *)0;
25595 main ()
25597 pthread_t thread;
25598 void *thread_retval;
25599 int *volatile a_in_main_thread;
25600 a_in_main_thread = &a;
25601 if (pthread_create (&thread, (pthread_attr_t *)0,
25602 thread_func, (void *)0))
25603 return 0;
25604 if (pthread_join (thread, &thread_retval))
25605 return 0;
25606 return (a_in_other_thread == a_in_main_thread);
25608 return 0;
25610 _ACEOF
25611 if ac_fn_c_try_run "$LINENO"; then :
25612 gcc_cv_have_tls=yes
25613 else
25614 gcc_cv_have_tls=no
25616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25617 conftest.$ac_objext conftest.beam conftest.$ac_ext
25620 CFLAGS="$chktls_save_CFLAGS"
25623 else
25624 gcc_cv_have_tls=no
25626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25627 conftest.$ac_objext conftest.beam conftest.$ac_ext
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25632 $as_echo "$gcc_cv_have_tls" >&6; }
25633 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25635 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25639 # For iconv support.
25641 if test "X$prefix" = "XNONE"; then
25642 acl_final_prefix="$ac_default_prefix"
25643 else
25644 acl_final_prefix="$prefix"
25646 if test "X$exec_prefix" = "XNONE"; then
25647 acl_final_exec_prefix='${prefix}'
25648 else
25649 acl_final_exec_prefix="$exec_prefix"
25651 acl_save_prefix="$prefix"
25652 prefix="$acl_final_prefix"
25653 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25654 prefix="$acl_save_prefix"
25657 # Check whether --with-gnu-ld was given.
25658 if test "${with_gnu_ld+set}" = set; then :
25659 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25660 else
25661 with_gnu_ld=no
25664 # Prepare PATH_SEPARATOR.
25665 # The user is always right.
25666 if test "${PATH_SEPARATOR+set}" != set; then
25667 echo "#! /bin/sh" >conf$$.sh
25668 echo "exit 0" >>conf$$.sh
25669 chmod +x conf$$.sh
25670 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25671 PATH_SEPARATOR=';'
25672 else
25673 PATH_SEPARATOR=:
25675 rm -f conf$$.sh
25677 ac_prog=ld
25678 if test "$GCC" = yes; then
25679 # Check if gcc -print-prog-name=ld gives a path.
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25681 $as_echo_n "checking for ld used by GCC... " >&6; }
25682 case $host in
25683 *-*-mingw*)
25684 # gcc leaves a trailing carriage return which upsets mingw
25685 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25687 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25688 esac
25689 case $ac_prog in
25690 # Accept absolute paths.
25691 [\\/]* | [A-Za-z]:[\\/]*)
25692 re_direlt='/[^/][^/]*/\.\./'
25693 # Canonicalize the path of ld
25694 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25695 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25696 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25697 done
25698 test -z "$LD" && LD="$ac_prog"
25701 # If it fails, then pretend we aren't using GCC.
25702 ac_prog=ld
25705 # If it is relative, then search for the first ld in PATH.
25706 with_gnu_ld=unknown
25708 esac
25709 elif test "$with_gnu_ld" = yes; then
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25711 $as_echo_n "checking for GNU ld... " >&6; }
25712 else
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25714 $as_echo_n "checking for non-GNU ld... " >&6; }
25716 if test "${acl_cv_path_LD+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25718 else
25719 if test -z "$LD"; then
25720 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25721 for ac_dir in $PATH; do
25722 test -z "$ac_dir" && ac_dir=.
25723 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25724 acl_cv_path_LD="$ac_dir/$ac_prog"
25725 # Check to see if the program is GNU ld. I'd rather use --version,
25726 # but apparently some GNU ld's only accept -v.
25727 # Break only if it was the GNU/non-GNU ld that we prefer.
25728 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25729 test "$with_gnu_ld" != no && break
25730 else
25731 test "$with_gnu_ld" != yes && break
25734 done
25735 IFS="$ac_save_ifs"
25736 else
25737 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25741 LD="$acl_cv_path_LD"
25742 if test -n "$LD"; then
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25744 $as_echo "$LD" >&6; }
25745 else
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25747 $as_echo "no" >&6; }
25749 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25751 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25752 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25753 $as_echo_n "(cached) " >&6
25754 else
25755 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25756 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25757 acl_cv_prog_gnu_ld=yes
25758 else
25759 acl_cv_prog_gnu_ld=no
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25763 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25764 with_gnu_ld=$acl_cv_prog_gnu_ld
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25769 $as_echo_n "checking for shared library run path origin... " >&6; }
25770 if test "${acl_cv_rpath+set}" = set; then :
25771 $as_echo_n "(cached) " >&6
25772 else
25774 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25775 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25776 . ./conftest.sh
25777 rm -f ./conftest.sh
25778 acl_cv_rpath=done
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25782 $as_echo "$acl_cv_rpath" >&6; }
25783 wl="$acl_cv_wl"
25784 libext="$acl_cv_libext"
25785 shlibext="$acl_cv_shlibext"
25786 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25787 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25788 hardcode_direct="$acl_cv_hardcode_direct"
25789 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25790 # Check whether --enable-rpath was given.
25791 if test "${enable_rpath+set}" = set; then :
25792 enableval=$enable_rpath; :
25793 else
25794 enable_rpath=yes
25804 use_additional=yes
25806 acl_save_prefix="$prefix"
25807 prefix="$acl_final_prefix"
25808 acl_save_exec_prefix="$exec_prefix"
25809 exec_prefix="$acl_final_exec_prefix"
25811 eval additional_includedir=\"$includedir\"
25812 eval additional_libdir=\"$libdir\"
25814 exec_prefix="$acl_save_exec_prefix"
25815 prefix="$acl_save_prefix"
25818 # Check whether --with-libiconv-prefix was given.
25819 if test "${with_libiconv_prefix+set}" = set; then :
25820 withval=$with_libiconv_prefix;
25821 if test "X$withval" = "Xno"; then
25822 use_additional=no
25823 else
25824 if test "X$withval" = "X"; then
25826 acl_save_prefix="$prefix"
25827 prefix="$acl_final_prefix"
25828 acl_save_exec_prefix="$exec_prefix"
25829 exec_prefix="$acl_final_exec_prefix"
25831 eval additional_includedir=\"$includedir\"
25832 eval additional_libdir=\"$libdir\"
25834 exec_prefix="$acl_save_exec_prefix"
25835 prefix="$acl_save_prefix"
25837 else
25838 additional_includedir="$withval/include"
25839 additional_libdir="$withval/lib"
25845 LIBICONV=
25846 LTLIBICONV=
25847 INCICONV=
25848 rpathdirs=
25849 ltrpathdirs=
25850 names_already_handled=
25851 names_next_round='iconv '
25852 while test -n "$names_next_round"; do
25853 names_this_round="$names_next_round"
25854 names_next_round=
25855 for name in $names_this_round; do
25856 already_handled=
25857 for n in $names_already_handled; do
25858 if test "$n" = "$name"; then
25859 already_handled=yes
25860 break
25862 done
25863 if test -z "$already_handled"; then
25864 names_already_handled="$names_already_handled $name"
25865 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25866 eval value=\"\$HAVE_LIB$uppername\"
25867 if test -n "$value"; then
25868 if test "$value" = yes; then
25869 eval value=\"\$LIB$uppername\"
25870 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25871 eval value=\"\$LTLIB$uppername\"
25872 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25873 else
25876 else
25877 found_dir=
25878 found_la=
25879 found_so=
25880 found_a=
25881 if test $use_additional = yes; then
25882 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25883 found_dir="$additional_libdir"
25884 found_so="$additional_libdir/lib$name.$shlibext"
25885 if test -f "$additional_libdir/lib$name.la"; then
25886 found_la="$additional_libdir/lib$name.la"
25888 else
25889 if test -f "$additional_libdir/lib$name.$libext"; then
25890 found_dir="$additional_libdir"
25891 found_a="$additional_libdir/lib$name.$libext"
25892 if test -f "$additional_libdir/lib$name.la"; then
25893 found_la="$additional_libdir/lib$name.la"
25898 if test "X$found_dir" = "X"; then
25899 for x in $LDFLAGS $LTLIBICONV; do
25901 acl_save_prefix="$prefix"
25902 prefix="$acl_final_prefix"
25903 acl_save_exec_prefix="$exec_prefix"
25904 exec_prefix="$acl_final_exec_prefix"
25905 eval x=\"$x\"
25906 exec_prefix="$acl_save_exec_prefix"
25907 prefix="$acl_save_prefix"
25909 case "$x" in
25910 -L*)
25911 dir=`echo "X$x" | sed -e 's/^X-L//'`
25912 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25913 found_dir="$dir"
25914 found_so="$dir/lib$name.$shlibext"
25915 if test -f "$dir/lib$name.la"; then
25916 found_la="$dir/lib$name.la"
25918 else
25919 if test -f "$dir/lib$name.$libext"; then
25920 found_dir="$dir"
25921 found_a="$dir/lib$name.$libext"
25922 if test -f "$dir/lib$name.la"; then
25923 found_la="$dir/lib$name.la"
25928 esac
25929 if test "X$found_dir" != "X"; then
25930 break
25932 done
25934 if test "X$found_dir" != "X"; then
25935 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25936 if test "X$found_so" != "X"; then
25937 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25938 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25939 else
25940 haveit=
25941 for x in $ltrpathdirs; do
25942 if test "X$x" = "X$found_dir"; then
25943 haveit=yes
25944 break
25946 done
25947 if test -z "$haveit"; then
25948 ltrpathdirs="$ltrpathdirs $found_dir"
25950 if test "$hardcode_direct" = yes; then
25951 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25952 else
25953 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25954 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25955 haveit=
25956 for x in $rpathdirs; do
25957 if test "X$x" = "X$found_dir"; then
25958 haveit=yes
25959 break
25961 done
25962 if test -z "$haveit"; then
25963 rpathdirs="$rpathdirs $found_dir"
25965 else
25966 haveit=
25967 for x in $LDFLAGS $LIBICONV; do
25969 acl_save_prefix="$prefix"
25970 prefix="$acl_final_prefix"
25971 acl_save_exec_prefix="$exec_prefix"
25972 exec_prefix="$acl_final_exec_prefix"
25973 eval x=\"$x\"
25974 exec_prefix="$acl_save_exec_prefix"
25975 prefix="$acl_save_prefix"
25977 if test "X$x" = "X-L$found_dir"; then
25978 haveit=yes
25979 break
25981 done
25982 if test -z "$haveit"; then
25983 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25985 if test "$hardcode_minus_L" != no; then
25986 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25987 else
25988 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25993 else
25994 if test "X$found_a" != "X"; then
25995 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25996 else
25997 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26000 additional_includedir=
26001 case "$found_dir" in
26002 */lib | */lib/)
26003 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26004 additional_includedir="$basedir/include"
26006 esac
26007 if test "X$additional_includedir" != "X"; then
26008 if test "X$additional_includedir" != "X/usr/include"; then
26009 haveit=
26010 if test "X$additional_includedir" = "X/usr/local/include"; then
26011 if test -n "$GCC"; then
26012 case $host_os in
26013 linux*) haveit=yes;;
26014 esac
26017 if test -z "$haveit"; then
26018 for x in $CPPFLAGS $INCICONV; do
26020 acl_save_prefix="$prefix"
26021 prefix="$acl_final_prefix"
26022 acl_save_exec_prefix="$exec_prefix"
26023 exec_prefix="$acl_final_exec_prefix"
26024 eval x=\"$x\"
26025 exec_prefix="$acl_save_exec_prefix"
26026 prefix="$acl_save_prefix"
26028 if test "X$x" = "X-I$additional_includedir"; then
26029 haveit=yes
26030 break
26032 done
26033 if test -z "$haveit"; then
26034 if test -d "$additional_includedir"; then
26035 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26041 if test -n "$found_la"; then
26042 save_libdir="$libdir"
26043 case "$found_la" in
26044 */* | *\\*) . "$found_la" ;;
26045 *) . "./$found_la" ;;
26046 esac
26047 libdir="$save_libdir"
26048 for dep in $dependency_libs; do
26049 case "$dep" in
26050 -L*)
26051 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26052 if test "X$additional_libdir" != "X/usr/lib"; then
26053 haveit=
26054 if test "X$additional_libdir" = "X/usr/local/lib"; then
26055 if test -n "$GCC"; then
26056 case $host_os in
26057 linux*) haveit=yes;;
26058 esac
26061 if test -z "$haveit"; then
26062 haveit=
26063 for x in $LDFLAGS $LIBICONV; do
26065 acl_save_prefix="$prefix"
26066 prefix="$acl_final_prefix"
26067 acl_save_exec_prefix="$exec_prefix"
26068 exec_prefix="$acl_final_exec_prefix"
26069 eval x=\"$x\"
26070 exec_prefix="$acl_save_exec_prefix"
26071 prefix="$acl_save_prefix"
26073 if test "X$x" = "X-L$additional_libdir"; then
26074 haveit=yes
26075 break
26077 done
26078 if test -z "$haveit"; then
26079 if test -d "$additional_libdir"; then
26080 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26083 haveit=
26084 for x in $LDFLAGS $LTLIBICONV; do
26086 acl_save_prefix="$prefix"
26087 prefix="$acl_final_prefix"
26088 acl_save_exec_prefix="$exec_prefix"
26089 exec_prefix="$acl_final_exec_prefix"
26090 eval x=\"$x\"
26091 exec_prefix="$acl_save_exec_prefix"
26092 prefix="$acl_save_prefix"
26094 if test "X$x" = "X-L$additional_libdir"; then
26095 haveit=yes
26096 break
26098 done
26099 if test -z "$haveit"; then
26100 if test -d "$additional_libdir"; then
26101 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26107 -R*)
26108 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26109 if test "$enable_rpath" != no; then
26110 haveit=
26111 for x in $rpathdirs; do
26112 if test "X$x" = "X$dir"; then
26113 haveit=yes
26114 break
26116 done
26117 if test -z "$haveit"; then
26118 rpathdirs="$rpathdirs $dir"
26120 haveit=
26121 for x in $ltrpathdirs; do
26122 if test "X$x" = "X$dir"; then
26123 haveit=yes
26124 break
26126 done
26127 if test -z "$haveit"; then
26128 ltrpathdirs="$ltrpathdirs $dir"
26132 -l*)
26133 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26135 *.la)
26136 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26139 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26140 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26142 esac
26143 done
26145 else
26146 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26147 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26151 done
26152 done
26153 if test "X$rpathdirs" != "X"; then
26154 if test -n "$hardcode_libdir_separator"; then
26155 alldirs=
26156 for found_dir in $rpathdirs; do
26157 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26158 done
26159 acl_save_libdir="$libdir"
26160 libdir="$alldirs"
26161 eval flag=\"$hardcode_libdir_flag_spec\"
26162 libdir="$acl_save_libdir"
26163 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26164 else
26165 for found_dir in $rpathdirs; do
26166 acl_save_libdir="$libdir"
26167 libdir="$found_dir"
26168 eval flag=\"$hardcode_libdir_flag_spec\"
26169 libdir="$acl_save_libdir"
26170 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26171 done
26174 if test "X$ltrpathdirs" != "X"; then
26175 for found_dir in $ltrpathdirs; do
26176 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26177 done
26186 am_save_CPPFLAGS="$CPPFLAGS"
26188 for element in $INCICONV; do
26189 haveit=
26190 for x in $CPPFLAGS; do
26192 acl_save_prefix="$prefix"
26193 prefix="$acl_final_prefix"
26194 acl_save_exec_prefix="$exec_prefix"
26195 exec_prefix="$acl_final_exec_prefix"
26196 eval x=\"$x\"
26197 exec_prefix="$acl_save_exec_prefix"
26198 prefix="$acl_save_prefix"
26200 if test "X$x" = "X$element"; then
26201 haveit=yes
26202 break
26204 done
26205 if test -z "$haveit"; then
26206 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26208 done
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26212 $as_echo_n "checking for iconv... " >&6; }
26213 if test "${am_cv_func_iconv+set}" = set; then :
26214 $as_echo_n "(cached) " >&6
26215 else
26217 am_cv_func_iconv="no, consider installing GNU libiconv"
26218 am_cv_lib_iconv=no
26219 if test x$gcc_no_link = xyes; then
26220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h. */
26224 #include <stdlib.h>
26225 #include <iconv.h>
26227 main ()
26229 iconv_t cd = iconv_open("","");
26230 iconv(cd,NULL,NULL,NULL,NULL);
26231 iconv_close(cd);
26233 return 0;
26235 _ACEOF
26236 if ac_fn_c_try_link "$LINENO"; then :
26237 am_cv_func_iconv=yes
26239 rm -f core conftest.err conftest.$ac_objext \
26240 conftest$ac_exeext conftest.$ac_ext
26241 if test "$am_cv_func_iconv" != yes; then
26242 am_save_LIBS="$LIBS"
26243 LIBS="$LIBS $LIBICONV"
26244 if test x$gcc_no_link = xyes; then
26245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26249 #include <stdlib.h>
26250 #include <iconv.h>
26252 main ()
26254 iconv_t cd = iconv_open("","");
26255 iconv(cd,NULL,NULL,NULL,NULL);
26256 iconv_close(cd);
26258 return 0;
26260 _ACEOF
26261 if ac_fn_c_try_link "$LINENO"; then :
26262 am_cv_lib_iconv=yes
26263 am_cv_func_iconv=yes
26265 rm -f core conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 LIBS="$am_save_LIBS"
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26272 $as_echo "$am_cv_func_iconv" >&6; }
26273 if test "$am_cv_func_iconv" = yes; then
26275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26278 if test "$am_cv_lib_iconv" = yes; then
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26280 $as_echo_n "checking how to link with libiconv... " >&6; }
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26282 $as_echo "$LIBICONV" >&6; }
26283 else
26284 CPPFLAGS="$am_save_CPPFLAGS"
26285 LIBICONV=
26286 LTLIBICONV=
26291 if test "$am_cv_func_iconv" = yes; then
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26293 $as_echo_n "checking for iconv declaration... " >&6; }
26294 if test "${am_cv_proto_iconv+set}" = set; then :
26295 $as_echo_n "(cached) " >&6
26296 else
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26301 #include <stdlib.h>
26302 #include <iconv.h>
26303 extern
26304 #ifdef __cplusplus
26306 #endif
26307 #if defined(__STDC__) || defined(__cplusplus)
26308 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26309 #else
26310 size_t iconv();
26311 #endif
26314 main ()
26318 return 0;
26320 _ACEOF
26321 if ac_fn_c_try_compile "$LINENO"; then :
26322 am_cv_proto_iconv_arg1=""
26323 else
26324 am_cv_proto_iconv_arg1="const"
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 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);"
26330 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26332 }$am_cv_proto_iconv" >&5
26333 $as_echo "${ac_t:-
26334 }$am_cv_proto_iconv" >&6; }
26336 cat >>confdefs.h <<_ACEOF
26337 #define ICONV_CONST $am_cv_proto_iconv_arg1
26338 _ACEOF
26343 else
26345 # This lets us hard-code the functionality we know we'll have in the cross
26346 # target environment. "Let" is a sugar-coated word placed on an especially
26347 # dull and tedious hack, actually.
26349 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26350 # that involve linking, can't be used:
26351 # "cannot open sim-crt0.o"
26352 # "cannot open crt0.o"
26353 # etc. All this is because there currently exists no unified, consistent
26354 # way for top level CC information to be passed down to target directories:
26355 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26356 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26357 # crosses can be removed.
26359 # If Canadian cross, then don't pick up tools from the build directory.
26360 # Used only in GLIBCXX_EXPORT_INCLUDES.
26361 if test -n "$with_cross_host" &&
26362 test x"$build_alias" != x"$with_cross_host" &&
26363 test x"$build" != x"$target";
26364 then
26365 CANADIAN=yes
26366 else
26367 CANADIAN=no
26370 # Construct crosses by hand, eliminating bits that need ld...
26371 # GLIBCXX_CHECK_MATH_SUPPORT
26373 # First, test for "known" system libraries. We may be using newlib even
26374 # on a hosted environment.
26375 if test "x${with_newlib}" = "xyes"; then
26376 os_include_dir="os/newlib"
26377 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26380 # GLIBCXX_CHECK_STDLIB_SUPPORT
26381 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26384 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26386 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26388 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26390 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26392 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26394 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26396 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26398 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26400 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26402 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26404 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26406 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26408 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26410 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26412 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26414 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26416 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26418 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26420 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26422 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26424 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26426 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26429 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26431 else
26433 # Base decisions on target environment.
26434 case "${host}" in
26435 arm*-*-symbianelf*)
26436 # This is a freestanding configuration; there is nothing to do here.
26439 mips*-sde-elf*)
26440 # These definitions are for the SDE C library rather than newlib.
26441 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26444 # All these tests are for C++; save the language and the compiler flags.
26445 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26446 # found in GLIBCXX_CONFIGURE.
26448 ac_ext=cpp
26449 ac_cpp='$CXXCPP $CPPFLAGS'
26450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26454 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26455 ac_save_CXXFLAGS="$CXXFLAGS"
26457 # Check for maintainer-mode bits.
26458 if test x"$USE_MAINTAINER_MODE" = xno; then
26459 WERROR=''
26460 else
26461 WERROR='-Werror'
26464 # Check for -ffunction-sections -fdata-sections
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26466 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26467 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26469 /* end confdefs.h. */
26470 int foo; void bar() { };
26472 main ()
26476 return 0;
26478 _ACEOF
26479 if ac_fn_cxx_try_compile "$LINENO"; then :
26480 ac_fdsections=yes
26481 else
26482 ac_fdsections=no
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 if test "$ac_test_CXXFLAGS" = set; then
26486 CXXFLAGS="$ac_save_CXXFLAGS"
26487 else
26488 # this is the suspicious part
26489 CXXFLAGS=''
26491 if test x"$ac_fdsections" = x"yes"; then
26492 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26495 $as_echo "$ac_fdsections" >&6; }
26497 ac_ext=c
26498 ac_cpp='$CPP $CPPFLAGS'
26499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26507 # If we're not using GNU ld, then there's no point in even trying these
26508 # tests. Check for that first. We should have already tested for gld
26509 # by now (in libtool), but require it now just to be safe...
26510 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26511 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26515 # The name set by libtool depends on the version of libtool. Shame on us
26516 # for depending on an impl detail, but c'est la vie. Older versions used
26517 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26518 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26519 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26520 # set (hence we're using an older libtool), then set it.
26521 if test x${with_gnu_ld+set} != xset; then
26522 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26523 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26524 with_gnu_ld=no
26525 else
26526 with_gnu_ld=$ac_cv_prog_gnu_ld
26530 # Start by getting the version number. I think the libtool test already
26531 # does some of this, but throws away the result.
26532 glibcxx_ld_is_gold=no
26533 if test x"$with_gnu_ld" = x"yes"; then
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26535 $as_echo_n "checking for ld version... " >&6; }
26537 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26538 glibcxx_ld_is_gold=yes
26540 ldver=`$LD --version 2>/dev/null |
26541 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'`
26543 glibcxx_gnu_ld_version=`echo $ldver | \
26544 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26546 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26549 # Set --gc-sections.
26550 glibcxx_have_gc_sections=no
26551 if test "$glibcxx_ld_is_gold" = "yes"; then
26552 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26553 glibcxx_have_gc_sections=yes
26555 else
26556 glibcxx_gcsections_min_ld=21602
26557 if test x"$with_gnu_ld" = x"yes" &&
26558 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26559 glibcxx_have_gc_sections=yes
26562 if test "$glibcxx_have_gc_sections" = "yes"; then
26563 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26564 # NB: This flag only works reliably after 2.16.1. Configure tests
26565 # for this are difficult, so hard wire a value that should work.
26567 ac_test_CFLAGS="${CFLAGS+set}"
26568 ac_save_CFLAGS="$CFLAGS"
26569 CFLAGS='-Wl,--gc-sections'
26571 # Check for -Wl,--gc-sections
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26573 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26574 if test x$gcc_no_link = xyes; then
26575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h. */
26579 int one(void) { return 1; }
26580 int two(void) { return 2; }
26583 main ()
26585 two();
26587 return 0;
26589 _ACEOF
26590 if ac_fn_c_try_link "$LINENO"; then :
26591 ac_gcsections=yes
26592 else
26593 ac_gcsections=no
26595 rm -f core conftest.err conftest.$ac_objext \
26596 conftest$ac_exeext conftest.$ac_ext
26597 if test "$ac_gcsections" = "yes"; then
26598 rm -f conftest.c
26599 touch conftest.c
26600 if $CC -c conftest.c; then
26601 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26602 grep "Warning: gc-sections option ignored" > /dev/null; then
26603 ac_gcsections=no
26606 rm -f conftest.c conftest.o conftest
26608 if test "$ac_gcsections" = "yes"; then
26609 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26612 $as_echo "$ac_gcsections" >&6; }
26614 if test "$ac_test_CFLAGS" = set; then
26615 CFLAGS="$ac_save_CFLAGS"
26616 else
26617 # this is the suspicious part
26618 CFLAGS=''
26622 # Set -z,relro.
26623 # Note this is only for shared objects.
26624 ac_ld_relro=no
26625 if test x"$with_gnu_ld" = x"yes"; then
26626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26627 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26628 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26629 if test -n "$cxx_z_relo"; then
26630 OPT_LDFLAGS="-Wl,-z,relro"
26631 ac_ld_relro=yes
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26634 $as_echo "$ac_ld_relro" >&6; }
26637 # Set linker optimization flags.
26638 if test x"$with_gnu_ld" = x"yes"; then
26639 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26646 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26647 ac_save_CXXFLAGS="$CXXFLAGS"
26648 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26651 $as_echo_n "checking for sin in -lm... " >&6; }
26652 if test "${ac_cv_lib_m_sin+set}" = set; then :
26653 $as_echo_n "(cached) " >&6
26654 else
26655 ac_check_lib_save_LIBS=$LIBS
26656 LIBS="-lm $LIBS"
26657 if test x$gcc_no_link = xyes; then
26658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26663 /* Override any GCC internal prototype to avoid an error.
26664 Use char because int might match the return type of a GCC
26665 builtin and then its argument prototype would still apply. */
26666 #ifdef __cplusplus
26667 extern "C"
26668 #endif
26669 char sin ();
26671 main ()
26673 return sin ();
26675 return 0;
26677 _ACEOF
26678 if ac_fn_c_try_link "$LINENO"; then :
26679 ac_cv_lib_m_sin=yes
26680 else
26681 ac_cv_lib_m_sin=no
26683 rm -f core conftest.err conftest.$ac_objext \
26684 conftest$ac_exeext conftest.$ac_ext
26685 LIBS=$ac_check_lib_save_LIBS
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26688 $as_echo "$ac_cv_lib_m_sin" >&6; }
26689 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26690 libm="-lm"
26693 ac_save_LIBS="$LIBS"
26694 LIBS="$LIBS $libm"
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26699 $as_echo_n "checking for isinf declaration... " >&6; }
26700 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26701 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26702 $as_echo_n "(cached) " >&6
26703 else
26706 ac_ext=cpp
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26713 /* end confdefs.h. */
26714 #include <math.h>
26715 #ifdef HAVE_IEEEFP_H
26716 #include <ieeefp.h>
26717 #endif
26720 main ()
26722 isinf(0);
26724 return 0;
26726 _ACEOF
26727 if ac_fn_cxx_try_compile "$LINENO"; then :
26728 glibcxx_cv_func_isinf_use=yes
26729 else
26730 glibcxx_cv_func_isinf_use=no
26732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26733 ac_ext=c
26734 ac_cpp='$CPP $CPPFLAGS'
26735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26744 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26746 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26747 for ac_func in isinf
26748 do :
26749 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26750 if test "x$ac_cv_func_isinf" = x""yes; then :
26751 cat >>confdefs.h <<_ACEOF
26752 #define HAVE_ISINF 1
26753 _ACEOF
26756 done
26758 else
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26761 $as_echo_n "checking for _isinf declaration... " >&6; }
26762 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26763 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26764 $as_echo_n "(cached) " >&6
26765 else
26768 ac_ext=cpp
26769 ac_cpp='$CXXCPP $CPPFLAGS'
26770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26775 /* end confdefs.h. */
26776 #include <math.h>
26777 #ifdef HAVE_IEEEFP_H
26778 #include <ieeefp.h>
26779 #endif
26782 main ()
26784 _isinf(0);
26786 return 0;
26788 _ACEOF
26789 if ac_fn_cxx_try_compile "$LINENO"; then :
26790 glibcxx_cv_func__isinf_use=yes
26791 else
26792 glibcxx_cv_func__isinf_use=no
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 ac_ext=c
26796 ac_cpp='$CPP $CPPFLAGS'
26797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26806 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26808 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26809 for ac_func in _isinf
26810 do :
26811 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26812 if test "x$ac_cv_func__isinf" = x""yes; then :
26813 cat >>confdefs.h <<_ACEOF
26814 #define HAVE__ISINF 1
26815 _ACEOF
26818 done
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26828 $as_echo_n "checking for isnan declaration... " >&6; }
26829 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26830 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26831 $as_echo_n "(cached) " >&6
26832 else
26835 ac_ext=cpp
26836 ac_cpp='$CXXCPP $CPPFLAGS'
26837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26842 /* end confdefs.h. */
26843 #include <math.h>
26844 #ifdef HAVE_IEEEFP_H
26845 #include <ieeefp.h>
26846 #endif
26849 main ()
26851 isnan(0);
26853 return 0;
26855 _ACEOF
26856 if ac_fn_cxx_try_compile "$LINENO"; then :
26857 glibcxx_cv_func_isnan_use=yes
26858 else
26859 glibcxx_cv_func_isnan_use=no
26861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 ac_ext=c
26863 ac_cpp='$CPP $CPPFLAGS'
26864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26873 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26875 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26876 for ac_func in isnan
26877 do :
26878 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26879 if test "x$ac_cv_func_isnan" = x""yes; then :
26880 cat >>confdefs.h <<_ACEOF
26881 #define HAVE_ISNAN 1
26882 _ACEOF
26885 done
26887 else
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26890 $as_echo_n "checking for _isnan declaration... " >&6; }
26891 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26892 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26893 $as_echo_n "(cached) " >&6
26894 else
26897 ac_ext=cpp
26898 ac_cpp='$CXXCPP $CPPFLAGS'
26899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h. */
26905 #include <math.h>
26906 #ifdef HAVE_IEEEFP_H
26907 #include <ieeefp.h>
26908 #endif
26911 main ()
26913 _isnan(0);
26915 return 0;
26917 _ACEOF
26918 if ac_fn_cxx_try_compile "$LINENO"; then :
26919 glibcxx_cv_func__isnan_use=yes
26920 else
26921 glibcxx_cv_func__isnan_use=no
26923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26924 ac_ext=c
26925 ac_cpp='$CPP $CPPFLAGS'
26926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26935 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26937 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26938 for ac_func in _isnan
26939 do :
26940 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26941 if test "x$ac_cv_func__isnan" = x""yes; then :
26942 cat >>confdefs.h <<_ACEOF
26943 #define HAVE__ISNAN 1
26944 _ACEOF
26947 done
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26957 $as_echo_n "checking for finite declaration... " >&6; }
26958 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26959 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26960 $as_echo_n "(cached) " >&6
26961 else
26964 ac_ext=cpp
26965 ac_cpp='$CXXCPP $CPPFLAGS'
26966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26971 /* end confdefs.h. */
26972 #include <math.h>
26973 #ifdef HAVE_IEEEFP_H
26974 #include <ieeefp.h>
26975 #endif
26978 main ()
26980 finite(0);
26982 return 0;
26984 _ACEOF
26985 if ac_fn_cxx_try_compile "$LINENO"; then :
26986 glibcxx_cv_func_finite_use=yes
26987 else
26988 glibcxx_cv_func_finite_use=no
26990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26991 ac_ext=c
26992 ac_cpp='$CPP $CPPFLAGS'
26993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27002 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27004 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27005 for ac_func in finite
27006 do :
27007 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27008 if test "x$ac_cv_func_finite" = x""yes; then :
27009 cat >>confdefs.h <<_ACEOF
27010 #define HAVE_FINITE 1
27011 _ACEOF
27014 done
27016 else
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27019 $as_echo_n "checking for _finite declaration... " >&6; }
27020 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27021 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27022 $as_echo_n "(cached) " >&6
27023 else
27026 ac_ext=cpp
27027 ac_cpp='$CXXCPP $CPPFLAGS'
27028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27033 /* end confdefs.h. */
27034 #include <math.h>
27035 #ifdef HAVE_IEEEFP_H
27036 #include <ieeefp.h>
27037 #endif
27040 main ()
27042 _finite(0);
27044 return 0;
27046 _ACEOF
27047 if ac_fn_cxx_try_compile "$LINENO"; then :
27048 glibcxx_cv_func__finite_use=yes
27049 else
27050 glibcxx_cv_func__finite_use=no
27052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27053 ac_ext=c
27054 ac_cpp='$CPP $CPPFLAGS'
27055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27064 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27066 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27067 for ac_func in _finite
27068 do :
27069 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27070 if test "x$ac_cv_func__finite" = x""yes; then :
27071 cat >>confdefs.h <<_ACEOF
27072 #define HAVE__FINITE 1
27073 _ACEOF
27076 done
27085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27086 $as_echo_n "checking for sincos declaration... " >&6; }
27087 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27088 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27089 $as_echo_n "(cached) " >&6
27090 else
27093 ac_ext=cpp
27094 ac_cpp='$CXXCPP $CPPFLAGS'
27095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27100 /* end confdefs.h. */
27101 #include <math.h>
27103 main ()
27105 sincos(0, 0, 0);
27107 return 0;
27109 _ACEOF
27110 if ac_fn_cxx_try_compile "$LINENO"; then :
27111 glibcxx_cv_func_sincos_use=yes
27112 else
27113 glibcxx_cv_func_sincos_use=no
27115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116 ac_ext=c
27117 ac_cpp='$CPP $CPPFLAGS'
27118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27127 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27129 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27130 for ac_func in sincos
27131 do :
27132 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27133 if test "x$ac_cv_func_sincos" = x""yes; then :
27134 cat >>confdefs.h <<_ACEOF
27135 #define HAVE_SINCOS 1
27136 _ACEOF
27139 done
27141 else
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27144 $as_echo_n "checking for _sincos declaration... " >&6; }
27145 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27146 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27147 $as_echo_n "(cached) " >&6
27148 else
27151 ac_ext=cpp
27152 ac_cpp='$CXXCPP $CPPFLAGS'
27153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27158 /* end confdefs.h. */
27159 #include <math.h>
27161 main ()
27163 _sincos(0, 0, 0);
27165 return 0;
27167 _ACEOF
27168 if ac_fn_cxx_try_compile "$LINENO"; then :
27169 glibcxx_cv_func__sincos_use=yes
27170 else
27171 glibcxx_cv_func__sincos_use=no
27173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27174 ac_ext=c
27175 ac_cpp='$CPP $CPPFLAGS'
27176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27185 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27187 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27188 for ac_func in _sincos
27189 do :
27190 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27191 if test "x$ac_cv_func__sincos" = x""yes; then :
27192 cat >>confdefs.h <<_ACEOF
27193 #define HAVE__SINCOS 1
27194 _ACEOF
27197 done
27206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27207 $as_echo_n "checking for fpclass declaration... " >&6; }
27208 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27209 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27210 $as_echo_n "(cached) " >&6
27211 else
27214 ac_ext=cpp
27215 ac_cpp='$CXXCPP $CPPFLAGS'
27216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27221 /* end confdefs.h. */
27222 #include <math.h>
27223 #ifdef HAVE_IEEEFP_H
27224 #include <ieeefp.h>
27225 #endif
27228 main ()
27230 fpclass(0);
27232 return 0;
27234 _ACEOF
27235 if ac_fn_cxx_try_compile "$LINENO"; then :
27236 glibcxx_cv_func_fpclass_use=yes
27237 else
27238 glibcxx_cv_func_fpclass_use=no
27240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27241 ac_ext=c
27242 ac_cpp='$CPP $CPPFLAGS'
27243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27252 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27254 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27255 for ac_func in fpclass
27256 do :
27257 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27258 if test "x$ac_cv_func_fpclass" = x""yes; then :
27259 cat >>confdefs.h <<_ACEOF
27260 #define HAVE_FPCLASS 1
27261 _ACEOF
27264 done
27266 else
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27269 $as_echo_n "checking for _fpclass declaration... " >&6; }
27270 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27271 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27272 $as_echo_n "(cached) " >&6
27273 else
27276 ac_ext=cpp
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27283 /* end confdefs.h. */
27284 #include <math.h>
27285 #ifdef HAVE_IEEEFP_H
27286 #include <ieeefp.h>
27287 #endif
27290 main ()
27292 _fpclass(0);
27294 return 0;
27296 _ACEOF
27297 if ac_fn_cxx_try_compile "$LINENO"; then :
27298 glibcxx_cv_func__fpclass_use=yes
27299 else
27300 glibcxx_cv_func__fpclass_use=no
27302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27303 ac_ext=c
27304 ac_cpp='$CPP $CPPFLAGS'
27305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27314 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27316 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27317 for ac_func in _fpclass
27318 do :
27319 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27320 if test "x$ac_cv_func__fpclass" = x""yes; then :
27321 cat >>confdefs.h <<_ACEOF
27322 #define HAVE__FPCLASS 1
27323 _ACEOF
27326 done
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27336 $as_echo_n "checking for qfpclass declaration... " >&6; }
27337 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27338 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27339 $as_echo_n "(cached) " >&6
27340 else
27343 ac_ext=cpp
27344 ac_cpp='$CXXCPP $CPPFLAGS'
27345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27350 /* end confdefs.h. */
27351 #include <math.h>
27352 #ifdef HAVE_IEEEFP_H
27353 #include <ieeefp.h>
27354 #endif
27357 main ()
27359 qfpclass(0);
27361 return 0;
27363 _ACEOF
27364 if ac_fn_cxx_try_compile "$LINENO"; then :
27365 glibcxx_cv_func_qfpclass_use=yes
27366 else
27367 glibcxx_cv_func_qfpclass_use=no
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370 ac_ext=c
27371 ac_cpp='$CPP $CPPFLAGS'
27372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27381 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27383 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27384 for ac_func in qfpclass
27385 do :
27386 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27387 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27388 cat >>confdefs.h <<_ACEOF
27389 #define HAVE_QFPCLASS 1
27390 _ACEOF
27393 done
27395 else
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27398 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27399 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27400 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27401 $as_echo_n "(cached) " >&6
27402 else
27405 ac_ext=cpp
27406 ac_cpp='$CXXCPP $CPPFLAGS'
27407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h. */
27413 #include <math.h>
27414 #ifdef HAVE_IEEEFP_H
27415 #include <ieeefp.h>
27416 #endif
27419 main ()
27421 _qfpclass(0);
27423 return 0;
27425 _ACEOF
27426 if ac_fn_cxx_try_compile "$LINENO"; then :
27427 glibcxx_cv_func__qfpclass_use=yes
27428 else
27429 glibcxx_cv_func__qfpclass_use=no
27431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27432 ac_ext=c
27433 ac_cpp='$CPP $CPPFLAGS'
27434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27443 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27445 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27446 for ac_func in _qfpclass
27447 do :
27448 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27449 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27450 cat >>confdefs.h <<_ACEOF
27451 #define HAVE__QFPCLASS 1
27452 _ACEOF
27455 done
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27465 $as_echo_n "checking for hypot declaration... " >&6; }
27466 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27467 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27468 $as_echo_n "(cached) " >&6
27469 else
27472 ac_ext=cpp
27473 ac_cpp='$CXXCPP $CPPFLAGS'
27474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27479 /* end confdefs.h. */
27480 #include <math.h>
27482 main ()
27484 hypot(0, 0);
27486 return 0;
27488 _ACEOF
27489 if ac_fn_cxx_try_compile "$LINENO"; then :
27490 glibcxx_cv_func_hypot_use=yes
27491 else
27492 glibcxx_cv_func_hypot_use=no
27494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495 ac_ext=c
27496 ac_cpp='$CPP $CPPFLAGS'
27497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27506 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27508 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27509 for ac_func in hypot
27510 do :
27511 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27512 if test "x$ac_cv_func_hypot" = x""yes; then :
27513 cat >>confdefs.h <<_ACEOF
27514 #define HAVE_HYPOT 1
27515 _ACEOF
27518 done
27520 else
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27523 $as_echo_n "checking for _hypot declaration... " >&6; }
27524 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27525 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27526 $as_echo_n "(cached) " >&6
27527 else
27530 ac_ext=cpp
27531 ac_cpp='$CXXCPP $CPPFLAGS'
27532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27537 /* end confdefs.h. */
27538 #include <math.h>
27540 main ()
27542 _hypot(0, 0);
27544 return 0;
27546 _ACEOF
27547 if ac_fn_cxx_try_compile "$LINENO"; then :
27548 glibcxx_cv_func__hypot_use=yes
27549 else
27550 glibcxx_cv_func__hypot_use=no
27552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27553 ac_ext=c
27554 ac_cpp='$CPP $CPPFLAGS'
27555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27564 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27566 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27567 for ac_func in _hypot
27568 do :
27569 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27570 if test "x$ac_cv_func__hypot" = x""yes; then :
27571 cat >>confdefs.h <<_ACEOF
27572 #define HAVE__HYPOT 1
27573 _ACEOF
27576 done
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27586 $as_echo_n "checking for float trig functions... " >&6; }
27587 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27588 $as_echo_n "(cached) " >&6
27589 else
27592 ac_ext=cpp
27593 ac_cpp='$CXXCPP $CPPFLAGS'
27594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27599 /* end confdefs.h. */
27600 #include <math.h>
27602 main ()
27604 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27606 return 0;
27608 _ACEOF
27609 if ac_fn_cxx_try_compile "$LINENO"; then :
27610 glibcxx_cv_func_float_trig_use=yes
27611 else
27612 glibcxx_cv_func_float_trig_use=no
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 ac_ext=c
27616 ac_cpp='$CPP $CPPFLAGS'
27617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27624 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27625 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27626 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27627 do :
27628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27630 eval as_val=\$$as_ac_var
27631 if test "x$as_val" = x""yes; then :
27632 cat >>confdefs.h <<_ACEOF
27633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27634 _ACEOF
27637 done
27639 else
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27641 $as_echo_n "checking for _float trig functions... " >&6; }
27642 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27643 $as_echo_n "(cached) " >&6
27644 else
27647 ac_ext=cpp
27648 ac_cpp='$CXXCPP $CPPFLAGS'
27649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h. */
27655 #include <math.h>
27657 main ()
27659 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27661 return 0;
27663 _ACEOF
27664 if ac_fn_cxx_try_compile "$LINENO"; then :
27665 glibcxx_cv_func__float_trig_use=yes
27666 else
27667 glibcxx_cv_func__float_trig_use=no
27669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670 ac_ext=c
27671 ac_cpp='$CPP $CPPFLAGS'
27672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27679 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27680 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27681 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27682 do :
27683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27685 eval as_val=\$$as_ac_var
27686 if test "x$as_val" = x""yes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 _ACEOF
27692 done
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27702 $as_echo_n "checking for float round functions... " >&6; }
27703 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27704 $as_echo_n "(cached) " >&6
27705 else
27708 ac_ext=cpp
27709 ac_cpp='$CXXCPP $CPPFLAGS'
27710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27715 /* end confdefs.h. */
27716 #include <math.h>
27718 main ()
27720 ceilf (0); floorf (0);
27722 return 0;
27724 _ACEOF
27725 if ac_fn_cxx_try_compile "$LINENO"; then :
27726 glibcxx_cv_func_float_round_use=yes
27727 else
27728 glibcxx_cv_func_float_round_use=no
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 ac_ext=c
27732 ac_cpp='$CPP $CPPFLAGS'
27733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27740 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27741 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27742 for ac_func in ceilf floorf
27743 do :
27744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27746 eval as_val=\$$as_ac_var
27747 if test "x$as_val" = x""yes; then :
27748 cat >>confdefs.h <<_ACEOF
27749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27750 _ACEOF
27753 done
27755 else
27756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27757 $as_echo_n "checking for _float round functions... " >&6; }
27758 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27759 $as_echo_n "(cached) " >&6
27760 else
27763 ac_ext=cpp
27764 ac_cpp='$CXXCPP $CPPFLAGS'
27765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h. */
27771 #include <math.h>
27773 main ()
27775 _ceilf (0); _floorf (0);
27777 return 0;
27779 _ACEOF
27780 if ac_fn_cxx_try_compile "$LINENO"; then :
27781 glibcxx_cv_func__float_round_use=yes
27782 else
27783 glibcxx_cv_func__float_round_use=no
27785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786 ac_ext=c
27787 ac_cpp='$CPP $CPPFLAGS'
27788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27795 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27796 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27797 for ac_func in _ceilf _floorf
27798 do :
27799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27801 eval as_val=\$$as_ac_var
27802 if test "x$as_val" = x""yes; then :
27803 cat >>confdefs.h <<_ACEOF
27804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 _ACEOF
27808 done
27818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27819 $as_echo_n "checking for expf declaration... " >&6; }
27820 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27821 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27822 $as_echo_n "(cached) " >&6
27823 else
27826 ac_ext=cpp
27827 ac_cpp='$CXXCPP $CPPFLAGS'
27828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27834 #include <math.h>
27835 #ifdef HAVE_IEEEFP_H
27836 #include <ieeefp.h>
27837 #endif
27840 main ()
27842 expf(0);
27844 return 0;
27846 _ACEOF
27847 if ac_fn_cxx_try_compile "$LINENO"; then :
27848 glibcxx_cv_func_expf_use=yes
27849 else
27850 glibcxx_cv_func_expf_use=no
27852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27853 ac_ext=c
27854 ac_cpp='$CPP $CPPFLAGS'
27855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27864 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27866 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27867 for ac_func in expf
27868 do :
27869 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27870 if test "x$ac_cv_func_expf" = x""yes; then :
27871 cat >>confdefs.h <<_ACEOF
27872 #define HAVE_EXPF 1
27873 _ACEOF
27876 done
27878 else
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27881 $as_echo_n "checking for _expf declaration... " >&6; }
27882 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27883 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27884 $as_echo_n "(cached) " >&6
27885 else
27888 ac_ext=cpp
27889 ac_cpp='$CXXCPP $CPPFLAGS'
27890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27896 #include <math.h>
27897 #ifdef HAVE_IEEEFP_H
27898 #include <ieeefp.h>
27899 #endif
27902 main ()
27904 _expf(0);
27906 return 0;
27908 _ACEOF
27909 if ac_fn_cxx_try_compile "$LINENO"; then :
27910 glibcxx_cv_func__expf_use=yes
27911 else
27912 glibcxx_cv_func__expf_use=no
27914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27915 ac_ext=c
27916 ac_cpp='$CPP $CPPFLAGS'
27917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27926 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27928 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27929 for ac_func in _expf
27930 do :
27931 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27932 if test "x$ac_cv_func__expf" = x""yes; then :
27933 cat >>confdefs.h <<_ACEOF
27934 #define HAVE__EXPF 1
27935 _ACEOF
27938 done
27947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27948 $as_echo_n "checking for isnanf declaration... " >&6; }
27949 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27950 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27951 $as_echo_n "(cached) " >&6
27952 else
27955 ac_ext=cpp
27956 ac_cpp='$CXXCPP $CPPFLAGS'
27957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27962 /* end confdefs.h. */
27963 #include <math.h>
27964 #ifdef HAVE_IEEEFP_H
27965 #include <ieeefp.h>
27966 #endif
27969 main ()
27971 isnanf(0);
27973 return 0;
27975 _ACEOF
27976 if ac_fn_cxx_try_compile "$LINENO"; then :
27977 glibcxx_cv_func_isnanf_use=yes
27978 else
27979 glibcxx_cv_func_isnanf_use=no
27981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27982 ac_ext=c
27983 ac_cpp='$CPP $CPPFLAGS'
27984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27993 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27995 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27996 for ac_func in isnanf
27997 do :
27998 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27999 if test "x$ac_cv_func_isnanf" = x""yes; then :
28000 cat >>confdefs.h <<_ACEOF
28001 #define HAVE_ISNANF 1
28002 _ACEOF
28005 done
28007 else
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28010 $as_echo_n "checking for _isnanf declaration... " >&6; }
28011 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28012 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28013 $as_echo_n "(cached) " >&6
28014 else
28017 ac_ext=cpp
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28025 #include <math.h>
28026 #ifdef HAVE_IEEEFP_H
28027 #include <ieeefp.h>
28028 #endif
28031 main ()
28033 _isnanf(0);
28035 return 0;
28037 _ACEOF
28038 if ac_fn_cxx_try_compile "$LINENO"; then :
28039 glibcxx_cv_func__isnanf_use=yes
28040 else
28041 glibcxx_cv_func__isnanf_use=no
28043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28044 ac_ext=c
28045 ac_cpp='$CPP $CPPFLAGS'
28046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28055 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28057 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28058 for ac_func in _isnanf
28059 do :
28060 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28061 if test "x$ac_cv_func__isnanf" = x""yes; then :
28062 cat >>confdefs.h <<_ACEOF
28063 #define HAVE__ISNANF 1
28064 _ACEOF
28067 done
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28077 $as_echo_n "checking for isinff declaration... " >&6; }
28078 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28079 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28080 $as_echo_n "(cached) " >&6
28081 else
28084 ac_ext=cpp
28085 ac_cpp='$CXXCPP $CPPFLAGS'
28086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28091 /* end confdefs.h. */
28092 #include <math.h>
28093 #ifdef HAVE_IEEEFP_H
28094 #include <ieeefp.h>
28095 #endif
28098 main ()
28100 isinff(0);
28102 return 0;
28104 _ACEOF
28105 if ac_fn_cxx_try_compile "$LINENO"; then :
28106 glibcxx_cv_func_isinff_use=yes
28107 else
28108 glibcxx_cv_func_isinff_use=no
28110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28111 ac_ext=c
28112 ac_cpp='$CPP $CPPFLAGS'
28113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28122 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28124 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28125 for ac_func in isinff
28126 do :
28127 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28128 if test "x$ac_cv_func_isinff" = x""yes; then :
28129 cat >>confdefs.h <<_ACEOF
28130 #define HAVE_ISINFF 1
28131 _ACEOF
28134 done
28136 else
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28139 $as_echo_n "checking for _isinff declaration... " >&6; }
28140 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28141 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28142 $as_echo_n "(cached) " >&6
28143 else
28146 ac_ext=cpp
28147 ac_cpp='$CXXCPP $CPPFLAGS'
28148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28153 /* end confdefs.h. */
28154 #include <math.h>
28155 #ifdef HAVE_IEEEFP_H
28156 #include <ieeefp.h>
28157 #endif
28160 main ()
28162 _isinff(0);
28164 return 0;
28166 _ACEOF
28167 if ac_fn_cxx_try_compile "$LINENO"; then :
28168 glibcxx_cv_func__isinff_use=yes
28169 else
28170 glibcxx_cv_func__isinff_use=no
28172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28173 ac_ext=c
28174 ac_cpp='$CPP $CPPFLAGS'
28175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28184 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28186 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28187 for ac_func in _isinff
28188 do :
28189 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28190 if test "x$ac_cv_func__isinff" = x""yes; then :
28191 cat >>confdefs.h <<_ACEOF
28192 #define HAVE__ISINFF 1
28193 _ACEOF
28196 done
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28206 $as_echo_n "checking for atan2f declaration... " >&6; }
28207 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28208 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28209 $as_echo_n "(cached) " >&6
28210 else
28213 ac_ext=cpp
28214 ac_cpp='$CXXCPP $CPPFLAGS'
28215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h. */
28221 #include <math.h>
28223 main ()
28225 atan2f(0, 0);
28227 return 0;
28229 _ACEOF
28230 if ac_fn_cxx_try_compile "$LINENO"; then :
28231 glibcxx_cv_func_atan2f_use=yes
28232 else
28233 glibcxx_cv_func_atan2f_use=no
28235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28236 ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28247 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28249 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28250 for ac_func in atan2f
28251 do :
28252 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28253 if test "x$ac_cv_func_atan2f" = x""yes; then :
28254 cat >>confdefs.h <<_ACEOF
28255 #define HAVE_ATAN2F 1
28256 _ACEOF
28259 done
28261 else
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28264 $as_echo_n "checking for _atan2f declaration... " >&6; }
28265 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28266 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28267 $as_echo_n "(cached) " >&6
28268 else
28271 ac_ext=cpp
28272 ac_cpp='$CXXCPP $CPPFLAGS'
28273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28278 /* end confdefs.h. */
28279 #include <math.h>
28281 main ()
28283 _atan2f(0, 0);
28285 return 0;
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289 glibcxx_cv_func__atan2f_use=yes
28290 else
28291 glibcxx_cv_func__atan2f_use=no
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28305 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28307 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28308 for ac_func in _atan2f
28309 do :
28310 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28311 if test "x$ac_cv_func__atan2f" = x""yes; then :
28312 cat >>confdefs.h <<_ACEOF
28313 #define HAVE__ATAN2F 1
28314 _ACEOF
28317 done
28326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28327 $as_echo_n "checking for fabsf declaration... " >&6; }
28328 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28329 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28330 $as_echo_n "(cached) " >&6
28331 else
28334 ac_ext=cpp
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28341 /* end confdefs.h. */
28342 #include <math.h>
28343 #ifdef HAVE_IEEEFP_H
28344 #include <ieeefp.h>
28345 #endif
28348 main ()
28350 fabsf(0);
28352 return 0;
28354 _ACEOF
28355 if ac_fn_cxx_try_compile "$LINENO"; then :
28356 glibcxx_cv_func_fabsf_use=yes
28357 else
28358 glibcxx_cv_func_fabsf_use=no
28360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28361 ac_ext=c
28362 ac_cpp='$CPP $CPPFLAGS'
28363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28372 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28374 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28375 for ac_func in fabsf
28376 do :
28377 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28378 if test "x$ac_cv_func_fabsf" = x""yes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_FABSF 1
28381 _ACEOF
28384 done
28386 else
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28389 $as_echo_n "checking for _fabsf declaration... " >&6; }
28390 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28391 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28396 ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h. */
28404 #include <math.h>
28405 #ifdef HAVE_IEEEFP_H
28406 #include <ieeefp.h>
28407 #endif
28410 main ()
28412 _fabsf(0);
28414 return 0;
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418 glibcxx_cv_func__fabsf_use=yes
28419 else
28420 glibcxx_cv_func__fabsf_use=no
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 ac_ext=c
28424 ac_cpp='$CPP $CPPFLAGS'
28425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28434 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28436 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28437 for ac_func in _fabsf
28438 do :
28439 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28440 if test "x$ac_cv_func__fabsf" = x""yes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE__FABSF 1
28443 _ACEOF
28446 done
28455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28456 $as_echo_n "checking for fmodf declaration... " >&6; }
28457 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28458 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28459 $as_echo_n "(cached) " >&6
28460 else
28463 ac_ext=cpp
28464 ac_cpp='$CXXCPP $CPPFLAGS'
28465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h. */
28471 #include <math.h>
28473 main ()
28475 fmodf(0, 0);
28477 return 0;
28479 _ACEOF
28480 if ac_fn_cxx_try_compile "$LINENO"; then :
28481 glibcxx_cv_func_fmodf_use=yes
28482 else
28483 glibcxx_cv_func_fmodf_use=no
28485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28486 ac_ext=c
28487 ac_cpp='$CPP $CPPFLAGS'
28488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28497 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28499 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28500 for ac_func in fmodf
28501 do :
28502 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28503 if test "x$ac_cv_func_fmodf" = x""yes; then :
28504 cat >>confdefs.h <<_ACEOF
28505 #define HAVE_FMODF 1
28506 _ACEOF
28509 done
28511 else
28513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28514 $as_echo_n "checking for _fmodf declaration... " >&6; }
28515 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28516 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28517 $as_echo_n "(cached) " >&6
28518 else
28521 ac_ext=cpp
28522 ac_cpp='$CXXCPP $CPPFLAGS'
28523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28528 /* end confdefs.h. */
28529 #include <math.h>
28531 main ()
28533 _fmodf(0, 0);
28535 return 0;
28537 _ACEOF
28538 if ac_fn_cxx_try_compile "$LINENO"; then :
28539 glibcxx_cv_func__fmodf_use=yes
28540 else
28541 glibcxx_cv_func__fmodf_use=no
28543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28544 ac_ext=c
28545 ac_cpp='$CPP $CPPFLAGS'
28546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28555 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28557 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28558 for ac_func in _fmodf
28559 do :
28560 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28561 if test "x$ac_cv_func__fmodf" = x""yes; then :
28562 cat >>confdefs.h <<_ACEOF
28563 #define HAVE__FMODF 1
28564 _ACEOF
28567 done
28576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28577 $as_echo_n "checking for frexpf declaration... " >&6; }
28578 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28579 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28580 $as_echo_n "(cached) " >&6
28581 else
28584 ac_ext=cpp
28585 ac_cpp='$CXXCPP $CPPFLAGS'
28586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28591 /* end confdefs.h. */
28592 #include <math.h>
28594 main ()
28596 frexpf(0, 0);
28598 return 0;
28600 _ACEOF
28601 if ac_fn_cxx_try_compile "$LINENO"; then :
28602 glibcxx_cv_func_frexpf_use=yes
28603 else
28604 glibcxx_cv_func_frexpf_use=no
28606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28607 ac_ext=c
28608 ac_cpp='$CPP $CPPFLAGS'
28609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28618 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28620 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28621 for ac_func in frexpf
28622 do :
28623 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28624 if test "x$ac_cv_func_frexpf" = x""yes; then :
28625 cat >>confdefs.h <<_ACEOF
28626 #define HAVE_FREXPF 1
28627 _ACEOF
28630 done
28632 else
28634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28635 $as_echo_n "checking for _frexpf declaration... " >&6; }
28636 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28637 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28638 $as_echo_n "(cached) " >&6
28639 else
28642 ac_ext=cpp
28643 ac_cpp='$CXXCPP $CPPFLAGS'
28644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28649 /* end confdefs.h. */
28650 #include <math.h>
28652 main ()
28654 _frexpf(0, 0);
28656 return 0;
28658 _ACEOF
28659 if ac_fn_cxx_try_compile "$LINENO"; then :
28660 glibcxx_cv_func__frexpf_use=yes
28661 else
28662 glibcxx_cv_func__frexpf_use=no
28664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28665 ac_ext=c
28666 ac_cpp='$CPP $CPPFLAGS'
28667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28676 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28678 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28679 for ac_func in _frexpf
28680 do :
28681 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28682 if test "x$ac_cv_func__frexpf" = x""yes; then :
28683 cat >>confdefs.h <<_ACEOF
28684 #define HAVE__FREXPF 1
28685 _ACEOF
28688 done
28697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28698 $as_echo_n "checking for hypotf declaration... " >&6; }
28699 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28700 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28701 $as_echo_n "(cached) " >&6
28702 else
28705 ac_ext=cpp
28706 ac_cpp='$CXXCPP $CPPFLAGS'
28707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28712 /* end confdefs.h. */
28713 #include <math.h>
28715 main ()
28717 hypotf(0, 0);
28719 return 0;
28721 _ACEOF
28722 if ac_fn_cxx_try_compile "$LINENO"; then :
28723 glibcxx_cv_func_hypotf_use=yes
28724 else
28725 glibcxx_cv_func_hypotf_use=no
28727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 ac_ext=c
28729 ac_cpp='$CPP $CPPFLAGS'
28730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28739 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28741 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28742 for ac_func in hypotf
28743 do :
28744 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28745 if test "x$ac_cv_func_hypotf" = x""yes; then :
28746 cat >>confdefs.h <<_ACEOF
28747 #define HAVE_HYPOTF 1
28748 _ACEOF
28751 done
28753 else
28755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28756 $as_echo_n "checking for _hypotf declaration... " >&6; }
28757 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28758 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28759 $as_echo_n "(cached) " >&6
28760 else
28763 ac_ext=cpp
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28770 /* end confdefs.h. */
28771 #include <math.h>
28773 main ()
28775 _hypotf(0, 0);
28777 return 0;
28779 _ACEOF
28780 if ac_fn_cxx_try_compile "$LINENO"; then :
28781 glibcxx_cv_func__hypotf_use=yes
28782 else
28783 glibcxx_cv_func__hypotf_use=no
28785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28786 ac_ext=c
28787 ac_cpp='$CPP $CPPFLAGS'
28788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28797 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28799 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28800 for ac_func in _hypotf
28801 do :
28802 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28803 if test "x$ac_cv_func__hypotf" = x""yes; then :
28804 cat >>confdefs.h <<_ACEOF
28805 #define HAVE__HYPOTF 1
28806 _ACEOF
28809 done
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28819 $as_echo_n "checking for ldexpf declaration... " >&6; }
28820 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28821 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28822 $as_echo_n "(cached) " >&6
28823 else
28826 ac_ext=cpp
28827 ac_cpp='$CXXCPP $CPPFLAGS'
28828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28833 /* end confdefs.h. */
28834 #include <math.h>
28836 main ()
28838 ldexpf(0, 0);
28840 return 0;
28842 _ACEOF
28843 if ac_fn_cxx_try_compile "$LINENO"; then :
28844 glibcxx_cv_func_ldexpf_use=yes
28845 else
28846 glibcxx_cv_func_ldexpf_use=no
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849 ac_ext=c
28850 ac_cpp='$CPP $CPPFLAGS'
28851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28860 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28862 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28863 for ac_func in ldexpf
28864 do :
28865 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28866 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28867 cat >>confdefs.h <<_ACEOF
28868 #define HAVE_LDEXPF 1
28869 _ACEOF
28872 done
28874 else
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28877 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28878 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28879 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28880 $as_echo_n "(cached) " >&6
28881 else
28884 ac_ext=cpp
28885 ac_cpp='$CXXCPP $CPPFLAGS'
28886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891 /* end confdefs.h. */
28892 #include <math.h>
28894 main ()
28896 _ldexpf(0, 0);
28898 return 0;
28900 _ACEOF
28901 if ac_fn_cxx_try_compile "$LINENO"; then :
28902 glibcxx_cv_func__ldexpf_use=yes
28903 else
28904 glibcxx_cv_func__ldexpf_use=no
28906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28907 ac_ext=c
28908 ac_cpp='$CPP $CPPFLAGS'
28909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28918 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28920 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28921 for ac_func in _ldexpf
28922 do :
28923 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28924 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define HAVE__LDEXPF 1
28927 _ACEOF
28930 done
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28940 $as_echo_n "checking for logf declaration... " >&6; }
28941 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28942 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28943 $as_echo_n "(cached) " >&6
28944 else
28947 ac_ext=cpp
28948 ac_cpp='$CXXCPP $CPPFLAGS'
28949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28954 /* end confdefs.h. */
28955 #include <math.h>
28956 #ifdef HAVE_IEEEFP_H
28957 #include <ieeefp.h>
28958 #endif
28961 main ()
28963 logf(0);
28965 return 0;
28967 _ACEOF
28968 if ac_fn_cxx_try_compile "$LINENO"; then :
28969 glibcxx_cv_func_logf_use=yes
28970 else
28971 glibcxx_cv_func_logf_use=no
28973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28974 ac_ext=c
28975 ac_cpp='$CPP $CPPFLAGS'
28976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28985 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28987 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28988 for ac_func in logf
28989 do :
28990 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28991 if test "x$ac_cv_func_logf" = x""yes; then :
28992 cat >>confdefs.h <<_ACEOF
28993 #define HAVE_LOGF 1
28994 _ACEOF
28997 done
28999 else
29001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29002 $as_echo_n "checking for _logf declaration... " >&6; }
29003 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29004 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29005 $as_echo_n "(cached) " >&6
29006 else
29009 ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h. */
29017 #include <math.h>
29018 #ifdef HAVE_IEEEFP_H
29019 #include <ieeefp.h>
29020 #endif
29023 main ()
29025 _logf(0);
29027 return 0;
29029 _ACEOF
29030 if ac_fn_cxx_try_compile "$LINENO"; then :
29031 glibcxx_cv_func__logf_use=yes
29032 else
29033 glibcxx_cv_func__logf_use=no
29035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036 ac_ext=c
29037 ac_cpp='$CPP $CPPFLAGS'
29038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29047 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29049 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29050 for ac_func in _logf
29051 do :
29052 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29053 if test "x$ac_cv_func__logf" = x""yes; then :
29054 cat >>confdefs.h <<_ACEOF
29055 #define HAVE__LOGF 1
29056 _ACEOF
29059 done
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29069 $as_echo_n "checking for log10f declaration... " >&6; }
29070 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29071 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29072 $as_echo_n "(cached) " >&6
29073 else
29076 ac_ext=cpp
29077 ac_cpp='$CXXCPP $CPPFLAGS'
29078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29083 /* end confdefs.h. */
29084 #include <math.h>
29085 #ifdef HAVE_IEEEFP_H
29086 #include <ieeefp.h>
29087 #endif
29090 main ()
29092 log10f(0);
29094 return 0;
29096 _ACEOF
29097 if ac_fn_cxx_try_compile "$LINENO"; then :
29098 glibcxx_cv_func_log10f_use=yes
29099 else
29100 glibcxx_cv_func_log10f_use=no
29102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29103 ac_ext=c
29104 ac_cpp='$CPP $CPPFLAGS'
29105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29114 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29116 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29117 for ac_func in log10f
29118 do :
29119 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29120 if test "x$ac_cv_func_log10f" = x""yes; then :
29121 cat >>confdefs.h <<_ACEOF
29122 #define HAVE_LOG10F 1
29123 _ACEOF
29126 done
29128 else
29130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29131 $as_echo_n "checking for _log10f declaration... " >&6; }
29132 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29133 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29134 $as_echo_n "(cached) " >&6
29135 else
29138 ac_ext=cpp
29139 ac_cpp='$CXXCPP $CPPFLAGS'
29140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29146 #include <math.h>
29147 #ifdef HAVE_IEEEFP_H
29148 #include <ieeefp.h>
29149 #endif
29152 main ()
29154 _log10f(0);
29156 return 0;
29158 _ACEOF
29159 if ac_fn_cxx_try_compile "$LINENO"; then :
29160 glibcxx_cv_func__log10f_use=yes
29161 else
29162 glibcxx_cv_func__log10f_use=no
29164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165 ac_ext=c
29166 ac_cpp='$CPP $CPPFLAGS'
29167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29176 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29178 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29179 for ac_func in _log10f
29180 do :
29181 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29182 if test "x$ac_cv_func__log10f" = x""yes; then :
29183 cat >>confdefs.h <<_ACEOF
29184 #define HAVE__LOG10F 1
29185 _ACEOF
29188 done
29197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29198 $as_echo_n "checking for modff declaration... " >&6; }
29199 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29200 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29201 $as_echo_n "(cached) " >&6
29202 else
29205 ac_ext=cpp
29206 ac_cpp='$CXXCPP $CPPFLAGS'
29207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29212 /* end confdefs.h. */
29213 #include <math.h>
29215 main ()
29217 modff(0, 0);
29219 return 0;
29221 _ACEOF
29222 if ac_fn_cxx_try_compile "$LINENO"; then :
29223 glibcxx_cv_func_modff_use=yes
29224 else
29225 glibcxx_cv_func_modff_use=no
29227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29228 ac_ext=c
29229 ac_cpp='$CPP $CPPFLAGS'
29230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29239 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29241 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29242 for ac_func in modff
29243 do :
29244 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29245 if test "x$ac_cv_func_modff" = x""yes; then :
29246 cat >>confdefs.h <<_ACEOF
29247 #define HAVE_MODFF 1
29248 _ACEOF
29251 done
29253 else
29255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29256 $as_echo_n "checking for _modff declaration... " >&6; }
29257 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29258 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29259 $as_echo_n "(cached) " >&6
29260 else
29263 ac_ext=cpp
29264 ac_cpp='$CXXCPP $CPPFLAGS'
29265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29270 /* end confdefs.h. */
29271 #include <math.h>
29273 main ()
29275 _modff(0, 0);
29277 return 0;
29279 _ACEOF
29280 if ac_fn_cxx_try_compile "$LINENO"; then :
29281 glibcxx_cv_func__modff_use=yes
29282 else
29283 glibcxx_cv_func__modff_use=no
29285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29286 ac_ext=c
29287 ac_cpp='$CPP $CPPFLAGS'
29288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29297 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29299 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29300 for ac_func in _modff
29301 do :
29302 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29303 if test "x$ac_cv_func__modff" = x""yes; then :
29304 cat >>confdefs.h <<_ACEOF
29305 #define HAVE__MODFF 1
29306 _ACEOF
29309 done
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29319 $as_echo_n "checking for modf declaration... " >&6; }
29320 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29321 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29322 $as_echo_n "(cached) " >&6
29323 else
29326 ac_ext=cpp
29327 ac_cpp='$CXXCPP $CPPFLAGS'
29328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29333 /* end confdefs.h. */
29334 #include <math.h>
29336 main ()
29338 modf(0, 0);
29340 return 0;
29342 _ACEOF
29343 if ac_fn_cxx_try_compile "$LINENO"; then :
29344 glibcxx_cv_func_modf_use=yes
29345 else
29346 glibcxx_cv_func_modf_use=no
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349 ac_ext=c
29350 ac_cpp='$CPP $CPPFLAGS'
29351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29360 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29362 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29363 for ac_func in modf
29364 do :
29365 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29366 if test "x$ac_cv_func_modf" = x""yes; then :
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_MODF 1
29369 _ACEOF
29372 done
29374 else
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29377 $as_echo_n "checking for _modf declaration... " >&6; }
29378 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29379 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29380 $as_echo_n "(cached) " >&6
29381 else
29384 ac_ext=cpp
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #include <math.h>
29394 main ()
29396 _modf(0, 0);
29398 return 0;
29400 _ACEOF
29401 if ac_fn_cxx_try_compile "$LINENO"; then :
29402 glibcxx_cv_func__modf_use=yes
29403 else
29404 glibcxx_cv_func__modf_use=no
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 ac_ext=c
29408 ac_cpp='$CPP $CPPFLAGS'
29409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29418 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29420 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29421 for ac_func in _modf
29422 do :
29423 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29424 if test "x$ac_cv_func__modf" = x""yes; then :
29425 cat >>confdefs.h <<_ACEOF
29426 #define HAVE__MODF 1
29427 _ACEOF
29430 done
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29440 $as_echo_n "checking for powf declaration... " >&6; }
29441 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29442 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29443 $as_echo_n "(cached) " >&6
29444 else
29447 ac_ext=cpp
29448 ac_cpp='$CXXCPP $CPPFLAGS'
29449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29454 /* end confdefs.h. */
29455 #include <math.h>
29457 main ()
29459 powf(0, 0);
29461 return 0;
29463 _ACEOF
29464 if ac_fn_cxx_try_compile "$LINENO"; then :
29465 glibcxx_cv_func_powf_use=yes
29466 else
29467 glibcxx_cv_func_powf_use=no
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470 ac_ext=c
29471 ac_cpp='$CPP $CPPFLAGS'
29472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29481 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29483 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29484 for ac_func in powf
29485 do :
29486 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29487 if test "x$ac_cv_func_powf" = x""yes; then :
29488 cat >>confdefs.h <<_ACEOF
29489 #define HAVE_POWF 1
29490 _ACEOF
29493 done
29495 else
29497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29498 $as_echo_n "checking for _powf declaration... " >&6; }
29499 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29500 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29501 $as_echo_n "(cached) " >&6
29502 else
29505 ac_ext=cpp
29506 ac_cpp='$CXXCPP $CPPFLAGS'
29507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29512 /* end confdefs.h. */
29513 #include <math.h>
29515 main ()
29517 _powf(0, 0);
29519 return 0;
29521 _ACEOF
29522 if ac_fn_cxx_try_compile "$LINENO"; then :
29523 glibcxx_cv_func__powf_use=yes
29524 else
29525 glibcxx_cv_func__powf_use=no
29527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29528 ac_ext=c
29529 ac_cpp='$CPP $CPPFLAGS'
29530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29539 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29541 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29542 for ac_func in _powf
29543 do :
29544 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29545 if test "x$ac_cv_func__powf" = x""yes; then :
29546 cat >>confdefs.h <<_ACEOF
29547 #define HAVE__POWF 1
29548 _ACEOF
29551 done
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29561 $as_echo_n "checking for sqrtf declaration... " >&6; }
29562 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29563 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29564 $as_echo_n "(cached) " >&6
29565 else
29568 ac_ext=cpp
29569 ac_cpp='$CXXCPP $CPPFLAGS'
29570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h. */
29576 #include <math.h>
29577 #ifdef HAVE_IEEEFP_H
29578 #include <ieeefp.h>
29579 #endif
29582 main ()
29584 sqrtf(0);
29586 return 0;
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590 glibcxx_cv_func_sqrtf_use=yes
29591 else
29592 glibcxx_cv_func_sqrtf_use=no
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29606 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29608 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29609 for ac_func in sqrtf
29610 do :
29611 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29612 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29613 cat >>confdefs.h <<_ACEOF
29614 #define HAVE_SQRTF 1
29615 _ACEOF
29618 done
29620 else
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29623 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29624 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29625 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29630 ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <math.h>
29639 #ifdef HAVE_IEEEFP_H
29640 #include <ieeefp.h>
29641 #endif
29644 main ()
29646 _sqrtf(0);
29648 return 0;
29650 _ACEOF
29651 if ac_fn_cxx_try_compile "$LINENO"; then :
29652 glibcxx_cv_func__sqrtf_use=yes
29653 else
29654 glibcxx_cv_func__sqrtf_use=no
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657 ac_ext=c
29658 ac_cpp='$CPP $CPPFLAGS'
29659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29668 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29670 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29671 for ac_func in _sqrtf
29672 do :
29673 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29674 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29675 cat >>confdefs.h <<_ACEOF
29676 #define HAVE__SQRTF 1
29677 _ACEOF
29680 done
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29690 $as_echo_n "checking for sincosf declaration... " >&6; }
29691 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29692 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29707 main ()
29709 sincosf(0, 0, 0);
29711 return 0;
29713 _ACEOF
29714 if ac_fn_cxx_try_compile "$LINENO"; then :
29715 glibcxx_cv_func_sincosf_use=yes
29716 else
29717 glibcxx_cv_func_sincosf_use=no
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720 ac_ext=c
29721 ac_cpp='$CPP $CPPFLAGS'
29722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29731 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29733 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29734 for ac_func in sincosf
29735 do :
29736 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29737 if test "x$ac_cv_func_sincosf" = x""yes; then :
29738 cat >>confdefs.h <<_ACEOF
29739 #define HAVE_SINCOSF 1
29740 _ACEOF
29743 done
29745 else
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29748 $as_echo_n "checking for _sincosf declaration... " >&6; }
29749 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29750 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29751 $as_echo_n "(cached) " >&6
29752 else
29755 ac_ext=cpp
29756 ac_cpp='$CXXCPP $CPPFLAGS'
29757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29762 /* end confdefs.h. */
29763 #include <math.h>
29765 main ()
29767 _sincosf(0, 0, 0);
29769 return 0;
29771 _ACEOF
29772 if ac_fn_cxx_try_compile "$LINENO"; then :
29773 glibcxx_cv_func__sincosf_use=yes
29774 else
29775 glibcxx_cv_func__sincosf_use=no
29777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29778 ac_ext=c
29779 ac_cpp='$CPP $CPPFLAGS'
29780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29789 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29791 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29792 for ac_func in _sincosf
29793 do :
29794 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29795 if test "x$ac_cv_func__sincosf" = x""yes; then :
29796 cat >>confdefs.h <<_ACEOF
29797 #define HAVE__SINCOSF 1
29798 _ACEOF
29801 done
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29811 $as_echo_n "checking for finitef declaration... " >&6; }
29812 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29813 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29814 $as_echo_n "(cached) " >&6
29815 else
29818 ac_ext=cpp
29819 ac_cpp='$CXXCPP $CPPFLAGS'
29820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h. */
29826 #include <math.h>
29827 #ifdef HAVE_IEEEFP_H
29828 #include <ieeefp.h>
29829 #endif
29832 main ()
29834 finitef(0);
29836 return 0;
29838 _ACEOF
29839 if ac_fn_cxx_try_compile "$LINENO"; then :
29840 glibcxx_cv_func_finitef_use=yes
29841 else
29842 glibcxx_cv_func_finitef_use=no
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845 ac_ext=c
29846 ac_cpp='$CPP $CPPFLAGS'
29847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29856 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29858 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29859 for ac_func in finitef
29860 do :
29861 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29862 if test "x$ac_cv_func_finitef" = x""yes; then :
29863 cat >>confdefs.h <<_ACEOF
29864 #define HAVE_FINITEF 1
29865 _ACEOF
29868 done
29870 else
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29873 $as_echo_n "checking for _finitef declaration... " >&6; }
29874 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29875 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29876 $as_echo_n "(cached) " >&6
29877 else
29880 ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h. */
29888 #include <math.h>
29889 #ifdef HAVE_IEEEFP_H
29890 #include <ieeefp.h>
29891 #endif
29894 main ()
29896 _finitef(0);
29898 return 0;
29900 _ACEOF
29901 if ac_fn_cxx_try_compile "$LINENO"; then :
29902 glibcxx_cv_func__finitef_use=yes
29903 else
29904 glibcxx_cv_func__finitef_use=no
29906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29907 ac_ext=c
29908 ac_cpp='$CPP $CPPFLAGS'
29909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29918 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29920 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29921 for ac_func in _finitef
29922 do :
29923 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29924 if test "x$ac_cv_func__finitef" = x""yes; then :
29925 cat >>confdefs.h <<_ACEOF
29926 #define HAVE__FINITEF 1
29927 _ACEOF
29930 done
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29940 $as_echo_n "checking for long double trig functions... " >&6; }
29941 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29942 $as_echo_n "(cached) " >&6
29943 else
29946 ac_ext=cpp
29947 ac_cpp='$CXXCPP $CPPFLAGS'
29948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29953 /* end confdefs.h. */
29954 #include <math.h>
29956 main ()
29958 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29960 return 0;
29962 _ACEOF
29963 if ac_fn_cxx_try_compile "$LINENO"; then :
29964 glibcxx_cv_func_long_double_trig_use=yes
29965 else
29966 glibcxx_cv_func_long_double_trig_use=no
29968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29969 ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29978 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29979 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29980 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29981 do :
29982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29984 eval as_val=\$$as_ac_var
29985 if test "x$as_val" = x""yes; then :
29986 cat >>confdefs.h <<_ACEOF
29987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29988 _ACEOF
29991 done
29993 else
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29995 $as_echo_n "checking for _long double trig functions... " >&6; }
29996 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29997 $as_echo_n "(cached) " >&6
29998 else
30001 ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009 #include <math.h>
30011 main ()
30013 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30015 return 0;
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019 glibcxx_cv_func__long_double_trig_use=yes
30020 else
30021 glibcxx_cv_func__long_double_trig_use=no
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024 ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30033 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30034 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30035 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30036 do :
30037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30039 eval as_val=\$$as_ac_var
30040 if test "x$as_val" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30043 _ACEOF
30046 done
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30056 $as_echo_n "checking for long double round functions... " >&6; }
30057 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30062 ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30070 #include <math.h>
30072 main ()
30074 ceill (0); floorl (0);
30076 return 0;
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080 glibcxx_cv_func_long_double_round_use=yes
30081 else
30082 glibcxx_cv_func_long_double_round_use=no
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30094 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30095 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30096 for ac_func in ceill floorl
30097 do :
30098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30100 eval as_val=\$$as_ac_var
30101 if test "x$as_val" = x""yes; then :
30102 cat >>confdefs.h <<_ACEOF
30103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30104 _ACEOF
30107 done
30109 else
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30111 $as_echo_n "checking for _long double round functions... " >&6; }
30112 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30127 main ()
30129 _ceill (0); _floorl (0);
30131 return 0;
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135 glibcxx_cv_func__long_double_round_use=yes
30136 else
30137 glibcxx_cv_func__long_double_round_use=no
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30149 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30150 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30151 for ac_func in _ceill _floorl
30152 do :
30153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30155 eval as_val=\$$as_ac_var
30156 if test "x$as_val" = x""yes; then :
30157 cat >>confdefs.h <<_ACEOF
30158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30159 _ACEOF
30162 done
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30173 $as_echo_n "checking for isnanl declaration... " >&6; }
30174 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30175 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30176 $as_echo_n "(cached) " >&6
30177 else
30180 ac_ext=cpp
30181 ac_cpp='$CXXCPP $CPPFLAGS'
30182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30187 /* end confdefs.h. */
30188 #include <math.h>
30189 #ifdef HAVE_IEEEFP_H
30190 #include <ieeefp.h>
30191 #endif
30194 main ()
30196 isnanl(0);
30198 return 0;
30200 _ACEOF
30201 if ac_fn_cxx_try_compile "$LINENO"; then :
30202 glibcxx_cv_func_isnanl_use=yes
30203 else
30204 glibcxx_cv_func_isnanl_use=no
30206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30207 ac_ext=c
30208 ac_cpp='$CPP $CPPFLAGS'
30209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30218 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30220 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30221 for ac_func in isnanl
30222 do :
30223 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30224 if test "x$ac_cv_func_isnanl" = x""yes; then :
30225 cat >>confdefs.h <<_ACEOF
30226 #define HAVE_ISNANL 1
30227 _ACEOF
30230 done
30232 else
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30235 $as_echo_n "checking for _isnanl declaration... " >&6; }
30236 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30237 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30238 $as_echo_n "(cached) " >&6
30239 else
30242 ac_ext=cpp
30243 ac_cpp='$CXXCPP $CPPFLAGS'
30244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30249 /* end confdefs.h. */
30250 #include <math.h>
30251 #ifdef HAVE_IEEEFP_H
30252 #include <ieeefp.h>
30253 #endif
30256 main ()
30258 _isnanl(0);
30260 return 0;
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264 glibcxx_cv_func__isnanl_use=yes
30265 else
30266 glibcxx_cv_func__isnanl_use=no
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30280 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30282 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30283 for ac_func in _isnanl
30284 do :
30285 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30286 if test "x$ac_cv_func__isnanl" = x""yes; then :
30287 cat >>confdefs.h <<_ACEOF
30288 #define HAVE__ISNANL 1
30289 _ACEOF
30292 done
30301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30302 $as_echo_n "checking for isinfl declaration... " >&6; }
30303 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30304 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30305 $as_echo_n "(cached) " >&6
30306 else
30309 ac_ext=cpp
30310 ac_cpp='$CXXCPP $CPPFLAGS'
30311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30316 /* end confdefs.h. */
30317 #include <math.h>
30318 #ifdef HAVE_IEEEFP_H
30319 #include <ieeefp.h>
30320 #endif
30323 main ()
30325 isinfl(0);
30327 return 0;
30329 _ACEOF
30330 if ac_fn_cxx_try_compile "$LINENO"; then :
30331 glibcxx_cv_func_isinfl_use=yes
30332 else
30333 glibcxx_cv_func_isinfl_use=no
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336 ac_ext=c
30337 ac_cpp='$CPP $CPPFLAGS'
30338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30347 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30349 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30350 for ac_func in isinfl
30351 do :
30352 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30353 if test "x$ac_cv_func_isinfl" = x""yes; then :
30354 cat >>confdefs.h <<_ACEOF
30355 #define HAVE_ISINFL 1
30356 _ACEOF
30359 done
30361 else
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30364 $as_echo_n "checking for _isinfl declaration... " >&6; }
30365 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30366 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30368 else
30371 ac_ext=cpp
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h. */
30379 #include <math.h>
30380 #ifdef HAVE_IEEEFP_H
30381 #include <ieeefp.h>
30382 #endif
30385 main ()
30387 _isinfl(0);
30389 return 0;
30391 _ACEOF
30392 if ac_fn_cxx_try_compile "$LINENO"; then :
30393 glibcxx_cv_func__isinfl_use=yes
30394 else
30395 glibcxx_cv_func__isinfl_use=no
30397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30398 ac_ext=c
30399 ac_cpp='$CPP $CPPFLAGS'
30400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30409 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30411 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30412 for ac_func in _isinfl
30413 do :
30414 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30415 if test "x$ac_cv_func__isinfl" = x""yes; then :
30416 cat >>confdefs.h <<_ACEOF
30417 #define HAVE__ISINFL 1
30418 _ACEOF
30421 done
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30431 $as_echo_n "checking for atan2l declaration... " >&6; }
30432 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30433 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30434 $as_echo_n "(cached) " >&6
30435 else
30438 ac_ext=cpp
30439 ac_cpp='$CXXCPP $CPPFLAGS'
30440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30445 /* end confdefs.h. */
30446 #include <math.h>
30448 main ()
30450 atan2l(0, 0);
30452 return 0;
30454 _ACEOF
30455 if ac_fn_cxx_try_compile "$LINENO"; then :
30456 glibcxx_cv_func_atan2l_use=yes
30457 else
30458 glibcxx_cv_func_atan2l_use=no
30460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30461 ac_ext=c
30462 ac_cpp='$CPP $CPPFLAGS'
30463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30472 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30474 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30475 for ac_func in atan2l
30476 do :
30477 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30478 if test "x$ac_cv_func_atan2l" = x""yes; then :
30479 cat >>confdefs.h <<_ACEOF
30480 #define HAVE_ATAN2L 1
30481 _ACEOF
30484 done
30486 else
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30489 $as_echo_n "checking for _atan2l declaration... " >&6; }
30490 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30491 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30492 $as_echo_n "(cached) " >&6
30493 else
30496 ac_ext=cpp
30497 ac_cpp='$CXXCPP $CPPFLAGS'
30498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30503 /* end confdefs.h. */
30504 #include <math.h>
30506 main ()
30508 _atan2l(0, 0);
30510 return 0;
30512 _ACEOF
30513 if ac_fn_cxx_try_compile "$LINENO"; then :
30514 glibcxx_cv_func__atan2l_use=yes
30515 else
30516 glibcxx_cv_func__atan2l_use=no
30518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30519 ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30530 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30532 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30533 for ac_func in _atan2l
30534 do :
30535 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30536 if test "x$ac_cv_func__atan2l" = x""yes; then :
30537 cat >>confdefs.h <<_ACEOF
30538 #define HAVE__ATAN2L 1
30539 _ACEOF
30542 done
30551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30552 $as_echo_n "checking for expl declaration... " >&6; }
30553 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30554 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30555 $as_echo_n "(cached) " >&6
30556 else
30559 ac_ext=cpp
30560 ac_cpp='$CXXCPP $CPPFLAGS'
30561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30566 /* end confdefs.h. */
30567 #include <math.h>
30568 #ifdef HAVE_IEEEFP_H
30569 #include <ieeefp.h>
30570 #endif
30573 main ()
30575 expl(0);
30577 return 0;
30579 _ACEOF
30580 if ac_fn_cxx_try_compile "$LINENO"; then :
30581 glibcxx_cv_func_expl_use=yes
30582 else
30583 glibcxx_cv_func_expl_use=no
30585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30586 ac_ext=c
30587 ac_cpp='$CPP $CPPFLAGS'
30588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30597 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30599 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30600 for ac_func in expl
30601 do :
30602 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30603 if test "x$ac_cv_func_expl" = x""yes; then :
30604 cat >>confdefs.h <<_ACEOF
30605 #define HAVE_EXPL 1
30606 _ACEOF
30609 done
30611 else
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30614 $as_echo_n "checking for _expl declaration... " >&6; }
30615 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30616 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30617 $as_echo_n "(cached) " >&6
30618 else
30621 ac_ext=cpp
30622 ac_cpp='$CXXCPP $CPPFLAGS'
30623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628 /* end confdefs.h. */
30629 #include <math.h>
30630 #ifdef HAVE_IEEEFP_H
30631 #include <ieeefp.h>
30632 #endif
30635 main ()
30637 _expl(0);
30639 return 0;
30641 _ACEOF
30642 if ac_fn_cxx_try_compile "$LINENO"; then :
30643 glibcxx_cv_func__expl_use=yes
30644 else
30645 glibcxx_cv_func__expl_use=no
30647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30648 ac_ext=c
30649 ac_cpp='$CPP $CPPFLAGS'
30650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30659 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30661 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30662 for ac_func in _expl
30663 do :
30664 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30665 if test "x$ac_cv_func__expl" = x""yes; then :
30666 cat >>confdefs.h <<_ACEOF
30667 #define HAVE__EXPL 1
30668 _ACEOF
30671 done
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30681 $as_echo_n "checking for fabsl declaration... " >&6; }
30682 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30683 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30684 $as_echo_n "(cached) " >&6
30685 else
30688 ac_ext=cpp
30689 ac_cpp='$CXXCPP $CPPFLAGS'
30690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h. */
30696 #include <math.h>
30697 #ifdef HAVE_IEEEFP_H
30698 #include <ieeefp.h>
30699 #endif
30702 main ()
30704 fabsl(0);
30706 return 0;
30708 _ACEOF
30709 if ac_fn_cxx_try_compile "$LINENO"; then :
30710 glibcxx_cv_func_fabsl_use=yes
30711 else
30712 glibcxx_cv_func_fabsl_use=no
30714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30715 ac_ext=c
30716 ac_cpp='$CPP $CPPFLAGS'
30717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30726 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30728 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30729 for ac_func in fabsl
30730 do :
30731 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30732 if test "x$ac_cv_func_fabsl" = x""yes; then :
30733 cat >>confdefs.h <<_ACEOF
30734 #define HAVE_FABSL 1
30735 _ACEOF
30738 done
30740 else
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30743 $as_echo_n "checking for _fabsl declaration... " >&6; }
30744 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30745 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30746 $as_echo_n "(cached) " >&6
30747 else
30750 ac_ext=cpp
30751 ac_cpp='$CXXCPP $CPPFLAGS'
30752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30757 /* end confdefs.h. */
30758 #include <math.h>
30759 #ifdef HAVE_IEEEFP_H
30760 #include <ieeefp.h>
30761 #endif
30764 main ()
30766 _fabsl(0);
30768 return 0;
30770 _ACEOF
30771 if ac_fn_cxx_try_compile "$LINENO"; then :
30772 glibcxx_cv_func__fabsl_use=yes
30773 else
30774 glibcxx_cv_func__fabsl_use=no
30776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30777 ac_ext=c
30778 ac_cpp='$CPP $CPPFLAGS'
30779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30788 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30790 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30791 for ac_func in _fabsl
30792 do :
30793 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30794 if test "x$ac_cv_func__fabsl" = x""yes; then :
30795 cat >>confdefs.h <<_ACEOF
30796 #define HAVE__FABSL 1
30797 _ACEOF
30800 done
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30810 $as_echo_n "checking for fmodl declaration... " >&6; }
30811 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30812 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30813 $as_echo_n "(cached) " >&6
30814 else
30817 ac_ext=cpp
30818 ac_cpp='$CXXCPP $CPPFLAGS'
30819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30824 /* end confdefs.h. */
30825 #include <math.h>
30827 main ()
30829 fmodl(0, 0);
30831 return 0;
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835 glibcxx_cv_func_fmodl_use=yes
30836 else
30837 glibcxx_cv_func_fmodl_use=no
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30851 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30853 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30854 for ac_func in fmodl
30855 do :
30856 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30857 if test "x$ac_cv_func_fmodl" = x""yes; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define HAVE_FMODL 1
30860 _ACEOF
30863 done
30865 else
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30868 $as_echo_n "checking for _fmodl declaration... " >&6; }
30869 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30870 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30871 $as_echo_n "(cached) " >&6
30872 else
30875 ac_ext=cpp
30876 ac_cpp='$CXXCPP $CPPFLAGS'
30877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h. */
30883 #include <math.h>
30885 main ()
30887 _fmodl(0, 0);
30889 return 0;
30891 _ACEOF
30892 if ac_fn_cxx_try_compile "$LINENO"; then :
30893 glibcxx_cv_func__fmodl_use=yes
30894 else
30895 glibcxx_cv_func__fmodl_use=no
30897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30898 ac_ext=c
30899 ac_cpp='$CPP $CPPFLAGS'
30900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30909 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30911 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30912 for ac_func in _fmodl
30913 do :
30914 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30915 if test "x$ac_cv_func__fmodl" = x""yes; then :
30916 cat >>confdefs.h <<_ACEOF
30917 #define HAVE__FMODL 1
30918 _ACEOF
30921 done
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30931 $as_echo_n "checking for frexpl declaration... " >&6; }
30932 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30933 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30934 $as_echo_n "(cached) " >&6
30935 else
30938 ac_ext=cpp
30939 ac_cpp='$CXXCPP $CPPFLAGS'
30940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30945 /* end confdefs.h. */
30946 #include <math.h>
30948 main ()
30950 frexpl(0, 0);
30952 return 0;
30954 _ACEOF
30955 if ac_fn_cxx_try_compile "$LINENO"; then :
30956 glibcxx_cv_func_frexpl_use=yes
30957 else
30958 glibcxx_cv_func_frexpl_use=no
30960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30961 ac_ext=c
30962 ac_cpp='$CPP $CPPFLAGS'
30963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30972 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30974 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30975 for ac_func in frexpl
30976 do :
30977 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30978 if test "x$ac_cv_func_frexpl" = x""yes; then :
30979 cat >>confdefs.h <<_ACEOF
30980 #define HAVE_FREXPL 1
30981 _ACEOF
30984 done
30986 else
30988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30989 $as_echo_n "checking for _frexpl declaration... " >&6; }
30990 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30991 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30992 $as_echo_n "(cached) " >&6
30993 else
30996 ac_ext=cpp
30997 ac_cpp='$CXXCPP $CPPFLAGS'
30998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31003 /* end confdefs.h. */
31004 #include <math.h>
31006 main ()
31008 _frexpl(0, 0);
31010 return 0;
31012 _ACEOF
31013 if ac_fn_cxx_try_compile "$LINENO"; then :
31014 glibcxx_cv_func__frexpl_use=yes
31015 else
31016 glibcxx_cv_func__frexpl_use=no
31018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31019 ac_ext=c
31020 ac_cpp='$CPP $CPPFLAGS'
31021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31030 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31032 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31033 for ac_func in _frexpl
31034 do :
31035 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31036 if test "x$ac_cv_func__frexpl" = x""yes; then :
31037 cat >>confdefs.h <<_ACEOF
31038 #define HAVE__FREXPL 1
31039 _ACEOF
31042 done
31051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31052 $as_echo_n "checking for hypotl declaration... " >&6; }
31053 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31054 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31055 $as_echo_n "(cached) " >&6
31056 else
31059 ac_ext=cpp
31060 ac_cpp='$CXXCPP $CPPFLAGS'
31061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31066 /* end confdefs.h. */
31067 #include <math.h>
31069 main ()
31071 hypotl(0, 0);
31073 return 0;
31075 _ACEOF
31076 if ac_fn_cxx_try_compile "$LINENO"; then :
31077 glibcxx_cv_func_hypotl_use=yes
31078 else
31079 glibcxx_cv_func_hypotl_use=no
31081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31082 ac_ext=c
31083 ac_cpp='$CPP $CPPFLAGS'
31084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31093 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31095 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31096 for ac_func in hypotl
31097 do :
31098 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31099 if test "x$ac_cv_func_hypotl" = x""yes; then :
31100 cat >>confdefs.h <<_ACEOF
31101 #define HAVE_HYPOTL 1
31102 _ACEOF
31105 done
31107 else
31109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31110 $as_echo_n "checking for _hypotl declaration... " >&6; }
31111 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31112 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31113 $as_echo_n "(cached) " >&6
31114 else
31117 ac_ext=cpp
31118 ac_cpp='$CXXCPP $CPPFLAGS'
31119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31125 #include <math.h>
31127 main ()
31129 _hypotl(0, 0);
31131 return 0;
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135 glibcxx_cv_func__hypotl_use=yes
31136 else
31137 glibcxx_cv_func__hypotl_use=no
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140 ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31151 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31153 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31154 for ac_func in _hypotl
31155 do :
31156 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31157 if test "x$ac_cv_func__hypotl" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE__HYPOTL 1
31160 _ACEOF
31163 done
31172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31173 $as_echo_n "checking for ldexpl declaration... " >&6; }
31174 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31175 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31176 $as_echo_n "(cached) " >&6
31177 else
31180 ac_ext=cpp
31181 ac_cpp='$CXXCPP $CPPFLAGS'
31182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31187 /* end confdefs.h. */
31188 #include <math.h>
31190 main ()
31192 ldexpl(0, 0);
31194 return 0;
31196 _ACEOF
31197 if ac_fn_cxx_try_compile "$LINENO"; then :
31198 glibcxx_cv_func_ldexpl_use=yes
31199 else
31200 glibcxx_cv_func_ldexpl_use=no
31202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203 ac_ext=c
31204 ac_cpp='$CPP $CPPFLAGS'
31205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31214 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31216 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31217 for ac_func in ldexpl
31218 do :
31219 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31220 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31221 cat >>confdefs.h <<_ACEOF
31222 #define HAVE_LDEXPL 1
31223 _ACEOF
31226 done
31228 else
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31231 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31232 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31233 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31234 $as_echo_n "(cached) " >&6
31235 else
31238 ac_ext=cpp
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31245 /* end confdefs.h. */
31246 #include <math.h>
31248 main ()
31250 _ldexpl(0, 0);
31252 return 0;
31254 _ACEOF
31255 if ac_fn_cxx_try_compile "$LINENO"; then :
31256 glibcxx_cv_func__ldexpl_use=yes
31257 else
31258 glibcxx_cv_func__ldexpl_use=no
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261 ac_ext=c
31262 ac_cpp='$CPP $CPPFLAGS'
31263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31272 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31274 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31275 for ac_func in _ldexpl
31276 do :
31277 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31278 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31279 cat >>confdefs.h <<_ACEOF
31280 #define HAVE__LDEXPL 1
31281 _ACEOF
31284 done
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31294 $as_echo_n "checking for logl declaration... " >&6; }
31295 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31296 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31297 $as_echo_n "(cached) " >&6
31298 else
31301 ac_ext=cpp
31302 ac_cpp='$CXXCPP $CPPFLAGS'
31303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31308 /* end confdefs.h. */
31309 #include <math.h>
31310 #ifdef HAVE_IEEEFP_H
31311 #include <ieeefp.h>
31312 #endif
31315 main ()
31317 logl(0);
31319 return 0;
31321 _ACEOF
31322 if ac_fn_cxx_try_compile "$LINENO"; then :
31323 glibcxx_cv_func_logl_use=yes
31324 else
31325 glibcxx_cv_func_logl_use=no
31327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31328 ac_ext=c
31329 ac_cpp='$CPP $CPPFLAGS'
31330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31339 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31341 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31342 for ac_func in logl
31343 do :
31344 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31345 if test "x$ac_cv_func_logl" = x""yes; then :
31346 cat >>confdefs.h <<_ACEOF
31347 #define HAVE_LOGL 1
31348 _ACEOF
31351 done
31353 else
31355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31356 $as_echo_n "checking for _logl declaration... " >&6; }
31357 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31358 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31359 $as_echo_n "(cached) " >&6
31360 else
31363 ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h. */
31371 #include <math.h>
31372 #ifdef HAVE_IEEEFP_H
31373 #include <ieeefp.h>
31374 #endif
31377 main ()
31379 _logl(0);
31381 return 0;
31383 _ACEOF
31384 if ac_fn_cxx_try_compile "$LINENO"; then :
31385 glibcxx_cv_func__logl_use=yes
31386 else
31387 glibcxx_cv_func__logl_use=no
31389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31390 ac_ext=c
31391 ac_cpp='$CPP $CPPFLAGS'
31392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31401 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31403 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31404 for ac_func in _logl
31405 do :
31406 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31407 if test "x$ac_cv_func__logl" = x""yes; then :
31408 cat >>confdefs.h <<_ACEOF
31409 #define HAVE__LOGL 1
31410 _ACEOF
31413 done
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31423 $as_echo_n "checking for log10l declaration... " >&6; }
31424 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31425 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31426 $as_echo_n "(cached) " >&6
31427 else
31430 ac_ext=cpp
31431 ac_cpp='$CXXCPP $CPPFLAGS'
31432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31437 /* end confdefs.h. */
31438 #include <math.h>
31439 #ifdef HAVE_IEEEFP_H
31440 #include <ieeefp.h>
31441 #endif
31444 main ()
31446 log10l(0);
31448 return 0;
31450 _ACEOF
31451 if ac_fn_cxx_try_compile "$LINENO"; then :
31452 glibcxx_cv_func_log10l_use=yes
31453 else
31454 glibcxx_cv_func_log10l_use=no
31456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31457 ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31468 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31470 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31471 for ac_func in log10l
31472 do :
31473 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31474 if test "x$ac_cv_func_log10l" = x""yes; then :
31475 cat >>confdefs.h <<_ACEOF
31476 #define HAVE_LOG10L 1
31477 _ACEOF
31480 done
31482 else
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31485 $as_echo_n "checking for _log10l declaration... " >&6; }
31486 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31487 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31488 $as_echo_n "(cached) " >&6
31489 else
31492 ac_ext=cpp
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h. */
31500 #include <math.h>
31501 #ifdef HAVE_IEEEFP_H
31502 #include <ieeefp.h>
31503 #endif
31506 main ()
31508 _log10l(0);
31510 return 0;
31512 _ACEOF
31513 if ac_fn_cxx_try_compile "$LINENO"; then :
31514 glibcxx_cv_func__log10l_use=yes
31515 else
31516 glibcxx_cv_func__log10l_use=no
31518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31519 ac_ext=c
31520 ac_cpp='$CPP $CPPFLAGS'
31521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31530 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31532 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31533 for ac_func in _log10l
31534 do :
31535 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31536 if test "x$ac_cv_func__log10l" = x""yes; then :
31537 cat >>confdefs.h <<_ACEOF
31538 #define HAVE__LOG10L 1
31539 _ACEOF
31542 done
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31552 $as_echo_n "checking for modfl declaration... " >&6; }
31553 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31554 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31555 $as_echo_n "(cached) " >&6
31556 else
31559 ac_ext=cpp
31560 ac_cpp='$CXXCPP $CPPFLAGS'
31561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31566 /* end confdefs.h. */
31567 #include <math.h>
31569 main ()
31571 modfl(0, 0);
31573 return 0;
31575 _ACEOF
31576 if ac_fn_cxx_try_compile "$LINENO"; then :
31577 glibcxx_cv_func_modfl_use=yes
31578 else
31579 glibcxx_cv_func_modfl_use=no
31581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31582 ac_ext=c
31583 ac_cpp='$CPP $CPPFLAGS'
31584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31593 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31595 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31596 for ac_func in modfl
31597 do :
31598 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31599 if test "x$ac_cv_func_modfl" = x""yes; then :
31600 cat >>confdefs.h <<_ACEOF
31601 #define HAVE_MODFL 1
31602 _ACEOF
31605 done
31607 else
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31610 $as_echo_n "checking for _modfl declaration... " >&6; }
31611 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31612 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31613 $as_echo_n "(cached) " >&6
31614 else
31617 ac_ext=cpp
31618 ac_cpp='$CXXCPP $CPPFLAGS'
31619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31624 /* end confdefs.h. */
31625 #include <math.h>
31627 main ()
31629 _modfl(0, 0);
31631 return 0;
31633 _ACEOF
31634 if ac_fn_cxx_try_compile "$LINENO"; then :
31635 glibcxx_cv_func__modfl_use=yes
31636 else
31637 glibcxx_cv_func__modfl_use=no
31639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31640 ac_ext=c
31641 ac_cpp='$CPP $CPPFLAGS'
31642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31651 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31653 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31654 for ac_func in _modfl
31655 do :
31656 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31657 if test "x$ac_cv_func__modfl" = x""yes; then :
31658 cat >>confdefs.h <<_ACEOF
31659 #define HAVE__MODFL 1
31660 _ACEOF
31663 done
31672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31673 $as_echo_n "checking for powl declaration... " >&6; }
31674 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31675 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31676 $as_echo_n "(cached) " >&6
31677 else
31680 ac_ext=cpp
31681 ac_cpp='$CXXCPP $CPPFLAGS'
31682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31687 /* end confdefs.h. */
31688 #include <math.h>
31690 main ()
31692 powl(0, 0);
31694 return 0;
31696 _ACEOF
31697 if ac_fn_cxx_try_compile "$LINENO"; then :
31698 glibcxx_cv_func_powl_use=yes
31699 else
31700 glibcxx_cv_func_powl_use=no
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31703 ac_ext=c
31704 ac_cpp='$CPP $CPPFLAGS'
31705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31714 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31716 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31717 for ac_func in powl
31718 do :
31719 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31720 if test "x$ac_cv_func_powl" = x""yes; then :
31721 cat >>confdefs.h <<_ACEOF
31722 #define HAVE_POWL 1
31723 _ACEOF
31726 done
31728 else
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31731 $as_echo_n "checking for _powl declaration... " >&6; }
31732 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31733 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31734 $as_echo_n "(cached) " >&6
31735 else
31738 ac_ext=cpp
31739 ac_cpp='$CXXCPP $CPPFLAGS'
31740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31745 /* end confdefs.h. */
31746 #include <math.h>
31748 main ()
31750 _powl(0, 0);
31752 return 0;
31754 _ACEOF
31755 if ac_fn_cxx_try_compile "$LINENO"; then :
31756 glibcxx_cv_func__powl_use=yes
31757 else
31758 glibcxx_cv_func__powl_use=no
31760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31761 ac_ext=c
31762 ac_cpp='$CPP $CPPFLAGS'
31763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31772 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31774 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31775 for ac_func in _powl
31776 do :
31777 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31778 if test "x$ac_cv_func__powl" = x""yes; then :
31779 cat >>confdefs.h <<_ACEOF
31780 #define HAVE__POWL 1
31781 _ACEOF
31784 done
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31794 $as_echo_n "checking for sqrtl declaration... " >&6; }
31795 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31796 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31797 $as_echo_n "(cached) " >&6
31798 else
31801 ac_ext=cpp
31802 ac_cpp='$CXXCPP $CPPFLAGS'
31803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31808 /* end confdefs.h. */
31809 #include <math.h>
31810 #ifdef HAVE_IEEEFP_H
31811 #include <ieeefp.h>
31812 #endif
31815 main ()
31817 sqrtl(0);
31819 return 0;
31821 _ACEOF
31822 if ac_fn_cxx_try_compile "$LINENO"; then :
31823 glibcxx_cv_func_sqrtl_use=yes
31824 else
31825 glibcxx_cv_func_sqrtl_use=no
31827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31828 ac_ext=c
31829 ac_cpp='$CPP $CPPFLAGS'
31830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31839 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31841 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31842 for ac_func in sqrtl
31843 do :
31844 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31845 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31846 cat >>confdefs.h <<_ACEOF
31847 #define HAVE_SQRTL 1
31848 _ACEOF
31851 done
31853 else
31855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31856 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31857 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31858 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31859 $as_echo_n "(cached) " >&6
31860 else
31863 ac_ext=cpp
31864 ac_cpp='$CXXCPP $CPPFLAGS'
31865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31870 /* end confdefs.h. */
31871 #include <math.h>
31872 #ifdef HAVE_IEEEFP_H
31873 #include <ieeefp.h>
31874 #endif
31877 main ()
31879 _sqrtl(0);
31881 return 0;
31883 _ACEOF
31884 if ac_fn_cxx_try_compile "$LINENO"; then :
31885 glibcxx_cv_func__sqrtl_use=yes
31886 else
31887 glibcxx_cv_func__sqrtl_use=no
31889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31890 ac_ext=c
31891 ac_cpp='$CPP $CPPFLAGS'
31892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31901 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31903 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31904 for ac_func in _sqrtl
31905 do :
31906 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31907 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31908 cat >>confdefs.h <<_ACEOF
31909 #define HAVE__SQRTL 1
31910 _ACEOF
31913 done
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31923 $as_echo_n "checking for sincosl declaration... " >&6; }
31924 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31925 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31926 $as_echo_n "(cached) " >&6
31927 else
31930 ac_ext=cpp
31931 ac_cpp='$CXXCPP $CPPFLAGS'
31932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31937 /* end confdefs.h. */
31938 #include <math.h>
31940 main ()
31942 sincosl(0, 0, 0);
31944 return 0;
31946 _ACEOF
31947 if ac_fn_cxx_try_compile "$LINENO"; then :
31948 glibcxx_cv_func_sincosl_use=yes
31949 else
31950 glibcxx_cv_func_sincosl_use=no
31952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31953 ac_ext=c
31954 ac_cpp='$CPP $CPPFLAGS'
31955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31964 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31966 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31967 for ac_func in sincosl
31968 do :
31969 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31970 if test "x$ac_cv_func_sincosl" = x""yes; then :
31971 cat >>confdefs.h <<_ACEOF
31972 #define HAVE_SINCOSL 1
31973 _ACEOF
31976 done
31978 else
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31981 $as_echo_n "checking for _sincosl declaration... " >&6; }
31982 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31983 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31984 $as_echo_n "(cached) " >&6
31985 else
31988 ac_ext=cpp
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995 /* end confdefs.h. */
31996 #include <math.h>
31998 main ()
32000 _sincosl(0, 0, 0);
32002 return 0;
32004 _ACEOF
32005 if ac_fn_cxx_try_compile "$LINENO"; then :
32006 glibcxx_cv_func__sincosl_use=yes
32007 else
32008 glibcxx_cv_func__sincosl_use=no
32010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32011 ac_ext=c
32012 ac_cpp='$CPP $CPPFLAGS'
32013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32022 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32024 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32025 for ac_func in _sincosl
32026 do :
32027 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32028 if test "x$ac_cv_func__sincosl" = x""yes; then :
32029 cat >>confdefs.h <<_ACEOF
32030 #define HAVE__SINCOSL 1
32031 _ACEOF
32034 done
32043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32044 $as_echo_n "checking for finitel declaration... " >&6; }
32045 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32046 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32047 $as_echo_n "(cached) " >&6
32048 else
32051 ac_ext=cpp
32052 ac_cpp='$CXXCPP $CPPFLAGS'
32053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32058 /* end confdefs.h. */
32059 #include <math.h>
32060 #ifdef HAVE_IEEEFP_H
32061 #include <ieeefp.h>
32062 #endif
32065 main ()
32067 finitel(0);
32069 return 0;
32071 _ACEOF
32072 if ac_fn_cxx_try_compile "$LINENO"; then :
32073 glibcxx_cv_func_finitel_use=yes
32074 else
32075 glibcxx_cv_func_finitel_use=no
32077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32078 ac_ext=c
32079 ac_cpp='$CPP $CPPFLAGS'
32080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32089 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32091 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32092 for ac_func in finitel
32093 do :
32094 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32095 if test "x$ac_cv_func_finitel" = x""yes; then :
32096 cat >>confdefs.h <<_ACEOF
32097 #define HAVE_FINITEL 1
32098 _ACEOF
32101 done
32103 else
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32106 $as_echo_n "checking for _finitel declaration... " >&6; }
32107 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32108 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32109 $as_echo_n "(cached) " >&6
32110 else
32113 ac_ext=cpp
32114 ac_cpp='$CXXCPP $CPPFLAGS'
32115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h. */
32121 #include <math.h>
32122 #ifdef HAVE_IEEEFP_H
32123 #include <ieeefp.h>
32124 #endif
32127 main ()
32129 _finitel(0);
32131 return 0;
32133 _ACEOF
32134 if ac_fn_cxx_try_compile "$LINENO"; then :
32135 glibcxx_cv_func__finitel_use=yes
32136 else
32137 glibcxx_cv_func__finitel_use=no
32139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32140 ac_ext=c
32141 ac_cpp='$CPP $CPPFLAGS'
32142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32151 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32153 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32154 for ac_func in _finitel
32155 do :
32156 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32157 if test "x$ac_cv_func__finitel" = x""yes; then :
32158 cat >>confdefs.h <<_ACEOF
32159 #define HAVE__FINITEL 1
32160 _ACEOF
32163 done
32171 LIBS="$ac_save_LIBS"
32172 CXXFLAGS="$ac_save_CXXFLAGS"
32175 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32176 ac_save_CXXFLAGS="$CXXFLAGS"
32177 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32181 $as_echo_n "checking for strtold declaration... " >&6; }
32182 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32183 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32184 $as_echo_n "(cached) " >&6
32185 else
32188 ac_ext=cpp
32189 ac_cpp='$CXXCPP $CPPFLAGS'
32190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32195 /* end confdefs.h. */
32196 #include <stdlib.h>
32198 main ()
32200 strtold(0, 0);
32202 return 0;
32204 _ACEOF
32205 if ac_fn_cxx_try_compile "$LINENO"; then :
32206 glibcxx_cv_func_strtold_use=yes
32207 else
32208 glibcxx_cv_func_strtold_use=no
32210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32211 ac_ext=c
32212 ac_cpp='$CPP $CPPFLAGS'
32213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32222 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32223 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32224 for ac_func in strtold
32225 do :
32226 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32227 if test "x$ac_cv_func_strtold" = x""yes; then :
32228 cat >>confdefs.h <<_ACEOF
32229 #define HAVE_STRTOLD 1
32230 _ACEOF
32233 done
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32241 $as_echo_n "checking for strtof declaration... " >&6; }
32242 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32243 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32244 $as_echo_n "(cached) " >&6
32245 else
32248 ac_ext=cpp
32249 ac_cpp='$CXXCPP $CPPFLAGS'
32250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32255 /* end confdefs.h. */
32256 #include <stdlib.h>
32258 main ()
32260 strtof(0, 0);
32262 return 0;
32264 _ACEOF
32265 if ac_fn_cxx_try_compile "$LINENO"; then :
32266 glibcxx_cv_func_strtof_use=yes
32267 else
32268 glibcxx_cv_func_strtof_use=no
32270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32271 ac_ext=c
32272 ac_cpp='$CPP $CPPFLAGS'
32273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32282 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32283 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32284 for ac_func in strtof
32285 do :
32286 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32287 if test "x$ac_cv_func_strtof" = x""yes; then :
32288 cat >>confdefs.h <<_ACEOF
32289 #define HAVE_STRTOF 1
32290 _ACEOF
32293 done
32300 CXXFLAGS="$ac_save_CXXFLAGS"
32303 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32305 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32307 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32309 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32312 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32314 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32316 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32320 *-aix*)
32322 # If we're not using GNU ld, then there's no point in even trying these
32323 # tests. Check for that first. We should have already tested for gld
32324 # by now (in libtool), but require it now just to be safe...
32325 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32326 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32330 # The name set by libtool depends on the version of libtool. Shame on us
32331 # for depending on an impl detail, but c'est la vie. Older versions used
32332 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32333 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32334 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32335 # set (hence we're using an older libtool), then set it.
32336 if test x${with_gnu_ld+set} != xset; then
32337 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32338 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32339 with_gnu_ld=no
32340 else
32341 with_gnu_ld=$ac_cv_prog_gnu_ld
32345 # Start by getting the version number. I think the libtool test already
32346 # does some of this, but throws away the result.
32347 glibcxx_ld_is_gold=no
32348 if test x"$with_gnu_ld" = x"yes"; then
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32350 $as_echo_n "checking for ld version... " >&6; }
32352 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32353 glibcxx_ld_is_gold=yes
32355 ldver=`$LD --version 2>/dev/null |
32356 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'`
32358 glibcxx_gnu_ld_version=`echo $ldver | \
32359 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32361 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32364 # Set --gc-sections.
32365 glibcxx_have_gc_sections=no
32366 if test "$glibcxx_ld_is_gold" = "yes"; then
32367 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32368 glibcxx_have_gc_sections=yes
32370 else
32371 glibcxx_gcsections_min_ld=21602
32372 if test x"$with_gnu_ld" = x"yes" &&
32373 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32374 glibcxx_have_gc_sections=yes
32377 if test "$glibcxx_have_gc_sections" = "yes"; then
32378 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32379 # NB: This flag only works reliably after 2.16.1. Configure tests
32380 # for this are difficult, so hard wire a value that should work.
32382 ac_test_CFLAGS="${CFLAGS+set}"
32383 ac_save_CFLAGS="$CFLAGS"
32384 CFLAGS='-Wl,--gc-sections'
32386 # Check for -Wl,--gc-sections
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32388 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32389 if test x$gcc_no_link = xyes; then
32390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32393 /* end confdefs.h. */
32394 int one(void) { return 1; }
32395 int two(void) { return 2; }
32398 main ()
32400 two();
32402 return 0;
32404 _ACEOF
32405 if ac_fn_c_try_link "$LINENO"; then :
32406 ac_gcsections=yes
32407 else
32408 ac_gcsections=no
32410 rm -f core conftest.err conftest.$ac_objext \
32411 conftest$ac_exeext conftest.$ac_ext
32412 if test "$ac_gcsections" = "yes"; then
32413 rm -f conftest.c
32414 touch conftest.c
32415 if $CC -c conftest.c; then
32416 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32417 grep "Warning: gc-sections option ignored" > /dev/null; then
32418 ac_gcsections=no
32421 rm -f conftest.c conftest.o conftest
32423 if test "$ac_gcsections" = "yes"; then
32424 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32427 $as_echo "$ac_gcsections" >&6; }
32429 if test "$ac_test_CFLAGS" = set; then
32430 CFLAGS="$ac_save_CFLAGS"
32431 else
32432 # this is the suspicious part
32433 CFLAGS=''
32437 # Set -z,relro.
32438 # Note this is only for shared objects.
32439 ac_ld_relro=no
32440 if test x"$with_gnu_ld" = x"yes"; then
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32442 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32443 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32444 if test -n "$cxx_z_relo"; then
32445 OPT_LDFLAGS="-Wl,-z,relro"
32446 ac_ld_relro=yes
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32449 $as_echo "$ac_ld_relro" >&6; }
32452 # Set linker optimization flags.
32453 if test x"$with_gnu_ld" = x"yes"; then
32454 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32461 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32462 ac_save_CXXFLAGS="$CXXFLAGS"
32463 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32466 $as_echo_n "checking for sin in -lm... " >&6; }
32467 if test "${ac_cv_lib_m_sin+set}" = set; then :
32468 $as_echo_n "(cached) " >&6
32469 else
32470 ac_check_lib_save_LIBS=$LIBS
32471 LIBS="-lm $LIBS"
32472 if test x$gcc_no_link = xyes; then
32473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32476 /* end confdefs.h. */
32478 /* Override any GCC internal prototype to avoid an error.
32479 Use char because int might match the return type of a GCC
32480 builtin and then its argument prototype would still apply. */
32481 #ifdef __cplusplus
32482 extern "C"
32483 #endif
32484 char sin ();
32486 main ()
32488 return sin ();
32490 return 0;
32492 _ACEOF
32493 if ac_fn_c_try_link "$LINENO"; then :
32494 ac_cv_lib_m_sin=yes
32495 else
32496 ac_cv_lib_m_sin=no
32498 rm -f core conftest.err conftest.$ac_objext \
32499 conftest$ac_exeext conftest.$ac_ext
32500 LIBS=$ac_check_lib_save_LIBS
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32503 $as_echo "$ac_cv_lib_m_sin" >&6; }
32504 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32505 libm="-lm"
32508 ac_save_LIBS="$LIBS"
32509 LIBS="$LIBS $libm"
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32514 $as_echo_n "checking for isinf declaration... " >&6; }
32515 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32516 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32517 $as_echo_n "(cached) " >&6
32518 else
32521 ac_ext=cpp
32522 ac_cpp='$CXXCPP $CPPFLAGS'
32523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h. */
32529 #include <math.h>
32530 #ifdef HAVE_IEEEFP_H
32531 #include <ieeefp.h>
32532 #endif
32535 main ()
32537 isinf(0);
32539 return 0;
32541 _ACEOF
32542 if ac_fn_cxx_try_compile "$LINENO"; then :
32543 glibcxx_cv_func_isinf_use=yes
32544 else
32545 glibcxx_cv_func_isinf_use=no
32547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32548 ac_ext=c
32549 ac_cpp='$CPP $CPPFLAGS'
32550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32559 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32561 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32562 for ac_func in isinf
32563 do :
32564 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32565 if test "x$ac_cv_func_isinf" = x""yes; then :
32566 cat >>confdefs.h <<_ACEOF
32567 #define HAVE_ISINF 1
32568 _ACEOF
32571 done
32573 else
32575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32576 $as_echo_n "checking for _isinf declaration... " >&6; }
32577 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32578 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32579 $as_echo_n "(cached) " >&6
32580 else
32583 ac_ext=cpp
32584 ac_cpp='$CXXCPP $CPPFLAGS'
32585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32590 /* end confdefs.h. */
32591 #include <math.h>
32592 #ifdef HAVE_IEEEFP_H
32593 #include <ieeefp.h>
32594 #endif
32597 main ()
32599 _isinf(0);
32601 return 0;
32603 _ACEOF
32604 if ac_fn_cxx_try_compile "$LINENO"; then :
32605 glibcxx_cv_func__isinf_use=yes
32606 else
32607 glibcxx_cv_func__isinf_use=no
32609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32610 ac_ext=c
32611 ac_cpp='$CPP $CPPFLAGS'
32612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32621 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32623 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32624 for ac_func in _isinf
32625 do :
32626 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32627 if test "x$ac_cv_func__isinf" = x""yes; then :
32628 cat >>confdefs.h <<_ACEOF
32629 #define HAVE__ISINF 1
32630 _ACEOF
32633 done
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32643 $as_echo_n "checking for isnan declaration... " >&6; }
32644 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32645 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32646 $as_echo_n "(cached) " >&6
32647 else
32650 ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h. */
32658 #include <math.h>
32659 #ifdef HAVE_IEEEFP_H
32660 #include <ieeefp.h>
32661 #endif
32664 main ()
32666 isnan(0);
32668 return 0;
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672 glibcxx_cv_func_isnan_use=yes
32673 else
32674 glibcxx_cv_func_isnan_use=no
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32688 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32690 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32691 for ac_func in isnan
32692 do :
32693 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32694 if test "x$ac_cv_func_isnan" = x""yes; then :
32695 cat >>confdefs.h <<_ACEOF
32696 #define HAVE_ISNAN 1
32697 _ACEOF
32700 done
32702 else
32704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32705 $as_echo_n "checking for _isnan declaration... " >&6; }
32706 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32707 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32708 $as_echo_n "(cached) " >&6
32709 else
32712 ac_ext=cpp
32713 ac_cpp='$CXXCPP $CPPFLAGS'
32714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719 /* end confdefs.h. */
32720 #include <math.h>
32721 #ifdef HAVE_IEEEFP_H
32722 #include <ieeefp.h>
32723 #endif
32726 main ()
32728 _isnan(0);
32730 return 0;
32732 _ACEOF
32733 if ac_fn_cxx_try_compile "$LINENO"; then :
32734 glibcxx_cv_func__isnan_use=yes
32735 else
32736 glibcxx_cv_func__isnan_use=no
32738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739 ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32750 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32752 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32753 for ac_func in _isnan
32754 do :
32755 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32756 if test "x$ac_cv_func__isnan" = x""yes; then :
32757 cat >>confdefs.h <<_ACEOF
32758 #define HAVE__ISNAN 1
32759 _ACEOF
32762 done
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32772 $as_echo_n "checking for finite declaration... " >&6; }
32773 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32774 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32775 $as_echo_n "(cached) " >&6
32776 else
32779 ac_ext=cpp
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32786 /* end confdefs.h. */
32787 #include <math.h>
32788 #ifdef HAVE_IEEEFP_H
32789 #include <ieeefp.h>
32790 #endif
32793 main ()
32795 finite(0);
32797 return 0;
32799 _ACEOF
32800 if ac_fn_cxx_try_compile "$LINENO"; then :
32801 glibcxx_cv_func_finite_use=yes
32802 else
32803 glibcxx_cv_func_finite_use=no
32805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32806 ac_ext=c
32807 ac_cpp='$CPP $CPPFLAGS'
32808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32817 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32819 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32820 for ac_func in finite
32821 do :
32822 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32823 if test "x$ac_cv_func_finite" = x""yes; then :
32824 cat >>confdefs.h <<_ACEOF
32825 #define HAVE_FINITE 1
32826 _ACEOF
32829 done
32831 else
32833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32834 $as_echo_n "checking for _finite declaration... " >&6; }
32835 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32836 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32837 $as_echo_n "(cached) " >&6
32838 else
32841 ac_ext=cpp
32842 ac_cpp='$CXXCPP $CPPFLAGS'
32843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32848 /* end confdefs.h. */
32849 #include <math.h>
32850 #ifdef HAVE_IEEEFP_H
32851 #include <ieeefp.h>
32852 #endif
32855 main ()
32857 _finite(0);
32859 return 0;
32861 _ACEOF
32862 if ac_fn_cxx_try_compile "$LINENO"; then :
32863 glibcxx_cv_func__finite_use=yes
32864 else
32865 glibcxx_cv_func__finite_use=no
32867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32868 ac_ext=c
32869 ac_cpp='$CPP $CPPFLAGS'
32870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32879 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32881 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32882 for ac_func in _finite
32883 do :
32884 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32885 if test "x$ac_cv_func__finite" = x""yes; then :
32886 cat >>confdefs.h <<_ACEOF
32887 #define HAVE__FINITE 1
32888 _ACEOF
32891 done
32900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32901 $as_echo_n "checking for sincos declaration... " >&6; }
32902 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32903 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32904 $as_echo_n "(cached) " >&6
32905 else
32908 ac_ext=cpp
32909 ac_cpp='$CXXCPP $CPPFLAGS'
32910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32915 /* end confdefs.h. */
32916 #include <math.h>
32918 main ()
32920 sincos(0, 0, 0);
32922 return 0;
32924 _ACEOF
32925 if ac_fn_cxx_try_compile "$LINENO"; then :
32926 glibcxx_cv_func_sincos_use=yes
32927 else
32928 glibcxx_cv_func_sincos_use=no
32930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931 ac_ext=c
32932 ac_cpp='$CPP $CPPFLAGS'
32933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32942 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32944 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32945 for ac_func in sincos
32946 do :
32947 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32948 if test "x$ac_cv_func_sincos" = x""yes; then :
32949 cat >>confdefs.h <<_ACEOF
32950 #define HAVE_SINCOS 1
32951 _ACEOF
32954 done
32956 else
32958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32959 $as_echo_n "checking for _sincos declaration... " >&6; }
32960 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32961 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32962 $as_echo_n "(cached) " >&6
32963 else
32966 ac_ext=cpp
32967 ac_cpp='$CXXCPP $CPPFLAGS'
32968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32973 /* end confdefs.h. */
32974 #include <math.h>
32976 main ()
32978 _sincos(0, 0, 0);
32980 return 0;
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func__sincos_use=yes
32985 else
32986 glibcxx_cv_func__sincos_use=no
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33000 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33002 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33003 for ac_func in _sincos
33004 do :
33005 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33006 if test "x$ac_cv_func__sincos" = x""yes; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define HAVE__SINCOS 1
33009 _ACEOF
33012 done
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33022 $as_echo_n "checking for fpclass declaration... " >&6; }
33023 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33024 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33038 #ifdef HAVE_IEEEFP_H
33039 #include <ieeefp.h>
33040 #endif
33043 main ()
33045 fpclass(0);
33047 return 0;
33049 _ACEOF
33050 if ac_fn_cxx_try_compile "$LINENO"; then :
33051 glibcxx_cv_func_fpclass_use=yes
33052 else
33053 glibcxx_cv_func_fpclass_use=no
33055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33056 ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33067 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33069 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33070 for ac_func in fpclass
33071 do :
33072 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33073 if test "x$ac_cv_func_fpclass" = x""yes; then :
33074 cat >>confdefs.h <<_ACEOF
33075 #define HAVE_FPCLASS 1
33076 _ACEOF
33079 done
33081 else
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33084 $as_echo_n "checking for _fpclass declaration... " >&6; }
33085 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33086 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33087 $as_echo_n "(cached) " >&6
33088 else
33091 ac_ext=cpp
33092 ac_cpp='$CXXCPP $CPPFLAGS'
33093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33098 /* end confdefs.h. */
33099 #include <math.h>
33100 #ifdef HAVE_IEEEFP_H
33101 #include <ieeefp.h>
33102 #endif
33105 main ()
33107 _fpclass(0);
33109 return 0;
33111 _ACEOF
33112 if ac_fn_cxx_try_compile "$LINENO"; then :
33113 glibcxx_cv_func__fpclass_use=yes
33114 else
33115 glibcxx_cv_func__fpclass_use=no
33117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33118 ac_ext=c
33119 ac_cpp='$CPP $CPPFLAGS'
33120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33129 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33131 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33132 for ac_func in _fpclass
33133 do :
33134 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33135 if test "x$ac_cv_func__fpclass" = x""yes; then :
33136 cat >>confdefs.h <<_ACEOF
33137 #define HAVE__FPCLASS 1
33138 _ACEOF
33141 done
33150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33151 $as_echo_n "checking for qfpclass declaration... " >&6; }
33152 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33153 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33154 $as_echo_n "(cached) " >&6
33155 else
33158 ac_ext=cpp
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h. */
33166 #include <math.h>
33167 #ifdef HAVE_IEEEFP_H
33168 #include <ieeefp.h>
33169 #endif
33172 main ()
33174 qfpclass(0);
33176 return 0;
33178 _ACEOF
33179 if ac_fn_cxx_try_compile "$LINENO"; then :
33180 glibcxx_cv_func_qfpclass_use=yes
33181 else
33182 glibcxx_cv_func_qfpclass_use=no
33184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185 ac_ext=c
33186 ac_cpp='$CPP $CPPFLAGS'
33187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33196 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33198 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33199 for ac_func in qfpclass
33200 do :
33201 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33202 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33203 cat >>confdefs.h <<_ACEOF
33204 #define HAVE_QFPCLASS 1
33205 _ACEOF
33208 done
33210 else
33212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33213 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33214 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33215 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33216 $as_echo_n "(cached) " >&6
33217 else
33220 ac_ext=cpp
33221 ac_cpp='$CXXCPP $CPPFLAGS'
33222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33227 /* end confdefs.h. */
33228 #include <math.h>
33229 #ifdef HAVE_IEEEFP_H
33230 #include <ieeefp.h>
33231 #endif
33234 main ()
33236 _qfpclass(0);
33238 return 0;
33240 _ACEOF
33241 if ac_fn_cxx_try_compile "$LINENO"; then :
33242 glibcxx_cv_func__qfpclass_use=yes
33243 else
33244 glibcxx_cv_func__qfpclass_use=no
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247 ac_ext=c
33248 ac_cpp='$CPP $CPPFLAGS'
33249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33258 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33260 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33261 for ac_func in _qfpclass
33262 do :
33263 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33264 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33265 cat >>confdefs.h <<_ACEOF
33266 #define HAVE__QFPCLASS 1
33267 _ACEOF
33270 done
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33280 $as_echo_n "checking for hypot declaration... " >&6; }
33281 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33282 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33283 $as_echo_n "(cached) " >&6
33284 else
33287 ac_ext=cpp
33288 ac_cpp='$CXXCPP $CPPFLAGS'
33289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33294 /* end confdefs.h. */
33295 #include <math.h>
33297 main ()
33299 hypot(0, 0);
33301 return 0;
33303 _ACEOF
33304 if ac_fn_cxx_try_compile "$LINENO"; then :
33305 glibcxx_cv_func_hypot_use=yes
33306 else
33307 glibcxx_cv_func_hypot_use=no
33309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33321 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33323 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33324 for ac_func in hypot
33325 do :
33326 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33327 if test "x$ac_cv_func_hypot" = x""yes; then :
33328 cat >>confdefs.h <<_ACEOF
33329 #define HAVE_HYPOT 1
33330 _ACEOF
33333 done
33335 else
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33338 $as_echo_n "checking for _hypot declaration... " >&6; }
33339 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33340 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33341 $as_echo_n "(cached) " >&6
33342 else
33345 ac_ext=cpp
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33352 /* end confdefs.h. */
33353 #include <math.h>
33355 main ()
33357 _hypot(0, 0);
33359 return 0;
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363 glibcxx_cv_func__hypot_use=yes
33364 else
33365 glibcxx_cv_func__hypot_use=no
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368 ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33379 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33381 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33382 for ac_func in _hypot
33383 do :
33384 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33385 if test "x$ac_cv_func__hypot" = x""yes; then :
33386 cat >>confdefs.h <<_ACEOF
33387 #define HAVE__HYPOT 1
33388 _ACEOF
33391 done
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33401 $as_echo_n "checking for float trig functions... " >&6; }
33402 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33403 $as_echo_n "(cached) " >&6
33404 else
33407 ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415 #include <math.h>
33417 main ()
33419 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33421 return 0;
33423 _ACEOF
33424 if ac_fn_cxx_try_compile "$LINENO"; then :
33425 glibcxx_cv_func_float_trig_use=yes
33426 else
33427 glibcxx_cv_func_float_trig_use=no
33429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33430 ac_ext=c
33431 ac_cpp='$CPP $CPPFLAGS'
33432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33439 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33440 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33441 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33442 do :
33443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33445 eval as_val=\$$as_ac_var
33446 if test "x$as_val" = x""yes; then :
33447 cat >>confdefs.h <<_ACEOF
33448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33449 _ACEOF
33452 done
33454 else
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33456 $as_echo_n "checking for _float trig functions... " >&6; }
33457 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33458 $as_echo_n "(cached) " >&6
33459 else
33462 ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h. */
33470 #include <math.h>
33472 main ()
33474 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33476 return 0;
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480 glibcxx_cv_func__float_trig_use=yes
33481 else
33482 glibcxx_cv_func__float_trig_use=no
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33494 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33495 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33496 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33497 do :
33498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33500 eval as_val=\$$as_ac_var
33501 if test "x$as_val" = x""yes; then :
33502 cat >>confdefs.h <<_ACEOF
33503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33504 _ACEOF
33507 done
33516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33517 $as_echo_n "checking for float round functions... " >&6; }
33518 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33519 $as_echo_n "(cached) " >&6
33520 else
33523 ac_ext=cpp
33524 ac_cpp='$CXXCPP $CPPFLAGS'
33525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33530 /* end confdefs.h. */
33531 #include <math.h>
33533 main ()
33535 ceilf (0); floorf (0);
33537 return 0;
33539 _ACEOF
33540 if ac_fn_cxx_try_compile "$LINENO"; then :
33541 glibcxx_cv_func_float_round_use=yes
33542 else
33543 glibcxx_cv_func_float_round_use=no
33545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33546 ac_ext=c
33547 ac_cpp='$CPP $CPPFLAGS'
33548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33555 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33556 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33557 for ac_func in ceilf floorf
33558 do :
33559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33561 eval as_val=\$$as_ac_var
33562 if test "x$as_val" = x""yes; then :
33563 cat >>confdefs.h <<_ACEOF
33564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33565 _ACEOF
33568 done
33570 else
33571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33572 $as_echo_n "checking for _float round functions... " >&6; }
33573 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33574 $as_echo_n "(cached) " >&6
33575 else
33578 ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h. */
33586 #include <math.h>
33588 main ()
33590 _ceilf (0); _floorf (0);
33592 return 0;
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596 glibcxx_cv_func__float_round_use=yes
33597 else
33598 glibcxx_cv_func__float_round_use=no
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33610 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33611 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33612 for ac_func in _ceilf _floorf
33613 do :
33614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33616 eval as_val=\$$as_ac_var
33617 if test "x$as_val" = x""yes; then :
33618 cat >>confdefs.h <<_ACEOF
33619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33620 _ACEOF
33623 done
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33634 $as_echo_n "checking for expf declaration... " >&6; }
33635 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33636 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33637 $as_echo_n "(cached) " >&6
33638 else
33641 ac_ext=cpp
33642 ac_cpp='$CXXCPP $CPPFLAGS'
33643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33648 /* end confdefs.h. */
33649 #include <math.h>
33650 #ifdef HAVE_IEEEFP_H
33651 #include <ieeefp.h>
33652 #endif
33655 main ()
33657 expf(0);
33659 return 0;
33661 _ACEOF
33662 if ac_fn_cxx_try_compile "$LINENO"; then :
33663 glibcxx_cv_func_expf_use=yes
33664 else
33665 glibcxx_cv_func_expf_use=no
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668 ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33679 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33681 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33682 for ac_func in expf
33683 do :
33684 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33685 if test "x$ac_cv_func_expf" = x""yes; then :
33686 cat >>confdefs.h <<_ACEOF
33687 #define HAVE_EXPF 1
33688 _ACEOF
33691 done
33693 else
33695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33696 $as_echo_n "checking for _expf declaration... " >&6; }
33697 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33698 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33699 $as_echo_n "(cached) " >&6
33700 else
33703 ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h. */
33711 #include <math.h>
33712 #ifdef HAVE_IEEEFP_H
33713 #include <ieeefp.h>
33714 #endif
33717 main ()
33719 _expf(0);
33721 return 0;
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func__expf_use=yes
33726 else
33727 glibcxx_cv_func__expf_use=no
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33741 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33743 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33744 for ac_func in _expf
33745 do :
33746 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33747 if test "x$ac_cv_func__expf" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE__EXPF 1
33750 _ACEOF
33753 done
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33763 $as_echo_n "checking for isnanf declaration... " >&6; }
33764 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33765 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33766 $as_echo_n "(cached) " >&6
33767 else
33770 ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33778 #include <math.h>
33779 #ifdef HAVE_IEEEFP_H
33780 #include <ieeefp.h>
33781 #endif
33784 main ()
33786 isnanf(0);
33788 return 0;
33790 _ACEOF
33791 if ac_fn_cxx_try_compile "$LINENO"; then :
33792 glibcxx_cv_func_isnanf_use=yes
33793 else
33794 glibcxx_cv_func_isnanf_use=no
33796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33797 ac_ext=c
33798 ac_cpp='$CPP $CPPFLAGS'
33799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33808 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33810 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33811 for ac_func in isnanf
33812 do :
33813 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33814 if test "x$ac_cv_func_isnanf" = x""yes; then :
33815 cat >>confdefs.h <<_ACEOF
33816 #define HAVE_ISNANF 1
33817 _ACEOF
33820 done
33822 else
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33825 $as_echo_n "checking for _isnanf declaration... " >&6; }
33826 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33827 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33828 $as_echo_n "(cached) " >&6
33829 else
33832 ac_ext=cpp
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839 /* end confdefs.h. */
33840 #include <math.h>
33841 #ifdef HAVE_IEEEFP_H
33842 #include <ieeefp.h>
33843 #endif
33846 main ()
33848 _isnanf(0);
33850 return 0;
33852 _ACEOF
33853 if ac_fn_cxx_try_compile "$LINENO"; then :
33854 glibcxx_cv_func__isnanf_use=yes
33855 else
33856 glibcxx_cv_func__isnanf_use=no
33858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33859 ac_ext=c
33860 ac_cpp='$CPP $CPPFLAGS'
33861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33870 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33872 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33873 for ac_func in _isnanf
33874 do :
33875 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33876 if test "x$ac_cv_func__isnanf" = x""yes; then :
33877 cat >>confdefs.h <<_ACEOF
33878 #define HAVE__ISNANF 1
33879 _ACEOF
33882 done
33891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33892 $as_echo_n "checking for isinff declaration... " >&6; }
33893 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33894 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33895 $as_echo_n "(cached) " >&6
33896 else
33899 ac_ext=cpp
33900 ac_cpp='$CXXCPP $CPPFLAGS'
33901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33906 /* end confdefs.h. */
33907 #include <math.h>
33908 #ifdef HAVE_IEEEFP_H
33909 #include <ieeefp.h>
33910 #endif
33913 main ()
33915 isinff(0);
33917 return 0;
33919 _ACEOF
33920 if ac_fn_cxx_try_compile "$LINENO"; then :
33921 glibcxx_cv_func_isinff_use=yes
33922 else
33923 glibcxx_cv_func_isinff_use=no
33925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33926 ac_ext=c
33927 ac_cpp='$CPP $CPPFLAGS'
33928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33937 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33939 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33940 for ac_func in isinff
33941 do :
33942 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33943 if test "x$ac_cv_func_isinff" = x""yes; then :
33944 cat >>confdefs.h <<_ACEOF
33945 #define HAVE_ISINFF 1
33946 _ACEOF
33949 done
33951 else
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33954 $as_echo_n "checking for _isinff declaration... " >&6; }
33955 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33956 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33957 $as_echo_n "(cached) " >&6
33958 else
33961 ac_ext=cpp
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968 /* end confdefs.h. */
33969 #include <math.h>
33970 #ifdef HAVE_IEEEFP_H
33971 #include <ieeefp.h>
33972 #endif
33975 main ()
33977 _isinff(0);
33979 return 0;
33981 _ACEOF
33982 if ac_fn_cxx_try_compile "$LINENO"; then :
33983 glibcxx_cv_func__isinff_use=yes
33984 else
33985 glibcxx_cv_func__isinff_use=no
33987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33988 ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33999 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34001 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34002 for ac_func in _isinff
34003 do :
34004 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34005 if test "x$ac_cv_func__isinff" = x""yes; then :
34006 cat >>confdefs.h <<_ACEOF
34007 #define HAVE__ISINFF 1
34008 _ACEOF
34011 done
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34021 $as_echo_n "checking for atan2f declaration... " >&6; }
34022 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34023 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34024 $as_echo_n "(cached) " >&6
34025 else
34028 ac_ext=cpp
34029 ac_cpp='$CXXCPP $CPPFLAGS'
34030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34035 /* end confdefs.h. */
34036 #include <math.h>
34038 main ()
34040 atan2f(0, 0);
34042 return 0;
34044 _ACEOF
34045 if ac_fn_cxx_try_compile "$LINENO"; then :
34046 glibcxx_cv_func_atan2f_use=yes
34047 else
34048 glibcxx_cv_func_atan2f_use=no
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051 ac_ext=c
34052 ac_cpp='$CPP $CPPFLAGS'
34053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34062 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34064 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34065 for ac_func in atan2f
34066 do :
34067 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34068 if test "x$ac_cv_func_atan2f" = x""yes; then :
34069 cat >>confdefs.h <<_ACEOF
34070 #define HAVE_ATAN2F 1
34071 _ACEOF
34074 done
34076 else
34078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34079 $as_echo_n "checking for _atan2f declaration... " >&6; }
34080 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34081 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34082 $as_echo_n "(cached) " >&6
34083 else
34086 ac_ext=cpp
34087 ac_cpp='$CXXCPP $CPPFLAGS'
34088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34093 /* end confdefs.h. */
34094 #include <math.h>
34096 main ()
34098 _atan2f(0, 0);
34100 return 0;
34102 _ACEOF
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104 glibcxx_cv_func__atan2f_use=yes
34105 else
34106 glibcxx_cv_func__atan2f_use=no
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 ac_ext=c
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34120 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34122 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34123 for ac_func in _atan2f
34124 do :
34125 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34126 if test "x$ac_cv_func__atan2f" = x""yes; then :
34127 cat >>confdefs.h <<_ACEOF
34128 #define HAVE__ATAN2F 1
34129 _ACEOF
34132 done
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34142 $as_echo_n "checking for fabsf declaration... " >&6; }
34143 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34144 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34145 $as_echo_n "(cached) " >&6
34146 else
34149 ac_ext=cpp
34150 ac_cpp='$CXXCPP $CPPFLAGS'
34151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34156 /* end confdefs.h. */
34157 #include <math.h>
34158 #ifdef HAVE_IEEEFP_H
34159 #include <ieeefp.h>
34160 #endif
34163 main ()
34165 fabsf(0);
34167 return 0;
34169 _ACEOF
34170 if ac_fn_cxx_try_compile "$LINENO"; then :
34171 glibcxx_cv_func_fabsf_use=yes
34172 else
34173 glibcxx_cv_func_fabsf_use=no
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176 ac_ext=c
34177 ac_cpp='$CPP $CPPFLAGS'
34178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34187 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34189 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34190 for ac_func in fabsf
34191 do :
34192 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34193 if test "x$ac_cv_func_fabsf" = x""yes; then :
34194 cat >>confdefs.h <<_ACEOF
34195 #define HAVE_FABSF 1
34196 _ACEOF
34199 done
34201 else
34203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34204 $as_echo_n "checking for _fabsf declaration... " >&6; }
34205 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34206 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34207 $as_echo_n "(cached) " >&6
34208 else
34211 ac_ext=cpp
34212 ac_cpp='$CXXCPP $CPPFLAGS'
34213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34218 /* end confdefs.h. */
34219 #include <math.h>
34220 #ifdef HAVE_IEEEFP_H
34221 #include <ieeefp.h>
34222 #endif
34225 main ()
34227 _fabsf(0);
34229 return 0;
34231 _ACEOF
34232 if ac_fn_cxx_try_compile "$LINENO"; then :
34233 glibcxx_cv_func__fabsf_use=yes
34234 else
34235 glibcxx_cv_func__fabsf_use=no
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34238 ac_ext=c
34239 ac_cpp='$CPP $CPPFLAGS'
34240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34249 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34251 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34252 for ac_func in _fabsf
34253 do :
34254 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34255 if test "x$ac_cv_func__fabsf" = x""yes; then :
34256 cat >>confdefs.h <<_ACEOF
34257 #define HAVE__FABSF 1
34258 _ACEOF
34261 done
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34271 $as_echo_n "checking for fmodf declaration... " >&6; }
34272 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34273 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34274 $as_echo_n "(cached) " >&6
34275 else
34278 ac_ext=cpp
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34285 /* end confdefs.h. */
34286 #include <math.h>
34288 main ()
34290 fmodf(0, 0);
34292 return 0;
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296 glibcxx_cv_func_fmodf_use=yes
34297 else
34298 glibcxx_cv_func_fmodf_use=no
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34312 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34314 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34315 for ac_func in fmodf
34316 do :
34317 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34318 if test "x$ac_cv_func_fmodf" = x""yes; then :
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE_FMODF 1
34321 _ACEOF
34324 done
34326 else
34328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34329 $as_echo_n "checking for _fmodf declaration... " >&6; }
34330 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34331 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34332 $as_echo_n "(cached) " >&6
34333 else
34336 ac_ext=cpp
34337 ac_cpp='$CXXCPP $CPPFLAGS'
34338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34343 /* end confdefs.h. */
34344 #include <math.h>
34346 main ()
34348 _fmodf(0, 0);
34350 return 0;
34352 _ACEOF
34353 if ac_fn_cxx_try_compile "$LINENO"; then :
34354 glibcxx_cv_func__fmodf_use=yes
34355 else
34356 glibcxx_cv_func__fmodf_use=no
34358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34359 ac_ext=c
34360 ac_cpp='$CPP $CPPFLAGS'
34361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34370 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34372 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34373 for ac_func in _fmodf
34374 do :
34375 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34376 if test "x$ac_cv_func__fmodf" = x""yes; then :
34377 cat >>confdefs.h <<_ACEOF
34378 #define HAVE__FMODF 1
34379 _ACEOF
34382 done
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34392 $as_echo_n "checking for frexpf declaration... " >&6; }
34393 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34394 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34395 $as_echo_n "(cached) " >&6
34396 else
34399 ac_ext=cpp
34400 ac_cpp='$CXXCPP $CPPFLAGS'
34401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34406 /* end confdefs.h. */
34407 #include <math.h>
34409 main ()
34411 frexpf(0, 0);
34413 return 0;
34415 _ACEOF
34416 if ac_fn_cxx_try_compile "$LINENO"; then :
34417 glibcxx_cv_func_frexpf_use=yes
34418 else
34419 glibcxx_cv_func_frexpf_use=no
34421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422 ac_ext=c
34423 ac_cpp='$CPP $CPPFLAGS'
34424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34433 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34435 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34436 for ac_func in frexpf
34437 do :
34438 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34439 if test "x$ac_cv_func_frexpf" = x""yes; then :
34440 cat >>confdefs.h <<_ACEOF
34441 #define HAVE_FREXPF 1
34442 _ACEOF
34445 done
34447 else
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34450 $as_echo_n "checking for _frexpf declaration... " >&6; }
34451 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34452 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34453 $as_echo_n "(cached) " >&6
34454 else
34457 ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h. */
34465 #include <math.h>
34467 main ()
34469 _frexpf(0, 0);
34471 return 0;
34473 _ACEOF
34474 if ac_fn_cxx_try_compile "$LINENO"; then :
34475 glibcxx_cv_func__frexpf_use=yes
34476 else
34477 glibcxx_cv_func__frexpf_use=no
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480 ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34491 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34493 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34494 for ac_func in _frexpf
34495 do :
34496 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34497 if test "x$ac_cv_func__frexpf" = x""yes; then :
34498 cat >>confdefs.h <<_ACEOF
34499 #define HAVE__FREXPF 1
34500 _ACEOF
34503 done
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34513 $as_echo_n "checking for hypotf declaration... " >&6; }
34514 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34515 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34516 $as_echo_n "(cached) " >&6
34517 else
34520 ac_ext=cpp
34521 ac_cpp='$CXXCPP $CPPFLAGS'
34522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h. */
34528 #include <math.h>
34530 main ()
34532 hypotf(0, 0);
34534 return 0;
34536 _ACEOF
34537 if ac_fn_cxx_try_compile "$LINENO"; then :
34538 glibcxx_cv_func_hypotf_use=yes
34539 else
34540 glibcxx_cv_func_hypotf_use=no
34542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543 ac_ext=c
34544 ac_cpp='$CPP $CPPFLAGS'
34545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34554 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34556 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34557 for ac_func in hypotf
34558 do :
34559 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34560 if test "x$ac_cv_func_hypotf" = x""yes; then :
34561 cat >>confdefs.h <<_ACEOF
34562 #define HAVE_HYPOTF 1
34563 _ACEOF
34566 done
34568 else
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34571 $as_echo_n "checking for _hypotf declaration... " >&6; }
34572 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34573 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34574 $as_echo_n "(cached) " >&6
34575 else
34578 ac_ext=cpp
34579 ac_cpp='$CXXCPP $CPPFLAGS'
34580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34585 /* end confdefs.h. */
34586 #include <math.h>
34588 main ()
34590 _hypotf(0, 0);
34592 return 0;
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596 glibcxx_cv_func__hypotf_use=yes
34597 else
34598 glibcxx_cv_func__hypotf_use=no
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34612 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34614 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34615 for ac_func in _hypotf
34616 do :
34617 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34618 if test "x$ac_cv_func__hypotf" = x""yes; then :
34619 cat >>confdefs.h <<_ACEOF
34620 #define HAVE__HYPOTF 1
34621 _ACEOF
34624 done
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34634 $as_echo_n "checking for ldexpf declaration... " >&6; }
34635 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34636 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34651 main ()
34653 ldexpf(0, 0);
34655 return 0;
34657 _ACEOF
34658 if ac_fn_cxx_try_compile "$LINENO"; then :
34659 glibcxx_cv_func_ldexpf_use=yes
34660 else
34661 glibcxx_cv_func_ldexpf_use=no
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664 ac_ext=c
34665 ac_cpp='$CPP $CPPFLAGS'
34666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34675 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34677 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34678 for ac_func in ldexpf
34679 do :
34680 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34681 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34682 cat >>confdefs.h <<_ACEOF
34683 #define HAVE_LDEXPF 1
34684 _ACEOF
34687 done
34689 else
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34692 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34693 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34694 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34695 $as_echo_n "(cached) " >&6
34696 else
34699 ac_ext=cpp
34700 ac_cpp='$CXXCPP $CPPFLAGS'
34701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34706 /* end confdefs.h. */
34707 #include <math.h>
34709 main ()
34711 _ldexpf(0, 0);
34713 return 0;
34715 _ACEOF
34716 if ac_fn_cxx_try_compile "$LINENO"; then :
34717 glibcxx_cv_func__ldexpf_use=yes
34718 else
34719 glibcxx_cv_func__ldexpf_use=no
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 ac_ext=c
34723 ac_cpp='$CPP $CPPFLAGS'
34724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34733 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34735 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34736 for ac_func in _ldexpf
34737 do :
34738 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34739 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34740 cat >>confdefs.h <<_ACEOF
34741 #define HAVE__LDEXPF 1
34742 _ACEOF
34745 done
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34755 $as_echo_n "checking for logf declaration... " >&6; }
34756 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34757 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34758 $as_echo_n "(cached) " >&6
34759 else
34762 ac_ext=cpp
34763 ac_cpp='$CXXCPP $CPPFLAGS'
34764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34769 /* end confdefs.h. */
34770 #include <math.h>
34771 #ifdef HAVE_IEEEFP_H
34772 #include <ieeefp.h>
34773 #endif
34776 main ()
34778 logf(0);
34780 return 0;
34782 _ACEOF
34783 if ac_fn_cxx_try_compile "$LINENO"; then :
34784 glibcxx_cv_func_logf_use=yes
34785 else
34786 glibcxx_cv_func_logf_use=no
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789 ac_ext=c
34790 ac_cpp='$CPP $CPPFLAGS'
34791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34800 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34802 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34803 for ac_func in logf
34804 do :
34805 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34806 if test "x$ac_cv_func_logf" = x""yes; then :
34807 cat >>confdefs.h <<_ACEOF
34808 #define HAVE_LOGF 1
34809 _ACEOF
34812 done
34814 else
34816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34817 $as_echo_n "checking for _logf declaration... " >&6; }
34818 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34819 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34820 $as_echo_n "(cached) " >&6
34821 else
34824 ac_ext=cpp
34825 ac_cpp='$CXXCPP $CPPFLAGS'
34826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34831 /* end confdefs.h. */
34832 #include <math.h>
34833 #ifdef HAVE_IEEEFP_H
34834 #include <ieeefp.h>
34835 #endif
34838 main ()
34840 _logf(0);
34842 return 0;
34844 _ACEOF
34845 if ac_fn_cxx_try_compile "$LINENO"; then :
34846 glibcxx_cv_func__logf_use=yes
34847 else
34848 glibcxx_cv_func__logf_use=no
34850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34851 ac_ext=c
34852 ac_cpp='$CPP $CPPFLAGS'
34853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34862 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34864 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34865 for ac_func in _logf
34866 do :
34867 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34868 if test "x$ac_cv_func__logf" = x""yes; then :
34869 cat >>confdefs.h <<_ACEOF
34870 #define HAVE__LOGF 1
34871 _ACEOF
34874 done
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34884 $as_echo_n "checking for log10f declaration... " >&6; }
34885 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34886 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34887 $as_echo_n "(cached) " >&6
34888 else
34891 ac_ext=cpp
34892 ac_cpp='$CXXCPP $CPPFLAGS'
34893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34898 /* end confdefs.h. */
34899 #include <math.h>
34900 #ifdef HAVE_IEEEFP_H
34901 #include <ieeefp.h>
34902 #endif
34905 main ()
34907 log10f(0);
34909 return 0;
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913 glibcxx_cv_func_log10f_use=yes
34914 else
34915 glibcxx_cv_func_log10f_use=no
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34929 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34931 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34932 for ac_func in log10f
34933 do :
34934 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34935 if test "x$ac_cv_func_log10f" = x""yes; then :
34936 cat >>confdefs.h <<_ACEOF
34937 #define HAVE_LOG10F 1
34938 _ACEOF
34941 done
34943 else
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34946 $as_echo_n "checking for _log10f declaration... " >&6; }
34947 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34948 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34949 $as_echo_n "(cached) " >&6
34950 else
34953 ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h. */
34961 #include <math.h>
34962 #ifdef HAVE_IEEEFP_H
34963 #include <ieeefp.h>
34964 #endif
34967 main ()
34969 _log10f(0);
34971 return 0;
34973 _ACEOF
34974 if ac_fn_cxx_try_compile "$LINENO"; then :
34975 glibcxx_cv_func__log10f_use=yes
34976 else
34977 glibcxx_cv_func__log10f_use=no
34979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34980 ac_ext=c
34981 ac_cpp='$CPP $CPPFLAGS'
34982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34991 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34993 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34994 for ac_func in _log10f
34995 do :
34996 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34997 if test "x$ac_cv_func__log10f" = x""yes; then :
34998 cat >>confdefs.h <<_ACEOF
34999 #define HAVE__LOG10F 1
35000 _ACEOF
35003 done
35012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35013 $as_echo_n "checking for modff declaration... " >&6; }
35014 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35015 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35016 $as_echo_n "(cached) " >&6
35017 else
35020 ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35027 /* end confdefs.h. */
35028 #include <math.h>
35030 main ()
35032 modff(0, 0);
35034 return 0;
35036 _ACEOF
35037 if ac_fn_cxx_try_compile "$LINENO"; then :
35038 glibcxx_cv_func_modff_use=yes
35039 else
35040 glibcxx_cv_func_modff_use=no
35042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35043 ac_ext=c
35044 ac_cpp='$CPP $CPPFLAGS'
35045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35054 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35056 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35057 for ac_func in modff
35058 do :
35059 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35060 if test "x$ac_cv_func_modff" = x""yes; then :
35061 cat >>confdefs.h <<_ACEOF
35062 #define HAVE_MODFF 1
35063 _ACEOF
35066 done
35068 else
35070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35071 $as_echo_n "checking for _modff declaration... " >&6; }
35072 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35073 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35074 $as_echo_n "(cached) " >&6
35075 else
35078 ac_ext=cpp
35079 ac_cpp='$CXXCPP $CPPFLAGS'
35080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35085 /* end confdefs.h. */
35086 #include <math.h>
35088 main ()
35090 _modff(0, 0);
35092 return 0;
35094 _ACEOF
35095 if ac_fn_cxx_try_compile "$LINENO"; then :
35096 glibcxx_cv_func__modff_use=yes
35097 else
35098 glibcxx_cv_func__modff_use=no
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 ac_ext=c
35102 ac_cpp='$CPP $CPPFLAGS'
35103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35112 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35114 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35115 for ac_func in _modff
35116 do :
35117 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35118 if test "x$ac_cv_func__modff" = x""yes; then :
35119 cat >>confdefs.h <<_ACEOF
35120 #define HAVE__MODFF 1
35121 _ACEOF
35124 done
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35134 $as_echo_n "checking for modf declaration... " >&6; }
35135 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35136 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35137 $as_echo_n "(cached) " >&6
35138 else
35141 ac_ext=cpp
35142 ac_cpp='$CXXCPP $CPPFLAGS'
35143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35148 /* end confdefs.h. */
35149 #include <math.h>
35151 main ()
35153 modf(0, 0);
35155 return 0;
35157 _ACEOF
35158 if ac_fn_cxx_try_compile "$LINENO"; then :
35159 glibcxx_cv_func_modf_use=yes
35160 else
35161 glibcxx_cv_func_modf_use=no
35163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35164 ac_ext=c
35165 ac_cpp='$CPP $CPPFLAGS'
35166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35175 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35177 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35178 for ac_func in modf
35179 do :
35180 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35181 if test "x$ac_cv_func_modf" = x""yes; then :
35182 cat >>confdefs.h <<_ACEOF
35183 #define HAVE_MODF 1
35184 _ACEOF
35187 done
35189 else
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35192 $as_echo_n "checking for _modf declaration... " >&6; }
35193 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35194 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35195 $as_echo_n "(cached) " >&6
35196 else
35199 ac_ext=cpp
35200 ac_cpp='$CXXCPP $CPPFLAGS'
35201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35206 /* end confdefs.h. */
35207 #include <math.h>
35209 main ()
35211 _modf(0, 0);
35213 return 0;
35215 _ACEOF
35216 if ac_fn_cxx_try_compile "$LINENO"; then :
35217 glibcxx_cv_func__modf_use=yes
35218 else
35219 glibcxx_cv_func__modf_use=no
35221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35222 ac_ext=c
35223 ac_cpp='$CPP $CPPFLAGS'
35224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35233 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35235 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35236 for ac_func in _modf
35237 do :
35238 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35239 if test "x$ac_cv_func__modf" = x""yes; then :
35240 cat >>confdefs.h <<_ACEOF
35241 #define HAVE__MODF 1
35242 _ACEOF
35245 done
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35255 $as_echo_n "checking for powf declaration... " >&6; }
35256 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35257 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35258 $as_echo_n "(cached) " >&6
35259 else
35262 ac_ext=cpp
35263 ac_cpp='$CXXCPP $CPPFLAGS'
35264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35269 /* end confdefs.h. */
35270 #include <math.h>
35272 main ()
35274 powf(0, 0);
35276 return 0;
35278 _ACEOF
35279 if ac_fn_cxx_try_compile "$LINENO"; then :
35280 glibcxx_cv_func_powf_use=yes
35281 else
35282 glibcxx_cv_func_powf_use=no
35284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35285 ac_ext=c
35286 ac_cpp='$CPP $CPPFLAGS'
35287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35296 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35298 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35299 for ac_func in powf
35300 do :
35301 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35302 if test "x$ac_cv_func_powf" = x""yes; then :
35303 cat >>confdefs.h <<_ACEOF
35304 #define HAVE_POWF 1
35305 _ACEOF
35308 done
35310 else
35312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35313 $as_echo_n "checking for _powf declaration... " >&6; }
35314 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35315 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35316 $as_echo_n "(cached) " >&6
35317 else
35320 ac_ext=cpp
35321 ac_cpp='$CXXCPP $CPPFLAGS'
35322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35327 /* end confdefs.h. */
35328 #include <math.h>
35330 main ()
35332 _powf(0, 0);
35334 return 0;
35336 _ACEOF
35337 if ac_fn_cxx_try_compile "$LINENO"; then :
35338 glibcxx_cv_func__powf_use=yes
35339 else
35340 glibcxx_cv_func__powf_use=no
35342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35343 ac_ext=c
35344 ac_cpp='$CPP $CPPFLAGS'
35345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35354 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35356 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35357 for ac_func in _powf
35358 do :
35359 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35360 if test "x$ac_cv_func__powf" = x""yes; then :
35361 cat >>confdefs.h <<_ACEOF
35362 #define HAVE__POWF 1
35363 _ACEOF
35366 done
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35376 $as_echo_n "checking for sqrtf declaration... " >&6; }
35377 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35378 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35379 $as_echo_n "(cached) " >&6
35380 else
35383 ac_ext=cpp
35384 ac_cpp='$CXXCPP $CPPFLAGS'
35385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35390 /* end confdefs.h. */
35391 #include <math.h>
35392 #ifdef HAVE_IEEEFP_H
35393 #include <ieeefp.h>
35394 #endif
35397 main ()
35399 sqrtf(0);
35401 return 0;
35403 _ACEOF
35404 if ac_fn_cxx_try_compile "$LINENO"; then :
35405 glibcxx_cv_func_sqrtf_use=yes
35406 else
35407 glibcxx_cv_func_sqrtf_use=no
35409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35410 ac_ext=c
35411 ac_cpp='$CPP $CPPFLAGS'
35412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35421 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35423 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35424 for ac_func in sqrtf
35425 do :
35426 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35427 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35428 cat >>confdefs.h <<_ACEOF
35429 #define HAVE_SQRTF 1
35430 _ACEOF
35433 done
35435 else
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35438 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35439 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35440 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35441 $as_echo_n "(cached) " >&6
35442 else
35445 ac_ext=cpp
35446 ac_cpp='$CXXCPP $CPPFLAGS'
35447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35452 /* end confdefs.h. */
35453 #include <math.h>
35454 #ifdef HAVE_IEEEFP_H
35455 #include <ieeefp.h>
35456 #endif
35459 main ()
35461 _sqrtf(0);
35463 return 0;
35465 _ACEOF
35466 if ac_fn_cxx_try_compile "$LINENO"; then :
35467 glibcxx_cv_func__sqrtf_use=yes
35468 else
35469 glibcxx_cv_func__sqrtf_use=no
35471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35472 ac_ext=c
35473 ac_cpp='$CPP $CPPFLAGS'
35474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35483 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35485 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35486 for ac_func in _sqrtf
35487 do :
35488 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35489 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35490 cat >>confdefs.h <<_ACEOF
35491 #define HAVE__SQRTF 1
35492 _ACEOF
35495 done
35504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35505 $as_echo_n "checking for sincosf declaration... " >&6; }
35506 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35507 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35508 $as_echo_n "(cached) " >&6
35509 else
35512 ac_ext=cpp
35513 ac_cpp='$CXXCPP $CPPFLAGS'
35514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35519 /* end confdefs.h. */
35520 #include <math.h>
35522 main ()
35524 sincosf(0, 0, 0);
35526 return 0;
35528 _ACEOF
35529 if ac_fn_cxx_try_compile "$LINENO"; then :
35530 glibcxx_cv_func_sincosf_use=yes
35531 else
35532 glibcxx_cv_func_sincosf_use=no
35534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35535 ac_ext=c
35536 ac_cpp='$CPP $CPPFLAGS'
35537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35546 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35548 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35549 for ac_func in sincosf
35550 do :
35551 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35552 if test "x$ac_cv_func_sincosf" = x""yes; then :
35553 cat >>confdefs.h <<_ACEOF
35554 #define HAVE_SINCOSF 1
35555 _ACEOF
35558 done
35560 else
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35563 $as_echo_n "checking for _sincosf declaration... " >&6; }
35564 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35565 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35566 $as_echo_n "(cached) " >&6
35567 else
35570 ac_ext=cpp
35571 ac_cpp='$CXXCPP $CPPFLAGS'
35572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35577 /* end confdefs.h. */
35578 #include <math.h>
35580 main ()
35582 _sincosf(0, 0, 0);
35584 return 0;
35586 _ACEOF
35587 if ac_fn_cxx_try_compile "$LINENO"; then :
35588 glibcxx_cv_func__sincosf_use=yes
35589 else
35590 glibcxx_cv_func__sincosf_use=no
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593 ac_ext=c
35594 ac_cpp='$CPP $CPPFLAGS'
35595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35604 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35606 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35607 for ac_func in _sincosf
35608 do :
35609 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35610 if test "x$ac_cv_func__sincosf" = x""yes; then :
35611 cat >>confdefs.h <<_ACEOF
35612 #define HAVE__SINCOSF 1
35613 _ACEOF
35616 done
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35626 $as_echo_n "checking for finitef declaration... " >&6; }
35627 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35628 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35629 $as_echo_n "(cached) " >&6
35630 else
35633 ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h. */
35641 #include <math.h>
35642 #ifdef HAVE_IEEEFP_H
35643 #include <ieeefp.h>
35644 #endif
35647 main ()
35649 finitef(0);
35651 return 0;
35653 _ACEOF
35654 if ac_fn_cxx_try_compile "$LINENO"; then :
35655 glibcxx_cv_func_finitef_use=yes
35656 else
35657 glibcxx_cv_func_finitef_use=no
35659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35660 ac_ext=c
35661 ac_cpp='$CPP $CPPFLAGS'
35662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35671 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35673 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35674 for ac_func in finitef
35675 do :
35676 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35677 if test "x$ac_cv_func_finitef" = x""yes; then :
35678 cat >>confdefs.h <<_ACEOF
35679 #define HAVE_FINITEF 1
35680 _ACEOF
35683 done
35685 else
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35688 $as_echo_n "checking for _finitef declaration... " >&6; }
35689 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35690 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35691 $as_echo_n "(cached) " >&6
35692 else
35695 ac_ext=cpp
35696 ac_cpp='$CXXCPP $CPPFLAGS'
35697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35702 /* end confdefs.h. */
35703 #include <math.h>
35704 #ifdef HAVE_IEEEFP_H
35705 #include <ieeefp.h>
35706 #endif
35709 main ()
35711 _finitef(0);
35713 return 0;
35715 _ACEOF
35716 if ac_fn_cxx_try_compile "$LINENO"; then :
35717 glibcxx_cv_func__finitef_use=yes
35718 else
35719 glibcxx_cv_func__finitef_use=no
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722 ac_ext=c
35723 ac_cpp='$CPP $CPPFLAGS'
35724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35733 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35735 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35736 for ac_func in _finitef
35737 do :
35738 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35739 if test "x$ac_cv_func__finitef" = x""yes; then :
35740 cat >>confdefs.h <<_ACEOF
35741 #define HAVE__FINITEF 1
35742 _ACEOF
35745 done
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35755 $as_echo_n "checking for long double trig functions... " >&6; }
35756 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35757 $as_echo_n "(cached) " >&6
35758 else
35761 ac_ext=cpp
35762 ac_cpp='$CXXCPP $CPPFLAGS'
35763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35768 /* end confdefs.h. */
35769 #include <math.h>
35771 main ()
35773 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35775 return 0;
35777 _ACEOF
35778 if ac_fn_cxx_try_compile "$LINENO"; then :
35779 glibcxx_cv_func_long_double_trig_use=yes
35780 else
35781 glibcxx_cv_func_long_double_trig_use=no
35783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35784 ac_ext=c
35785 ac_cpp='$CPP $CPPFLAGS'
35786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35793 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35794 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35795 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35796 do :
35797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35799 eval as_val=\$$as_ac_var
35800 if test "x$as_val" = x""yes; then :
35801 cat >>confdefs.h <<_ACEOF
35802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35803 _ACEOF
35806 done
35808 else
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35810 $as_echo_n "checking for _long double trig functions... " >&6; }
35811 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35812 $as_echo_n "(cached) " >&6
35813 else
35816 ac_ext=cpp
35817 ac_cpp='$CXXCPP $CPPFLAGS'
35818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823 /* end confdefs.h. */
35824 #include <math.h>
35826 main ()
35828 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35830 return 0;
35832 _ACEOF
35833 if ac_fn_cxx_try_compile "$LINENO"; then :
35834 glibcxx_cv_func__long_double_trig_use=yes
35835 else
35836 glibcxx_cv_func__long_double_trig_use=no
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839 ac_ext=c
35840 ac_cpp='$CPP $CPPFLAGS'
35841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35848 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35849 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35850 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35851 do :
35852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35854 eval as_val=\$$as_ac_var
35855 if test "x$as_val" = x""yes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35858 _ACEOF
35861 done
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35871 $as_echo_n "checking for long double round functions... " >&6; }
35872 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35874 else
35877 ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35885 #include <math.h>
35887 main ()
35889 ceill (0); floorl (0);
35891 return 0;
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func_long_double_round_use=yes
35896 else
35897 glibcxx_cv_func_long_double_round_use=no
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35909 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35910 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35911 for ac_func in ceill floorl
35912 do :
35913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35915 eval as_val=\$$as_ac_var
35916 if test "x$as_val" = x""yes; then :
35917 cat >>confdefs.h <<_ACEOF
35918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35919 _ACEOF
35922 done
35924 else
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35926 $as_echo_n "checking for _long double round functions... " >&6; }
35927 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 _ceill (0); _floorl (0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__long_double_round_use=yes
35951 else
35952 glibcxx_cv_func__long_double_round_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35964 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35965 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35966 for ac_func in _ceill _floorl
35967 do :
35968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35970 eval as_val=\$$as_ac_var
35971 if test "x$as_val" = x""yes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35977 done
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35988 $as_echo_n "checking for isnanl declaration... " >&6; }
35989 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35990 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35991 $as_echo_n "(cached) " >&6
35992 else
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h. */
36003 #include <math.h>
36004 #ifdef HAVE_IEEEFP_H
36005 #include <ieeefp.h>
36006 #endif
36009 main ()
36011 isnanl(0);
36013 return 0;
36015 _ACEOF
36016 if ac_fn_cxx_try_compile "$LINENO"; then :
36017 glibcxx_cv_func_isnanl_use=yes
36018 else
36019 glibcxx_cv_func_isnanl_use=no
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36022 ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36033 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36035 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36036 for ac_func in isnanl
36037 do :
36038 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36039 if test "x$ac_cv_func_isnanl" = x""yes; then :
36040 cat >>confdefs.h <<_ACEOF
36041 #define HAVE_ISNANL 1
36042 _ACEOF
36045 done
36047 else
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36050 $as_echo_n "checking for _isnanl declaration... " >&6; }
36051 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36052 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36053 $as_echo_n "(cached) " >&6
36054 else
36057 ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h. */
36065 #include <math.h>
36066 #ifdef HAVE_IEEEFP_H
36067 #include <ieeefp.h>
36068 #endif
36071 main ()
36073 _isnanl(0);
36075 return 0;
36077 _ACEOF
36078 if ac_fn_cxx_try_compile "$LINENO"; then :
36079 glibcxx_cv_func__isnanl_use=yes
36080 else
36081 glibcxx_cv_func__isnanl_use=no
36083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36084 ac_ext=c
36085 ac_cpp='$CPP $CPPFLAGS'
36086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36095 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36097 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36098 for ac_func in _isnanl
36099 do :
36100 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36101 if test "x$ac_cv_func__isnanl" = x""yes; then :
36102 cat >>confdefs.h <<_ACEOF
36103 #define HAVE__ISNANL 1
36104 _ACEOF
36107 done
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36117 $as_echo_n "checking for isinfl declaration... " >&6; }
36118 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36119 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36120 $as_echo_n "(cached) " >&6
36121 else
36124 ac_ext=cpp
36125 ac_cpp='$CXXCPP $CPPFLAGS'
36126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36131 /* end confdefs.h. */
36132 #include <math.h>
36133 #ifdef HAVE_IEEEFP_H
36134 #include <ieeefp.h>
36135 #endif
36138 main ()
36140 isinfl(0);
36142 return 0;
36144 _ACEOF
36145 if ac_fn_cxx_try_compile "$LINENO"; then :
36146 glibcxx_cv_func_isinfl_use=yes
36147 else
36148 glibcxx_cv_func_isinfl_use=no
36150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36151 ac_ext=c
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36162 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36164 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36165 for ac_func in isinfl
36166 do :
36167 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36168 if test "x$ac_cv_func_isinfl" = x""yes; then :
36169 cat >>confdefs.h <<_ACEOF
36170 #define HAVE_ISINFL 1
36171 _ACEOF
36174 done
36176 else
36178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36179 $as_echo_n "checking for _isinfl declaration... " >&6; }
36180 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36181 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36182 $as_echo_n "(cached) " >&6
36183 else
36186 ac_ext=cpp
36187 ac_cpp='$CXXCPP $CPPFLAGS'
36188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 /* end confdefs.h. */
36194 #include <math.h>
36195 #ifdef HAVE_IEEEFP_H
36196 #include <ieeefp.h>
36197 #endif
36200 main ()
36202 _isinfl(0);
36204 return 0;
36206 _ACEOF
36207 if ac_fn_cxx_try_compile "$LINENO"; then :
36208 glibcxx_cv_func__isinfl_use=yes
36209 else
36210 glibcxx_cv_func__isinfl_use=no
36212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36213 ac_ext=c
36214 ac_cpp='$CPP $CPPFLAGS'
36215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36224 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36226 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36227 for ac_func in _isinfl
36228 do :
36229 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36230 if test "x$ac_cv_func__isinfl" = x""yes; then :
36231 cat >>confdefs.h <<_ACEOF
36232 #define HAVE__ISINFL 1
36233 _ACEOF
36236 done
36245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36246 $as_echo_n "checking for atan2l declaration... " >&6; }
36247 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36248 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36249 $as_echo_n "(cached) " >&6
36250 else
36253 ac_ext=cpp
36254 ac_cpp='$CXXCPP $CPPFLAGS'
36255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36260 /* end confdefs.h. */
36261 #include <math.h>
36263 main ()
36265 atan2l(0, 0);
36267 return 0;
36269 _ACEOF
36270 if ac_fn_cxx_try_compile "$LINENO"; then :
36271 glibcxx_cv_func_atan2l_use=yes
36272 else
36273 glibcxx_cv_func_atan2l_use=no
36275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36276 ac_ext=c
36277 ac_cpp='$CPP $CPPFLAGS'
36278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36287 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36289 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36290 for ac_func in atan2l
36291 do :
36292 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36293 if test "x$ac_cv_func_atan2l" = x""yes; then :
36294 cat >>confdefs.h <<_ACEOF
36295 #define HAVE_ATAN2L 1
36296 _ACEOF
36299 done
36301 else
36303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36304 $as_echo_n "checking for _atan2l declaration... " >&6; }
36305 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36306 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36307 $as_echo_n "(cached) " >&6
36308 else
36311 ac_ext=cpp
36312 ac_cpp='$CXXCPP $CPPFLAGS'
36313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36318 /* end confdefs.h. */
36319 #include <math.h>
36321 main ()
36323 _atan2l(0, 0);
36325 return 0;
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329 glibcxx_cv_func__atan2l_use=yes
36330 else
36331 glibcxx_cv_func__atan2l_use=no
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334 ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36345 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36347 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36348 for ac_func in _atan2l
36349 do :
36350 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36351 if test "x$ac_cv_func__atan2l" = x""yes; then :
36352 cat >>confdefs.h <<_ACEOF
36353 #define HAVE__ATAN2L 1
36354 _ACEOF
36357 done
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36367 $as_echo_n "checking for expl declaration... " >&6; }
36368 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36369 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36370 $as_echo_n "(cached) " >&6
36371 else
36374 ac_ext=cpp
36375 ac_cpp='$CXXCPP $CPPFLAGS'
36376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36381 /* end confdefs.h. */
36382 #include <math.h>
36383 #ifdef HAVE_IEEEFP_H
36384 #include <ieeefp.h>
36385 #endif
36388 main ()
36390 expl(0);
36392 return 0;
36394 _ACEOF
36395 if ac_fn_cxx_try_compile "$LINENO"; then :
36396 glibcxx_cv_func_expl_use=yes
36397 else
36398 glibcxx_cv_func_expl_use=no
36400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36401 ac_ext=c
36402 ac_cpp='$CPP $CPPFLAGS'
36403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36412 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36414 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36415 for ac_func in expl
36416 do :
36417 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36418 if test "x$ac_cv_func_expl" = x""yes; then :
36419 cat >>confdefs.h <<_ACEOF
36420 #define HAVE_EXPL 1
36421 _ACEOF
36424 done
36426 else
36428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36429 $as_echo_n "checking for _expl declaration... " >&6; }
36430 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36431 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36432 $as_echo_n "(cached) " >&6
36433 else
36436 ac_ext=cpp
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36443 /* end confdefs.h. */
36444 #include <math.h>
36445 #ifdef HAVE_IEEEFP_H
36446 #include <ieeefp.h>
36447 #endif
36450 main ()
36452 _expl(0);
36454 return 0;
36456 _ACEOF
36457 if ac_fn_cxx_try_compile "$LINENO"; then :
36458 glibcxx_cv_func__expl_use=yes
36459 else
36460 glibcxx_cv_func__expl_use=no
36462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463 ac_ext=c
36464 ac_cpp='$CPP $CPPFLAGS'
36465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36474 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36476 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36477 for ac_func in _expl
36478 do :
36479 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36480 if test "x$ac_cv_func__expl" = x""yes; then :
36481 cat >>confdefs.h <<_ACEOF
36482 #define HAVE__EXPL 1
36483 _ACEOF
36486 done
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36496 $as_echo_n "checking for fabsl declaration... " >&6; }
36497 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36498 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36499 $as_echo_n "(cached) " >&6
36500 else
36503 ac_ext=cpp
36504 ac_cpp='$CXXCPP $CPPFLAGS'
36505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36510 /* end confdefs.h. */
36511 #include <math.h>
36512 #ifdef HAVE_IEEEFP_H
36513 #include <ieeefp.h>
36514 #endif
36517 main ()
36519 fabsl(0);
36521 return 0;
36523 _ACEOF
36524 if ac_fn_cxx_try_compile "$LINENO"; then :
36525 glibcxx_cv_func_fabsl_use=yes
36526 else
36527 glibcxx_cv_func_fabsl_use=no
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36530 ac_ext=c
36531 ac_cpp='$CPP $CPPFLAGS'
36532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36541 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36543 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36544 for ac_func in fabsl
36545 do :
36546 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36547 if test "x$ac_cv_func_fabsl" = x""yes; then :
36548 cat >>confdefs.h <<_ACEOF
36549 #define HAVE_FABSL 1
36550 _ACEOF
36553 done
36555 else
36557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36558 $as_echo_n "checking for _fabsl declaration... " >&6; }
36559 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36560 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36561 $as_echo_n "(cached) " >&6
36562 else
36565 ac_ext=cpp
36566 ac_cpp='$CXXCPP $CPPFLAGS'
36567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36572 /* end confdefs.h. */
36573 #include <math.h>
36574 #ifdef HAVE_IEEEFP_H
36575 #include <ieeefp.h>
36576 #endif
36579 main ()
36581 _fabsl(0);
36583 return 0;
36585 _ACEOF
36586 if ac_fn_cxx_try_compile "$LINENO"; then :
36587 glibcxx_cv_func__fabsl_use=yes
36588 else
36589 glibcxx_cv_func__fabsl_use=no
36591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36592 ac_ext=c
36593 ac_cpp='$CPP $CPPFLAGS'
36594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36603 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36605 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36606 for ac_func in _fabsl
36607 do :
36608 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36609 if test "x$ac_cv_func__fabsl" = x""yes; then :
36610 cat >>confdefs.h <<_ACEOF
36611 #define HAVE__FABSL 1
36612 _ACEOF
36615 done
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36625 $as_echo_n "checking for fmodl declaration... " >&6; }
36626 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36627 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36628 $as_echo_n "(cached) " >&6
36629 else
36632 ac_ext=cpp
36633 ac_cpp='$CXXCPP $CPPFLAGS'
36634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36639 /* end confdefs.h. */
36640 #include <math.h>
36642 main ()
36644 fmodl(0, 0);
36646 return 0;
36648 _ACEOF
36649 if ac_fn_cxx_try_compile "$LINENO"; then :
36650 glibcxx_cv_func_fmodl_use=yes
36651 else
36652 glibcxx_cv_func_fmodl_use=no
36654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 ac_ext=c
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36666 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36668 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36669 for ac_func in fmodl
36670 do :
36671 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36672 if test "x$ac_cv_func_fmodl" = x""yes; then :
36673 cat >>confdefs.h <<_ACEOF
36674 #define HAVE_FMODL 1
36675 _ACEOF
36678 done
36680 else
36682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36683 $as_echo_n "checking for _fmodl declaration... " >&6; }
36684 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36685 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36686 $as_echo_n "(cached) " >&6
36687 else
36690 ac_ext=cpp
36691 ac_cpp='$CXXCPP $CPPFLAGS'
36692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36697 /* end confdefs.h. */
36698 #include <math.h>
36700 main ()
36702 _fmodl(0, 0);
36704 return 0;
36706 _ACEOF
36707 if ac_fn_cxx_try_compile "$LINENO"; then :
36708 glibcxx_cv_func__fmodl_use=yes
36709 else
36710 glibcxx_cv_func__fmodl_use=no
36712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36713 ac_ext=c
36714 ac_cpp='$CPP $CPPFLAGS'
36715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36724 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36726 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36727 for ac_func in _fmodl
36728 do :
36729 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36730 if test "x$ac_cv_func__fmodl" = x""yes; then :
36731 cat >>confdefs.h <<_ACEOF
36732 #define HAVE__FMODL 1
36733 _ACEOF
36736 done
36745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36746 $as_echo_n "checking for frexpl declaration... " >&6; }
36747 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36748 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36749 $as_echo_n "(cached) " >&6
36750 else
36753 ac_ext=cpp
36754 ac_cpp='$CXXCPP $CPPFLAGS'
36755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36760 /* end confdefs.h. */
36761 #include <math.h>
36763 main ()
36765 frexpl(0, 0);
36767 return 0;
36769 _ACEOF
36770 if ac_fn_cxx_try_compile "$LINENO"; then :
36771 glibcxx_cv_func_frexpl_use=yes
36772 else
36773 glibcxx_cv_func_frexpl_use=no
36775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36776 ac_ext=c
36777 ac_cpp='$CPP $CPPFLAGS'
36778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36787 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36789 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36790 for ac_func in frexpl
36791 do :
36792 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36793 if test "x$ac_cv_func_frexpl" = x""yes; then :
36794 cat >>confdefs.h <<_ACEOF
36795 #define HAVE_FREXPL 1
36796 _ACEOF
36799 done
36801 else
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36804 $as_echo_n "checking for _frexpl declaration... " >&6; }
36805 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36806 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36807 $as_echo_n "(cached) " >&6
36808 else
36811 ac_ext=cpp
36812 ac_cpp='$CXXCPP $CPPFLAGS'
36813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36818 /* end confdefs.h. */
36819 #include <math.h>
36821 main ()
36823 _frexpl(0, 0);
36825 return 0;
36827 _ACEOF
36828 if ac_fn_cxx_try_compile "$LINENO"; then :
36829 glibcxx_cv_func__frexpl_use=yes
36830 else
36831 glibcxx_cv_func__frexpl_use=no
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834 ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36845 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36847 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36848 for ac_func in _frexpl
36849 do :
36850 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36851 if test "x$ac_cv_func__frexpl" = x""yes; then :
36852 cat >>confdefs.h <<_ACEOF
36853 #define HAVE__FREXPL 1
36854 _ACEOF
36857 done
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36867 $as_echo_n "checking for hypotl declaration... " >&6; }
36868 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36869 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36870 $as_echo_n "(cached) " >&6
36871 else
36874 ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36881 /* end confdefs.h. */
36882 #include <math.h>
36884 main ()
36886 hypotl(0, 0);
36888 return 0;
36890 _ACEOF
36891 if ac_fn_cxx_try_compile "$LINENO"; then :
36892 glibcxx_cv_func_hypotl_use=yes
36893 else
36894 glibcxx_cv_func_hypotl_use=no
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36897 ac_ext=c
36898 ac_cpp='$CPP $CPPFLAGS'
36899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36908 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36910 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36911 for ac_func in hypotl
36912 do :
36913 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36914 if test "x$ac_cv_func_hypotl" = x""yes; then :
36915 cat >>confdefs.h <<_ACEOF
36916 #define HAVE_HYPOTL 1
36917 _ACEOF
36920 done
36922 else
36924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36925 $as_echo_n "checking for _hypotl declaration... " >&6; }
36926 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36927 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36928 $as_echo_n "(cached) " >&6
36929 else
36932 ac_ext=cpp
36933 ac_cpp='$CXXCPP $CPPFLAGS'
36934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36939 /* end confdefs.h. */
36940 #include <math.h>
36942 main ()
36944 _hypotl(0, 0);
36946 return 0;
36948 _ACEOF
36949 if ac_fn_cxx_try_compile "$LINENO"; then :
36950 glibcxx_cv_func__hypotl_use=yes
36951 else
36952 glibcxx_cv_func__hypotl_use=no
36954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36955 ac_ext=c
36956 ac_cpp='$CPP $CPPFLAGS'
36957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36966 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36968 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36969 for ac_func in _hypotl
36970 do :
36971 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36972 if test "x$ac_cv_func__hypotl" = x""yes; then :
36973 cat >>confdefs.h <<_ACEOF
36974 #define HAVE__HYPOTL 1
36975 _ACEOF
36978 done
36987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36988 $as_echo_n "checking for ldexpl declaration... " >&6; }
36989 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36990 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36991 $as_echo_n "(cached) " >&6
36992 else
36995 ac_ext=cpp
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 /* end confdefs.h. */
37003 #include <math.h>
37005 main ()
37007 ldexpl(0, 0);
37009 return 0;
37011 _ACEOF
37012 if ac_fn_cxx_try_compile "$LINENO"; then :
37013 glibcxx_cv_func_ldexpl_use=yes
37014 else
37015 glibcxx_cv_func_ldexpl_use=no
37017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37018 ac_ext=c
37019 ac_cpp='$CPP $CPPFLAGS'
37020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37029 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37031 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37032 for ac_func in ldexpl
37033 do :
37034 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37035 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37036 cat >>confdefs.h <<_ACEOF
37037 #define HAVE_LDEXPL 1
37038 _ACEOF
37041 done
37043 else
37045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37046 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37047 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37048 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37049 $as_echo_n "(cached) " >&6
37050 else
37053 ac_ext=cpp
37054 ac_cpp='$CXXCPP $CPPFLAGS'
37055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37060 /* end confdefs.h. */
37061 #include <math.h>
37063 main ()
37065 _ldexpl(0, 0);
37067 return 0;
37069 _ACEOF
37070 if ac_fn_cxx_try_compile "$LINENO"; then :
37071 glibcxx_cv_func__ldexpl_use=yes
37072 else
37073 glibcxx_cv_func__ldexpl_use=no
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37087 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37089 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37090 for ac_func in _ldexpl
37091 do :
37092 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37093 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37094 cat >>confdefs.h <<_ACEOF
37095 #define HAVE__LDEXPL 1
37096 _ACEOF
37099 done
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37109 $as_echo_n "checking for logl declaration... " >&6; }
37110 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37111 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37112 $as_echo_n "(cached) " >&6
37113 else
37116 ac_ext=cpp
37117 ac_cpp='$CXXCPP $CPPFLAGS'
37118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37123 /* end confdefs.h. */
37124 #include <math.h>
37125 #ifdef HAVE_IEEEFP_H
37126 #include <ieeefp.h>
37127 #endif
37130 main ()
37132 logl(0);
37134 return 0;
37136 _ACEOF
37137 if ac_fn_cxx_try_compile "$LINENO"; then :
37138 glibcxx_cv_func_logl_use=yes
37139 else
37140 glibcxx_cv_func_logl_use=no
37142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37143 ac_ext=c
37144 ac_cpp='$CPP $CPPFLAGS'
37145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37154 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37156 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37157 for ac_func in logl
37158 do :
37159 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37160 if test "x$ac_cv_func_logl" = x""yes; then :
37161 cat >>confdefs.h <<_ACEOF
37162 #define HAVE_LOGL 1
37163 _ACEOF
37166 done
37168 else
37170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37171 $as_echo_n "checking for _logl declaration... " >&6; }
37172 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37173 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37174 $as_echo_n "(cached) " >&6
37175 else
37178 ac_ext=cpp
37179 ac_cpp='$CXXCPP $CPPFLAGS'
37180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37185 /* end confdefs.h. */
37186 #include <math.h>
37187 #ifdef HAVE_IEEEFP_H
37188 #include <ieeefp.h>
37189 #endif
37192 main ()
37194 _logl(0);
37196 return 0;
37198 _ACEOF
37199 if ac_fn_cxx_try_compile "$LINENO"; then :
37200 glibcxx_cv_func__logl_use=yes
37201 else
37202 glibcxx_cv_func__logl_use=no
37204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37205 ac_ext=c
37206 ac_cpp='$CPP $CPPFLAGS'
37207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37216 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37218 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37219 for ac_func in _logl
37220 do :
37221 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37222 if test "x$ac_cv_func__logl" = x""yes; then :
37223 cat >>confdefs.h <<_ACEOF
37224 #define HAVE__LOGL 1
37225 _ACEOF
37228 done
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37238 $as_echo_n "checking for log10l declaration... " >&6; }
37239 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37240 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37241 $as_echo_n "(cached) " >&6
37242 else
37245 ac_ext=cpp
37246 ac_cpp='$CXXCPP $CPPFLAGS'
37247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37252 /* end confdefs.h. */
37253 #include <math.h>
37254 #ifdef HAVE_IEEEFP_H
37255 #include <ieeefp.h>
37256 #endif
37259 main ()
37261 log10l(0);
37263 return 0;
37265 _ACEOF
37266 if ac_fn_cxx_try_compile "$LINENO"; then :
37267 glibcxx_cv_func_log10l_use=yes
37268 else
37269 glibcxx_cv_func_log10l_use=no
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37272 ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37283 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37285 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37286 for ac_func in log10l
37287 do :
37288 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37289 if test "x$ac_cv_func_log10l" = x""yes; then :
37290 cat >>confdefs.h <<_ACEOF
37291 #define HAVE_LOG10L 1
37292 _ACEOF
37295 done
37297 else
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37300 $as_echo_n "checking for _log10l declaration... " >&6; }
37301 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37302 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37303 $as_echo_n "(cached) " >&6
37304 else
37307 ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h. */
37315 #include <math.h>
37316 #ifdef HAVE_IEEEFP_H
37317 #include <ieeefp.h>
37318 #endif
37321 main ()
37323 _log10l(0);
37325 return 0;
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329 glibcxx_cv_func__log10l_use=yes
37330 else
37331 glibcxx_cv_func__log10l_use=no
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334 ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37345 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37347 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37348 for ac_func in _log10l
37349 do :
37350 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37351 if test "x$ac_cv_func__log10l" = x""yes; then :
37352 cat >>confdefs.h <<_ACEOF
37353 #define HAVE__LOG10L 1
37354 _ACEOF
37357 done
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37367 $as_echo_n "checking for modfl declaration... " >&6; }
37368 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37369 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37370 $as_echo_n "(cached) " >&6
37371 else
37374 ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37381 /* end confdefs.h. */
37382 #include <math.h>
37384 main ()
37386 modfl(0, 0);
37388 return 0;
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392 glibcxx_cv_func_modfl_use=yes
37393 else
37394 glibcxx_cv_func_modfl_use=no
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397 ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37408 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37410 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37411 for ac_func in modfl
37412 do :
37413 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37414 if test "x$ac_cv_func_modfl" = x""yes; then :
37415 cat >>confdefs.h <<_ACEOF
37416 #define HAVE_MODFL 1
37417 _ACEOF
37420 done
37422 else
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37425 $as_echo_n "checking for _modfl declaration... " >&6; }
37426 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37427 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37428 $as_echo_n "(cached) " >&6
37429 else
37432 ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h. */
37440 #include <math.h>
37442 main ()
37444 _modfl(0, 0);
37446 return 0;
37448 _ACEOF
37449 if ac_fn_cxx_try_compile "$LINENO"; then :
37450 glibcxx_cv_func__modfl_use=yes
37451 else
37452 glibcxx_cv_func__modfl_use=no
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455 ac_ext=c
37456 ac_cpp='$CPP $CPPFLAGS'
37457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37466 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37468 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37469 for ac_func in _modfl
37470 do :
37471 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37472 if test "x$ac_cv_func__modfl" = x""yes; then :
37473 cat >>confdefs.h <<_ACEOF
37474 #define HAVE__MODFL 1
37475 _ACEOF
37478 done
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37488 $as_echo_n "checking for powl declaration... " >&6; }
37489 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37490 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37491 $as_echo_n "(cached) " >&6
37492 else
37495 ac_ext=cpp
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37502 /* end confdefs.h. */
37503 #include <math.h>
37505 main ()
37507 powl(0, 0);
37509 return 0;
37511 _ACEOF
37512 if ac_fn_cxx_try_compile "$LINENO"; then :
37513 glibcxx_cv_func_powl_use=yes
37514 else
37515 glibcxx_cv_func_powl_use=no
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518 ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37529 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37531 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37532 for ac_func in powl
37533 do :
37534 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37535 if test "x$ac_cv_func_powl" = x""yes; then :
37536 cat >>confdefs.h <<_ACEOF
37537 #define HAVE_POWL 1
37538 _ACEOF
37541 done
37543 else
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37546 $as_echo_n "checking for _powl declaration... " >&6; }
37547 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37548 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37549 $as_echo_n "(cached) " >&6
37550 else
37553 ac_ext=cpp
37554 ac_cpp='$CXXCPP $CPPFLAGS'
37555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37560 /* end confdefs.h. */
37561 #include <math.h>
37563 main ()
37565 _powl(0, 0);
37567 return 0;
37569 _ACEOF
37570 if ac_fn_cxx_try_compile "$LINENO"; then :
37571 glibcxx_cv_func__powl_use=yes
37572 else
37573 glibcxx_cv_func__powl_use=no
37575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37576 ac_ext=c
37577 ac_cpp='$CPP $CPPFLAGS'
37578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37587 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37589 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37590 for ac_func in _powl
37591 do :
37592 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37593 if test "x$ac_cv_func__powl" = x""yes; then :
37594 cat >>confdefs.h <<_ACEOF
37595 #define HAVE__POWL 1
37596 _ACEOF
37599 done
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37609 $as_echo_n "checking for sqrtl declaration... " >&6; }
37610 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37611 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37612 $as_echo_n "(cached) " >&6
37613 else
37616 ac_ext=cpp
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37623 /* end confdefs.h. */
37624 #include <math.h>
37625 #ifdef HAVE_IEEEFP_H
37626 #include <ieeefp.h>
37627 #endif
37630 main ()
37632 sqrtl(0);
37634 return 0;
37636 _ACEOF
37637 if ac_fn_cxx_try_compile "$LINENO"; then :
37638 glibcxx_cv_func_sqrtl_use=yes
37639 else
37640 glibcxx_cv_func_sqrtl_use=no
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37654 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37656 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37657 for ac_func in sqrtl
37658 do :
37659 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37660 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37661 cat >>confdefs.h <<_ACEOF
37662 #define HAVE_SQRTL 1
37663 _ACEOF
37666 done
37668 else
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37671 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37672 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37673 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37674 $as_echo_n "(cached) " >&6
37675 else
37678 ac_ext=cpp
37679 ac_cpp='$CXXCPP $CPPFLAGS'
37680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37685 /* end confdefs.h. */
37686 #include <math.h>
37687 #ifdef HAVE_IEEEFP_H
37688 #include <ieeefp.h>
37689 #endif
37692 main ()
37694 _sqrtl(0);
37696 return 0;
37698 _ACEOF
37699 if ac_fn_cxx_try_compile "$LINENO"; then :
37700 glibcxx_cv_func__sqrtl_use=yes
37701 else
37702 glibcxx_cv_func__sqrtl_use=no
37704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37705 ac_ext=c
37706 ac_cpp='$CPP $CPPFLAGS'
37707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37716 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37718 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37719 for ac_func in _sqrtl
37720 do :
37721 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37722 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37723 cat >>confdefs.h <<_ACEOF
37724 #define HAVE__SQRTL 1
37725 _ACEOF
37728 done
37737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37738 $as_echo_n "checking for sincosl declaration... " >&6; }
37739 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37740 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37741 $as_echo_n "(cached) " >&6
37742 else
37745 ac_ext=cpp
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37752 /* end confdefs.h. */
37753 #include <math.h>
37755 main ()
37757 sincosl(0, 0, 0);
37759 return 0;
37761 _ACEOF
37762 if ac_fn_cxx_try_compile "$LINENO"; then :
37763 glibcxx_cv_func_sincosl_use=yes
37764 else
37765 glibcxx_cv_func_sincosl_use=no
37767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37768 ac_ext=c
37769 ac_cpp='$CPP $CPPFLAGS'
37770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37779 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37781 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37782 for ac_func in sincosl
37783 do :
37784 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37785 if test "x$ac_cv_func_sincosl" = x""yes; then :
37786 cat >>confdefs.h <<_ACEOF
37787 #define HAVE_SINCOSL 1
37788 _ACEOF
37791 done
37793 else
37795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37796 $as_echo_n "checking for _sincosl declaration... " >&6; }
37797 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37798 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37799 $as_echo_n "(cached) " >&6
37800 else
37803 ac_ext=cpp
37804 ac_cpp='$CXXCPP $CPPFLAGS'
37805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37810 /* end confdefs.h. */
37811 #include <math.h>
37813 main ()
37815 _sincosl(0, 0, 0);
37817 return 0;
37819 _ACEOF
37820 if ac_fn_cxx_try_compile "$LINENO"; then :
37821 glibcxx_cv_func__sincosl_use=yes
37822 else
37823 glibcxx_cv_func__sincosl_use=no
37825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37826 ac_ext=c
37827 ac_cpp='$CPP $CPPFLAGS'
37828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37837 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37839 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37840 for ac_func in _sincosl
37841 do :
37842 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37843 if test "x$ac_cv_func__sincosl" = x""yes; then :
37844 cat >>confdefs.h <<_ACEOF
37845 #define HAVE__SINCOSL 1
37846 _ACEOF
37849 done
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37859 $as_echo_n "checking for finitel declaration... " >&6; }
37860 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37861 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37862 $as_echo_n "(cached) " >&6
37863 else
37866 ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h. */
37874 #include <math.h>
37875 #ifdef HAVE_IEEEFP_H
37876 #include <ieeefp.h>
37877 #endif
37880 main ()
37882 finitel(0);
37884 return 0;
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888 glibcxx_cv_func_finitel_use=yes
37889 else
37890 glibcxx_cv_func_finitel_use=no
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37904 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37906 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37907 for ac_func in finitel
37908 do :
37909 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37910 if test "x$ac_cv_func_finitel" = x""yes; then :
37911 cat >>confdefs.h <<_ACEOF
37912 #define HAVE_FINITEL 1
37913 _ACEOF
37916 done
37918 else
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37921 $as_echo_n "checking for _finitel declaration... " >&6; }
37922 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37923 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37924 $as_echo_n "(cached) " >&6
37925 else
37928 ac_ext=cpp
37929 ac_cpp='$CXXCPP $CPPFLAGS'
37930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37935 /* end confdefs.h. */
37936 #include <math.h>
37937 #ifdef HAVE_IEEEFP_H
37938 #include <ieeefp.h>
37939 #endif
37942 main ()
37944 _finitel(0);
37946 return 0;
37948 _ACEOF
37949 if ac_fn_cxx_try_compile "$LINENO"; then :
37950 glibcxx_cv_func__finitel_use=yes
37951 else
37952 glibcxx_cv_func__finitel_use=no
37954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37955 ac_ext=c
37956 ac_cpp='$CPP $CPPFLAGS'
37957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37966 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37968 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37969 for ac_func in _finitel
37970 do :
37971 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37972 if test "x$ac_cv_func__finitel" = x""yes; then :
37973 cat >>confdefs.h <<_ACEOF
37974 #define HAVE__FINITEL 1
37975 _ACEOF
37978 done
37986 LIBS="$ac_save_LIBS"
37987 CXXFLAGS="$ac_save_CXXFLAGS"
37990 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37991 ac_save_CXXFLAGS="$CXXFLAGS"
37992 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37996 $as_echo_n "checking for strtold declaration... " >&6; }
37997 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37998 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37999 $as_echo_n "(cached) " >&6
38000 else
38003 ac_ext=cpp
38004 ac_cpp='$CXXCPP $CPPFLAGS'
38005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38010 /* end confdefs.h. */
38011 #include <stdlib.h>
38013 main ()
38015 strtold(0, 0);
38017 return 0;
38019 _ACEOF
38020 if ac_fn_cxx_try_compile "$LINENO"; then :
38021 glibcxx_cv_func_strtold_use=yes
38022 else
38023 glibcxx_cv_func_strtold_use=no
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38026 ac_ext=c
38027 ac_cpp='$CPP $CPPFLAGS'
38028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38037 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38038 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38039 for ac_func in strtold
38040 do :
38041 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38042 if test "x$ac_cv_func_strtold" = x""yes; then :
38043 cat >>confdefs.h <<_ACEOF
38044 #define HAVE_STRTOLD 1
38045 _ACEOF
38048 done
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38056 $as_echo_n "checking for strtof declaration... " >&6; }
38057 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38058 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38059 $as_echo_n "(cached) " >&6
38060 else
38063 ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070 /* end confdefs.h. */
38071 #include <stdlib.h>
38073 main ()
38075 strtof(0, 0);
38077 return 0;
38079 _ACEOF
38080 if ac_fn_cxx_try_compile "$LINENO"; then :
38081 glibcxx_cv_func_strtof_use=yes
38082 else
38083 glibcxx_cv_func_strtof_use=no
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086 ac_ext=c
38087 ac_cpp='$CPP $CPPFLAGS'
38088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38097 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38098 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38099 for ac_func in strtof
38100 do :
38101 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38102 if test "x$ac_cv_func_strtof" = x""yes; then :
38103 cat >>confdefs.h <<_ACEOF
38104 #define HAVE_STRTOF 1
38105 _ACEOF
38108 done
38115 CXXFLAGS="$ac_save_CXXFLAGS"
38117 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38119 # We don't yet support AIX's TLS ABI.
38120 #GCC_CHECK_TLS
38126 am_save_CPPFLAGS="$CPPFLAGS"
38128 for element in $INCICONV; do
38129 haveit=
38130 for x in $CPPFLAGS; do
38132 acl_save_prefix="$prefix"
38133 prefix="$acl_final_prefix"
38134 acl_save_exec_prefix="$exec_prefix"
38135 exec_prefix="$acl_final_exec_prefix"
38136 eval x=\"$x\"
38137 exec_prefix="$acl_save_exec_prefix"
38138 prefix="$acl_save_prefix"
38140 if test "X$x" = "X$element"; then
38141 haveit=yes
38142 break
38144 done
38145 if test -z "$haveit"; then
38146 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38148 done
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38152 $as_echo_n "checking for iconv... " >&6; }
38153 if test "${am_cv_func_iconv+set}" = set; then :
38154 $as_echo_n "(cached) " >&6
38155 else
38157 am_cv_func_iconv="no, consider installing GNU libiconv"
38158 am_cv_lib_iconv=no
38159 if test x$gcc_no_link = xyes; then
38160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h. */
38164 #include <stdlib.h>
38165 #include <iconv.h>
38167 main ()
38169 iconv_t cd = iconv_open("","");
38170 iconv(cd,NULL,NULL,NULL,NULL);
38171 iconv_close(cd);
38173 return 0;
38175 _ACEOF
38176 if ac_fn_c_try_link "$LINENO"; then :
38177 am_cv_func_iconv=yes
38179 rm -f core conftest.err conftest.$ac_objext \
38180 conftest$ac_exeext conftest.$ac_ext
38181 if test "$am_cv_func_iconv" != yes; then
38182 am_save_LIBS="$LIBS"
38183 LIBS="$LIBS $LIBICONV"
38184 if test x$gcc_no_link = xyes; then
38185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h. */
38189 #include <stdlib.h>
38190 #include <iconv.h>
38192 main ()
38194 iconv_t cd = iconv_open("","");
38195 iconv(cd,NULL,NULL,NULL,NULL);
38196 iconv_close(cd);
38198 return 0;
38200 _ACEOF
38201 if ac_fn_c_try_link "$LINENO"; then :
38202 am_cv_lib_iconv=yes
38203 am_cv_func_iconv=yes
38205 rm -f core conftest.err conftest.$ac_objext \
38206 conftest$ac_exeext conftest.$ac_ext
38207 LIBS="$am_save_LIBS"
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38212 $as_echo "$am_cv_func_iconv" >&6; }
38213 if test "$am_cv_func_iconv" = yes; then
38215 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38218 if test "$am_cv_lib_iconv" = yes; then
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38220 $as_echo_n "checking how to link with libiconv... " >&6; }
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38222 $as_echo "$LIBICONV" >&6; }
38223 else
38224 CPPFLAGS="$am_save_CPPFLAGS"
38225 LIBICONV=
38226 LTLIBICONV=
38231 if test "$am_cv_func_iconv" = yes; then
38232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38233 $as_echo_n "checking for iconv declaration... " >&6; }
38234 if test "${am_cv_proto_iconv+set}" = set; then :
38235 $as_echo_n "(cached) " >&6
38236 else
38238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38239 /* end confdefs.h. */
38241 #include <stdlib.h>
38242 #include <iconv.h>
38243 extern
38244 #ifdef __cplusplus
38246 #endif
38247 #if defined(__STDC__) || defined(__cplusplus)
38248 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38249 #else
38250 size_t iconv();
38251 #endif
38254 main ()
38258 return 0;
38260 _ACEOF
38261 if ac_fn_c_try_compile "$LINENO"; then :
38262 am_cv_proto_iconv_arg1=""
38263 else
38264 am_cv_proto_iconv_arg1="const"
38266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38267 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);"
38270 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38272 }$am_cv_proto_iconv" >&5
38273 $as_echo "${ac_t:-
38274 }$am_cv_proto_iconv" >&6; }
38276 cat >>confdefs.h <<_ACEOF
38277 #define ICONV_CONST $am_cv_proto_iconv_arg1
38278 _ACEOF
38284 *-darwin*)
38285 # Darwin versions vary, but the linker should work in a cross environment,
38286 # so we just check for all the features here.
38287 # Check for available headers.
38289 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38292 ac_save_CXXFLAGS="$CXXFLAGS"
38293 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38296 $as_echo_n "checking for sin in -lm... " >&6; }
38297 if test "${ac_cv_lib_m_sin+set}" = set; then :
38298 $as_echo_n "(cached) " >&6
38299 else
38300 ac_check_lib_save_LIBS=$LIBS
38301 LIBS="-lm $LIBS"
38302 if test x$gcc_no_link = xyes; then
38303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38306 /* end confdefs.h. */
38308 /* Override any GCC internal prototype to avoid an error.
38309 Use char because int might match the return type of a GCC
38310 builtin and then its argument prototype would still apply. */
38311 #ifdef __cplusplus
38312 extern "C"
38313 #endif
38314 char sin ();
38316 main ()
38318 return sin ();
38320 return 0;
38322 _ACEOF
38323 if ac_fn_c_try_link "$LINENO"; then :
38324 ac_cv_lib_m_sin=yes
38325 else
38326 ac_cv_lib_m_sin=no
38328 rm -f core conftest.err conftest.$ac_objext \
38329 conftest$ac_exeext conftest.$ac_ext
38330 LIBS=$ac_check_lib_save_LIBS
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38333 $as_echo "$ac_cv_lib_m_sin" >&6; }
38334 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38335 libm="-lm"
38338 ac_save_LIBS="$LIBS"
38339 LIBS="$LIBS $libm"
38343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38344 $as_echo_n "checking for isinf declaration... " >&6; }
38345 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38346 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38347 $as_echo_n "(cached) " >&6
38348 else
38351 ac_ext=cpp
38352 ac_cpp='$CXXCPP $CPPFLAGS'
38353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38358 /* end confdefs.h. */
38359 #include <math.h>
38360 #ifdef HAVE_IEEEFP_H
38361 #include <ieeefp.h>
38362 #endif
38365 main ()
38367 isinf(0);
38369 return 0;
38371 _ACEOF
38372 if ac_fn_cxx_try_compile "$LINENO"; then :
38373 glibcxx_cv_func_isinf_use=yes
38374 else
38375 glibcxx_cv_func_isinf_use=no
38377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38378 ac_ext=c
38379 ac_cpp='$CPP $CPPFLAGS'
38380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38389 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38391 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38392 for ac_func in isinf
38393 do :
38394 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38395 if test "x$ac_cv_func_isinf" = x""yes; then :
38396 cat >>confdefs.h <<_ACEOF
38397 #define HAVE_ISINF 1
38398 _ACEOF
38401 done
38403 else
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38406 $as_echo_n "checking for _isinf declaration... " >&6; }
38407 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38408 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38409 $as_echo_n "(cached) " >&6
38410 else
38413 ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h. */
38421 #include <math.h>
38422 #ifdef HAVE_IEEEFP_H
38423 #include <ieeefp.h>
38424 #endif
38427 main ()
38429 _isinf(0);
38431 return 0;
38433 _ACEOF
38434 if ac_fn_cxx_try_compile "$LINENO"; then :
38435 glibcxx_cv_func__isinf_use=yes
38436 else
38437 glibcxx_cv_func__isinf_use=no
38439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38440 ac_ext=c
38441 ac_cpp='$CPP $CPPFLAGS'
38442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38451 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38453 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38454 for ac_func in _isinf
38455 do :
38456 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38457 if test "x$ac_cv_func__isinf" = x""yes; then :
38458 cat >>confdefs.h <<_ACEOF
38459 #define HAVE__ISINF 1
38460 _ACEOF
38463 done
38472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38473 $as_echo_n "checking for isnan declaration... " >&6; }
38474 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38475 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38476 $as_echo_n "(cached) " >&6
38477 else
38480 ac_ext=cpp
38481 ac_cpp='$CXXCPP $CPPFLAGS'
38482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38487 /* end confdefs.h. */
38488 #include <math.h>
38489 #ifdef HAVE_IEEEFP_H
38490 #include <ieeefp.h>
38491 #endif
38494 main ()
38496 isnan(0);
38498 return 0;
38500 _ACEOF
38501 if ac_fn_cxx_try_compile "$LINENO"; then :
38502 glibcxx_cv_func_isnan_use=yes
38503 else
38504 glibcxx_cv_func_isnan_use=no
38506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38507 ac_ext=c
38508 ac_cpp='$CPP $CPPFLAGS'
38509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38518 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38520 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38521 for ac_func in isnan
38522 do :
38523 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38524 if test "x$ac_cv_func_isnan" = x""yes; then :
38525 cat >>confdefs.h <<_ACEOF
38526 #define HAVE_ISNAN 1
38527 _ACEOF
38530 done
38532 else
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38535 $as_echo_n "checking for _isnan declaration... " >&6; }
38536 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38537 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38538 $as_echo_n "(cached) " >&6
38539 else
38542 ac_ext=cpp
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38549 /* end confdefs.h. */
38550 #include <math.h>
38551 #ifdef HAVE_IEEEFP_H
38552 #include <ieeefp.h>
38553 #endif
38556 main ()
38558 _isnan(0);
38560 return 0;
38562 _ACEOF
38563 if ac_fn_cxx_try_compile "$LINENO"; then :
38564 glibcxx_cv_func__isnan_use=yes
38565 else
38566 glibcxx_cv_func__isnan_use=no
38568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38569 ac_ext=c
38570 ac_cpp='$CPP $CPPFLAGS'
38571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38580 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38582 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38583 for ac_func in _isnan
38584 do :
38585 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38586 if test "x$ac_cv_func__isnan" = x""yes; then :
38587 cat >>confdefs.h <<_ACEOF
38588 #define HAVE__ISNAN 1
38589 _ACEOF
38592 done
38601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38602 $as_echo_n "checking for finite declaration... " >&6; }
38603 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38604 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38605 $as_echo_n "(cached) " >&6
38606 else
38609 ac_ext=cpp
38610 ac_cpp='$CXXCPP $CPPFLAGS'
38611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38616 /* end confdefs.h. */
38617 #include <math.h>
38618 #ifdef HAVE_IEEEFP_H
38619 #include <ieeefp.h>
38620 #endif
38623 main ()
38625 finite(0);
38627 return 0;
38629 _ACEOF
38630 if ac_fn_cxx_try_compile "$LINENO"; then :
38631 glibcxx_cv_func_finite_use=yes
38632 else
38633 glibcxx_cv_func_finite_use=no
38635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38636 ac_ext=c
38637 ac_cpp='$CPP $CPPFLAGS'
38638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38647 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38650 for ac_func in finite
38651 do :
38652 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38653 if test "x$ac_cv_func_finite" = x""yes; then :
38654 cat >>confdefs.h <<_ACEOF
38655 #define HAVE_FINITE 1
38656 _ACEOF
38659 done
38661 else
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38664 $as_echo_n "checking for _finite declaration... " >&6; }
38665 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38666 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38667 $as_echo_n "(cached) " >&6
38668 else
38671 ac_ext=cpp
38672 ac_cpp='$CXXCPP $CPPFLAGS'
38673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38678 /* end confdefs.h. */
38679 #include <math.h>
38680 #ifdef HAVE_IEEEFP_H
38681 #include <ieeefp.h>
38682 #endif
38685 main ()
38687 _finite(0);
38689 return 0;
38691 _ACEOF
38692 if ac_fn_cxx_try_compile "$LINENO"; then :
38693 glibcxx_cv_func__finite_use=yes
38694 else
38695 glibcxx_cv_func__finite_use=no
38697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38698 ac_ext=c
38699 ac_cpp='$CPP $CPPFLAGS'
38700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38709 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38711 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38712 for ac_func in _finite
38713 do :
38714 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38715 if test "x$ac_cv_func__finite" = x""yes; then :
38716 cat >>confdefs.h <<_ACEOF
38717 #define HAVE__FINITE 1
38718 _ACEOF
38721 done
38730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38731 $as_echo_n "checking for sincos declaration... " >&6; }
38732 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38733 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38734 $as_echo_n "(cached) " >&6
38735 else
38738 ac_ext=cpp
38739 ac_cpp='$CXXCPP $CPPFLAGS'
38740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38745 /* end confdefs.h. */
38746 #include <math.h>
38748 main ()
38750 sincos(0, 0, 0);
38752 return 0;
38754 _ACEOF
38755 if ac_fn_cxx_try_compile "$LINENO"; then :
38756 glibcxx_cv_func_sincos_use=yes
38757 else
38758 glibcxx_cv_func_sincos_use=no
38760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38761 ac_ext=c
38762 ac_cpp='$CPP $CPPFLAGS'
38763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38772 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38774 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38775 for ac_func in sincos
38776 do :
38777 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38778 if test "x$ac_cv_func_sincos" = x""yes; then :
38779 cat >>confdefs.h <<_ACEOF
38780 #define HAVE_SINCOS 1
38781 _ACEOF
38784 done
38786 else
38788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38789 $as_echo_n "checking for _sincos declaration... " >&6; }
38790 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38791 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38792 $as_echo_n "(cached) " >&6
38793 else
38796 ac_ext=cpp
38797 ac_cpp='$CXXCPP $CPPFLAGS'
38798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38803 /* end confdefs.h. */
38804 #include <math.h>
38806 main ()
38808 _sincos(0, 0, 0);
38810 return 0;
38812 _ACEOF
38813 if ac_fn_cxx_try_compile "$LINENO"; then :
38814 glibcxx_cv_func__sincos_use=yes
38815 else
38816 glibcxx_cv_func__sincos_use=no
38818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38819 ac_ext=c
38820 ac_cpp='$CPP $CPPFLAGS'
38821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38830 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38833 for ac_func in _sincos
38834 do :
38835 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38836 if test "x$ac_cv_func__sincos" = x""yes; then :
38837 cat >>confdefs.h <<_ACEOF
38838 #define HAVE__SINCOS 1
38839 _ACEOF
38842 done
38851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38852 $as_echo_n "checking for fpclass declaration... " >&6; }
38853 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38854 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38855 $as_echo_n "(cached) " >&6
38856 else
38859 ac_ext=cpp
38860 ac_cpp='$CXXCPP $CPPFLAGS'
38861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38866 /* end confdefs.h. */
38867 #include <math.h>
38868 #ifdef HAVE_IEEEFP_H
38869 #include <ieeefp.h>
38870 #endif
38873 main ()
38875 fpclass(0);
38877 return 0;
38879 _ACEOF
38880 if ac_fn_cxx_try_compile "$LINENO"; then :
38881 glibcxx_cv_func_fpclass_use=yes
38882 else
38883 glibcxx_cv_func_fpclass_use=no
38885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38886 ac_ext=c
38887 ac_cpp='$CPP $CPPFLAGS'
38888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38897 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38899 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38900 for ac_func in fpclass
38901 do :
38902 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38903 if test "x$ac_cv_func_fpclass" = x""yes; then :
38904 cat >>confdefs.h <<_ACEOF
38905 #define HAVE_FPCLASS 1
38906 _ACEOF
38909 done
38911 else
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38914 $as_echo_n "checking for _fpclass declaration... " >&6; }
38915 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38916 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38917 $as_echo_n "(cached) " >&6
38918 else
38921 ac_ext=cpp
38922 ac_cpp='$CXXCPP $CPPFLAGS'
38923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38928 /* end confdefs.h. */
38929 #include <math.h>
38930 #ifdef HAVE_IEEEFP_H
38931 #include <ieeefp.h>
38932 #endif
38935 main ()
38937 _fpclass(0);
38939 return 0;
38941 _ACEOF
38942 if ac_fn_cxx_try_compile "$LINENO"; then :
38943 glibcxx_cv_func__fpclass_use=yes
38944 else
38945 glibcxx_cv_func__fpclass_use=no
38947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38948 ac_ext=c
38949 ac_cpp='$CPP $CPPFLAGS'
38950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38959 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38961 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38962 for ac_func in _fpclass
38963 do :
38964 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38965 if test "x$ac_cv_func__fpclass" = x""yes; then :
38966 cat >>confdefs.h <<_ACEOF
38967 #define HAVE__FPCLASS 1
38968 _ACEOF
38971 done
38980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38981 $as_echo_n "checking for qfpclass declaration... " >&6; }
38982 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38983 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38984 $as_echo_n "(cached) " >&6
38985 else
38988 ac_ext=cpp
38989 ac_cpp='$CXXCPP $CPPFLAGS'
38990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38995 /* end confdefs.h. */
38996 #include <math.h>
38997 #ifdef HAVE_IEEEFP_H
38998 #include <ieeefp.h>
38999 #endif
39002 main ()
39004 qfpclass(0);
39006 return 0;
39008 _ACEOF
39009 if ac_fn_cxx_try_compile "$LINENO"; then :
39010 glibcxx_cv_func_qfpclass_use=yes
39011 else
39012 glibcxx_cv_func_qfpclass_use=no
39014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39015 ac_ext=c
39016 ac_cpp='$CPP $CPPFLAGS'
39017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39026 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39028 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39029 for ac_func in qfpclass
39030 do :
39031 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39032 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39033 cat >>confdefs.h <<_ACEOF
39034 #define HAVE_QFPCLASS 1
39035 _ACEOF
39038 done
39040 else
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39043 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39044 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39045 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39046 $as_echo_n "(cached) " >&6
39047 else
39050 ac_ext=cpp
39051 ac_cpp='$CXXCPP $CPPFLAGS'
39052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39057 /* end confdefs.h. */
39058 #include <math.h>
39059 #ifdef HAVE_IEEEFP_H
39060 #include <ieeefp.h>
39061 #endif
39064 main ()
39066 _qfpclass(0);
39068 return 0;
39070 _ACEOF
39071 if ac_fn_cxx_try_compile "$LINENO"; then :
39072 glibcxx_cv_func__qfpclass_use=yes
39073 else
39074 glibcxx_cv_func__qfpclass_use=no
39076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39077 ac_ext=c
39078 ac_cpp='$CPP $CPPFLAGS'
39079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39088 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39090 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39091 for ac_func in _qfpclass
39092 do :
39093 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39094 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39095 cat >>confdefs.h <<_ACEOF
39096 #define HAVE__QFPCLASS 1
39097 _ACEOF
39100 done
39109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39110 $as_echo_n "checking for hypot declaration... " >&6; }
39111 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39112 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39113 $as_echo_n "(cached) " >&6
39114 else
39117 ac_ext=cpp
39118 ac_cpp='$CXXCPP $CPPFLAGS'
39119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39124 /* end confdefs.h. */
39125 #include <math.h>
39127 main ()
39129 hypot(0, 0);
39131 return 0;
39133 _ACEOF
39134 if ac_fn_cxx_try_compile "$LINENO"; then :
39135 glibcxx_cv_func_hypot_use=yes
39136 else
39137 glibcxx_cv_func_hypot_use=no
39139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39140 ac_ext=c
39141 ac_cpp='$CPP $CPPFLAGS'
39142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39151 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39153 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39154 for ac_func in hypot
39155 do :
39156 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39157 if test "x$ac_cv_func_hypot" = x""yes; then :
39158 cat >>confdefs.h <<_ACEOF
39159 #define HAVE_HYPOT 1
39160 _ACEOF
39163 done
39165 else
39167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39168 $as_echo_n "checking for _hypot declaration... " >&6; }
39169 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39170 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39171 $as_echo_n "(cached) " >&6
39172 else
39175 ac_ext=cpp
39176 ac_cpp='$CXXCPP $CPPFLAGS'
39177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39182 /* end confdefs.h. */
39183 #include <math.h>
39185 main ()
39187 _hypot(0, 0);
39189 return 0;
39191 _ACEOF
39192 if ac_fn_cxx_try_compile "$LINENO"; then :
39193 glibcxx_cv_func__hypot_use=yes
39194 else
39195 glibcxx_cv_func__hypot_use=no
39197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_ext=c
39199 ac_cpp='$CPP $CPPFLAGS'
39200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39209 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39211 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39212 for ac_func in _hypot
39213 do :
39214 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39215 if test "x$ac_cv_func__hypot" = x""yes; then :
39216 cat >>confdefs.h <<_ACEOF
39217 #define HAVE__HYPOT 1
39218 _ACEOF
39221 done
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39231 $as_echo_n "checking for float trig functions... " >&6; }
39232 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39233 $as_echo_n "(cached) " >&6
39234 else
39237 ac_ext=cpp
39238 ac_cpp='$CXXCPP $CPPFLAGS'
39239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39244 /* end confdefs.h. */
39245 #include <math.h>
39247 main ()
39249 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39251 return 0;
39253 _ACEOF
39254 if ac_fn_cxx_try_compile "$LINENO"; then :
39255 glibcxx_cv_func_float_trig_use=yes
39256 else
39257 glibcxx_cv_func_float_trig_use=no
39259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39260 ac_ext=c
39261 ac_cpp='$CPP $CPPFLAGS'
39262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39269 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39270 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39271 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39272 do :
39273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39275 eval as_val=\$$as_ac_var
39276 if test "x$as_val" = x""yes; then :
39277 cat >>confdefs.h <<_ACEOF
39278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39279 _ACEOF
39282 done
39284 else
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39286 $as_echo_n "checking for _float trig functions... " >&6; }
39287 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39288 $as_echo_n "(cached) " >&6
39289 else
39292 ac_ext=cpp
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39299 /* end confdefs.h. */
39300 #include <math.h>
39302 main ()
39304 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39306 return 0;
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310 glibcxx_cv_func__float_trig_use=yes
39311 else
39312 glibcxx_cv_func__float_trig_use=no
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315 ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39324 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39325 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39326 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39327 do :
39328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39330 eval as_val=\$$as_ac_var
39331 if test "x$as_val" = x""yes; then :
39332 cat >>confdefs.h <<_ACEOF
39333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39334 _ACEOF
39337 done
39346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39347 $as_echo_n "checking for float round functions... " >&6; }
39348 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39349 $as_echo_n "(cached) " >&6
39350 else
39353 ac_ext=cpp
39354 ac_cpp='$CXXCPP $CPPFLAGS'
39355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39360 /* end confdefs.h. */
39361 #include <math.h>
39363 main ()
39365 ceilf (0); floorf (0);
39367 return 0;
39369 _ACEOF
39370 if ac_fn_cxx_try_compile "$LINENO"; then :
39371 glibcxx_cv_func_float_round_use=yes
39372 else
39373 glibcxx_cv_func_float_round_use=no
39375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39376 ac_ext=c
39377 ac_cpp='$CPP $CPPFLAGS'
39378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39385 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39386 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39387 for ac_func in ceilf floorf
39388 do :
39389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39391 eval as_val=\$$as_ac_var
39392 if test "x$as_val" = x""yes; then :
39393 cat >>confdefs.h <<_ACEOF
39394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39395 _ACEOF
39398 done
39400 else
39401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39402 $as_echo_n "checking for _float round functions... " >&6; }
39403 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39404 $as_echo_n "(cached) " >&6
39405 else
39408 ac_ext=cpp
39409 ac_cpp='$CXXCPP $CPPFLAGS'
39410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39415 /* end confdefs.h. */
39416 #include <math.h>
39418 main ()
39420 _ceilf (0); _floorf (0);
39422 return 0;
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426 glibcxx_cv_func__float_round_use=yes
39427 else
39428 glibcxx_cv_func__float_round_use=no
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431 ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39440 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39441 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39442 for ac_func in _ceilf _floorf
39443 do :
39444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39446 eval as_val=\$$as_ac_var
39447 if test "x$as_val" = x""yes; then :
39448 cat >>confdefs.h <<_ACEOF
39449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39450 _ACEOF
39453 done
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39464 $as_echo_n "checking for expf declaration... " >&6; }
39465 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39466 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39467 $as_echo_n "(cached) " >&6
39468 else
39471 ac_ext=cpp
39472 ac_cpp='$CXXCPP $CPPFLAGS'
39473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39478 /* end confdefs.h. */
39479 #include <math.h>
39480 #ifdef HAVE_IEEEFP_H
39481 #include <ieeefp.h>
39482 #endif
39485 main ()
39487 expf(0);
39489 return 0;
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493 glibcxx_cv_func_expf_use=yes
39494 else
39495 glibcxx_cv_func_expf_use=no
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39509 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39511 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39512 for ac_func in expf
39513 do :
39514 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39515 if test "x$ac_cv_func_expf" = x""yes; then :
39516 cat >>confdefs.h <<_ACEOF
39517 #define HAVE_EXPF 1
39518 _ACEOF
39521 done
39523 else
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39526 $as_echo_n "checking for _expf declaration... " >&6; }
39527 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39528 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <math.h>
39542 #ifdef HAVE_IEEEFP_H
39543 #include <ieeefp.h>
39544 #endif
39547 main ()
39549 _expf(0);
39551 return 0;
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555 glibcxx_cv_func__expf_use=yes
39556 else
39557 glibcxx_cv_func__expf_use=no
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560 ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39571 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39573 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39574 for ac_func in _expf
39575 do :
39576 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39577 if test "x$ac_cv_func__expf" = x""yes; then :
39578 cat >>confdefs.h <<_ACEOF
39579 #define HAVE__EXPF 1
39580 _ACEOF
39583 done
39592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39593 $as_echo_n "checking for isnanf declaration... " >&6; }
39594 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39595 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39596 $as_echo_n "(cached) " >&6
39597 else
39600 ac_ext=cpp
39601 ac_cpp='$CXXCPP $CPPFLAGS'
39602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39607 /* end confdefs.h. */
39608 #include <math.h>
39609 #ifdef HAVE_IEEEFP_H
39610 #include <ieeefp.h>
39611 #endif
39614 main ()
39616 isnanf(0);
39618 return 0;
39620 _ACEOF
39621 if ac_fn_cxx_try_compile "$LINENO"; then :
39622 glibcxx_cv_func_isnanf_use=yes
39623 else
39624 glibcxx_cv_func_isnanf_use=no
39626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39627 ac_ext=c
39628 ac_cpp='$CPP $CPPFLAGS'
39629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39638 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39640 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39641 for ac_func in isnanf
39642 do :
39643 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39644 if test "x$ac_cv_func_isnanf" = x""yes; then :
39645 cat >>confdefs.h <<_ACEOF
39646 #define HAVE_ISNANF 1
39647 _ACEOF
39650 done
39652 else
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39655 $as_echo_n "checking for _isnanf declaration... " >&6; }
39656 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39657 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39658 $as_echo_n "(cached) " >&6
39659 else
39662 ac_ext=cpp
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h. */
39670 #include <math.h>
39671 #ifdef HAVE_IEEEFP_H
39672 #include <ieeefp.h>
39673 #endif
39676 main ()
39678 _isnanf(0);
39680 return 0;
39682 _ACEOF
39683 if ac_fn_cxx_try_compile "$LINENO"; then :
39684 glibcxx_cv_func__isnanf_use=yes
39685 else
39686 glibcxx_cv_func__isnanf_use=no
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689 ac_ext=c
39690 ac_cpp='$CPP $CPPFLAGS'
39691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39700 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39702 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39703 for ac_func in _isnanf
39704 do :
39705 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39706 if test "x$ac_cv_func__isnanf" = x""yes; then :
39707 cat >>confdefs.h <<_ACEOF
39708 #define HAVE__ISNANF 1
39709 _ACEOF
39712 done
39721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39722 $as_echo_n "checking for isinff declaration... " >&6; }
39723 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39724 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39725 $as_echo_n "(cached) " >&6
39726 else
39729 ac_ext=cpp
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39736 /* end confdefs.h. */
39737 #include <math.h>
39738 #ifdef HAVE_IEEEFP_H
39739 #include <ieeefp.h>
39740 #endif
39743 main ()
39745 isinff(0);
39747 return 0;
39749 _ACEOF
39750 if ac_fn_cxx_try_compile "$LINENO"; then :
39751 glibcxx_cv_func_isinff_use=yes
39752 else
39753 glibcxx_cv_func_isinff_use=no
39755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39756 ac_ext=c
39757 ac_cpp='$CPP $CPPFLAGS'
39758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39767 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39769 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39770 for ac_func in isinff
39771 do :
39772 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39773 if test "x$ac_cv_func_isinff" = x""yes; then :
39774 cat >>confdefs.h <<_ACEOF
39775 #define HAVE_ISINFF 1
39776 _ACEOF
39779 done
39781 else
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39784 $as_echo_n "checking for _isinff declaration... " >&6; }
39785 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39786 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39787 $as_echo_n "(cached) " >&6
39788 else
39791 ac_ext=cpp
39792 ac_cpp='$CXXCPP $CPPFLAGS'
39793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798 /* end confdefs.h. */
39799 #include <math.h>
39800 #ifdef HAVE_IEEEFP_H
39801 #include <ieeefp.h>
39802 #endif
39805 main ()
39807 _isinff(0);
39809 return 0;
39811 _ACEOF
39812 if ac_fn_cxx_try_compile "$LINENO"; then :
39813 glibcxx_cv_func__isinff_use=yes
39814 else
39815 glibcxx_cv_func__isinff_use=no
39817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39818 ac_ext=c
39819 ac_cpp='$CPP $CPPFLAGS'
39820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39829 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39831 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39832 for ac_func in _isinff
39833 do :
39834 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39835 if test "x$ac_cv_func__isinff" = x""yes; then :
39836 cat >>confdefs.h <<_ACEOF
39837 #define HAVE__ISINFF 1
39838 _ACEOF
39841 done
39850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39851 $as_echo_n "checking for atan2f declaration... " >&6; }
39852 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39853 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39854 $as_echo_n "(cached) " >&6
39855 else
39858 ac_ext=cpp
39859 ac_cpp='$CXXCPP $CPPFLAGS'
39860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39865 /* end confdefs.h. */
39866 #include <math.h>
39868 main ()
39870 atan2f(0, 0);
39872 return 0;
39874 _ACEOF
39875 if ac_fn_cxx_try_compile "$LINENO"; then :
39876 glibcxx_cv_func_atan2f_use=yes
39877 else
39878 glibcxx_cv_func_atan2f_use=no
39880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39881 ac_ext=c
39882 ac_cpp='$CPP $CPPFLAGS'
39883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39892 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39894 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39895 for ac_func in atan2f
39896 do :
39897 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39898 if test "x$ac_cv_func_atan2f" = x""yes; then :
39899 cat >>confdefs.h <<_ACEOF
39900 #define HAVE_ATAN2F 1
39901 _ACEOF
39904 done
39906 else
39908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39909 $as_echo_n "checking for _atan2f declaration... " >&6; }
39910 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39911 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39912 $as_echo_n "(cached) " >&6
39913 else
39916 ac_ext=cpp
39917 ac_cpp='$CXXCPP $CPPFLAGS'
39918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39923 /* end confdefs.h. */
39924 #include <math.h>
39926 main ()
39928 _atan2f(0, 0);
39930 return 0;
39932 _ACEOF
39933 if ac_fn_cxx_try_compile "$LINENO"; then :
39934 glibcxx_cv_func__atan2f_use=yes
39935 else
39936 glibcxx_cv_func__atan2f_use=no
39938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39939 ac_ext=c
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39950 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39952 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39953 for ac_func in _atan2f
39954 do :
39955 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39956 if test "x$ac_cv_func__atan2f" = x""yes; then :
39957 cat >>confdefs.h <<_ACEOF
39958 #define HAVE__ATAN2F 1
39959 _ACEOF
39962 done
39971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39972 $as_echo_n "checking for fabsf declaration... " >&6; }
39973 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39974 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39975 $as_echo_n "(cached) " >&6
39976 else
39979 ac_ext=cpp
39980 ac_cpp='$CXXCPP $CPPFLAGS'
39981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39986 /* end confdefs.h. */
39987 #include <math.h>
39988 #ifdef HAVE_IEEEFP_H
39989 #include <ieeefp.h>
39990 #endif
39993 main ()
39995 fabsf(0);
39997 return 0;
39999 _ACEOF
40000 if ac_fn_cxx_try_compile "$LINENO"; then :
40001 glibcxx_cv_func_fabsf_use=yes
40002 else
40003 glibcxx_cv_func_fabsf_use=no
40005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40006 ac_ext=c
40007 ac_cpp='$CPP $CPPFLAGS'
40008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40017 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40019 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40020 for ac_func in fabsf
40021 do :
40022 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40023 if test "x$ac_cv_func_fabsf" = x""yes; then :
40024 cat >>confdefs.h <<_ACEOF
40025 #define HAVE_FABSF 1
40026 _ACEOF
40029 done
40031 else
40033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40034 $as_echo_n "checking for _fabsf declaration... " >&6; }
40035 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40036 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40037 $as_echo_n "(cached) " >&6
40038 else
40041 ac_ext=cpp
40042 ac_cpp='$CXXCPP $CPPFLAGS'
40043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40048 /* end confdefs.h. */
40049 #include <math.h>
40050 #ifdef HAVE_IEEEFP_H
40051 #include <ieeefp.h>
40052 #endif
40055 main ()
40057 _fabsf(0);
40059 return 0;
40061 _ACEOF
40062 if ac_fn_cxx_try_compile "$LINENO"; then :
40063 glibcxx_cv_func__fabsf_use=yes
40064 else
40065 glibcxx_cv_func__fabsf_use=no
40067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40068 ac_ext=c
40069 ac_cpp='$CPP $CPPFLAGS'
40070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40079 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40081 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40082 for ac_func in _fabsf
40083 do :
40084 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40085 if test "x$ac_cv_func__fabsf" = x""yes; then :
40086 cat >>confdefs.h <<_ACEOF
40087 #define HAVE__FABSF 1
40088 _ACEOF
40091 done
40100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40101 $as_echo_n "checking for fmodf declaration... " >&6; }
40102 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40103 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40104 $as_echo_n "(cached) " >&6
40105 else
40108 ac_ext=cpp
40109 ac_cpp='$CXXCPP $CPPFLAGS'
40110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40115 /* end confdefs.h. */
40116 #include <math.h>
40118 main ()
40120 fmodf(0, 0);
40122 return 0;
40124 _ACEOF
40125 if ac_fn_cxx_try_compile "$LINENO"; then :
40126 glibcxx_cv_func_fmodf_use=yes
40127 else
40128 glibcxx_cv_func_fmodf_use=no
40130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40131 ac_ext=c
40132 ac_cpp='$CPP $CPPFLAGS'
40133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40142 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40144 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40145 for ac_func in fmodf
40146 do :
40147 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40148 if test "x$ac_cv_func_fmodf" = x""yes; then :
40149 cat >>confdefs.h <<_ACEOF
40150 #define HAVE_FMODF 1
40151 _ACEOF
40154 done
40156 else
40158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40159 $as_echo_n "checking for _fmodf declaration... " >&6; }
40160 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40161 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40162 $as_echo_n "(cached) " >&6
40163 else
40166 ac_ext=cpp
40167 ac_cpp='$CXXCPP $CPPFLAGS'
40168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40173 /* end confdefs.h. */
40174 #include <math.h>
40176 main ()
40178 _fmodf(0, 0);
40180 return 0;
40182 _ACEOF
40183 if ac_fn_cxx_try_compile "$LINENO"; then :
40184 glibcxx_cv_func__fmodf_use=yes
40185 else
40186 glibcxx_cv_func__fmodf_use=no
40188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40189 ac_ext=c
40190 ac_cpp='$CPP $CPPFLAGS'
40191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40200 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40202 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40203 for ac_func in _fmodf
40204 do :
40205 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40206 if test "x$ac_cv_func__fmodf" = x""yes; then :
40207 cat >>confdefs.h <<_ACEOF
40208 #define HAVE__FMODF 1
40209 _ACEOF
40212 done
40221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40222 $as_echo_n "checking for frexpf declaration... " >&6; }
40223 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40224 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40225 $as_echo_n "(cached) " >&6
40226 else
40229 ac_ext=cpp
40230 ac_cpp='$CXXCPP $CPPFLAGS'
40231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h. */
40237 #include <math.h>
40239 main ()
40241 frexpf(0, 0);
40243 return 0;
40245 _ACEOF
40246 if ac_fn_cxx_try_compile "$LINENO"; then :
40247 glibcxx_cv_func_frexpf_use=yes
40248 else
40249 glibcxx_cv_func_frexpf_use=no
40251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40252 ac_ext=c
40253 ac_cpp='$CPP $CPPFLAGS'
40254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40263 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40265 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40266 for ac_func in frexpf
40267 do :
40268 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40269 if test "x$ac_cv_func_frexpf" = x""yes; then :
40270 cat >>confdefs.h <<_ACEOF
40271 #define HAVE_FREXPF 1
40272 _ACEOF
40275 done
40277 else
40279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40280 $as_echo_n "checking for _frexpf declaration... " >&6; }
40281 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40282 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40283 $as_echo_n "(cached) " >&6
40284 else
40287 ac_ext=cpp
40288 ac_cpp='$CXXCPP $CPPFLAGS'
40289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40294 /* end confdefs.h. */
40295 #include <math.h>
40297 main ()
40299 _frexpf(0, 0);
40301 return 0;
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func__frexpf_use=yes
40306 else
40307 glibcxx_cv_func__frexpf_use=no
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40321 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40323 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40324 for ac_func in _frexpf
40325 do :
40326 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40327 if test "x$ac_cv_func__frexpf" = x""yes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE__FREXPF 1
40330 _ACEOF
40333 done
40342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40343 $as_echo_n "checking for hypotf declaration... " >&6; }
40344 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40345 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40346 $as_echo_n "(cached) " >&6
40347 else
40350 ac_ext=cpp
40351 ac_cpp='$CXXCPP $CPPFLAGS'
40352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40357 /* end confdefs.h. */
40358 #include <math.h>
40360 main ()
40362 hypotf(0, 0);
40364 return 0;
40366 _ACEOF
40367 if ac_fn_cxx_try_compile "$LINENO"; then :
40368 glibcxx_cv_func_hypotf_use=yes
40369 else
40370 glibcxx_cv_func_hypotf_use=no
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373 ac_ext=c
40374 ac_cpp='$CPP $CPPFLAGS'
40375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40384 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40386 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40387 for ac_func in hypotf
40388 do :
40389 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40390 if test "x$ac_cv_func_hypotf" = x""yes; then :
40391 cat >>confdefs.h <<_ACEOF
40392 #define HAVE_HYPOTF 1
40393 _ACEOF
40396 done
40398 else
40400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40401 $as_echo_n "checking for _hypotf declaration... " >&6; }
40402 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40403 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40404 $as_echo_n "(cached) " >&6
40405 else
40408 ac_ext=cpp
40409 ac_cpp='$CXXCPP $CPPFLAGS'
40410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40415 /* end confdefs.h. */
40416 #include <math.h>
40418 main ()
40420 _hypotf(0, 0);
40422 return 0;
40424 _ACEOF
40425 if ac_fn_cxx_try_compile "$LINENO"; then :
40426 glibcxx_cv_func__hypotf_use=yes
40427 else
40428 glibcxx_cv_func__hypotf_use=no
40430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40431 ac_ext=c
40432 ac_cpp='$CPP $CPPFLAGS'
40433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40442 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40444 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40445 for ac_func in _hypotf
40446 do :
40447 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40448 if test "x$ac_cv_func__hypotf" = x""yes; then :
40449 cat >>confdefs.h <<_ACEOF
40450 #define HAVE__HYPOTF 1
40451 _ACEOF
40454 done
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40464 $as_echo_n "checking for ldexpf declaration... " >&6; }
40465 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40466 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40467 $as_echo_n "(cached) " >&6
40468 else
40471 ac_ext=cpp
40472 ac_cpp='$CXXCPP $CPPFLAGS'
40473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40478 /* end confdefs.h. */
40479 #include <math.h>
40481 main ()
40483 ldexpf(0, 0);
40485 return 0;
40487 _ACEOF
40488 if ac_fn_cxx_try_compile "$LINENO"; then :
40489 glibcxx_cv_func_ldexpf_use=yes
40490 else
40491 glibcxx_cv_func_ldexpf_use=no
40493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40494 ac_ext=c
40495 ac_cpp='$CPP $CPPFLAGS'
40496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40505 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40507 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40508 for ac_func in ldexpf
40509 do :
40510 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40511 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40512 cat >>confdefs.h <<_ACEOF
40513 #define HAVE_LDEXPF 1
40514 _ACEOF
40517 done
40519 else
40521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40522 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40523 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40524 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40525 $as_echo_n "(cached) " >&6
40526 else
40529 ac_ext=cpp
40530 ac_cpp='$CXXCPP $CPPFLAGS'
40531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40536 /* end confdefs.h. */
40537 #include <math.h>
40539 main ()
40541 _ldexpf(0, 0);
40543 return 0;
40545 _ACEOF
40546 if ac_fn_cxx_try_compile "$LINENO"; then :
40547 glibcxx_cv_func__ldexpf_use=yes
40548 else
40549 glibcxx_cv_func__ldexpf_use=no
40551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40552 ac_ext=c
40553 ac_cpp='$CPP $CPPFLAGS'
40554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40563 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40565 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40566 for ac_func in _ldexpf
40567 do :
40568 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40569 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40570 cat >>confdefs.h <<_ACEOF
40571 #define HAVE__LDEXPF 1
40572 _ACEOF
40575 done
40584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40585 $as_echo_n "checking for logf declaration... " >&6; }
40586 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40587 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40588 $as_echo_n "(cached) " >&6
40589 else
40592 ac_ext=cpp
40593 ac_cpp='$CXXCPP $CPPFLAGS'
40594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40599 /* end confdefs.h. */
40600 #include <math.h>
40601 #ifdef HAVE_IEEEFP_H
40602 #include <ieeefp.h>
40603 #endif
40606 main ()
40608 logf(0);
40610 return 0;
40612 _ACEOF
40613 if ac_fn_cxx_try_compile "$LINENO"; then :
40614 glibcxx_cv_func_logf_use=yes
40615 else
40616 glibcxx_cv_func_logf_use=no
40618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40619 ac_ext=c
40620 ac_cpp='$CPP $CPPFLAGS'
40621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40630 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40632 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40633 for ac_func in logf
40634 do :
40635 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40636 if test "x$ac_cv_func_logf" = x""yes; then :
40637 cat >>confdefs.h <<_ACEOF
40638 #define HAVE_LOGF 1
40639 _ACEOF
40642 done
40644 else
40646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40647 $as_echo_n "checking for _logf declaration... " >&6; }
40648 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40649 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40650 $as_echo_n "(cached) " >&6
40651 else
40654 ac_ext=cpp
40655 ac_cpp='$CXXCPP $CPPFLAGS'
40656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40661 /* end confdefs.h. */
40662 #include <math.h>
40663 #ifdef HAVE_IEEEFP_H
40664 #include <ieeefp.h>
40665 #endif
40668 main ()
40670 _logf(0);
40672 return 0;
40674 _ACEOF
40675 if ac_fn_cxx_try_compile "$LINENO"; then :
40676 glibcxx_cv_func__logf_use=yes
40677 else
40678 glibcxx_cv_func__logf_use=no
40680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40681 ac_ext=c
40682 ac_cpp='$CPP $CPPFLAGS'
40683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40692 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40694 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40695 for ac_func in _logf
40696 do :
40697 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40698 if test "x$ac_cv_func__logf" = x""yes; then :
40699 cat >>confdefs.h <<_ACEOF
40700 #define HAVE__LOGF 1
40701 _ACEOF
40704 done
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40714 $as_echo_n "checking for log10f declaration... " >&6; }
40715 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40716 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40717 $as_echo_n "(cached) " >&6
40718 else
40721 ac_ext=cpp
40722 ac_cpp='$CXXCPP $CPPFLAGS'
40723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40728 /* end confdefs.h. */
40729 #include <math.h>
40730 #ifdef HAVE_IEEEFP_H
40731 #include <ieeefp.h>
40732 #endif
40735 main ()
40737 log10f(0);
40739 return 0;
40741 _ACEOF
40742 if ac_fn_cxx_try_compile "$LINENO"; then :
40743 glibcxx_cv_func_log10f_use=yes
40744 else
40745 glibcxx_cv_func_log10f_use=no
40747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40748 ac_ext=c
40749 ac_cpp='$CPP $CPPFLAGS'
40750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40759 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40761 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40762 for ac_func in log10f
40763 do :
40764 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40765 if test "x$ac_cv_func_log10f" = x""yes; then :
40766 cat >>confdefs.h <<_ACEOF
40767 #define HAVE_LOG10F 1
40768 _ACEOF
40771 done
40773 else
40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40776 $as_echo_n "checking for _log10f declaration... " >&6; }
40777 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40778 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40779 $as_echo_n "(cached) " >&6
40780 else
40783 ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h. */
40791 #include <math.h>
40792 #ifdef HAVE_IEEEFP_H
40793 #include <ieeefp.h>
40794 #endif
40797 main ()
40799 _log10f(0);
40801 return 0;
40803 _ACEOF
40804 if ac_fn_cxx_try_compile "$LINENO"; then :
40805 glibcxx_cv_func__log10f_use=yes
40806 else
40807 glibcxx_cv_func__log10f_use=no
40809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810 ac_ext=c
40811 ac_cpp='$CPP $CPPFLAGS'
40812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40821 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40823 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40824 for ac_func in _log10f
40825 do :
40826 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40827 if test "x$ac_cv_func__log10f" = x""yes; then :
40828 cat >>confdefs.h <<_ACEOF
40829 #define HAVE__LOG10F 1
40830 _ACEOF
40833 done
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40843 $as_echo_n "checking for modff declaration... " >&6; }
40844 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40845 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40846 $as_echo_n "(cached) " >&6
40847 else
40850 ac_ext=cpp
40851 ac_cpp='$CXXCPP $CPPFLAGS'
40852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40857 /* end confdefs.h. */
40858 #include <math.h>
40860 main ()
40862 modff(0, 0);
40864 return 0;
40866 _ACEOF
40867 if ac_fn_cxx_try_compile "$LINENO"; then :
40868 glibcxx_cv_func_modff_use=yes
40869 else
40870 glibcxx_cv_func_modff_use=no
40872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40873 ac_ext=c
40874 ac_cpp='$CPP $CPPFLAGS'
40875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40884 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40886 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40887 for ac_func in modff
40888 do :
40889 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40890 if test "x$ac_cv_func_modff" = x""yes; then :
40891 cat >>confdefs.h <<_ACEOF
40892 #define HAVE_MODFF 1
40893 _ACEOF
40896 done
40898 else
40900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40901 $as_echo_n "checking for _modff declaration... " >&6; }
40902 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40903 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40904 $as_echo_n "(cached) " >&6
40905 else
40908 ac_ext=cpp
40909 ac_cpp='$CXXCPP $CPPFLAGS'
40910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40915 /* end confdefs.h. */
40916 #include <math.h>
40918 main ()
40920 _modff(0, 0);
40922 return 0;
40924 _ACEOF
40925 if ac_fn_cxx_try_compile "$LINENO"; then :
40926 glibcxx_cv_func__modff_use=yes
40927 else
40928 glibcxx_cv_func__modff_use=no
40930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40931 ac_ext=c
40932 ac_cpp='$CPP $CPPFLAGS'
40933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40942 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40944 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40945 for ac_func in _modff
40946 do :
40947 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40948 if test "x$ac_cv_func__modff" = x""yes; then :
40949 cat >>confdefs.h <<_ACEOF
40950 #define HAVE__MODFF 1
40951 _ACEOF
40954 done
40963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40964 $as_echo_n "checking for modf declaration... " >&6; }
40965 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40966 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40967 $as_echo_n "(cached) " >&6
40968 else
40971 ac_ext=cpp
40972 ac_cpp='$CXXCPP $CPPFLAGS'
40973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40978 /* end confdefs.h. */
40979 #include <math.h>
40981 main ()
40983 modf(0, 0);
40985 return 0;
40987 _ACEOF
40988 if ac_fn_cxx_try_compile "$LINENO"; then :
40989 glibcxx_cv_func_modf_use=yes
40990 else
40991 glibcxx_cv_func_modf_use=no
40993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40994 ac_ext=c
40995 ac_cpp='$CPP $CPPFLAGS'
40996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41005 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41007 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41008 for ac_func in modf
41009 do :
41010 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41011 if test "x$ac_cv_func_modf" = x""yes; then :
41012 cat >>confdefs.h <<_ACEOF
41013 #define HAVE_MODF 1
41014 _ACEOF
41017 done
41019 else
41021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41022 $as_echo_n "checking for _modf declaration... " >&6; }
41023 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41024 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41025 $as_echo_n "(cached) " >&6
41026 else
41029 ac_ext=cpp
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41036 /* end confdefs.h. */
41037 #include <math.h>
41039 main ()
41041 _modf(0, 0);
41043 return 0;
41045 _ACEOF
41046 if ac_fn_cxx_try_compile "$LINENO"; then :
41047 glibcxx_cv_func__modf_use=yes
41048 else
41049 glibcxx_cv_func__modf_use=no
41051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41052 ac_ext=c
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41063 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41065 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41066 for ac_func in _modf
41067 do :
41068 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41069 if test "x$ac_cv_func__modf" = x""yes; then :
41070 cat >>confdefs.h <<_ACEOF
41071 #define HAVE__MODF 1
41072 _ACEOF
41075 done
41084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41085 $as_echo_n "checking for powf declaration... " >&6; }
41086 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41087 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41088 $as_echo_n "(cached) " >&6
41089 else
41092 ac_ext=cpp
41093 ac_cpp='$CXXCPP $CPPFLAGS'
41094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41099 /* end confdefs.h. */
41100 #include <math.h>
41102 main ()
41104 powf(0, 0);
41106 return 0;
41108 _ACEOF
41109 if ac_fn_cxx_try_compile "$LINENO"; then :
41110 glibcxx_cv_func_powf_use=yes
41111 else
41112 glibcxx_cv_func_powf_use=no
41114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41115 ac_ext=c
41116 ac_cpp='$CPP $CPPFLAGS'
41117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41126 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41128 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41129 for ac_func in powf
41130 do :
41131 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41132 if test "x$ac_cv_func_powf" = x""yes; then :
41133 cat >>confdefs.h <<_ACEOF
41134 #define HAVE_POWF 1
41135 _ACEOF
41138 done
41140 else
41142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41143 $as_echo_n "checking for _powf declaration... " >&6; }
41144 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41145 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41146 $as_echo_n "(cached) " >&6
41147 else
41150 ac_ext=cpp
41151 ac_cpp='$CXXCPP $CPPFLAGS'
41152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41157 /* end confdefs.h. */
41158 #include <math.h>
41160 main ()
41162 _powf(0, 0);
41164 return 0;
41166 _ACEOF
41167 if ac_fn_cxx_try_compile "$LINENO"; then :
41168 glibcxx_cv_func__powf_use=yes
41169 else
41170 glibcxx_cv_func__powf_use=no
41172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41173 ac_ext=c
41174 ac_cpp='$CPP $CPPFLAGS'
41175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41184 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41186 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41187 for ac_func in _powf
41188 do :
41189 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41190 if test "x$ac_cv_func__powf" = x""yes; then :
41191 cat >>confdefs.h <<_ACEOF
41192 #define HAVE__POWF 1
41193 _ACEOF
41196 done
41205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41206 $as_echo_n "checking for sqrtf declaration... " >&6; }
41207 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41208 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41209 $as_echo_n "(cached) " >&6
41210 else
41213 ac_ext=cpp
41214 ac_cpp='$CXXCPP $CPPFLAGS'
41215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41220 /* end confdefs.h. */
41221 #include <math.h>
41222 #ifdef HAVE_IEEEFP_H
41223 #include <ieeefp.h>
41224 #endif
41227 main ()
41229 sqrtf(0);
41231 return 0;
41233 _ACEOF
41234 if ac_fn_cxx_try_compile "$LINENO"; then :
41235 glibcxx_cv_func_sqrtf_use=yes
41236 else
41237 glibcxx_cv_func_sqrtf_use=no
41239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41240 ac_ext=c
41241 ac_cpp='$CPP $CPPFLAGS'
41242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41251 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41253 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41254 for ac_func in sqrtf
41255 do :
41256 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41257 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41258 cat >>confdefs.h <<_ACEOF
41259 #define HAVE_SQRTF 1
41260 _ACEOF
41263 done
41265 else
41267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41268 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41269 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41270 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41271 $as_echo_n "(cached) " >&6
41272 else
41275 ac_ext=cpp
41276 ac_cpp='$CXXCPP $CPPFLAGS'
41277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h. */
41283 #include <math.h>
41284 #ifdef HAVE_IEEEFP_H
41285 #include <ieeefp.h>
41286 #endif
41289 main ()
41291 _sqrtf(0);
41293 return 0;
41295 _ACEOF
41296 if ac_fn_cxx_try_compile "$LINENO"; then :
41297 glibcxx_cv_func__sqrtf_use=yes
41298 else
41299 glibcxx_cv_func__sqrtf_use=no
41301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41302 ac_ext=c
41303 ac_cpp='$CPP $CPPFLAGS'
41304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41313 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41315 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41316 for ac_func in _sqrtf
41317 do :
41318 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41319 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41320 cat >>confdefs.h <<_ACEOF
41321 #define HAVE__SQRTF 1
41322 _ACEOF
41325 done
41334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41335 $as_echo_n "checking for sincosf declaration... " >&6; }
41336 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41337 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41338 $as_echo_n "(cached) " >&6
41339 else
41342 ac_ext=cpp
41343 ac_cpp='$CXXCPP $CPPFLAGS'
41344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41349 /* end confdefs.h. */
41350 #include <math.h>
41352 main ()
41354 sincosf(0, 0, 0);
41356 return 0;
41358 _ACEOF
41359 if ac_fn_cxx_try_compile "$LINENO"; then :
41360 glibcxx_cv_func_sincosf_use=yes
41361 else
41362 glibcxx_cv_func_sincosf_use=no
41364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41365 ac_ext=c
41366 ac_cpp='$CPP $CPPFLAGS'
41367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41376 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41378 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41379 for ac_func in sincosf
41380 do :
41381 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41382 if test "x$ac_cv_func_sincosf" = x""yes; then :
41383 cat >>confdefs.h <<_ACEOF
41384 #define HAVE_SINCOSF 1
41385 _ACEOF
41388 done
41390 else
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41393 $as_echo_n "checking for _sincosf declaration... " >&6; }
41394 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41395 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41396 $as_echo_n "(cached) " >&6
41397 else
41400 ac_ext=cpp
41401 ac_cpp='$CXXCPP $CPPFLAGS'
41402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41407 /* end confdefs.h. */
41408 #include <math.h>
41410 main ()
41412 _sincosf(0, 0, 0);
41414 return 0;
41416 _ACEOF
41417 if ac_fn_cxx_try_compile "$LINENO"; then :
41418 glibcxx_cv_func__sincosf_use=yes
41419 else
41420 glibcxx_cv_func__sincosf_use=no
41422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41423 ac_ext=c
41424 ac_cpp='$CPP $CPPFLAGS'
41425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41434 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41436 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41437 for ac_func in _sincosf
41438 do :
41439 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41440 if test "x$ac_cv_func__sincosf" = x""yes; then :
41441 cat >>confdefs.h <<_ACEOF
41442 #define HAVE__SINCOSF 1
41443 _ACEOF
41446 done
41455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41456 $as_echo_n "checking for finitef declaration... " >&6; }
41457 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41458 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41459 $as_echo_n "(cached) " >&6
41460 else
41463 ac_ext=cpp
41464 ac_cpp='$CXXCPP $CPPFLAGS'
41465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41470 /* end confdefs.h. */
41471 #include <math.h>
41472 #ifdef HAVE_IEEEFP_H
41473 #include <ieeefp.h>
41474 #endif
41477 main ()
41479 finitef(0);
41481 return 0;
41483 _ACEOF
41484 if ac_fn_cxx_try_compile "$LINENO"; then :
41485 glibcxx_cv_func_finitef_use=yes
41486 else
41487 glibcxx_cv_func_finitef_use=no
41489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41490 ac_ext=c
41491 ac_cpp='$CPP $CPPFLAGS'
41492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41501 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41503 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41504 for ac_func in finitef
41505 do :
41506 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41507 if test "x$ac_cv_func_finitef" = x""yes; then :
41508 cat >>confdefs.h <<_ACEOF
41509 #define HAVE_FINITEF 1
41510 _ACEOF
41513 done
41515 else
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41518 $as_echo_n "checking for _finitef declaration... " >&6; }
41519 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41520 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41521 $as_echo_n "(cached) " >&6
41522 else
41525 ac_ext=cpp
41526 ac_cpp='$CXXCPP $CPPFLAGS'
41527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41532 /* end confdefs.h. */
41533 #include <math.h>
41534 #ifdef HAVE_IEEEFP_H
41535 #include <ieeefp.h>
41536 #endif
41539 main ()
41541 _finitef(0);
41543 return 0;
41545 _ACEOF
41546 if ac_fn_cxx_try_compile "$LINENO"; then :
41547 glibcxx_cv_func__finitef_use=yes
41548 else
41549 glibcxx_cv_func__finitef_use=no
41551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41552 ac_ext=c
41553 ac_cpp='$CPP $CPPFLAGS'
41554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41563 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41565 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41566 for ac_func in _finitef
41567 do :
41568 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41569 if test "x$ac_cv_func__finitef" = x""yes; then :
41570 cat >>confdefs.h <<_ACEOF
41571 #define HAVE__FINITEF 1
41572 _ACEOF
41575 done
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41585 $as_echo_n "checking for long double trig functions... " >&6; }
41586 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41587 $as_echo_n "(cached) " >&6
41588 else
41591 ac_ext=cpp
41592 ac_cpp='$CXXCPP $CPPFLAGS'
41593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41598 /* end confdefs.h. */
41599 #include <math.h>
41601 main ()
41603 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41605 return 0;
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609 glibcxx_cv_func_long_double_trig_use=yes
41610 else
41611 glibcxx_cv_func_long_double_trig_use=no
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41623 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41624 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41625 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41626 do :
41627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41629 eval as_val=\$$as_ac_var
41630 if test "x$as_val" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41633 _ACEOF
41636 done
41638 else
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41640 $as_echo_n "checking for _long double trig functions... " >&6; }
41641 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41642 $as_echo_n "(cached) " >&6
41643 else
41646 ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h. */
41654 #include <math.h>
41656 main ()
41658 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41660 return 0;
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664 glibcxx_cv_func__long_double_trig_use=yes
41665 else
41666 glibcxx_cv_func__long_double_trig_use=no
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669 ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41678 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41679 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41680 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41681 do :
41682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41684 eval as_val=\$$as_ac_var
41685 if test "x$as_val" = x""yes; then :
41686 cat >>confdefs.h <<_ACEOF
41687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41688 _ACEOF
41691 done
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41701 $as_echo_n "checking for long double round functions... " >&6; }
41702 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41703 $as_echo_n "(cached) " >&6
41704 else
41707 ac_ext=cpp
41708 ac_cpp='$CXXCPP $CPPFLAGS'
41709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 /* end confdefs.h. */
41715 #include <math.h>
41717 main ()
41719 ceill (0); floorl (0);
41721 return 0;
41723 _ACEOF
41724 if ac_fn_cxx_try_compile "$LINENO"; then :
41725 glibcxx_cv_func_long_double_round_use=yes
41726 else
41727 glibcxx_cv_func_long_double_round_use=no
41729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41730 ac_ext=c
41731 ac_cpp='$CPP $CPPFLAGS'
41732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41739 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41740 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41741 for ac_func in ceill floorl
41742 do :
41743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41745 eval as_val=\$$as_ac_var
41746 if test "x$as_val" = x""yes; then :
41747 cat >>confdefs.h <<_ACEOF
41748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41749 _ACEOF
41752 done
41754 else
41755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41756 $as_echo_n "checking for _long double round functions... " >&6; }
41757 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41758 $as_echo_n "(cached) " >&6
41759 else
41762 ac_ext=cpp
41763 ac_cpp='$CXXCPP $CPPFLAGS'
41764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41769 /* end confdefs.h. */
41770 #include <math.h>
41772 main ()
41774 _ceill (0); _floorl (0);
41776 return 0;
41778 _ACEOF
41779 if ac_fn_cxx_try_compile "$LINENO"; then :
41780 glibcxx_cv_func__long_double_round_use=yes
41781 else
41782 glibcxx_cv_func__long_double_round_use=no
41784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41785 ac_ext=c
41786 ac_cpp='$CPP $CPPFLAGS'
41787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41794 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41795 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41796 for ac_func in _ceill _floorl
41797 do :
41798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41800 eval as_val=\$$as_ac_var
41801 if test "x$as_val" = x""yes; then :
41802 cat >>confdefs.h <<_ACEOF
41803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41804 _ACEOF
41807 done
41817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41818 $as_echo_n "checking for isnanl declaration... " >&6; }
41819 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41820 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41821 $as_echo_n "(cached) " >&6
41822 else
41825 ac_ext=cpp
41826 ac_cpp='$CXXCPP $CPPFLAGS'
41827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41832 /* end confdefs.h. */
41833 #include <math.h>
41834 #ifdef HAVE_IEEEFP_H
41835 #include <ieeefp.h>
41836 #endif
41839 main ()
41841 isnanl(0);
41843 return 0;
41845 _ACEOF
41846 if ac_fn_cxx_try_compile "$LINENO"; then :
41847 glibcxx_cv_func_isnanl_use=yes
41848 else
41849 glibcxx_cv_func_isnanl_use=no
41851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41852 ac_ext=c
41853 ac_cpp='$CPP $CPPFLAGS'
41854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41863 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41865 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41866 for ac_func in isnanl
41867 do :
41868 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41869 if test "x$ac_cv_func_isnanl" = x""yes; then :
41870 cat >>confdefs.h <<_ACEOF
41871 #define HAVE_ISNANL 1
41872 _ACEOF
41875 done
41877 else
41879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41880 $as_echo_n "checking for _isnanl declaration... " >&6; }
41881 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41882 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41883 $as_echo_n "(cached) " >&6
41884 else
41887 ac_ext=cpp
41888 ac_cpp='$CXXCPP $CPPFLAGS'
41889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41894 /* end confdefs.h. */
41895 #include <math.h>
41896 #ifdef HAVE_IEEEFP_H
41897 #include <ieeefp.h>
41898 #endif
41901 main ()
41903 _isnanl(0);
41905 return 0;
41907 _ACEOF
41908 if ac_fn_cxx_try_compile "$LINENO"; then :
41909 glibcxx_cv_func__isnanl_use=yes
41910 else
41911 glibcxx_cv_func__isnanl_use=no
41913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41914 ac_ext=c
41915 ac_cpp='$CPP $CPPFLAGS'
41916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41925 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41927 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41928 for ac_func in _isnanl
41929 do :
41930 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41931 if test "x$ac_cv_func__isnanl" = x""yes; then :
41932 cat >>confdefs.h <<_ACEOF
41933 #define HAVE__ISNANL 1
41934 _ACEOF
41937 done
41946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41947 $as_echo_n "checking for isinfl declaration... " >&6; }
41948 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41949 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41950 $as_echo_n "(cached) " >&6
41951 else
41954 ac_ext=cpp
41955 ac_cpp='$CXXCPP $CPPFLAGS'
41956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41961 /* end confdefs.h. */
41962 #include <math.h>
41963 #ifdef HAVE_IEEEFP_H
41964 #include <ieeefp.h>
41965 #endif
41968 main ()
41970 isinfl(0);
41972 return 0;
41974 _ACEOF
41975 if ac_fn_cxx_try_compile "$LINENO"; then :
41976 glibcxx_cv_func_isinfl_use=yes
41977 else
41978 glibcxx_cv_func_isinfl_use=no
41980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41981 ac_ext=c
41982 ac_cpp='$CPP $CPPFLAGS'
41983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41992 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41994 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41995 for ac_func in isinfl
41996 do :
41997 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41998 if test "x$ac_cv_func_isinfl" = x""yes; then :
41999 cat >>confdefs.h <<_ACEOF
42000 #define HAVE_ISINFL 1
42001 _ACEOF
42004 done
42006 else
42008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42009 $as_echo_n "checking for _isinfl declaration... " >&6; }
42010 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42011 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42012 $as_echo_n "(cached) " >&6
42013 else
42016 ac_ext=cpp
42017 ac_cpp='$CXXCPP $CPPFLAGS'
42018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h. */
42024 #include <math.h>
42025 #ifdef HAVE_IEEEFP_H
42026 #include <ieeefp.h>
42027 #endif
42030 main ()
42032 _isinfl(0);
42034 return 0;
42036 _ACEOF
42037 if ac_fn_cxx_try_compile "$LINENO"; then :
42038 glibcxx_cv_func__isinfl_use=yes
42039 else
42040 glibcxx_cv_func__isinfl_use=no
42042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42043 ac_ext=c
42044 ac_cpp='$CPP $CPPFLAGS'
42045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42054 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42056 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42057 for ac_func in _isinfl
42058 do :
42059 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42060 if test "x$ac_cv_func__isinfl" = x""yes; then :
42061 cat >>confdefs.h <<_ACEOF
42062 #define HAVE__ISINFL 1
42063 _ACEOF
42066 done
42075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42076 $as_echo_n "checking for atan2l declaration... " >&6; }
42077 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42078 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42079 $as_echo_n "(cached) " >&6
42080 else
42083 ac_ext=cpp
42084 ac_cpp='$CXXCPP $CPPFLAGS'
42085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42090 /* end confdefs.h. */
42091 #include <math.h>
42093 main ()
42095 atan2l(0, 0);
42097 return 0;
42099 _ACEOF
42100 if ac_fn_cxx_try_compile "$LINENO"; then :
42101 glibcxx_cv_func_atan2l_use=yes
42102 else
42103 glibcxx_cv_func_atan2l_use=no
42105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42106 ac_ext=c
42107 ac_cpp='$CPP $CPPFLAGS'
42108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42117 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42119 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42120 for ac_func in atan2l
42121 do :
42122 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42123 if test "x$ac_cv_func_atan2l" = x""yes; then :
42124 cat >>confdefs.h <<_ACEOF
42125 #define HAVE_ATAN2L 1
42126 _ACEOF
42129 done
42131 else
42133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42134 $as_echo_n "checking for _atan2l declaration... " >&6; }
42135 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42136 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42137 $as_echo_n "(cached) " >&6
42138 else
42141 ac_ext=cpp
42142 ac_cpp='$CXXCPP $CPPFLAGS'
42143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42148 /* end confdefs.h. */
42149 #include <math.h>
42151 main ()
42153 _atan2l(0, 0);
42155 return 0;
42157 _ACEOF
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159 glibcxx_cv_func__atan2l_use=yes
42160 else
42161 glibcxx_cv_func__atan2l_use=no
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42164 ac_ext=c
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42175 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42177 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42178 for ac_func in _atan2l
42179 do :
42180 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42181 if test "x$ac_cv_func__atan2l" = x""yes; then :
42182 cat >>confdefs.h <<_ACEOF
42183 #define HAVE__ATAN2L 1
42184 _ACEOF
42187 done
42196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42197 $as_echo_n "checking for expl declaration... " >&6; }
42198 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42199 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42200 $as_echo_n "(cached) " >&6
42201 else
42204 ac_ext=cpp
42205 ac_cpp='$CXXCPP $CPPFLAGS'
42206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42211 /* end confdefs.h. */
42212 #include <math.h>
42213 #ifdef HAVE_IEEEFP_H
42214 #include <ieeefp.h>
42215 #endif
42218 main ()
42220 expl(0);
42222 return 0;
42224 _ACEOF
42225 if ac_fn_cxx_try_compile "$LINENO"; then :
42226 glibcxx_cv_func_expl_use=yes
42227 else
42228 glibcxx_cv_func_expl_use=no
42230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42231 ac_ext=c
42232 ac_cpp='$CPP $CPPFLAGS'
42233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42242 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42244 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42245 for ac_func in expl
42246 do :
42247 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42248 if test "x$ac_cv_func_expl" = x""yes; then :
42249 cat >>confdefs.h <<_ACEOF
42250 #define HAVE_EXPL 1
42251 _ACEOF
42254 done
42256 else
42258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42259 $as_echo_n "checking for _expl declaration... " >&6; }
42260 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42261 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42262 $as_echo_n "(cached) " >&6
42263 else
42266 ac_ext=cpp
42267 ac_cpp='$CXXCPP $CPPFLAGS'
42268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42273 /* end confdefs.h. */
42274 #include <math.h>
42275 #ifdef HAVE_IEEEFP_H
42276 #include <ieeefp.h>
42277 #endif
42280 main ()
42282 _expl(0);
42284 return 0;
42286 _ACEOF
42287 if ac_fn_cxx_try_compile "$LINENO"; then :
42288 glibcxx_cv_func__expl_use=yes
42289 else
42290 glibcxx_cv_func__expl_use=no
42292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42293 ac_ext=c
42294 ac_cpp='$CPP $CPPFLAGS'
42295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42304 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42306 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42307 for ac_func in _expl
42308 do :
42309 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42310 if test "x$ac_cv_func__expl" = x""yes; then :
42311 cat >>confdefs.h <<_ACEOF
42312 #define HAVE__EXPL 1
42313 _ACEOF
42316 done
42325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42326 $as_echo_n "checking for fabsl declaration... " >&6; }
42327 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42328 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42329 $as_echo_n "(cached) " >&6
42330 else
42333 ac_ext=cpp
42334 ac_cpp='$CXXCPP $CPPFLAGS'
42335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42340 /* end confdefs.h. */
42341 #include <math.h>
42342 #ifdef HAVE_IEEEFP_H
42343 #include <ieeefp.h>
42344 #endif
42347 main ()
42349 fabsl(0);
42351 return 0;
42353 _ACEOF
42354 if ac_fn_cxx_try_compile "$LINENO"; then :
42355 glibcxx_cv_func_fabsl_use=yes
42356 else
42357 glibcxx_cv_func_fabsl_use=no
42359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42360 ac_ext=c
42361 ac_cpp='$CPP $CPPFLAGS'
42362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42371 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42373 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42374 for ac_func in fabsl
42375 do :
42376 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42377 if test "x$ac_cv_func_fabsl" = x""yes; then :
42378 cat >>confdefs.h <<_ACEOF
42379 #define HAVE_FABSL 1
42380 _ACEOF
42383 done
42385 else
42387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42388 $as_echo_n "checking for _fabsl declaration... " >&6; }
42389 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42390 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42391 $as_echo_n "(cached) " >&6
42392 else
42395 ac_ext=cpp
42396 ac_cpp='$CXXCPP $CPPFLAGS'
42397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42402 /* end confdefs.h. */
42403 #include <math.h>
42404 #ifdef HAVE_IEEEFP_H
42405 #include <ieeefp.h>
42406 #endif
42409 main ()
42411 _fabsl(0);
42413 return 0;
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417 glibcxx_cv_func__fabsl_use=yes
42418 else
42419 glibcxx_cv_func__fabsl_use=no
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422 ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42433 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42435 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42436 for ac_func in _fabsl
42437 do :
42438 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42439 if test "x$ac_cv_func__fabsl" = x""yes; then :
42440 cat >>confdefs.h <<_ACEOF
42441 #define HAVE__FABSL 1
42442 _ACEOF
42445 done
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42455 $as_echo_n "checking for fmodl declaration... " >&6; }
42456 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42457 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42458 $as_echo_n "(cached) " >&6
42459 else
42462 ac_ext=cpp
42463 ac_cpp='$CXXCPP $CPPFLAGS'
42464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42469 /* end confdefs.h. */
42470 #include <math.h>
42472 main ()
42474 fmodl(0, 0);
42476 return 0;
42478 _ACEOF
42479 if ac_fn_cxx_try_compile "$LINENO"; then :
42480 glibcxx_cv_func_fmodl_use=yes
42481 else
42482 glibcxx_cv_func_fmodl_use=no
42484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42485 ac_ext=c
42486 ac_cpp='$CPP $CPPFLAGS'
42487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42496 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42498 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42499 for ac_func in fmodl
42500 do :
42501 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42502 if test "x$ac_cv_func_fmodl" = x""yes; then :
42503 cat >>confdefs.h <<_ACEOF
42504 #define HAVE_FMODL 1
42505 _ACEOF
42508 done
42510 else
42512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42513 $as_echo_n "checking for _fmodl declaration... " >&6; }
42514 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42515 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42516 $as_echo_n "(cached) " >&6
42517 else
42520 ac_ext=cpp
42521 ac_cpp='$CXXCPP $CPPFLAGS'
42522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42527 /* end confdefs.h. */
42528 #include <math.h>
42530 main ()
42532 _fmodl(0, 0);
42534 return 0;
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538 glibcxx_cv_func__fmodl_use=yes
42539 else
42540 glibcxx_cv_func__fmodl_use=no
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42554 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42556 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42557 for ac_func in _fmodl
42558 do :
42559 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42560 if test "x$ac_cv_func__fmodl" = x""yes; then :
42561 cat >>confdefs.h <<_ACEOF
42562 #define HAVE__FMODL 1
42563 _ACEOF
42566 done
42575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42576 $as_echo_n "checking for frexpl declaration... " >&6; }
42577 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42578 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42579 $as_echo_n "(cached) " >&6
42580 else
42583 ac_ext=cpp
42584 ac_cpp='$CXXCPP $CPPFLAGS'
42585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42590 /* end confdefs.h. */
42591 #include <math.h>
42593 main ()
42595 frexpl(0, 0);
42597 return 0;
42599 _ACEOF
42600 if ac_fn_cxx_try_compile "$LINENO"; then :
42601 glibcxx_cv_func_frexpl_use=yes
42602 else
42603 glibcxx_cv_func_frexpl_use=no
42605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42606 ac_ext=c
42607 ac_cpp='$CPP $CPPFLAGS'
42608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42617 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42619 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42620 for ac_func in frexpl
42621 do :
42622 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42623 if test "x$ac_cv_func_frexpl" = x""yes; then :
42624 cat >>confdefs.h <<_ACEOF
42625 #define HAVE_FREXPL 1
42626 _ACEOF
42629 done
42631 else
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42634 $as_echo_n "checking for _frexpl declaration... " >&6; }
42635 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42636 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42637 $as_echo_n "(cached) " >&6
42638 else
42641 ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h. */
42649 #include <math.h>
42651 main ()
42653 _frexpl(0, 0);
42655 return 0;
42657 _ACEOF
42658 if ac_fn_cxx_try_compile "$LINENO"; then :
42659 glibcxx_cv_func__frexpl_use=yes
42660 else
42661 glibcxx_cv_func__frexpl_use=no
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42664 ac_ext=c
42665 ac_cpp='$CPP $CPPFLAGS'
42666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42675 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42677 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42678 for ac_func in _frexpl
42679 do :
42680 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42681 if test "x$ac_cv_func__frexpl" = x""yes; then :
42682 cat >>confdefs.h <<_ACEOF
42683 #define HAVE__FREXPL 1
42684 _ACEOF
42687 done
42696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42697 $as_echo_n "checking for hypotl declaration... " >&6; }
42698 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42699 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42700 $as_echo_n "(cached) " >&6
42701 else
42704 ac_ext=cpp
42705 ac_cpp='$CXXCPP $CPPFLAGS'
42706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42711 /* end confdefs.h. */
42712 #include <math.h>
42714 main ()
42716 hypotl(0, 0);
42718 return 0;
42720 _ACEOF
42721 if ac_fn_cxx_try_compile "$LINENO"; then :
42722 glibcxx_cv_func_hypotl_use=yes
42723 else
42724 glibcxx_cv_func_hypotl_use=no
42726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42727 ac_ext=c
42728 ac_cpp='$CPP $CPPFLAGS'
42729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42738 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42740 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42741 for ac_func in hypotl
42742 do :
42743 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42744 if test "x$ac_cv_func_hypotl" = x""yes; then :
42745 cat >>confdefs.h <<_ACEOF
42746 #define HAVE_HYPOTL 1
42747 _ACEOF
42750 done
42752 else
42754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42755 $as_echo_n "checking for _hypotl declaration... " >&6; }
42756 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42757 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42758 $as_echo_n "(cached) " >&6
42759 else
42762 ac_ext=cpp
42763 ac_cpp='$CXXCPP $CPPFLAGS'
42764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42769 /* end confdefs.h. */
42770 #include <math.h>
42772 main ()
42774 _hypotl(0, 0);
42776 return 0;
42778 _ACEOF
42779 if ac_fn_cxx_try_compile "$LINENO"; then :
42780 glibcxx_cv_func__hypotl_use=yes
42781 else
42782 glibcxx_cv_func__hypotl_use=no
42784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42785 ac_ext=c
42786 ac_cpp='$CPP $CPPFLAGS'
42787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42796 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42798 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42799 for ac_func in _hypotl
42800 do :
42801 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42802 if test "x$ac_cv_func__hypotl" = x""yes; then :
42803 cat >>confdefs.h <<_ACEOF
42804 #define HAVE__HYPOTL 1
42805 _ACEOF
42808 done
42817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42818 $as_echo_n "checking for ldexpl declaration... " >&6; }
42819 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42820 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42821 $as_echo_n "(cached) " >&6
42822 else
42825 ac_ext=cpp
42826 ac_cpp='$CXXCPP $CPPFLAGS'
42827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42832 /* end confdefs.h. */
42833 #include <math.h>
42835 main ()
42837 ldexpl(0, 0);
42839 return 0;
42841 _ACEOF
42842 if ac_fn_cxx_try_compile "$LINENO"; then :
42843 glibcxx_cv_func_ldexpl_use=yes
42844 else
42845 glibcxx_cv_func_ldexpl_use=no
42847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42848 ac_ext=c
42849 ac_cpp='$CPP $CPPFLAGS'
42850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42859 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42861 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42862 for ac_func in ldexpl
42863 do :
42864 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42865 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42866 cat >>confdefs.h <<_ACEOF
42867 #define HAVE_LDEXPL 1
42868 _ACEOF
42871 done
42873 else
42875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42876 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42877 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42878 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42879 $as_echo_n "(cached) " >&6
42880 else
42883 ac_ext=cpp
42884 ac_cpp='$CXXCPP $CPPFLAGS'
42885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42890 /* end confdefs.h. */
42891 #include <math.h>
42893 main ()
42895 _ldexpl(0, 0);
42897 return 0;
42899 _ACEOF
42900 if ac_fn_cxx_try_compile "$LINENO"; then :
42901 glibcxx_cv_func__ldexpl_use=yes
42902 else
42903 glibcxx_cv_func__ldexpl_use=no
42905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42906 ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42917 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42919 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42920 for ac_func in _ldexpl
42921 do :
42922 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42923 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42924 cat >>confdefs.h <<_ACEOF
42925 #define HAVE__LDEXPL 1
42926 _ACEOF
42929 done
42938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42939 $as_echo_n "checking for logl declaration... " >&6; }
42940 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42941 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42942 $as_echo_n "(cached) " >&6
42943 else
42946 ac_ext=cpp
42947 ac_cpp='$CXXCPP $CPPFLAGS'
42948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42953 /* end confdefs.h. */
42954 #include <math.h>
42955 #ifdef HAVE_IEEEFP_H
42956 #include <ieeefp.h>
42957 #endif
42960 main ()
42962 logl(0);
42964 return 0;
42966 _ACEOF
42967 if ac_fn_cxx_try_compile "$LINENO"; then :
42968 glibcxx_cv_func_logl_use=yes
42969 else
42970 glibcxx_cv_func_logl_use=no
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973 ac_ext=c
42974 ac_cpp='$CPP $CPPFLAGS'
42975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42984 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42986 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42987 for ac_func in logl
42988 do :
42989 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42990 if test "x$ac_cv_func_logl" = x""yes; then :
42991 cat >>confdefs.h <<_ACEOF
42992 #define HAVE_LOGL 1
42993 _ACEOF
42996 done
42998 else
43000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43001 $as_echo_n "checking for _logl declaration... " >&6; }
43002 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43003 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43004 $as_echo_n "(cached) " >&6
43005 else
43008 ac_ext=cpp
43009 ac_cpp='$CXXCPP $CPPFLAGS'
43010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43015 /* end confdefs.h. */
43016 #include <math.h>
43017 #ifdef HAVE_IEEEFP_H
43018 #include <ieeefp.h>
43019 #endif
43022 main ()
43024 _logl(0);
43026 return 0;
43028 _ACEOF
43029 if ac_fn_cxx_try_compile "$LINENO"; then :
43030 glibcxx_cv_func__logl_use=yes
43031 else
43032 glibcxx_cv_func__logl_use=no
43034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43035 ac_ext=c
43036 ac_cpp='$CPP $CPPFLAGS'
43037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43046 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43048 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43049 for ac_func in _logl
43050 do :
43051 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43052 if test "x$ac_cv_func__logl" = x""yes; then :
43053 cat >>confdefs.h <<_ACEOF
43054 #define HAVE__LOGL 1
43055 _ACEOF
43058 done
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43068 $as_echo_n "checking for log10l declaration... " >&6; }
43069 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43070 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43071 $as_echo_n "(cached) " >&6
43072 else
43075 ac_ext=cpp
43076 ac_cpp='$CXXCPP $CPPFLAGS'
43077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43082 /* end confdefs.h. */
43083 #include <math.h>
43084 #ifdef HAVE_IEEEFP_H
43085 #include <ieeefp.h>
43086 #endif
43089 main ()
43091 log10l(0);
43093 return 0;
43095 _ACEOF
43096 if ac_fn_cxx_try_compile "$LINENO"; then :
43097 glibcxx_cv_func_log10l_use=yes
43098 else
43099 glibcxx_cv_func_log10l_use=no
43101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43102 ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43113 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43115 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43116 for ac_func in log10l
43117 do :
43118 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43119 if test "x$ac_cv_func_log10l" = x""yes; then :
43120 cat >>confdefs.h <<_ACEOF
43121 #define HAVE_LOG10L 1
43122 _ACEOF
43125 done
43127 else
43129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43130 $as_echo_n "checking for _log10l declaration... " >&6; }
43131 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43132 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43133 $as_echo_n "(cached) " >&6
43134 else
43137 ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h. */
43145 #include <math.h>
43146 #ifdef HAVE_IEEEFP_H
43147 #include <ieeefp.h>
43148 #endif
43151 main ()
43153 _log10l(0);
43155 return 0;
43157 _ACEOF
43158 if ac_fn_cxx_try_compile "$LINENO"; then :
43159 glibcxx_cv_func__log10l_use=yes
43160 else
43161 glibcxx_cv_func__log10l_use=no
43163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43164 ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43175 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43177 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43178 for ac_func in _log10l
43179 do :
43180 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43181 if test "x$ac_cv_func__log10l" = x""yes; then :
43182 cat >>confdefs.h <<_ACEOF
43183 #define HAVE__LOG10L 1
43184 _ACEOF
43187 done
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43197 $as_echo_n "checking for modfl declaration... " >&6; }
43198 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43199 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43200 $as_echo_n "(cached) " >&6
43201 else
43204 ac_ext=cpp
43205 ac_cpp='$CXXCPP $CPPFLAGS'
43206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43211 /* end confdefs.h. */
43212 #include <math.h>
43214 main ()
43216 modfl(0, 0);
43218 return 0;
43220 _ACEOF
43221 if ac_fn_cxx_try_compile "$LINENO"; then :
43222 glibcxx_cv_func_modfl_use=yes
43223 else
43224 glibcxx_cv_func_modfl_use=no
43226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43227 ac_ext=c
43228 ac_cpp='$CPP $CPPFLAGS'
43229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43238 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43240 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43241 for ac_func in modfl
43242 do :
43243 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43244 if test "x$ac_cv_func_modfl" = x""yes; then :
43245 cat >>confdefs.h <<_ACEOF
43246 #define HAVE_MODFL 1
43247 _ACEOF
43250 done
43252 else
43254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43255 $as_echo_n "checking for _modfl declaration... " >&6; }
43256 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43257 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43258 $as_echo_n "(cached) " >&6
43259 else
43262 ac_ext=cpp
43263 ac_cpp='$CXXCPP $CPPFLAGS'
43264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43269 /* end confdefs.h. */
43270 #include <math.h>
43272 main ()
43274 _modfl(0, 0);
43276 return 0;
43278 _ACEOF
43279 if ac_fn_cxx_try_compile "$LINENO"; then :
43280 glibcxx_cv_func__modfl_use=yes
43281 else
43282 glibcxx_cv_func__modfl_use=no
43284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43285 ac_ext=c
43286 ac_cpp='$CPP $CPPFLAGS'
43287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43296 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43298 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43299 for ac_func in _modfl
43300 do :
43301 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43302 if test "x$ac_cv_func__modfl" = x""yes; then :
43303 cat >>confdefs.h <<_ACEOF
43304 #define HAVE__MODFL 1
43305 _ACEOF
43308 done
43317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43318 $as_echo_n "checking for powl declaration... " >&6; }
43319 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43320 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43321 $as_echo_n "(cached) " >&6
43322 else
43325 ac_ext=cpp
43326 ac_cpp='$CXXCPP $CPPFLAGS'
43327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43332 /* end confdefs.h. */
43333 #include <math.h>
43335 main ()
43337 powl(0, 0);
43339 return 0;
43341 _ACEOF
43342 if ac_fn_cxx_try_compile "$LINENO"; then :
43343 glibcxx_cv_func_powl_use=yes
43344 else
43345 glibcxx_cv_func_powl_use=no
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348 ac_ext=c
43349 ac_cpp='$CPP $CPPFLAGS'
43350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43359 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43361 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43362 for ac_func in powl
43363 do :
43364 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43365 if test "x$ac_cv_func_powl" = x""yes; then :
43366 cat >>confdefs.h <<_ACEOF
43367 #define HAVE_POWL 1
43368 _ACEOF
43371 done
43373 else
43375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43376 $as_echo_n "checking for _powl declaration... " >&6; }
43377 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43378 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43379 $as_echo_n "(cached) " >&6
43380 else
43383 ac_ext=cpp
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43390 /* end confdefs.h. */
43391 #include <math.h>
43393 main ()
43395 _powl(0, 0);
43397 return 0;
43399 _ACEOF
43400 if ac_fn_cxx_try_compile "$LINENO"; then :
43401 glibcxx_cv_func__powl_use=yes
43402 else
43403 glibcxx_cv_func__powl_use=no
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43417 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43419 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43420 for ac_func in _powl
43421 do :
43422 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43423 if test "x$ac_cv_func__powl" = x""yes; then :
43424 cat >>confdefs.h <<_ACEOF
43425 #define HAVE__POWL 1
43426 _ACEOF
43429 done
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43439 $as_echo_n "checking for sqrtl declaration... " >&6; }
43440 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43441 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43442 $as_echo_n "(cached) " >&6
43443 else
43446 ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h. */
43454 #include <math.h>
43455 #ifdef HAVE_IEEEFP_H
43456 #include <ieeefp.h>
43457 #endif
43460 main ()
43462 sqrtl(0);
43464 return 0;
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468 glibcxx_cv_func_sqrtl_use=yes
43469 else
43470 glibcxx_cv_func_sqrtl_use=no
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473 ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43484 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43486 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43487 for ac_func in sqrtl
43488 do :
43489 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43490 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43491 cat >>confdefs.h <<_ACEOF
43492 #define HAVE_SQRTL 1
43493 _ACEOF
43496 done
43498 else
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43501 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43502 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43503 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43504 $as_echo_n "(cached) " >&6
43505 else
43508 ac_ext=cpp
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43515 /* end confdefs.h. */
43516 #include <math.h>
43517 #ifdef HAVE_IEEEFP_H
43518 #include <ieeefp.h>
43519 #endif
43522 main ()
43524 _sqrtl(0);
43526 return 0;
43528 _ACEOF
43529 if ac_fn_cxx_try_compile "$LINENO"; then :
43530 glibcxx_cv_func__sqrtl_use=yes
43531 else
43532 glibcxx_cv_func__sqrtl_use=no
43534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43535 ac_ext=c
43536 ac_cpp='$CPP $CPPFLAGS'
43537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43546 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43548 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43549 for ac_func in _sqrtl
43550 do :
43551 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43552 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43553 cat >>confdefs.h <<_ACEOF
43554 #define HAVE__SQRTL 1
43555 _ACEOF
43558 done
43567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43568 $as_echo_n "checking for sincosl declaration... " >&6; }
43569 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43570 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43571 $as_echo_n "(cached) " >&6
43572 else
43575 ac_ext=cpp
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43582 /* end confdefs.h. */
43583 #include <math.h>
43585 main ()
43587 sincosl(0, 0, 0);
43589 return 0;
43591 _ACEOF
43592 if ac_fn_cxx_try_compile "$LINENO"; then :
43593 glibcxx_cv_func_sincosl_use=yes
43594 else
43595 glibcxx_cv_func_sincosl_use=no
43597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 ac_ext=c
43599 ac_cpp='$CPP $CPPFLAGS'
43600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43609 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43611 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43612 for ac_func in sincosl
43613 do :
43614 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43615 if test "x$ac_cv_func_sincosl" = x""yes; then :
43616 cat >>confdefs.h <<_ACEOF
43617 #define HAVE_SINCOSL 1
43618 _ACEOF
43621 done
43623 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43626 $as_echo_n "checking for _sincosl declaration... " >&6; }
43627 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43628 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43629 $as_echo_n "(cached) " >&6
43630 else
43633 ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640 /* end confdefs.h. */
43641 #include <math.h>
43643 main ()
43645 _sincosl(0, 0, 0);
43647 return 0;
43649 _ACEOF
43650 if ac_fn_cxx_try_compile "$LINENO"; then :
43651 glibcxx_cv_func__sincosl_use=yes
43652 else
43653 glibcxx_cv_func__sincosl_use=no
43655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43656 ac_ext=c
43657 ac_cpp='$CPP $CPPFLAGS'
43658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43667 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43669 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43670 for ac_func in _sincosl
43671 do :
43672 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43673 if test "x$ac_cv_func__sincosl" = x""yes; then :
43674 cat >>confdefs.h <<_ACEOF
43675 #define HAVE__SINCOSL 1
43676 _ACEOF
43679 done
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43689 $as_echo_n "checking for finitel declaration... " >&6; }
43690 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43691 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43692 $as_echo_n "(cached) " >&6
43693 else
43696 ac_ext=cpp
43697 ac_cpp='$CXXCPP $CPPFLAGS'
43698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43703 /* end confdefs.h. */
43704 #include <math.h>
43705 #ifdef HAVE_IEEEFP_H
43706 #include <ieeefp.h>
43707 #endif
43710 main ()
43712 finitel(0);
43714 return 0;
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718 glibcxx_cv_func_finitel_use=yes
43719 else
43720 glibcxx_cv_func_finitel_use=no
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723 ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43734 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43736 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43737 for ac_func in finitel
43738 do :
43739 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43740 if test "x$ac_cv_func_finitel" = x""yes; then :
43741 cat >>confdefs.h <<_ACEOF
43742 #define HAVE_FINITEL 1
43743 _ACEOF
43746 done
43748 else
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43751 $as_echo_n "checking for _finitel declaration... " >&6; }
43752 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43753 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43754 $as_echo_n "(cached) " >&6
43755 else
43758 ac_ext=cpp
43759 ac_cpp='$CXXCPP $CPPFLAGS'
43760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43765 /* end confdefs.h. */
43766 #include <math.h>
43767 #ifdef HAVE_IEEEFP_H
43768 #include <ieeefp.h>
43769 #endif
43772 main ()
43774 _finitel(0);
43776 return 0;
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780 glibcxx_cv_func__finitel_use=yes
43781 else
43782 glibcxx_cv_func__finitel_use=no
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785 ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43796 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43798 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43799 for ac_func in _finitel
43800 do :
43801 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43802 if test "x$ac_cv_func__finitel" = x""yes; then :
43803 cat >>confdefs.h <<_ACEOF
43804 #define HAVE__FINITEL 1
43805 _ACEOF
43808 done
43816 LIBS="$ac_save_LIBS"
43817 CXXFLAGS="$ac_save_CXXFLAGS"
43820 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43821 ac_save_CXXFLAGS="$CXXFLAGS"
43822 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43826 $as_echo_n "checking for strtold declaration... " >&6; }
43827 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43828 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43829 $as_echo_n "(cached) " >&6
43830 else
43833 ac_ext=cpp
43834 ac_cpp='$CXXCPP $CPPFLAGS'
43835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43840 /* end confdefs.h. */
43841 #include <stdlib.h>
43843 main ()
43845 strtold(0, 0);
43847 return 0;
43849 _ACEOF
43850 if ac_fn_cxx_try_compile "$LINENO"; then :
43851 glibcxx_cv_func_strtold_use=yes
43852 else
43853 glibcxx_cv_func_strtold_use=no
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856 ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43867 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43868 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43869 for ac_func in strtold
43870 do :
43871 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43872 if test "x$ac_cv_func_strtold" = x""yes; then :
43873 cat >>confdefs.h <<_ACEOF
43874 #define HAVE_STRTOLD 1
43875 _ACEOF
43878 done
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43886 $as_echo_n "checking for strtof declaration... " >&6; }
43887 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43888 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43889 $as_echo_n "(cached) " >&6
43890 else
43893 ac_ext=cpp
43894 ac_cpp='$CXXCPP $CPPFLAGS'
43895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43900 /* end confdefs.h. */
43901 #include <stdlib.h>
43903 main ()
43905 strtof(0, 0);
43907 return 0;
43909 _ACEOF
43910 if ac_fn_cxx_try_compile "$LINENO"; then :
43911 glibcxx_cv_func_strtof_use=yes
43912 else
43913 glibcxx_cv_func_strtof_use=no
43915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43916 ac_ext=c
43917 ac_cpp='$CPP $CPPFLAGS'
43918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43927 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43928 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43929 for ac_func in strtof
43930 do :
43931 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43932 if test "x$ac_cv_func_strtof" = x""yes; then :
43933 cat >>confdefs.h <<_ACEOF
43934 #define HAVE_STRTOF 1
43935 _ACEOF
43938 done
43945 CXXFLAGS="$ac_save_CXXFLAGS"
43949 *djgpp)
43950 # GLIBCXX_CHECK_MATH_SUPPORT
43951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43953 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43955 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43957 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43959 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43963 *-freebsd*)
43964 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43967 # If we're not using GNU ld, then there's no point in even trying these
43968 # tests. Check for that first. We should have already tested for gld
43969 # by now (in libtool), but require it now just to be safe...
43970 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43971 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43975 # The name set by libtool depends on the version of libtool. Shame on us
43976 # for depending on an impl detail, but c'est la vie. Older versions used
43977 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43978 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43979 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43980 # set (hence we're using an older libtool), then set it.
43981 if test x${with_gnu_ld+set} != xset; then
43982 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43983 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43984 with_gnu_ld=no
43985 else
43986 with_gnu_ld=$ac_cv_prog_gnu_ld
43990 # Start by getting the version number. I think the libtool test already
43991 # does some of this, but throws away the result.
43992 glibcxx_ld_is_gold=no
43993 if test x"$with_gnu_ld" = x"yes"; then
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43995 $as_echo_n "checking for ld version... " >&6; }
43997 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43998 glibcxx_ld_is_gold=yes
44000 ldver=`$LD --version 2>/dev/null |
44001 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'`
44003 glibcxx_gnu_ld_version=`echo $ldver | \
44004 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44006 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44009 # Set --gc-sections.
44010 glibcxx_have_gc_sections=no
44011 if test "$glibcxx_ld_is_gold" = "yes"; then
44012 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44013 glibcxx_have_gc_sections=yes
44015 else
44016 glibcxx_gcsections_min_ld=21602
44017 if test x"$with_gnu_ld" = x"yes" &&
44018 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44019 glibcxx_have_gc_sections=yes
44022 if test "$glibcxx_have_gc_sections" = "yes"; then
44023 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44024 # NB: This flag only works reliably after 2.16.1. Configure tests
44025 # for this are difficult, so hard wire a value that should work.
44027 ac_test_CFLAGS="${CFLAGS+set}"
44028 ac_save_CFLAGS="$CFLAGS"
44029 CFLAGS='-Wl,--gc-sections'
44031 # Check for -Wl,--gc-sections
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44033 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44034 if test x$gcc_no_link = xyes; then
44035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 int one(void) { return 1; }
44040 int two(void) { return 2; }
44043 main ()
44045 two();
44047 return 0;
44049 _ACEOF
44050 if ac_fn_c_try_link "$LINENO"; then :
44051 ac_gcsections=yes
44052 else
44053 ac_gcsections=no
44055 rm -f core conftest.err conftest.$ac_objext \
44056 conftest$ac_exeext conftest.$ac_ext
44057 if test "$ac_gcsections" = "yes"; then
44058 rm -f conftest.c
44059 touch conftest.c
44060 if $CC -c conftest.c; then
44061 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44062 grep "Warning: gc-sections option ignored" > /dev/null; then
44063 ac_gcsections=no
44066 rm -f conftest.c conftest.o conftest
44068 if test "$ac_gcsections" = "yes"; then
44069 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44072 $as_echo "$ac_gcsections" >&6; }
44074 if test "$ac_test_CFLAGS" = set; then
44075 CFLAGS="$ac_save_CFLAGS"
44076 else
44077 # this is the suspicious part
44078 CFLAGS=''
44082 # Set -z,relro.
44083 # Note this is only for shared objects.
44084 ac_ld_relro=no
44085 if test x"$with_gnu_ld" = x"yes"; then
44086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44087 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44088 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44089 if test -n "$cxx_z_relo"; then
44090 OPT_LDFLAGS="-Wl,-z,relro"
44091 ac_ld_relro=yes
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44094 $as_echo "$ac_ld_relro" >&6; }
44097 # Set linker optimization flags.
44098 if test x"$with_gnu_ld" = x"yes"; then
44099 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44105 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44107 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44109 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44111 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44113 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44115 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44117 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44121 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44124 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44126 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44128 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44130 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44132 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44134 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44136 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44138 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44140 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44142 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44144 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44146 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44148 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44150 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44152 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44154 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44156 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44158 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44160 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44162 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44164 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44166 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44168 if test x"long_double_math_on_this_cpu" = x"yes"; then
44169 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44171 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44173 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44177 *-hpux*)
44178 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44181 # If we're not using GNU ld, then there's no point in even trying these
44182 # tests. Check for that first. We should have already tested for gld
44183 # by now (in libtool), but require it now just to be safe...
44184 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44185 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44189 # The name set by libtool depends on the version of libtool. Shame on us
44190 # for depending on an impl detail, but c'est la vie. Older versions used
44191 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44192 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44193 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44194 # set (hence we're using an older libtool), then set it.
44195 if test x${with_gnu_ld+set} != xset; then
44196 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44197 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44198 with_gnu_ld=no
44199 else
44200 with_gnu_ld=$ac_cv_prog_gnu_ld
44204 # Start by getting the version number. I think the libtool test already
44205 # does some of this, but throws away the result.
44206 glibcxx_ld_is_gold=no
44207 if test x"$with_gnu_ld" = x"yes"; then
44208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44209 $as_echo_n "checking for ld version... " >&6; }
44211 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44212 glibcxx_ld_is_gold=yes
44214 ldver=`$LD --version 2>/dev/null |
44215 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'`
44217 glibcxx_gnu_ld_version=`echo $ldver | \
44218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44220 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44223 # Set --gc-sections.
44224 glibcxx_have_gc_sections=no
44225 if test "$glibcxx_ld_is_gold" = "yes"; then
44226 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44227 glibcxx_have_gc_sections=yes
44229 else
44230 glibcxx_gcsections_min_ld=21602
44231 if test x"$with_gnu_ld" = x"yes" &&
44232 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44233 glibcxx_have_gc_sections=yes
44236 if test "$glibcxx_have_gc_sections" = "yes"; then
44237 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44238 # NB: This flag only works reliably after 2.16.1. Configure tests
44239 # for this are difficult, so hard wire a value that should work.
44241 ac_test_CFLAGS="${CFLAGS+set}"
44242 ac_save_CFLAGS="$CFLAGS"
44243 CFLAGS='-Wl,--gc-sections'
44245 # Check for -Wl,--gc-sections
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44247 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44248 if test x$gcc_no_link = xyes; then
44249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44252 /* end confdefs.h. */
44253 int one(void) { return 1; }
44254 int two(void) { return 2; }
44257 main ()
44259 two();
44261 return 0;
44263 _ACEOF
44264 if ac_fn_c_try_link "$LINENO"; then :
44265 ac_gcsections=yes
44266 else
44267 ac_gcsections=no
44269 rm -f core conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44271 if test "$ac_gcsections" = "yes"; then
44272 rm -f conftest.c
44273 touch conftest.c
44274 if $CC -c conftest.c; then
44275 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44276 grep "Warning: gc-sections option ignored" > /dev/null; then
44277 ac_gcsections=no
44280 rm -f conftest.c conftest.o conftest
44282 if test "$ac_gcsections" = "yes"; then
44283 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44286 $as_echo "$ac_gcsections" >&6; }
44288 if test "$ac_test_CFLAGS" = set; then
44289 CFLAGS="$ac_save_CFLAGS"
44290 else
44291 # this is the suspicious part
44292 CFLAGS=''
44296 # Set -z,relro.
44297 # Note this is only for shared objects.
44298 ac_ld_relro=no
44299 if test x"$with_gnu_ld" = x"yes"; then
44300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44301 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44302 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44303 if test -n "$cxx_z_relo"; then
44304 OPT_LDFLAGS="-Wl,-z,relro"
44305 ac_ld_relro=yes
44307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44308 $as_echo "$ac_ld_relro" >&6; }
44311 # Set linker optimization flags.
44312 if test x"$with_gnu_ld" = x"yes"; then
44313 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44320 # GLIBCXX_CHECK_MATH_SUPPORT
44321 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44323 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44325 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44327 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44329 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44331 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44333 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44335 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44337 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44339 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44341 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44343 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44345 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44347 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44349 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44351 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44353 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44355 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44357 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44359 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44361 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44364 # GLIBCXX_CHECK_STDLIB_SUPPORT
44365 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44370 # Check whether --enable-tls was given.
44371 if test "${enable_tls+set}" = set; then :
44372 enableval=$enable_tls;
44373 case "$enableval" in
44374 yes|no) ;;
44375 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44376 esac
44378 else
44379 enable_tls=yes
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44384 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44385 if test "${gcc_cv_have_tls+set}" = set; then :
44386 $as_echo_n "(cached) " >&6
44387 else
44389 if test "$cross_compiling" = yes; then :
44390 if test x$gcc_no_link = xyes; then
44391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 __thread int a; int b; int main() { return a = b; }
44396 _ACEOF
44397 if ac_fn_c_try_link "$LINENO"; then :
44398 chktls_save_LDFLAGS="$LDFLAGS"
44399 case $host in
44400 *-*-linux*)
44401 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44403 esac
44404 chktls_save_CFLAGS="$CFLAGS"
44405 CFLAGS="-fPIC $CFLAGS"
44406 if test x$gcc_no_link = xyes; then
44407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44410 /* end confdefs.h. */
44411 int f() { return 0; }
44412 _ACEOF
44413 if ac_fn_c_try_link "$LINENO"; then :
44414 if test x$gcc_no_link = xyes; then
44415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 __thread int a; int b; int f() { return a = b; }
44420 _ACEOF
44421 if ac_fn_c_try_link "$LINENO"; then :
44422 gcc_cv_have_tls=yes
44423 else
44424 gcc_cv_have_tls=no
44426 rm -f core conftest.err conftest.$ac_objext \
44427 conftest$ac_exeext conftest.$ac_ext
44428 else
44429 gcc_cv_have_tls=yes
44431 rm -f core conftest.err conftest.$ac_objext \
44432 conftest$ac_exeext conftest.$ac_ext
44433 CFLAGS="$chktls_save_CFLAGS"
44434 LDFLAGS="$chktls_save_LDFLAGS"
44435 else
44436 gcc_cv_have_tls=no
44438 rm -f core conftest.err conftest.$ac_objext \
44439 conftest$ac_exeext conftest.$ac_ext
44442 else
44443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44444 /* end confdefs.h. */
44445 __thread int a; int b; int main() { return a = b; }
44446 _ACEOF
44447 if ac_fn_c_try_run "$LINENO"; then :
44448 chktls_save_LDFLAGS="$LDFLAGS"
44449 LDFLAGS="-static $LDFLAGS"
44450 if test x$gcc_no_link = xyes; then
44451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44454 /* end confdefs.h. */
44455 int main() { return 0; }
44456 _ACEOF
44457 if ac_fn_c_try_link "$LINENO"; then :
44458 if test "$cross_compiling" = yes; then :
44459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44461 as_fn_error "cannot run test program while cross compiling
44462 See \`config.log' for more details." "$LINENO" 5; }
44463 else
44464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h. */
44466 __thread int a; int b; int main() { return a = b; }
44467 _ACEOF
44468 if ac_fn_c_try_run "$LINENO"; then :
44469 gcc_cv_have_tls=yes
44470 else
44471 gcc_cv_have_tls=no
44473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44474 conftest.$ac_objext conftest.beam conftest.$ac_ext
44477 else
44478 gcc_cv_have_tls=yes
44480 rm -f core conftest.err conftest.$ac_objext \
44481 conftest$ac_exeext conftest.$ac_ext
44482 LDFLAGS="$chktls_save_LDFLAGS"
44483 if test $gcc_cv_have_tls = yes; then
44484 chktls_save_CFLAGS="$CFLAGS"
44485 thread_CFLAGS=failed
44486 for flag in '' '-pthread' '-lpthread'; do
44487 CFLAGS="$flag $chktls_save_CFLAGS"
44488 if test x$gcc_no_link = xyes; then
44489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44492 /* end confdefs.h. */
44493 #include <pthread.h>
44494 void *g(void *d) { return NULL; }
44496 main ()
44498 pthread_t t; pthread_create(&t,NULL,g,NULL);
44500 return 0;
44502 _ACEOF
44503 if ac_fn_c_try_link "$LINENO"; then :
44504 thread_CFLAGS="$flag"
44506 rm -f core conftest.err conftest.$ac_objext \
44507 conftest$ac_exeext conftest.$ac_ext
44508 if test "X$thread_CFLAGS" != Xfailed; then
44509 break
44511 done
44512 CFLAGS="$chktls_save_CFLAGS"
44513 if test "X$thread_CFLAGS" != Xfailed; then
44514 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44515 if test "$cross_compiling" = yes; then :
44516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44518 as_fn_error "cannot run test program while cross compiling
44519 See \`config.log' for more details." "$LINENO" 5; }
44520 else
44521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44522 /* end confdefs.h. */
44523 #include <pthread.h>
44524 __thread int a;
44525 static int *volatile a_in_other_thread;
44526 static void *
44527 thread_func (void *arg)
44529 a_in_other_thread = &a;
44530 return (void *)0;
44533 main ()
44535 pthread_t thread;
44536 void *thread_retval;
44537 int *volatile a_in_main_thread;
44538 a_in_main_thread = &a;
44539 if (pthread_create (&thread, (pthread_attr_t *)0,
44540 thread_func, (void *)0))
44541 return 0;
44542 if (pthread_join (thread, &thread_retval))
44543 return 0;
44544 return (a_in_other_thread == a_in_main_thread);
44546 return 0;
44548 _ACEOF
44549 if ac_fn_c_try_run "$LINENO"; then :
44550 gcc_cv_have_tls=yes
44551 else
44552 gcc_cv_have_tls=no
44554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44555 conftest.$ac_objext conftest.beam conftest.$ac_ext
44558 CFLAGS="$chktls_save_CFLAGS"
44561 else
44562 gcc_cv_have_tls=no
44564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44565 conftest.$ac_objext conftest.beam conftest.$ac_ext
44569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44570 $as_echo "$gcc_cv_have_tls" >&6; }
44571 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44573 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44576 case "$target" in
44577 *-hpux10*)
44578 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44580 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44582 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44584 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44586 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44589 esac
44591 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44593 # All these tests are for C++; save the language and the compiler flags.
44594 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44595 # found in GLIBCXX_CONFIGURE.
44597 ac_ext=cpp
44598 ac_cpp='$CXXCPP $CPPFLAGS'
44599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44604 ac_save_CXXFLAGS="$CXXFLAGS"
44606 # Check for maintainer-mode bits.
44607 if test x"$USE_MAINTAINER_MODE" = xno; then
44608 WERROR=''
44609 else
44610 WERROR='-Werror'
44613 # Check for -ffunction-sections -fdata-sections
44614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44615 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44616 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44618 /* end confdefs.h. */
44619 int foo; void bar() { };
44621 main ()
44625 return 0;
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 ac_fdsections=yes
44630 else
44631 ac_fdsections=no
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 if test "$ac_test_CXXFLAGS" = set; then
44635 CXXFLAGS="$ac_save_CXXFLAGS"
44636 else
44637 # this is the suspicious part
44638 CXXFLAGS=''
44640 if test x"$ac_fdsections" = x"yes"; then
44641 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44644 $as_echo "$ac_fdsections" >&6; }
44646 ac_ext=c
44647 ac_cpp='$CPP $CPPFLAGS'
44648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44656 # If we're not using GNU ld, then there's no point in even trying these
44657 # tests. Check for that first. We should have already tested for gld
44658 # by now (in libtool), but require it now just to be safe...
44659 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44660 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44664 # The name set by libtool depends on the version of libtool. Shame on us
44665 # for depending on an impl detail, but c'est la vie. Older versions used
44666 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44667 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44668 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44669 # set (hence we're using an older libtool), then set it.
44670 if test x${with_gnu_ld+set} != xset; then
44671 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44672 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44673 with_gnu_ld=no
44674 else
44675 with_gnu_ld=$ac_cv_prog_gnu_ld
44679 # Start by getting the version number. I think the libtool test already
44680 # does some of this, but throws away the result.
44681 glibcxx_ld_is_gold=no
44682 if test x"$with_gnu_ld" = x"yes"; then
44683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44684 $as_echo_n "checking for ld version... " >&6; }
44686 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44687 glibcxx_ld_is_gold=yes
44689 ldver=`$LD --version 2>/dev/null |
44690 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'`
44692 glibcxx_gnu_ld_version=`echo $ldver | \
44693 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44695 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44698 # Set --gc-sections.
44699 glibcxx_have_gc_sections=no
44700 if test "$glibcxx_ld_is_gold" = "yes"; then
44701 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44702 glibcxx_have_gc_sections=yes
44704 else
44705 glibcxx_gcsections_min_ld=21602
44706 if test x"$with_gnu_ld" = x"yes" &&
44707 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44708 glibcxx_have_gc_sections=yes
44711 if test "$glibcxx_have_gc_sections" = "yes"; then
44712 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44713 # NB: This flag only works reliably after 2.16.1. Configure tests
44714 # for this are difficult, so hard wire a value that should work.
44716 ac_test_CFLAGS="${CFLAGS+set}"
44717 ac_save_CFLAGS="$CFLAGS"
44718 CFLAGS='-Wl,--gc-sections'
44720 # Check for -Wl,--gc-sections
44721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44722 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44723 if test x$gcc_no_link = xyes; then
44724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h. */
44728 int one(void) { return 1; }
44729 int two(void) { return 2; }
44732 main ()
44734 two();
44736 return 0;
44738 _ACEOF
44739 if ac_fn_c_try_link "$LINENO"; then :
44740 ac_gcsections=yes
44741 else
44742 ac_gcsections=no
44744 rm -f core conftest.err conftest.$ac_objext \
44745 conftest$ac_exeext conftest.$ac_ext
44746 if test "$ac_gcsections" = "yes"; then
44747 rm -f conftest.c
44748 touch conftest.c
44749 if $CC -c conftest.c; then
44750 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44751 grep "Warning: gc-sections option ignored" > /dev/null; then
44752 ac_gcsections=no
44755 rm -f conftest.c conftest.o conftest
44757 if test "$ac_gcsections" = "yes"; then
44758 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44761 $as_echo "$ac_gcsections" >&6; }
44763 if test "$ac_test_CFLAGS" = set; then
44764 CFLAGS="$ac_save_CFLAGS"
44765 else
44766 # this is the suspicious part
44767 CFLAGS=''
44771 # Set -z,relro.
44772 # Note this is only for shared objects.
44773 ac_ld_relro=no
44774 if test x"$with_gnu_ld" = x"yes"; then
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44776 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44777 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44778 if test -n "$cxx_z_relo"; then
44779 OPT_LDFLAGS="-Wl,-z,relro"
44780 ac_ld_relro=yes
44782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44783 $as_echo "$ac_ld_relro" >&6; }
44786 # Set linker optimization flags.
44787 if test x"$with_gnu_ld" = x"yes"; then
44788 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44795 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44796 ac_save_CXXFLAGS="$CXXFLAGS"
44797 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44800 $as_echo_n "checking for sin in -lm... " >&6; }
44801 if test "${ac_cv_lib_m_sin+set}" = set; then :
44802 $as_echo_n "(cached) " >&6
44803 else
44804 ac_check_lib_save_LIBS=$LIBS
44805 LIBS="-lm $LIBS"
44806 if test x$gcc_no_link = xyes; then
44807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44810 /* end confdefs.h. */
44812 /* Override any GCC internal prototype to avoid an error.
44813 Use char because int might match the return type of a GCC
44814 builtin and then its argument prototype would still apply. */
44815 #ifdef __cplusplus
44816 extern "C"
44817 #endif
44818 char sin ();
44820 main ()
44822 return sin ();
44824 return 0;
44826 _ACEOF
44827 if ac_fn_c_try_link "$LINENO"; then :
44828 ac_cv_lib_m_sin=yes
44829 else
44830 ac_cv_lib_m_sin=no
44832 rm -f core conftest.err conftest.$ac_objext \
44833 conftest$ac_exeext conftest.$ac_ext
44834 LIBS=$ac_check_lib_save_LIBS
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44837 $as_echo "$ac_cv_lib_m_sin" >&6; }
44838 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44839 libm="-lm"
44842 ac_save_LIBS="$LIBS"
44843 LIBS="$LIBS $libm"
44847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44848 $as_echo_n "checking for isinf declaration... " >&6; }
44849 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44850 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44851 $as_echo_n "(cached) " >&6
44852 else
44855 ac_ext=cpp
44856 ac_cpp='$CXXCPP $CPPFLAGS'
44857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44862 /* end confdefs.h. */
44863 #include <math.h>
44864 #ifdef HAVE_IEEEFP_H
44865 #include <ieeefp.h>
44866 #endif
44869 main ()
44871 isinf(0);
44873 return 0;
44875 _ACEOF
44876 if ac_fn_cxx_try_compile "$LINENO"; then :
44877 glibcxx_cv_func_isinf_use=yes
44878 else
44879 glibcxx_cv_func_isinf_use=no
44881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44882 ac_ext=c
44883 ac_cpp='$CPP $CPPFLAGS'
44884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44893 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44895 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44896 for ac_func in isinf
44897 do :
44898 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44899 if test "x$ac_cv_func_isinf" = x""yes; then :
44900 cat >>confdefs.h <<_ACEOF
44901 #define HAVE_ISINF 1
44902 _ACEOF
44905 done
44907 else
44909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44910 $as_echo_n "checking for _isinf declaration... " >&6; }
44911 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44912 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44913 $as_echo_n "(cached) " >&6
44914 else
44917 ac_ext=cpp
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924 /* end confdefs.h. */
44925 #include <math.h>
44926 #ifdef HAVE_IEEEFP_H
44927 #include <ieeefp.h>
44928 #endif
44931 main ()
44933 _isinf(0);
44935 return 0;
44937 _ACEOF
44938 if ac_fn_cxx_try_compile "$LINENO"; then :
44939 glibcxx_cv_func__isinf_use=yes
44940 else
44941 glibcxx_cv_func__isinf_use=no
44943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944 ac_ext=c
44945 ac_cpp='$CPP $CPPFLAGS'
44946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44955 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44957 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44958 for ac_func in _isinf
44959 do :
44960 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44961 if test "x$ac_cv_func__isinf" = x""yes; then :
44962 cat >>confdefs.h <<_ACEOF
44963 #define HAVE__ISINF 1
44964 _ACEOF
44967 done
44976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44977 $as_echo_n "checking for isnan declaration... " >&6; }
44978 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44979 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44980 $as_echo_n "(cached) " >&6
44981 else
44984 ac_ext=cpp
44985 ac_cpp='$CXXCPP $CPPFLAGS'
44986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44991 /* end confdefs.h. */
44992 #include <math.h>
44993 #ifdef HAVE_IEEEFP_H
44994 #include <ieeefp.h>
44995 #endif
44998 main ()
45000 isnan(0);
45002 return 0;
45004 _ACEOF
45005 if ac_fn_cxx_try_compile "$LINENO"; then :
45006 glibcxx_cv_func_isnan_use=yes
45007 else
45008 glibcxx_cv_func_isnan_use=no
45010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45011 ac_ext=c
45012 ac_cpp='$CPP $CPPFLAGS'
45013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45022 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45024 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45025 for ac_func in isnan
45026 do :
45027 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45028 if test "x$ac_cv_func_isnan" = x""yes; then :
45029 cat >>confdefs.h <<_ACEOF
45030 #define HAVE_ISNAN 1
45031 _ACEOF
45034 done
45036 else
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45039 $as_echo_n "checking for _isnan declaration... " >&6; }
45040 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45041 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45042 $as_echo_n "(cached) " >&6
45043 else
45046 ac_ext=cpp
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45053 /* end confdefs.h. */
45054 #include <math.h>
45055 #ifdef HAVE_IEEEFP_H
45056 #include <ieeefp.h>
45057 #endif
45060 main ()
45062 _isnan(0);
45064 return 0;
45066 _ACEOF
45067 if ac_fn_cxx_try_compile "$LINENO"; then :
45068 glibcxx_cv_func__isnan_use=yes
45069 else
45070 glibcxx_cv_func__isnan_use=no
45072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45073 ac_ext=c
45074 ac_cpp='$CPP $CPPFLAGS'
45075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45084 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45086 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45087 for ac_func in _isnan
45088 do :
45089 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45090 if test "x$ac_cv_func__isnan" = x""yes; then :
45091 cat >>confdefs.h <<_ACEOF
45092 #define HAVE__ISNAN 1
45093 _ACEOF
45096 done
45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45106 $as_echo_n "checking for finite declaration... " >&6; }
45107 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45108 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45109 $as_echo_n "(cached) " >&6
45110 else
45113 ac_ext=cpp
45114 ac_cpp='$CXXCPP $CPPFLAGS'
45115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120 /* end confdefs.h. */
45121 #include <math.h>
45122 #ifdef HAVE_IEEEFP_H
45123 #include <ieeefp.h>
45124 #endif
45127 main ()
45129 finite(0);
45131 return 0;
45133 _ACEOF
45134 if ac_fn_cxx_try_compile "$LINENO"; then :
45135 glibcxx_cv_func_finite_use=yes
45136 else
45137 glibcxx_cv_func_finite_use=no
45139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45140 ac_ext=c
45141 ac_cpp='$CPP $CPPFLAGS'
45142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45151 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45153 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45154 for ac_func in finite
45155 do :
45156 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45157 if test "x$ac_cv_func_finite" = x""yes; then :
45158 cat >>confdefs.h <<_ACEOF
45159 #define HAVE_FINITE 1
45160 _ACEOF
45163 done
45165 else
45167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45168 $as_echo_n "checking for _finite declaration... " >&6; }
45169 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45170 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45171 $as_echo_n "(cached) " >&6
45172 else
45175 ac_ext=cpp
45176 ac_cpp='$CXXCPP $CPPFLAGS'
45177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45182 /* end confdefs.h. */
45183 #include <math.h>
45184 #ifdef HAVE_IEEEFP_H
45185 #include <ieeefp.h>
45186 #endif
45189 main ()
45191 _finite(0);
45193 return 0;
45195 _ACEOF
45196 if ac_fn_cxx_try_compile "$LINENO"; then :
45197 glibcxx_cv_func__finite_use=yes
45198 else
45199 glibcxx_cv_func__finite_use=no
45201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45202 ac_ext=c
45203 ac_cpp='$CPP $CPPFLAGS'
45204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45213 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45215 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45216 for ac_func in _finite
45217 do :
45218 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45219 if test "x$ac_cv_func__finite" = x""yes; then :
45220 cat >>confdefs.h <<_ACEOF
45221 #define HAVE__FINITE 1
45222 _ACEOF
45225 done
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45235 $as_echo_n "checking for sincos declaration... " >&6; }
45236 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45237 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45238 $as_echo_n "(cached) " >&6
45239 else
45242 ac_ext=cpp
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45249 /* end confdefs.h. */
45250 #include <math.h>
45252 main ()
45254 sincos(0, 0, 0);
45256 return 0;
45258 _ACEOF
45259 if ac_fn_cxx_try_compile "$LINENO"; then :
45260 glibcxx_cv_func_sincos_use=yes
45261 else
45262 glibcxx_cv_func_sincos_use=no
45264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265 ac_ext=c
45266 ac_cpp='$CPP $CPPFLAGS'
45267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45276 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45278 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45279 for ac_func in sincos
45280 do :
45281 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45282 if test "x$ac_cv_func_sincos" = x""yes; then :
45283 cat >>confdefs.h <<_ACEOF
45284 #define HAVE_SINCOS 1
45285 _ACEOF
45288 done
45290 else
45292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45293 $as_echo_n "checking for _sincos declaration... " >&6; }
45294 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45295 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45296 $as_echo_n "(cached) " >&6
45297 else
45300 ac_ext=cpp
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h. */
45308 #include <math.h>
45310 main ()
45312 _sincos(0, 0, 0);
45314 return 0;
45316 _ACEOF
45317 if ac_fn_cxx_try_compile "$LINENO"; then :
45318 glibcxx_cv_func__sincos_use=yes
45319 else
45320 glibcxx_cv_func__sincos_use=no
45322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45323 ac_ext=c
45324 ac_cpp='$CPP $CPPFLAGS'
45325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45334 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45336 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45337 for ac_func in _sincos
45338 do :
45339 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45340 if test "x$ac_cv_func__sincos" = x""yes; then :
45341 cat >>confdefs.h <<_ACEOF
45342 #define HAVE__SINCOS 1
45343 _ACEOF
45346 done
45355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45356 $as_echo_n "checking for fpclass declaration... " >&6; }
45357 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45358 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45359 $as_echo_n "(cached) " >&6
45360 else
45363 ac_ext=cpp
45364 ac_cpp='$CXXCPP $CPPFLAGS'
45365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45370 /* end confdefs.h. */
45371 #include <math.h>
45372 #ifdef HAVE_IEEEFP_H
45373 #include <ieeefp.h>
45374 #endif
45377 main ()
45379 fpclass(0);
45381 return 0;
45383 _ACEOF
45384 if ac_fn_cxx_try_compile "$LINENO"; then :
45385 glibcxx_cv_func_fpclass_use=yes
45386 else
45387 glibcxx_cv_func_fpclass_use=no
45389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390 ac_ext=c
45391 ac_cpp='$CPP $CPPFLAGS'
45392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45401 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45403 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45404 for ac_func in fpclass
45405 do :
45406 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45407 if test "x$ac_cv_func_fpclass" = x""yes; then :
45408 cat >>confdefs.h <<_ACEOF
45409 #define HAVE_FPCLASS 1
45410 _ACEOF
45413 done
45415 else
45417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45418 $as_echo_n "checking for _fpclass declaration... " >&6; }
45419 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45420 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45421 $as_echo_n "(cached) " >&6
45422 else
45425 ac_ext=cpp
45426 ac_cpp='$CXXCPP $CPPFLAGS'
45427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45432 /* end confdefs.h. */
45433 #include <math.h>
45434 #ifdef HAVE_IEEEFP_H
45435 #include <ieeefp.h>
45436 #endif
45439 main ()
45441 _fpclass(0);
45443 return 0;
45445 _ACEOF
45446 if ac_fn_cxx_try_compile "$LINENO"; then :
45447 glibcxx_cv_func__fpclass_use=yes
45448 else
45449 glibcxx_cv_func__fpclass_use=no
45451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45452 ac_ext=c
45453 ac_cpp='$CPP $CPPFLAGS'
45454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45463 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45465 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45466 for ac_func in _fpclass
45467 do :
45468 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45469 if test "x$ac_cv_func__fpclass" = x""yes; then :
45470 cat >>confdefs.h <<_ACEOF
45471 #define HAVE__FPCLASS 1
45472 _ACEOF
45475 done
45484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45485 $as_echo_n "checking for qfpclass declaration... " >&6; }
45486 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45487 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45488 $as_echo_n "(cached) " >&6
45489 else
45492 ac_ext=cpp
45493 ac_cpp='$CXXCPP $CPPFLAGS'
45494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45499 /* end confdefs.h. */
45500 #include <math.h>
45501 #ifdef HAVE_IEEEFP_H
45502 #include <ieeefp.h>
45503 #endif
45506 main ()
45508 qfpclass(0);
45510 return 0;
45512 _ACEOF
45513 if ac_fn_cxx_try_compile "$LINENO"; then :
45514 glibcxx_cv_func_qfpclass_use=yes
45515 else
45516 glibcxx_cv_func_qfpclass_use=no
45518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45519 ac_ext=c
45520 ac_cpp='$CPP $CPPFLAGS'
45521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45530 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45532 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45533 for ac_func in qfpclass
45534 do :
45535 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45536 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45537 cat >>confdefs.h <<_ACEOF
45538 #define HAVE_QFPCLASS 1
45539 _ACEOF
45542 done
45544 else
45546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45547 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45548 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45549 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45550 $as_echo_n "(cached) " >&6
45551 else
45554 ac_ext=cpp
45555 ac_cpp='$CXXCPP $CPPFLAGS'
45556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45561 /* end confdefs.h. */
45562 #include <math.h>
45563 #ifdef HAVE_IEEEFP_H
45564 #include <ieeefp.h>
45565 #endif
45568 main ()
45570 _qfpclass(0);
45572 return 0;
45574 _ACEOF
45575 if ac_fn_cxx_try_compile "$LINENO"; then :
45576 glibcxx_cv_func__qfpclass_use=yes
45577 else
45578 glibcxx_cv_func__qfpclass_use=no
45580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45581 ac_ext=c
45582 ac_cpp='$CPP $CPPFLAGS'
45583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45592 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45594 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45595 for ac_func in _qfpclass
45596 do :
45597 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45598 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45599 cat >>confdefs.h <<_ACEOF
45600 #define HAVE__QFPCLASS 1
45601 _ACEOF
45604 done
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45614 $as_echo_n "checking for hypot declaration... " >&6; }
45615 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45616 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45617 $as_echo_n "(cached) " >&6
45618 else
45621 ac_ext=cpp
45622 ac_cpp='$CXXCPP $CPPFLAGS'
45623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45628 /* end confdefs.h. */
45629 #include <math.h>
45631 main ()
45633 hypot(0, 0);
45635 return 0;
45637 _ACEOF
45638 if ac_fn_cxx_try_compile "$LINENO"; then :
45639 glibcxx_cv_func_hypot_use=yes
45640 else
45641 glibcxx_cv_func_hypot_use=no
45643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45644 ac_ext=c
45645 ac_cpp='$CPP $CPPFLAGS'
45646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45655 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45657 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45658 for ac_func in hypot
45659 do :
45660 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45661 if test "x$ac_cv_func_hypot" = x""yes; then :
45662 cat >>confdefs.h <<_ACEOF
45663 #define HAVE_HYPOT 1
45664 _ACEOF
45667 done
45669 else
45671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45672 $as_echo_n "checking for _hypot declaration... " >&6; }
45673 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45674 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45675 $as_echo_n "(cached) " >&6
45676 else
45679 ac_ext=cpp
45680 ac_cpp='$CXXCPP $CPPFLAGS'
45681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45686 /* end confdefs.h. */
45687 #include <math.h>
45689 main ()
45691 _hypot(0, 0);
45693 return 0;
45695 _ACEOF
45696 if ac_fn_cxx_try_compile "$LINENO"; then :
45697 glibcxx_cv_func__hypot_use=yes
45698 else
45699 glibcxx_cv_func__hypot_use=no
45701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45702 ac_ext=c
45703 ac_cpp='$CPP $CPPFLAGS'
45704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45713 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45715 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45716 for ac_func in _hypot
45717 do :
45718 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45719 if test "x$ac_cv_func__hypot" = x""yes; then :
45720 cat >>confdefs.h <<_ACEOF
45721 #define HAVE__HYPOT 1
45722 _ACEOF
45725 done
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45735 $as_echo_n "checking for float trig functions... " >&6; }
45736 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45737 $as_echo_n "(cached) " >&6
45738 else
45741 ac_ext=cpp
45742 ac_cpp='$CXXCPP $CPPFLAGS'
45743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45748 /* end confdefs.h. */
45749 #include <math.h>
45751 main ()
45753 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45755 return 0;
45757 _ACEOF
45758 if ac_fn_cxx_try_compile "$LINENO"; then :
45759 glibcxx_cv_func_float_trig_use=yes
45760 else
45761 glibcxx_cv_func_float_trig_use=no
45763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45764 ac_ext=c
45765 ac_cpp='$CPP $CPPFLAGS'
45766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45773 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45774 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45775 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45776 do :
45777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45779 eval as_val=\$$as_ac_var
45780 if test "x$as_val" = x""yes; then :
45781 cat >>confdefs.h <<_ACEOF
45782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45783 _ACEOF
45786 done
45788 else
45789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45790 $as_echo_n "checking for _float trig functions... " >&6; }
45791 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45792 $as_echo_n "(cached) " >&6
45793 else
45796 ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h. */
45804 #include <math.h>
45806 main ()
45808 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45810 return 0;
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814 glibcxx_cv_func__float_trig_use=yes
45815 else
45816 glibcxx_cv_func__float_trig_use=no
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819 ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45828 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45829 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45830 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45831 do :
45832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45834 eval as_val=\$$as_ac_var
45835 if test "x$as_val" = x""yes; then :
45836 cat >>confdefs.h <<_ACEOF
45837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45838 _ACEOF
45841 done
45850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45851 $as_echo_n "checking for float round functions... " >&6; }
45852 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45853 $as_echo_n "(cached) " >&6
45854 else
45857 ac_ext=cpp
45858 ac_cpp='$CXXCPP $CPPFLAGS'
45859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45864 /* end confdefs.h. */
45865 #include <math.h>
45867 main ()
45869 ceilf (0); floorf (0);
45871 return 0;
45873 _ACEOF
45874 if ac_fn_cxx_try_compile "$LINENO"; then :
45875 glibcxx_cv_func_float_round_use=yes
45876 else
45877 glibcxx_cv_func_float_round_use=no
45879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880 ac_ext=c
45881 ac_cpp='$CPP $CPPFLAGS'
45882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45889 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45890 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45891 for ac_func in ceilf floorf
45892 do :
45893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45895 eval as_val=\$$as_ac_var
45896 if test "x$as_val" = x""yes; then :
45897 cat >>confdefs.h <<_ACEOF
45898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45899 _ACEOF
45902 done
45904 else
45905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45906 $as_echo_n "checking for _float round functions... " >&6; }
45907 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45908 $as_echo_n "(cached) " >&6
45909 else
45912 ac_ext=cpp
45913 ac_cpp='$CXXCPP $CPPFLAGS'
45914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45919 /* end confdefs.h. */
45920 #include <math.h>
45922 main ()
45924 _ceilf (0); _floorf (0);
45926 return 0;
45928 _ACEOF
45929 if ac_fn_cxx_try_compile "$LINENO"; then :
45930 glibcxx_cv_func__float_round_use=yes
45931 else
45932 glibcxx_cv_func__float_round_use=no
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935 ac_ext=c
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45944 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45945 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45946 for ac_func in _ceilf _floorf
45947 do :
45948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45950 eval as_val=\$$as_ac_var
45951 if test "x$as_val" = x""yes; then :
45952 cat >>confdefs.h <<_ACEOF
45953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45954 _ACEOF
45957 done
45967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45968 $as_echo_n "checking for expf declaration... " >&6; }
45969 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45970 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45971 $as_echo_n "(cached) " >&6
45972 else
45975 ac_ext=cpp
45976 ac_cpp='$CXXCPP $CPPFLAGS'
45977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45982 /* end confdefs.h. */
45983 #include <math.h>
45984 #ifdef HAVE_IEEEFP_H
45985 #include <ieeefp.h>
45986 #endif
45989 main ()
45991 expf(0);
45993 return 0;
45995 _ACEOF
45996 if ac_fn_cxx_try_compile "$LINENO"; then :
45997 glibcxx_cv_func_expf_use=yes
45998 else
45999 glibcxx_cv_func_expf_use=no
46001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002 ac_ext=c
46003 ac_cpp='$CPP $CPPFLAGS'
46004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46013 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46015 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46016 for ac_func in expf
46017 do :
46018 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46019 if test "x$ac_cv_func_expf" = x""yes; then :
46020 cat >>confdefs.h <<_ACEOF
46021 #define HAVE_EXPF 1
46022 _ACEOF
46025 done
46027 else
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46030 $as_echo_n "checking for _expf declaration... " >&6; }
46031 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46032 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46033 $as_echo_n "(cached) " >&6
46034 else
46037 ac_ext=cpp
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h. */
46045 #include <math.h>
46046 #ifdef HAVE_IEEEFP_H
46047 #include <ieeefp.h>
46048 #endif
46051 main ()
46053 _expf(0);
46055 return 0;
46057 _ACEOF
46058 if ac_fn_cxx_try_compile "$LINENO"; then :
46059 glibcxx_cv_func__expf_use=yes
46060 else
46061 glibcxx_cv_func__expf_use=no
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064 ac_ext=c
46065 ac_cpp='$CPP $CPPFLAGS'
46066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46075 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46077 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46078 for ac_func in _expf
46079 do :
46080 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46081 if test "x$ac_cv_func__expf" = x""yes; then :
46082 cat >>confdefs.h <<_ACEOF
46083 #define HAVE__EXPF 1
46084 _ACEOF
46087 done
46096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46097 $as_echo_n "checking for isnanf declaration... " >&6; }
46098 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46099 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46100 $as_echo_n "(cached) " >&6
46101 else
46104 ac_ext=cpp
46105 ac_cpp='$CXXCPP $CPPFLAGS'
46106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46111 /* end confdefs.h. */
46112 #include <math.h>
46113 #ifdef HAVE_IEEEFP_H
46114 #include <ieeefp.h>
46115 #endif
46118 main ()
46120 isnanf(0);
46122 return 0;
46124 _ACEOF
46125 if ac_fn_cxx_try_compile "$LINENO"; then :
46126 glibcxx_cv_func_isnanf_use=yes
46127 else
46128 glibcxx_cv_func_isnanf_use=no
46130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46131 ac_ext=c
46132 ac_cpp='$CPP $CPPFLAGS'
46133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46142 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46144 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46145 for ac_func in isnanf
46146 do :
46147 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46148 if test "x$ac_cv_func_isnanf" = x""yes; then :
46149 cat >>confdefs.h <<_ACEOF
46150 #define HAVE_ISNANF 1
46151 _ACEOF
46154 done
46156 else
46158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46159 $as_echo_n "checking for _isnanf declaration... " >&6; }
46160 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46161 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46162 $as_echo_n "(cached) " >&6
46163 else
46166 ac_ext=cpp
46167 ac_cpp='$CXXCPP $CPPFLAGS'
46168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46173 /* end confdefs.h. */
46174 #include <math.h>
46175 #ifdef HAVE_IEEEFP_H
46176 #include <ieeefp.h>
46177 #endif
46180 main ()
46182 _isnanf(0);
46184 return 0;
46186 _ACEOF
46187 if ac_fn_cxx_try_compile "$LINENO"; then :
46188 glibcxx_cv_func__isnanf_use=yes
46189 else
46190 glibcxx_cv_func__isnanf_use=no
46192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46193 ac_ext=c
46194 ac_cpp='$CPP $CPPFLAGS'
46195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46204 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46206 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46207 for ac_func in _isnanf
46208 do :
46209 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46210 if test "x$ac_cv_func__isnanf" = x""yes; then :
46211 cat >>confdefs.h <<_ACEOF
46212 #define HAVE__ISNANF 1
46213 _ACEOF
46216 done
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46226 $as_echo_n "checking for isinff declaration... " >&6; }
46227 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46228 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46229 $as_echo_n "(cached) " >&6
46230 else
46233 ac_ext=cpp
46234 ac_cpp='$CXXCPP $CPPFLAGS'
46235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46240 /* end confdefs.h. */
46241 #include <math.h>
46242 #ifdef HAVE_IEEEFP_H
46243 #include <ieeefp.h>
46244 #endif
46247 main ()
46249 isinff(0);
46251 return 0;
46253 _ACEOF
46254 if ac_fn_cxx_try_compile "$LINENO"; then :
46255 glibcxx_cv_func_isinff_use=yes
46256 else
46257 glibcxx_cv_func_isinff_use=no
46259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46260 ac_ext=c
46261 ac_cpp='$CPP $CPPFLAGS'
46262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46271 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46273 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46274 for ac_func in isinff
46275 do :
46276 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46277 if test "x$ac_cv_func_isinff" = x""yes; then :
46278 cat >>confdefs.h <<_ACEOF
46279 #define HAVE_ISINFF 1
46280 _ACEOF
46283 done
46285 else
46287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46288 $as_echo_n "checking for _isinff declaration... " >&6; }
46289 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46290 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46291 $as_echo_n "(cached) " >&6
46292 else
46295 ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46302 /* end confdefs.h. */
46303 #include <math.h>
46304 #ifdef HAVE_IEEEFP_H
46305 #include <ieeefp.h>
46306 #endif
46309 main ()
46311 _isinff(0);
46313 return 0;
46315 _ACEOF
46316 if ac_fn_cxx_try_compile "$LINENO"; then :
46317 glibcxx_cv_func__isinff_use=yes
46318 else
46319 glibcxx_cv_func__isinff_use=no
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322 ac_ext=c
46323 ac_cpp='$CPP $CPPFLAGS'
46324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46333 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46335 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46336 for ac_func in _isinff
46337 do :
46338 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46339 if test "x$ac_cv_func__isinff" = x""yes; then :
46340 cat >>confdefs.h <<_ACEOF
46341 #define HAVE__ISINFF 1
46342 _ACEOF
46345 done
46354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46355 $as_echo_n "checking for atan2f declaration... " >&6; }
46356 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46357 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46358 $as_echo_n "(cached) " >&6
46359 else
46362 ac_ext=cpp
46363 ac_cpp='$CXXCPP $CPPFLAGS'
46364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46369 /* end confdefs.h. */
46370 #include <math.h>
46372 main ()
46374 atan2f(0, 0);
46376 return 0;
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func_atan2f_use=yes
46381 else
46382 glibcxx_cv_func_atan2f_use=no
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46396 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46398 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46399 for ac_func in atan2f
46400 do :
46401 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46402 if test "x$ac_cv_func_atan2f" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE_ATAN2F 1
46405 _ACEOF
46408 done
46410 else
46412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46413 $as_echo_n "checking for _atan2f declaration... " >&6; }
46414 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46415 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46416 $as_echo_n "(cached) " >&6
46417 else
46420 ac_ext=cpp
46421 ac_cpp='$CXXCPP $CPPFLAGS'
46422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46427 /* end confdefs.h. */
46428 #include <math.h>
46430 main ()
46432 _atan2f(0, 0);
46434 return 0;
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438 glibcxx_cv_func__atan2f_use=yes
46439 else
46440 glibcxx_cv_func__atan2f_use=no
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443 ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46454 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46456 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46457 for ac_func in _atan2f
46458 do :
46459 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46460 if test "x$ac_cv_func__atan2f" = x""yes; then :
46461 cat >>confdefs.h <<_ACEOF
46462 #define HAVE__ATAN2F 1
46463 _ACEOF
46466 done
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46476 $as_echo_n "checking for fabsf declaration... " >&6; }
46477 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46478 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46492 #ifdef HAVE_IEEEFP_H
46493 #include <ieeefp.h>
46494 #endif
46497 main ()
46499 fabsf(0);
46501 return 0;
46503 _ACEOF
46504 if ac_fn_cxx_try_compile "$LINENO"; then :
46505 glibcxx_cv_func_fabsf_use=yes
46506 else
46507 glibcxx_cv_func_fabsf_use=no
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510 ac_ext=c
46511 ac_cpp='$CPP $CPPFLAGS'
46512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46521 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46523 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46524 for ac_func in fabsf
46525 do :
46526 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46527 if test "x$ac_cv_func_fabsf" = x""yes; then :
46528 cat >>confdefs.h <<_ACEOF
46529 #define HAVE_FABSF 1
46530 _ACEOF
46533 done
46535 else
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46538 $as_echo_n "checking for _fabsf declaration... " >&6; }
46539 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46540 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46542 else
46545 ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46559 main ()
46561 _fabsf(0);
46563 return 0;
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567 glibcxx_cv_func__fabsf_use=yes
46568 else
46569 glibcxx_cv_func__fabsf_use=no
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46583 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46585 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46586 for ac_func in _fabsf
46587 do :
46588 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46589 if test "x$ac_cv_func__fabsf" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define HAVE__FABSF 1
46592 _ACEOF
46595 done
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46605 $as_echo_n "checking for fmodf declaration... " >&6; }
46606 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46607 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46622 main ()
46624 fmodf(0, 0);
46626 return 0;
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func_fmodf_use=yes
46631 else
46632 glibcxx_cv_func_fmodf_use=no
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46646 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46648 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46649 for ac_func in fmodf
46650 do :
46651 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46652 if test "x$ac_cv_func_fmodf" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE_FMODF 1
46655 _ACEOF
46658 done
46660 else
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46663 $as_echo_n "checking for _fmodf declaration... " >&6; }
46664 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46665 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46666 $as_echo_n "(cached) " >&6
46667 else
46670 ac_ext=cpp
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46677 /* end confdefs.h. */
46678 #include <math.h>
46680 main ()
46682 _fmodf(0, 0);
46684 return 0;
46686 _ACEOF
46687 if ac_fn_cxx_try_compile "$LINENO"; then :
46688 glibcxx_cv_func__fmodf_use=yes
46689 else
46690 glibcxx_cv_func__fmodf_use=no
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693 ac_ext=c
46694 ac_cpp='$CPP $CPPFLAGS'
46695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46704 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46706 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46707 for ac_func in _fmodf
46708 do :
46709 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46710 if test "x$ac_cv_func__fmodf" = x""yes; then :
46711 cat >>confdefs.h <<_ACEOF
46712 #define HAVE__FMODF 1
46713 _ACEOF
46716 done
46725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46726 $as_echo_n "checking for frexpf declaration... " >&6; }
46727 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46728 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46729 $as_echo_n "(cached) " >&6
46730 else
46733 ac_ext=cpp
46734 ac_cpp='$CXXCPP $CPPFLAGS'
46735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46740 /* end confdefs.h. */
46741 #include <math.h>
46743 main ()
46745 frexpf(0, 0);
46747 return 0;
46749 _ACEOF
46750 if ac_fn_cxx_try_compile "$LINENO"; then :
46751 glibcxx_cv_func_frexpf_use=yes
46752 else
46753 glibcxx_cv_func_frexpf_use=no
46755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46756 ac_ext=c
46757 ac_cpp='$CPP $CPPFLAGS'
46758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46767 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46769 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46770 for ac_func in frexpf
46771 do :
46772 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46773 if test "x$ac_cv_func_frexpf" = x""yes; then :
46774 cat >>confdefs.h <<_ACEOF
46775 #define HAVE_FREXPF 1
46776 _ACEOF
46779 done
46781 else
46783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46784 $as_echo_n "checking for _frexpf declaration... " >&6; }
46785 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46786 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46787 $as_echo_n "(cached) " >&6
46788 else
46791 ac_ext=cpp
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46798 /* end confdefs.h. */
46799 #include <math.h>
46801 main ()
46803 _frexpf(0, 0);
46805 return 0;
46807 _ACEOF
46808 if ac_fn_cxx_try_compile "$LINENO"; then :
46809 glibcxx_cv_func__frexpf_use=yes
46810 else
46811 glibcxx_cv_func__frexpf_use=no
46813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46814 ac_ext=c
46815 ac_cpp='$CPP $CPPFLAGS'
46816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46825 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46827 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46828 for ac_func in _frexpf
46829 do :
46830 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46831 if test "x$ac_cv_func__frexpf" = x""yes; then :
46832 cat >>confdefs.h <<_ACEOF
46833 #define HAVE__FREXPF 1
46834 _ACEOF
46837 done
46846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46847 $as_echo_n "checking for hypotf declaration... " >&6; }
46848 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46849 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46850 $as_echo_n "(cached) " >&6
46851 else
46854 ac_ext=cpp
46855 ac_cpp='$CXXCPP $CPPFLAGS'
46856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46861 /* end confdefs.h. */
46862 #include <math.h>
46864 main ()
46866 hypotf(0, 0);
46868 return 0;
46870 _ACEOF
46871 if ac_fn_cxx_try_compile "$LINENO"; then :
46872 glibcxx_cv_func_hypotf_use=yes
46873 else
46874 glibcxx_cv_func_hypotf_use=no
46876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46877 ac_ext=c
46878 ac_cpp='$CPP $CPPFLAGS'
46879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46888 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46890 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46891 for ac_func in hypotf
46892 do :
46893 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46894 if test "x$ac_cv_func_hypotf" = x""yes; then :
46895 cat >>confdefs.h <<_ACEOF
46896 #define HAVE_HYPOTF 1
46897 _ACEOF
46900 done
46902 else
46904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46905 $as_echo_n "checking for _hypotf declaration... " >&6; }
46906 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46907 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46908 $as_echo_n "(cached) " >&6
46909 else
46912 ac_ext=cpp
46913 ac_cpp='$CXXCPP $CPPFLAGS'
46914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46919 /* end confdefs.h. */
46920 #include <math.h>
46922 main ()
46924 _hypotf(0, 0);
46926 return 0;
46928 _ACEOF
46929 if ac_fn_cxx_try_compile "$LINENO"; then :
46930 glibcxx_cv_func__hypotf_use=yes
46931 else
46932 glibcxx_cv_func__hypotf_use=no
46934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46935 ac_ext=c
46936 ac_cpp='$CPP $CPPFLAGS'
46937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46946 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46948 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46949 for ac_func in _hypotf
46950 do :
46951 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46952 if test "x$ac_cv_func__hypotf" = x""yes; then :
46953 cat >>confdefs.h <<_ACEOF
46954 #define HAVE__HYPOTF 1
46955 _ACEOF
46958 done
46967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46968 $as_echo_n "checking for ldexpf declaration... " >&6; }
46969 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46970 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46971 $as_echo_n "(cached) " >&6
46972 else
46975 ac_ext=cpp
46976 ac_cpp='$CXXCPP $CPPFLAGS'
46977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46982 /* end confdefs.h. */
46983 #include <math.h>
46985 main ()
46987 ldexpf(0, 0);
46989 return 0;
46991 _ACEOF
46992 if ac_fn_cxx_try_compile "$LINENO"; then :
46993 glibcxx_cv_func_ldexpf_use=yes
46994 else
46995 glibcxx_cv_func_ldexpf_use=no
46997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46998 ac_ext=c
46999 ac_cpp='$CPP $CPPFLAGS'
47000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47009 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47011 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47012 for ac_func in ldexpf
47013 do :
47014 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47015 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47016 cat >>confdefs.h <<_ACEOF
47017 #define HAVE_LDEXPF 1
47018 _ACEOF
47021 done
47023 else
47025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47026 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47027 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47028 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47029 $as_echo_n "(cached) " >&6
47030 else
47033 ac_ext=cpp
47034 ac_cpp='$CXXCPP $CPPFLAGS'
47035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47040 /* end confdefs.h. */
47041 #include <math.h>
47043 main ()
47045 _ldexpf(0, 0);
47047 return 0;
47049 _ACEOF
47050 if ac_fn_cxx_try_compile "$LINENO"; then :
47051 glibcxx_cv_func__ldexpf_use=yes
47052 else
47053 glibcxx_cv_func__ldexpf_use=no
47055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47056 ac_ext=c
47057 ac_cpp='$CPP $CPPFLAGS'
47058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47067 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47069 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47070 for ac_func in _ldexpf
47071 do :
47072 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47073 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47074 cat >>confdefs.h <<_ACEOF
47075 #define HAVE__LDEXPF 1
47076 _ACEOF
47079 done
47088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47089 $as_echo_n "checking for logf declaration... " >&6; }
47090 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47091 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47092 $as_echo_n "(cached) " >&6
47093 else
47096 ac_ext=cpp
47097 ac_cpp='$CXXCPP $CPPFLAGS'
47098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47103 /* end confdefs.h. */
47104 #include <math.h>
47105 #ifdef HAVE_IEEEFP_H
47106 #include <ieeefp.h>
47107 #endif
47110 main ()
47112 logf(0);
47114 return 0;
47116 _ACEOF
47117 if ac_fn_cxx_try_compile "$LINENO"; then :
47118 glibcxx_cv_func_logf_use=yes
47119 else
47120 glibcxx_cv_func_logf_use=no
47122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47123 ac_ext=c
47124 ac_cpp='$CPP $CPPFLAGS'
47125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47134 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47136 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47137 for ac_func in logf
47138 do :
47139 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47140 if test "x$ac_cv_func_logf" = x""yes; then :
47141 cat >>confdefs.h <<_ACEOF
47142 #define HAVE_LOGF 1
47143 _ACEOF
47146 done
47148 else
47150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47151 $as_echo_n "checking for _logf declaration... " >&6; }
47152 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47153 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47154 $as_echo_n "(cached) " >&6
47155 else
47158 ac_ext=cpp
47159 ac_cpp='$CXXCPP $CPPFLAGS'
47160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47165 /* end confdefs.h. */
47166 #include <math.h>
47167 #ifdef HAVE_IEEEFP_H
47168 #include <ieeefp.h>
47169 #endif
47172 main ()
47174 _logf(0);
47176 return 0;
47178 _ACEOF
47179 if ac_fn_cxx_try_compile "$LINENO"; then :
47180 glibcxx_cv_func__logf_use=yes
47181 else
47182 glibcxx_cv_func__logf_use=no
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47196 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47198 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47199 for ac_func in _logf
47200 do :
47201 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47202 if test "x$ac_cv_func__logf" = x""yes; then :
47203 cat >>confdefs.h <<_ACEOF
47204 #define HAVE__LOGF 1
47205 _ACEOF
47208 done
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47218 $as_echo_n "checking for log10f declaration... " >&6; }
47219 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47220 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47221 $as_echo_n "(cached) " >&6
47222 else
47225 ac_ext=cpp
47226 ac_cpp='$CXXCPP $CPPFLAGS'
47227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h. */
47233 #include <math.h>
47234 #ifdef HAVE_IEEEFP_H
47235 #include <ieeefp.h>
47236 #endif
47239 main ()
47241 log10f(0);
47243 return 0;
47245 _ACEOF
47246 if ac_fn_cxx_try_compile "$LINENO"; then :
47247 glibcxx_cv_func_log10f_use=yes
47248 else
47249 glibcxx_cv_func_log10f_use=no
47251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47252 ac_ext=c
47253 ac_cpp='$CPP $CPPFLAGS'
47254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47263 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47265 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47266 for ac_func in log10f
47267 do :
47268 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47269 if test "x$ac_cv_func_log10f" = x""yes; then :
47270 cat >>confdefs.h <<_ACEOF
47271 #define HAVE_LOG10F 1
47272 _ACEOF
47275 done
47277 else
47279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47280 $as_echo_n "checking for _log10f declaration... " >&6; }
47281 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47282 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47283 $as_echo_n "(cached) " >&6
47284 else
47287 ac_ext=cpp
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47294 /* end confdefs.h. */
47295 #include <math.h>
47296 #ifdef HAVE_IEEEFP_H
47297 #include <ieeefp.h>
47298 #endif
47301 main ()
47303 _log10f(0);
47305 return 0;
47307 _ACEOF
47308 if ac_fn_cxx_try_compile "$LINENO"; then :
47309 glibcxx_cv_func__log10f_use=yes
47310 else
47311 glibcxx_cv_func__log10f_use=no
47313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47314 ac_ext=c
47315 ac_cpp='$CPP $CPPFLAGS'
47316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47325 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47327 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47328 for ac_func in _log10f
47329 do :
47330 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47331 if test "x$ac_cv_func__log10f" = x""yes; then :
47332 cat >>confdefs.h <<_ACEOF
47333 #define HAVE__LOG10F 1
47334 _ACEOF
47337 done
47346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47347 $as_echo_n "checking for modff declaration... " >&6; }
47348 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47349 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47350 $as_echo_n "(cached) " >&6
47351 else
47354 ac_ext=cpp
47355 ac_cpp='$CXXCPP $CPPFLAGS'
47356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47361 /* end confdefs.h. */
47362 #include <math.h>
47364 main ()
47366 modff(0, 0);
47368 return 0;
47370 _ACEOF
47371 if ac_fn_cxx_try_compile "$LINENO"; then :
47372 glibcxx_cv_func_modff_use=yes
47373 else
47374 glibcxx_cv_func_modff_use=no
47376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47377 ac_ext=c
47378 ac_cpp='$CPP $CPPFLAGS'
47379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47388 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47390 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47391 for ac_func in modff
47392 do :
47393 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47394 if test "x$ac_cv_func_modff" = x""yes; then :
47395 cat >>confdefs.h <<_ACEOF
47396 #define HAVE_MODFF 1
47397 _ACEOF
47400 done
47402 else
47404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47405 $as_echo_n "checking for _modff declaration... " >&6; }
47406 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47407 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47408 $as_echo_n "(cached) " >&6
47409 else
47412 ac_ext=cpp
47413 ac_cpp='$CXXCPP $CPPFLAGS'
47414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47419 /* end confdefs.h. */
47420 #include <math.h>
47422 main ()
47424 _modff(0, 0);
47426 return 0;
47428 _ACEOF
47429 if ac_fn_cxx_try_compile "$LINENO"; then :
47430 glibcxx_cv_func__modff_use=yes
47431 else
47432 glibcxx_cv_func__modff_use=no
47434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47435 ac_ext=c
47436 ac_cpp='$CPP $CPPFLAGS'
47437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47446 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47448 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47449 for ac_func in _modff
47450 do :
47451 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47452 if test "x$ac_cv_func__modff" = x""yes; then :
47453 cat >>confdefs.h <<_ACEOF
47454 #define HAVE__MODFF 1
47455 _ACEOF
47458 done
47467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47468 $as_echo_n "checking for modf declaration... " >&6; }
47469 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47470 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47471 $as_echo_n "(cached) " >&6
47472 else
47475 ac_ext=cpp
47476 ac_cpp='$CXXCPP $CPPFLAGS'
47477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47482 /* end confdefs.h. */
47483 #include <math.h>
47485 main ()
47487 modf(0, 0);
47489 return 0;
47491 _ACEOF
47492 if ac_fn_cxx_try_compile "$LINENO"; then :
47493 glibcxx_cv_func_modf_use=yes
47494 else
47495 glibcxx_cv_func_modf_use=no
47497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47498 ac_ext=c
47499 ac_cpp='$CPP $CPPFLAGS'
47500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47509 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47511 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47512 for ac_func in modf
47513 do :
47514 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47515 if test "x$ac_cv_func_modf" = x""yes; then :
47516 cat >>confdefs.h <<_ACEOF
47517 #define HAVE_MODF 1
47518 _ACEOF
47521 done
47523 else
47525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47526 $as_echo_n "checking for _modf declaration... " >&6; }
47527 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47528 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47529 $as_echo_n "(cached) " >&6
47530 else
47533 ac_ext=cpp
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47540 /* end confdefs.h. */
47541 #include <math.h>
47543 main ()
47545 _modf(0, 0);
47547 return 0;
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func__modf_use=yes
47552 else
47553 glibcxx_cv_func__modf_use=no
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556 ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47567 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47569 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47570 for ac_func in _modf
47571 do :
47572 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47573 if test "x$ac_cv_func__modf" = x""yes; then :
47574 cat >>confdefs.h <<_ACEOF
47575 #define HAVE__MODF 1
47576 _ACEOF
47579 done
47588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47589 $as_echo_n "checking for powf declaration... " >&6; }
47590 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47591 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47592 $as_echo_n "(cached) " >&6
47593 else
47596 ac_ext=cpp
47597 ac_cpp='$CXXCPP $CPPFLAGS'
47598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47603 /* end confdefs.h. */
47604 #include <math.h>
47606 main ()
47608 powf(0, 0);
47610 return 0;
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614 glibcxx_cv_func_powf_use=yes
47615 else
47616 glibcxx_cv_func_powf_use=no
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47630 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47632 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47633 for ac_func in powf
47634 do :
47635 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47636 if test "x$ac_cv_func_powf" = x""yes; then :
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE_POWF 1
47639 _ACEOF
47642 done
47644 else
47646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47647 $as_echo_n "checking for _powf declaration... " >&6; }
47648 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47649 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47650 $as_echo_n "(cached) " >&6
47651 else
47654 ac_ext=cpp
47655 ac_cpp='$CXXCPP $CPPFLAGS'
47656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47661 /* end confdefs.h. */
47662 #include <math.h>
47664 main ()
47666 _powf(0, 0);
47668 return 0;
47670 _ACEOF
47671 if ac_fn_cxx_try_compile "$LINENO"; then :
47672 glibcxx_cv_func__powf_use=yes
47673 else
47674 glibcxx_cv_func__powf_use=no
47676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47677 ac_ext=c
47678 ac_cpp='$CPP $CPPFLAGS'
47679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47688 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47690 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47691 for ac_func in _powf
47692 do :
47693 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47694 if test "x$ac_cv_func__powf" = x""yes; then :
47695 cat >>confdefs.h <<_ACEOF
47696 #define HAVE__POWF 1
47697 _ACEOF
47700 done
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47710 $as_echo_n "checking for sqrtf declaration... " >&6; }
47711 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47712 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47713 $as_echo_n "(cached) " >&6
47714 else
47717 ac_ext=cpp
47718 ac_cpp='$CXXCPP $CPPFLAGS'
47719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47724 /* end confdefs.h. */
47725 #include <math.h>
47726 #ifdef HAVE_IEEEFP_H
47727 #include <ieeefp.h>
47728 #endif
47731 main ()
47733 sqrtf(0);
47735 return 0;
47737 _ACEOF
47738 if ac_fn_cxx_try_compile "$LINENO"; then :
47739 glibcxx_cv_func_sqrtf_use=yes
47740 else
47741 glibcxx_cv_func_sqrtf_use=no
47743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47744 ac_ext=c
47745 ac_cpp='$CPP $CPPFLAGS'
47746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47755 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47757 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47758 for ac_func in sqrtf
47759 do :
47760 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47761 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47762 cat >>confdefs.h <<_ACEOF
47763 #define HAVE_SQRTF 1
47764 _ACEOF
47767 done
47769 else
47771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47772 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47773 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47774 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47775 $as_echo_n "(cached) " >&6
47776 else
47779 ac_ext=cpp
47780 ac_cpp='$CXXCPP $CPPFLAGS'
47781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47786 /* end confdefs.h. */
47787 #include <math.h>
47788 #ifdef HAVE_IEEEFP_H
47789 #include <ieeefp.h>
47790 #endif
47793 main ()
47795 _sqrtf(0);
47797 return 0;
47799 _ACEOF
47800 if ac_fn_cxx_try_compile "$LINENO"; then :
47801 glibcxx_cv_func__sqrtf_use=yes
47802 else
47803 glibcxx_cv_func__sqrtf_use=no
47805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47806 ac_ext=c
47807 ac_cpp='$CPP $CPPFLAGS'
47808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47817 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47819 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47820 for ac_func in _sqrtf
47821 do :
47822 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47823 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47824 cat >>confdefs.h <<_ACEOF
47825 #define HAVE__SQRTF 1
47826 _ACEOF
47829 done
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47839 $as_echo_n "checking for sincosf declaration... " >&6; }
47840 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47841 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47856 main ()
47858 sincosf(0, 0, 0);
47860 return 0;
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864 glibcxx_cv_func_sincosf_use=yes
47865 else
47866 glibcxx_cv_func_sincosf_use=no
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47880 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47882 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47883 for ac_func in sincosf
47884 do :
47885 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47886 if test "x$ac_cv_func_sincosf" = x""yes; then :
47887 cat >>confdefs.h <<_ACEOF
47888 #define HAVE_SINCOSF 1
47889 _ACEOF
47892 done
47894 else
47896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47897 $as_echo_n "checking for _sincosf declaration... " >&6; }
47898 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47899 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47900 $as_echo_n "(cached) " >&6
47901 else
47904 ac_ext=cpp
47905 ac_cpp='$CXXCPP $CPPFLAGS'
47906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47911 /* end confdefs.h. */
47912 #include <math.h>
47914 main ()
47916 _sincosf(0, 0, 0);
47918 return 0;
47920 _ACEOF
47921 if ac_fn_cxx_try_compile "$LINENO"; then :
47922 glibcxx_cv_func__sincosf_use=yes
47923 else
47924 glibcxx_cv_func__sincosf_use=no
47926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47927 ac_ext=c
47928 ac_cpp='$CPP $CPPFLAGS'
47929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47938 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47940 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47941 for ac_func in _sincosf
47942 do :
47943 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47944 if test "x$ac_cv_func__sincosf" = x""yes; then :
47945 cat >>confdefs.h <<_ACEOF
47946 #define HAVE__SINCOSF 1
47947 _ACEOF
47950 done
47959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47960 $as_echo_n "checking for finitef declaration... " >&6; }
47961 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47962 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47963 $as_echo_n "(cached) " >&6
47964 else
47967 ac_ext=cpp
47968 ac_cpp='$CXXCPP $CPPFLAGS'
47969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974 /* end confdefs.h. */
47975 #include <math.h>
47976 #ifdef HAVE_IEEEFP_H
47977 #include <ieeefp.h>
47978 #endif
47981 main ()
47983 finitef(0);
47985 return 0;
47987 _ACEOF
47988 if ac_fn_cxx_try_compile "$LINENO"; then :
47989 glibcxx_cv_func_finitef_use=yes
47990 else
47991 glibcxx_cv_func_finitef_use=no
47993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47994 ac_ext=c
47995 ac_cpp='$CPP $CPPFLAGS'
47996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48005 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48007 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48008 for ac_func in finitef
48009 do :
48010 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48011 if test "x$ac_cv_func_finitef" = x""yes; then :
48012 cat >>confdefs.h <<_ACEOF
48013 #define HAVE_FINITEF 1
48014 _ACEOF
48017 done
48019 else
48021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48022 $as_echo_n "checking for _finitef declaration... " >&6; }
48023 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48024 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48025 $as_echo_n "(cached) " >&6
48026 else
48029 ac_ext=cpp
48030 ac_cpp='$CXXCPP $CPPFLAGS'
48031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48036 /* end confdefs.h. */
48037 #include <math.h>
48038 #ifdef HAVE_IEEEFP_H
48039 #include <ieeefp.h>
48040 #endif
48043 main ()
48045 _finitef(0);
48047 return 0;
48049 _ACEOF
48050 if ac_fn_cxx_try_compile "$LINENO"; then :
48051 glibcxx_cv_func__finitef_use=yes
48052 else
48053 glibcxx_cv_func__finitef_use=no
48055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48056 ac_ext=c
48057 ac_cpp='$CPP $CPPFLAGS'
48058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48067 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48069 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48070 for ac_func in _finitef
48071 do :
48072 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48073 if test "x$ac_cv_func__finitef" = x""yes; then :
48074 cat >>confdefs.h <<_ACEOF
48075 #define HAVE__FINITEF 1
48076 _ACEOF
48079 done
48088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48089 $as_echo_n "checking for long double trig functions... " >&6; }
48090 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48091 $as_echo_n "(cached) " >&6
48092 else
48095 ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h. */
48103 #include <math.h>
48105 main ()
48107 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48109 return 0;
48111 _ACEOF
48112 if ac_fn_cxx_try_compile "$LINENO"; then :
48113 glibcxx_cv_func_long_double_trig_use=yes
48114 else
48115 glibcxx_cv_func_long_double_trig_use=no
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118 ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48127 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48128 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48129 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48130 do :
48131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48133 eval as_val=\$$as_ac_var
48134 if test "x$as_val" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48137 _ACEOF
48140 done
48142 else
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48144 $as_echo_n "checking for _long double trig functions... " >&6; }
48145 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48146 $as_echo_n "(cached) " >&6
48147 else
48150 ac_ext=cpp
48151 ac_cpp='$CXXCPP $CPPFLAGS'
48152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157 /* end confdefs.h. */
48158 #include <math.h>
48160 main ()
48162 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48164 return 0;
48166 _ACEOF
48167 if ac_fn_cxx_try_compile "$LINENO"; then :
48168 glibcxx_cv_func__long_double_trig_use=yes
48169 else
48170 glibcxx_cv_func__long_double_trig_use=no
48172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48173 ac_ext=c
48174 ac_cpp='$CPP $CPPFLAGS'
48175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48182 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48183 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48184 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48185 do :
48186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48188 eval as_val=\$$as_ac_var
48189 if test "x$as_val" = x""yes; then :
48190 cat >>confdefs.h <<_ACEOF
48191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48192 _ACEOF
48195 done
48204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48205 $as_echo_n "checking for long double round functions... " >&6; }
48206 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48207 $as_echo_n "(cached) " >&6
48208 else
48211 ac_ext=cpp
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h. */
48219 #include <math.h>
48221 main ()
48223 ceill (0); floorl (0);
48225 return 0;
48227 _ACEOF
48228 if ac_fn_cxx_try_compile "$LINENO"; then :
48229 glibcxx_cv_func_long_double_round_use=yes
48230 else
48231 glibcxx_cv_func_long_double_round_use=no
48233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48234 ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48243 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48244 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48245 for ac_func in ceill floorl
48246 do :
48247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48249 eval as_val=\$$as_ac_var
48250 if test "x$as_val" = x""yes; then :
48251 cat >>confdefs.h <<_ACEOF
48252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48253 _ACEOF
48256 done
48258 else
48259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48260 $as_echo_n "checking for _long double round functions... " >&6; }
48261 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48276 main ()
48278 _ceill (0); _floorl (0);
48280 return 0;
48282 _ACEOF
48283 if ac_fn_cxx_try_compile "$LINENO"; then :
48284 glibcxx_cv_func__long_double_round_use=yes
48285 else
48286 glibcxx_cv_func__long_double_round_use=no
48288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48289 ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48298 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48299 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48300 for ac_func in _ceill _floorl
48301 do :
48302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48304 eval as_val=\$$as_ac_var
48305 if test "x$as_val" = x""yes; then :
48306 cat >>confdefs.h <<_ACEOF
48307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48308 _ACEOF
48311 done
48321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48322 $as_echo_n "checking for isnanl declaration... " >&6; }
48323 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48324 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48325 $as_echo_n "(cached) " >&6
48326 else
48329 ac_ext=cpp
48330 ac_cpp='$CXXCPP $CPPFLAGS'
48331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48336 /* end confdefs.h. */
48337 #include <math.h>
48338 #ifdef HAVE_IEEEFP_H
48339 #include <ieeefp.h>
48340 #endif
48343 main ()
48345 isnanl(0);
48347 return 0;
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351 glibcxx_cv_func_isnanl_use=yes
48352 else
48353 glibcxx_cv_func_isnanl_use=no
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356 ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48367 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48369 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48370 for ac_func in isnanl
48371 do :
48372 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48373 if test "x$ac_cv_func_isnanl" = x""yes; then :
48374 cat >>confdefs.h <<_ACEOF
48375 #define HAVE_ISNANL 1
48376 _ACEOF
48379 done
48381 else
48383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48384 $as_echo_n "checking for _isnanl declaration... " >&6; }
48385 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48386 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48387 $as_echo_n "(cached) " >&6
48388 else
48391 ac_ext=cpp
48392 ac_cpp='$CXXCPP $CPPFLAGS'
48393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398 /* end confdefs.h. */
48399 #include <math.h>
48400 #ifdef HAVE_IEEEFP_H
48401 #include <ieeefp.h>
48402 #endif
48405 main ()
48407 _isnanl(0);
48409 return 0;
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413 glibcxx_cv_func__isnanl_use=yes
48414 else
48415 glibcxx_cv_func__isnanl_use=no
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48429 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48431 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48432 for ac_func in _isnanl
48433 do :
48434 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48435 if test "x$ac_cv_func__isnanl" = x""yes; then :
48436 cat >>confdefs.h <<_ACEOF
48437 #define HAVE__ISNANL 1
48438 _ACEOF
48441 done
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48451 $as_echo_n "checking for isinfl declaration... " >&6; }
48452 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48453 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48467 #ifdef HAVE_IEEEFP_H
48468 #include <ieeefp.h>
48469 #endif
48472 main ()
48474 isinfl(0);
48476 return 0;
48478 _ACEOF
48479 if ac_fn_cxx_try_compile "$LINENO"; then :
48480 glibcxx_cv_func_isinfl_use=yes
48481 else
48482 glibcxx_cv_func_isinfl_use=no
48484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48485 ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48496 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48498 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48499 for ac_func in isinfl
48500 do :
48501 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48502 if test "x$ac_cv_func_isinfl" = x""yes; then :
48503 cat >>confdefs.h <<_ACEOF
48504 #define HAVE_ISINFL 1
48505 _ACEOF
48508 done
48510 else
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48513 $as_echo_n "checking for _isinfl declaration... " >&6; }
48514 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48515 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48517 else
48520 ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48528 #include <math.h>
48529 #ifdef HAVE_IEEEFP_H
48530 #include <ieeefp.h>
48531 #endif
48534 main ()
48536 _isinfl(0);
48538 return 0;
48540 _ACEOF
48541 if ac_fn_cxx_try_compile "$LINENO"; then :
48542 glibcxx_cv_func__isinfl_use=yes
48543 else
48544 glibcxx_cv_func__isinfl_use=no
48546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48547 ac_ext=c
48548 ac_cpp='$CPP $CPPFLAGS'
48549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48558 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48560 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48561 for ac_func in _isinfl
48562 do :
48563 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48564 if test "x$ac_cv_func__isinfl" = x""yes; then :
48565 cat >>confdefs.h <<_ACEOF
48566 #define HAVE__ISINFL 1
48567 _ACEOF
48570 done
48579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48580 $as_echo_n "checking for atan2l declaration... " >&6; }
48581 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48582 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48597 main ()
48599 atan2l(0, 0);
48601 return 0;
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func_atan2l_use=yes
48606 else
48607 glibcxx_cv_func_atan2l_use=no
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48621 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48623 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48624 for ac_func in atan2l
48625 do :
48626 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48627 if test "x$ac_cv_func_atan2l" = x""yes; then :
48628 cat >>confdefs.h <<_ACEOF
48629 #define HAVE_ATAN2L 1
48630 _ACEOF
48633 done
48635 else
48637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48638 $as_echo_n "checking for _atan2l declaration... " >&6; }
48639 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48640 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48641 $as_echo_n "(cached) " >&6
48642 else
48645 ac_ext=cpp
48646 ac_cpp='$CXXCPP $CPPFLAGS'
48647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48652 /* end confdefs.h. */
48653 #include <math.h>
48655 main ()
48657 _atan2l(0, 0);
48659 return 0;
48661 _ACEOF
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663 glibcxx_cv_func__atan2l_use=yes
48664 else
48665 glibcxx_cv_func__atan2l_use=no
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48668 ac_ext=c
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48679 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48681 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48682 for ac_func in _atan2l
48683 do :
48684 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48685 if test "x$ac_cv_func__atan2l" = x""yes; then :
48686 cat >>confdefs.h <<_ACEOF
48687 #define HAVE__ATAN2L 1
48688 _ACEOF
48691 done
48700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48701 $as_echo_n "checking for expl declaration... " >&6; }
48702 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48703 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48704 $as_echo_n "(cached) " >&6
48705 else
48708 ac_ext=cpp
48709 ac_cpp='$CXXCPP $CPPFLAGS'
48710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48715 /* end confdefs.h. */
48716 #include <math.h>
48717 #ifdef HAVE_IEEEFP_H
48718 #include <ieeefp.h>
48719 #endif
48722 main ()
48724 expl(0);
48726 return 0;
48728 _ACEOF
48729 if ac_fn_cxx_try_compile "$LINENO"; then :
48730 glibcxx_cv_func_expl_use=yes
48731 else
48732 glibcxx_cv_func_expl_use=no
48734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48735 ac_ext=c
48736 ac_cpp='$CPP $CPPFLAGS'
48737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48746 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48748 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48749 for ac_func in expl
48750 do :
48751 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48752 if test "x$ac_cv_func_expl" = x""yes; then :
48753 cat >>confdefs.h <<_ACEOF
48754 #define HAVE_EXPL 1
48755 _ACEOF
48758 done
48760 else
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48763 $as_echo_n "checking for _expl declaration... " >&6; }
48764 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48765 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48766 $as_echo_n "(cached) " >&6
48767 else
48770 ac_ext=cpp
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h. */
48778 #include <math.h>
48779 #ifdef HAVE_IEEEFP_H
48780 #include <ieeefp.h>
48781 #endif
48784 main ()
48786 _expl(0);
48788 return 0;
48790 _ACEOF
48791 if ac_fn_cxx_try_compile "$LINENO"; then :
48792 glibcxx_cv_func__expl_use=yes
48793 else
48794 glibcxx_cv_func__expl_use=no
48796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48797 ac_ext=c
48798 ac_cpp='$CPP $CPPFLAGS'
48799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48808 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48810 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48811 for ac_func in _expl
48812 do :
48813 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48814 if test "x$ac_cv_func__expl" = x""yes; then :
48815 cat >>confdefs.h <<_ACEOF
48816 #define HAVE__EXPL 1
48817 _ACEOF
48820 done
48829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48830 $as_echo_n "checking for fabsl declaration... " >&6; }
48831 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48832 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48833 $as_echo_n "(cached) " >&6
48834 else
48837 ac_ext=cpp
48838 ac_cpp='$CXXCPP $CPPFLAGS'
48839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48844 /* end confdefs.h. */
48845 #include <math.h>
48846 #ifdef HAVE_IEEEFP_H
48847 #include <ieeefp.h>
48848 #endif
48851 main ()
48853 fabsl(0);
48855 return 0;
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859 glibcxx_cv_func_fabsl_use=yes
48860 else
48861 glibcxx_cv_func_fabsl_use=no
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864 ac_ext=c
48865 ac_cpp='$CPP $CPPFLAGS'
48866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48875 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48877 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48878 for ac_func in fabsl
48879 do :
48880 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48881 if test "x$ac_cv_func_fabsl" = x""yes; then :
48882 cat >>confdefs.h <<_ACEOF
48883 #define HAVE_FABSL 1
48884 _ACEOF
48887 done
48889 else
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48892 $as_echo_n "checking for _fabsl declaration... " >&6; }
48893 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48894 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48895 $as_echo_n "(cached) " >&6
48896 else
48899 ac_ext=cpp
48900 ac_cpp='$CXXCPP $CPPFLAGS'
48901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48906 /* end confdefs.h. */
48907 #include <math.h>
48908 #ifdef HAVE_IEEEFP_H
48909 #include <ieeefp.h>
48910 #endif
48913 main ()
48915 _fabsl(0);
48917 return 0;
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921 glibcxx_cv_func__fabsl_use=yes
48922 else
48923 glibcxx_cv_func__fabsl_use=no
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48937 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48939 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48940 for ac_func in _fabsl
48941 do :
48942 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48943 if test "x$ac_cv_func__fabsl" = x""yes; then :
48944 cat >>confdefs.h <<_ACEOF
48945 #define HAVE__FABSL 1
48946 _ACEOF
48949 done
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48959 $as_echo_n "checking for fmodl declaration... " >&6; }
48960 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48961 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48976 main ()
48978 fmodl(0, 0);
48980 return 0;
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func_fmodl_use=yes
48985 else
48986 glibcxx_cv_func_fmodl_use=no
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49000 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49002 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49003 for ac_func in fmodl
49004 do :
49005 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49006 if test "x$ac_cv_func_fmodl" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE_FMODL 1
49009 _ACEOF
49012 done
49014 else
49016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49017 $as_echo_n "checking for _fmodl declaration... " >&6; }
49018 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49019 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49020 $as_echo_n "(cached) " >&6
49021 else
49024 ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h. */
49032 #include <math.h>
49034 main ()
49036 _fmodl(0, 0);
49038 return 0;
49040 _ACEOF
49041 if ac_fn_cxx_try_compile "$LINENO"; then :
49042 glibcxx_cv_func__fmodl_use=yes
49043 else
49044 glibcxx_cv_func__fmodl_use=no
49046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49047 ac_ext=c
49048 ac_cpp='$CPP $CPPFLAGS'
49049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49058 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49060 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49061 for ac_func in _fmodl
49062 do :
49063 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49064 if test "x$ac_cv_func__fmodl" = x""yes; then :
49065 cat >>confdefs.h <<_ACEOF
49066 #define HAVE__FMODL 1
49067 _ACEOF
49070 done
49079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49080 $as_echo_n "checking for frexpl declaration... " >&6; }
49081 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49082 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49083 $as_echo_n "(cached) " >&6
49084 else
49087 ac_ext=cpp
49088 ac_cpp='$CXXCPP $CPPFLAGS'
49089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49094 /* end confdefs.h. */
49095 #include <math.h>
49097 main ()
49099 frexpl(0, 0);
49101 return 0;
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105 glibcxx_cv_func_frexpl_use=yes
49106 else
49107 glibcxx_cv_func_frexpl_use=no
49109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49110 ac_ext=c
49111 ac_cpp='$CPP $CPPFLAGS'
49112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49121 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49123 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49124 for ac_func in frexpl
49125 do :
49126 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49127 if test "x$ac_cv_func_frexpl" = x""yes; then :
49128 cat >>confdefs.h <<_ACEOF
49129 #define HAVE_FREXPL 1
49130 _ACEOF
49133 done
49135 else
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49138 $as_echo_n "checking for _frexpl declaration... " >&6; }
49139 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49140 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49141 $as_echo_n "(cached) " >&6
49142 else
49145 ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h. */
49153 #include <math.h>
49155 main ()
49157 _frexpl(0, 0);
49159 return 0;
49161 _ACEOF
49162 if ac_fn_cxx_try_compile "$LINENO"; then :
49163 glibcxx_cv_func__frexpl_use=yes
49164 else
49165 glibcxx_cv_func__frexpl_use=no
49167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49168 ac_ext=c
49169 ac_cpp='$CPP $CPPFLAGS'
49170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49179 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49181 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49182 for ac_func in _frexpl
49183 do :
49184 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49185 if test "x$ac_cv_func__frexpl" = x""yes; then :
49186 cat >>confdefs.h <<_ACEOF
49187 #define HAVE__FREXPL 1
49188 _ACEOF
49191 done
49200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49201 $as_echo_n "checking for hypotl declaration... " >&6; }
49202 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49203 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49204 $as_echo_n "(cached) " >&6
49205 else
49208 ac_ext=cpp
49209 ac_cpp='$CXXCPP $CPPFLAGS'
49210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49215 /* end confdefs.h. */
49216 #include <math.h>
49218 main ()
49220 hypotl(0, 0);
49222 return 0;
49224 _ACEOF
49225 if ac_fn_cxx_try_compile "$LINENO"; then :
49226 glibcxx_cv_func_hypotl_use=yes
49227 else
49228 glibcxx_cv_func_hypotl_use=no
49230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49231 ac_ext=c
49232 ac_cpp='$CPP $CPPFLAGS'
49233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49242 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49244 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49245 for ac_func in hypotl
49246 do :
49247 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49248 if test "x$ac_cv_func_hypotl" = x""yes; then :
49249 cat >>confdefs.h <<_ACEOF
49250 #define HAVE_HYPOTL 1
49251 _ACEOF
49254 done
49256 else
49258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49259 $as_echo_n "checking for _hypotl declaration... " >&6; }
49260 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49261 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49262 $as_echo_n "(cached) " >&6
49263 else
49266 ac_ext=cpp
49267 ac_cpp='$CXXCPP $CPPFLAGS'
49268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49273 /* end confdefs.h. */
49274 #include <math.h>
49276 main ()
49278 _hypotl(0, 0);
49280 return 0;
49282 _ACEOF
49283 if ac_fn_cxx_try_compile "$LINENO"; then :
49284 glibcxx_cv_func__hypotl_use=yes
49285 else
49286 glibcxx_cv_func__hypotl_use=no
49288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49289 ac_ext=c
49290 ac_cpp='$CPP $CPPFLAGS'
49291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49300 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49302 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49303 for ac_func in _hypotl
49304 do :
49305 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49306 if test "x$ac_cv_func__hypotl" = x""yes; then :
49307 cat >>confdefs.h <<_ACEOF
49308 #define HAVE__HYPOTL 1
49309 _ACEOF
49312 done
49321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49322 $as_echo_n "checking for ldexpl declaration... " >&6; }
49323 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49324 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49325 $as_echo_n "(cached) " >&6
49326 else
49329 ac_ext=cpp
49330 ac_cpp='$CXXCPP $CPPFLAGS'
49331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336 /* end confdefs.h. */
49337 #include <math.h>
49339 main ()
49341 ldexpl(0, 0);
49343 return 0;
49345 _ACEOF
49346 if ac_fn_cxx_try_compile "$LINENO"; then :
49347 glibcxx_cv_func_ldexpl_use=yes
49348 else
49349 glibcxx_cv_func_ldexpl_use=no
49351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49352 ac_ext=c
49353 ac_cpp='$CPP $CPPFLAGS'
49354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49363 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49365 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49366 for ac_func in ldexpl
49367 do :
49368 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49369 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49370 cat >>confdefs.h <<_ACEOF
49371 #define HAVE_LDEXPL 1
49372 _ACEOF
49375 done
49377 else
49379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49380 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49381 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49382 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49383 $as_echo_n "(cached) " >&6
49384 else
49387 ac_ext=cpp
49388 ac_cpp='$CXXCPP $CPPFLAGS'
49389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49394 /* end confdefs.h. */
49395 #include <math.h>
49397 main ()
49399 _ldexpl(0, 0);
49401 return 0;
49403 _ACEOF
49404 if ac_fn_cxx_try_compile "$LINENO"; then :
49405 glibcxx_cv_func__ldexpl_use=yes
49406 else
49407 glibcxx_cv_func__ldexpl_use=no
49409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49410 ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49421 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49423 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49424 for ac_func in _ldexpl
49425 do :
49426 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49427 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49428 cat >>confdefs.h <<_ACEOF
49429 #define HAVE__LDEXPL 1
49430 _ACEOF
49433 done
49442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49443 $as_echo_n "checking for logl declaration... " >&6; }
49444 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49445 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49446 $as_echo_n "(cached) " >&6
49447 else
49450 ac_ext=cpp
49451 ac_cpp='$CXXCPP $CPPFLAGS'
49452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49457 /* end confdefs.h. */
49458 #include <math.h>
49459 #ifdef HAVE_IEEEFP_H
49460 #include <ieeefp.h>
49461 #endif
49464 main ()
49466 logl(0);
49468 return 0;
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472 glibcxx_cv_func_logl_use=yes
49473 else
49474 glibcxx_cv_func_logl_use=no
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49488 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49490 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49491 for ac_func in logl
49492 do :
49493 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49494 if test "x$ac_cv_func_logl" = x""yes; then :
49495 cat >>confdefs.h <<_ACEOF
49496 #define HAVE_LOGL 1
49497 _ACEOF
49500 done
49502 else
49504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49505 $as_echo_n "checking for _logl declaration... " >&6; }
49506 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49507 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49508 $as_echo_n "(cached) " >&6
49509 else
49512 ac_ext=cpp
49513 ac_cpp='$CXXCPP $CPPFLAGS'
49514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49519 /* end confdefs.h. */
49520 #include <math.h>
49521 #ifdef HAVE_IEEEFP_H
49522 #include <ieeefp.h>
49523 #endif
49526 main ()
49528 _logl(0);
49530 return 0;
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534 glibcxx_cv_func__logl_use=yes
49535 else
49536 glibcxx_cv_func__logl_use=no
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539 ac_ext=c
49540 ac_cpp='$CPP $CPPFLAGS'
49541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49550 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49552 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49553 for ac_func in _logl
49554 do :
49555 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49556 if test "x$ac_cv_func__logl" = x""yes; then :
49557 cat >>confdefs.h <<_ACEOF
49558 #define HAVE__LOGL 1
49559 _ACEOF
49562 done
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49572 $as_echo_n "checking for log10l declaration... " >&6; }
49573 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49574 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 #ifdef HAVE_IEEEFP_H
49589 #include <ieeefp.h>
49590 #endif
49593 main ()
49595 log10l(0);
49597 return 0;
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601 glibcxx_cv_func_log10l_use=yes
49602 else
49603 glibcxx_cv_func_log10l_use=no
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606 ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49617 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49619 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49620 for ac_func in log10l
49621 do :
49622 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49623 if test "x$ac_cv_func_log10l" = x""yes; then :
49624 cat >>confdefs.h <<_ACEOF
49625 #define HAVE_LOG10L 1
49626 _ACEOF
49629 done
49631 else
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49634 $as_echo_n "checking for _log10l declaration... " >&6; }
49635 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49636 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49655 main ()
49657 _log10l(0);
49659 return 0;
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func__log10l_use=yes
49664 else
49665 glibcxx_cv_func__log10l_use=no
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49679 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49681 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49682 for ac_func in _log10l
49683 do :
49684 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49685 if test "x$ac_cv_func__log10l" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE__LOG10L 1
49688 _ACEOF
49691 done
49700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49701 $as_echo_n "checking for modfl declaration... " >&6; }
49702 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49703 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49704 $as_echo_n "(cached) " >&6
49705 else
49708 ac_ext=cpp
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49715 /* end confdefs.h. */
49716 #include <math.h>
49718 main ()
49720 modfl(0, 0);
49722 return 0;
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func_modfl_use=yes
49727 else
49728 glibcxx_cv_func_modfl_use=no
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49742 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49744 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49745 for ac_func in modfl
49746 do :
49747 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49748 if test "x$ac_cv_func_modfl" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE_MODFL 1
49751 _ACEOF
49754 done
49756 else
49758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49759 $as_echo_n "checking for _modfl declaration... " >&6; }
49760 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49761 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49762 $as_echo_n "(cached) " >&6
49763 else
49766 ac_ext=cpp
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49773 /* end confdefs.h. */
49774 #include <math.h>
49776 main ()
49778 _modfl(0, 0);
49780 return 0;
49782 _ACEOF
49783 if ac_fn_cxx_try_compile "$LINENO"; then :
49784 glibcxx_cv_func__modfl_use=yes
49785 else
49786 glibcxx_cv_func__modfl_use=no
49788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49789 ac_ext=c
49790 ac_cpp='$CPP $CPPFLAGS'
49791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49800 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49802 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49803 for ac_func in _modfl
49804 do :
49805 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49806 if test "x$ac_cv_func__modfl" = x""yes; then :
49807 cat >>confdefs.h <<_ACEOF
49808 #define HAVE__MODFL 1
49809 _ACEOF
49812 done
49821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49822 $as_echo_n "checking for powl declaration... " >&6; }
49823 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49824 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49825 $as_echo_n "(cached) " >&6
49826 else
49829 ac_ext=cpp
49830 ac_cpp='$CXXCPP $CPPFLAGS'
49831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49836 /* end confdefs.h. */
49837 #include <math.h>
49839 main ()
49841 powl(0, 0);
49843 return 0;
49845 _ACEOF
49846 if ac_fn_cxx_try_compile "$LINENO"; then :
49847 glibcxx_cv_func_powl_use=yes
49848 else
49849 glibcxx_cv_func_powl_use=no
49851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49852 ac_ext=c
49853 ac_cpp='$CPP $CPPFLAGS'
49854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49863 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49865 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49866 for ac_func in powl
49867 do :
49868 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49869 if test "x$ac_cv_func_powl" = x""yes; then :
49870 cat >>confdefs.h <<_ACEOF
49871 #define HAVE_POWL 1
49872 _ACEOF
49875 done
49877 else
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49880 $as_echo_n "checking for _powl declaration... " >&6; }
49881 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49882 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49883 $as_echo_n "(cached) " >&6
49884 else
49887 ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h. */
49895 #include <math.h>
49897 main ()
49899 _powl(0, 0);
49901 return 0;
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905 glibcxx_cv_func__powl_use=yes
49906 else
49907 glibcxx_cv_func__powl_use=no
49909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49910 ac_ext=c
49911 ac_cpp='$CPP $CPPFLAGS'
49912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49921 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49923 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49924 for ac_func in _powl
49925 do :
49926 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49927 if test "x$ac_cv_func__powl" = x""yes; then :
49928 cat >>confdefs.h <<_ACEOF
49929 #define HAVE__POWL 1
49930 _ACEOF
49933 done
49942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49943 $as_echo_n "checking for sqrtl declaration... " >&6; }
49944 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49945 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49946 $as_echo_n "(cached) " >&6
49947 else
49950 ac_ext=cpp
49951 ac_cpp='$CXXCPP $CPPFLAGS'
49952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49957 /* end confdefs.h. */
49958 #include <math.h>
49959 #ifdef HAVE_IEEEFP_H
49960 #include <ieeefp.h>
49961 #endif
49964 main ()
49966 sqrtl(0);
49968 return 0;
49970 _ACEOF
49971 if ac_fn_cxx_try_compile "$LINENO"; then :
49972 glibcxx_cv_func_sqrtl_use=yes
49973 else
49974 glibcxx_cv_func_sqrtl_use=no
49976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49977 ac_ext=c
49978 ac_cpp='$CPP $CPPFLAGS'
49979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49988 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49990 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49991 for ac_func in sqrtl
49992 do :
49993 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49994 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49995 cat >>confdefs.h <<_ACEOF
49996 #define HAVE_SQRTL 1
49997 _ACEOF
50000 done
50002 else
50004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50005 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50006 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50007 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50008 $as_echo_n "(cached) " >&6
50009 else
50012 ac_ext=cpp
50013 ac_cpp='$CXXCPP $CPPFLAGS'
50014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50019 /* end confdefs.h. */
50020 #include <math.h>
50021 #ifdef HAVE_IEEEFP_H
50022 #include <ieeefp.h>
50023 #endif
50026 main ()
50028 _sqrtl(0);
50030 return 0;
50032 _ACEOF
50033 if ac_fn_cxx_try_compile "$LINENO"; then :
50034 glibcxx_cv_func__sqrtl_use=yes
50035 else
50036 glibcxx_cv_func__sqrtl_use=no
50038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50039 ac_ext=c
50040 ac_cpp='$CPP $CPPFLAGS'
50041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50050 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50052 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50053 for ac_func in _sqrtl
50054 do :
50055 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50056 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50057 cat >>confdefs.h <<_ACEOF
50058 #define HAVE__SQRTL 1
50059 _ACEOF
50062 done
50071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50072 $as_echo_n "checking for sincosl declaration... " >&6; }
50073 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50074 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50075 $as_echo_n "(cached) " >&6
50076 else
50079 ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h. */
50087 #include <math.h>
50089 main ()
50091 sincosl(0, 0, 0);
50093 return 0;
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097 glibcxx_cv_func_sincosl_use=yes
50098 else
50099 glibcxx_cv_func_sincosl_use=no
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102 ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50113 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50115 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50116 for ac_func in sincosl
50117 do :
50118 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50119 if test "x$ac_cv_func_sincosl" = x""yes; then :
50120 cat >>confdefs.h <<_ACEOF
50121 #define HAVE_SINCOSL 1
50122 _ACEOF
50125 done
50127 else
50129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50130 $as_echo_n "checking for _sincosl declaration... " >&6; }
50131 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50132 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50133 $as_echo_n "(cached) " >&6
50134 else
50137 ac_ext=cpp
50138 ac_cpp='$CXXCPP $CPPFLAGS'
50139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50144 /* end confdefs.h. */
50145 #include <math.h>
50147 main ()
50149 _sincosl(0, 0, 0);
50151 return 0;
50153 _ACEOF
50154 if ac_fn_cxx_try_compile "$LINENO"; then :
50155 glibcxx_cv_func__sincosl_use=yes
50156 else
50157 glibcxx_cv_func__sincosl_use=no
50159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50160 ac_ext=c
50161 ac_cpp='$CPP $CPPFLAGS'
50162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50171 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50173 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50174 for ac_func in _sincosl
50175 do :
50176 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50177 if test "x$ac_cv_func__sincosl" = x""yes; then :
50178 cat >>confdefs.h <<_ACEOF
50179 #define HAVE__SINCOSL 1
50180 _ACEOF
50183 done
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50193 $as_echo_n "checking for finitel declaration... " >&6; }
50194 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50195 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50209 #ifdef HAVE_IEEEFP_H
50210 #include <ieeefp.h>
50211 #endif
50214 main ()
50216 finitel(0);
50218 return 0;
50220 _ACEOF
50221 if ac_fn_cxx_try_compile "$LINENO"; then :
50222 glibcxx_cv_func_finitel_use=yes
50223 else
50224 glibcxx_cv_func_finitel_use=no
50226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50227 ac_ext=c
50228 ac_cpp='$CPP $CPPFLAGS'
50229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50238 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50240 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50241 for ac_func in finitel
50242 do :
50243 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50244 if test "x$ac_cv_func_finitel" = x""yes; then :
50245 cat >>confdefs.h <<_ACEOF
50246 #define HAVE_FINITEL 1
50247 _ACEOF
50250 done
50252 else
50254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50255 $as_echo_n "checking for _finitel declaration... " >&6; }
50256 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50257 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50258 $as_echo_n "(cached) " >&6
50259 else
50262 ac_ext=cpp
50263 ac_cpp='$CXXCPP $CPPFLAGS'
50264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50269 /* end confdefs.h. */
50270 #include <math.h>
50271 #ifdef HAVE_IEEEFP_H
50272 #include <ieeefp.h>
50273 #endif
50276 main ()
50278 _finitel(0);
50280 return 0;
50282 _ACEOF
50283 if ac_fn_cxx_try_compile "$LINENO"; then :
50284 glibcxx_cv_func__finitel_use=yes
50285 else
50286 glibcxx_cv_func__finitel_use=no
50288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50289 ac_ext=c
50290 ac_cpp='$CPP $CPPFLAGS'
50291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50300 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50302 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50303 for ac_func in _finitel
50304 do :
50305 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50306 if test "x$ac_cv_func__finitel" = x""yes; then :
50307 cat >>confdefs.h <<_ACEOF
50308 #define HAVE__FINITEL 1
50309 _ACEOF
50312 done
50320 LIBS="$ac_save_LIBS"
50321 CXXFLAGS="$ac_save_CXXFLAGS"
50324 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50325 ac_save_CXXFLAGS="$CXXFLAGS"
50326 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50330 $as_echo_n "checking for strtold declaration... " >&6; }
50331 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50332 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50333 $as_echo_n "(cached) " >&6
50334 else
50337 ac_ext=cpp
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h. */
50345 #include <stdlib.h>
50347 main ()
50349 strtold(0, 0);
50351 return 0;
50353 _ACEOF
50354 if ac_fn_cxx_try_compile "$LINENO"; then :
50355 glibcxx_cv_func_strtold_use=yes
50356 else
50357 glibcxx_cv_func_strtold_use=no
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360 ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50371 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50372 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50373 for ac_func in strtold
50374 do :
50375 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50376 if test "x$ac_cv_func_strtold" = x""yes; then :
50377 cat >>confdefs.h <<_ACEOF
50378 #define HAVE_STRTOLD 1
50379 _ACEOF
50382 done
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50390 $as_echo_n "checking for strtof declaration... " >&6; }
50391 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50392 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50393 $as_echo_n "(cached) " >&6
50394 else
50397 ac_ext=cpp
50398 ac_cpp='$CXXCPP $CPPFLAGS'
50399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50404 /* end confdefs.h. */
50405 #include <stdlib.h>
50407 main ()
50409 strtof(0, 0);
50411 return 0;
50413 _ACEOF
50414 if ac_fn_cxx_try_compile "$LINENO"; then :
50415 glibcxx_cv_func_strtof_use=yes
50416 else
50417 glibcxx_cv_func_strtof_use=no
50419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50420 ac_ext=c
50421 ac_cpp='$CPP $CPPFLAGS'
50422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50431 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50432 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50433 for ac_func in strtof
50434 do :
50435 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50436 if test "x$ac_cv_func_strtof" = x""yes; then :
50437 cat >>confdefs.h <<_ACEOF
50438 #define HAVE_STRTOF 1
50439 _ACEOF
50442 done
50449 CXXFLAGS="$ac_save_CXXFLAGS"
50451 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50455 # Check whether --enable-tls was given.
50456 if test "${enable_tls+set}" = set; then :
50457 enableval=$enable_tls;
50458 case "$enableval" in
50459 yes|no) ;;
50460 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50461 esac
50463 else
50464 enable_tls=yes
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50469 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50470 if test "${gcc_cv_have_tls+set}" = set; then :
50471 $as_echo_n "(cached) " >&6
50472 else
50474 if test "$cross_compiling" = yes; then :
50475 if test x$gcc_no_link = xyes; then
50476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 __thread int a; int b; int main() { return a = b; }
50481 _ACEOF
50482 if ac_fn_c_try_link "$LINENO"; then :
50483 chktls_save_LDFLAGS="$LDFLAGS"
50484 case $host in
50485 *-*-linux*)
50486 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50488 esac
50489 chktls_save_CFLAGS="$CFLAGS"
50490 CFLAGS="-fPIC $CFLAGS"
50491 if test x$gcc_no_link = xyes; then
50492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50495 /* end confdefs.h. */
50496 int f() { return 0; }
50497 _ACEOF
50498 if ac_fn_c_try_link "$LINENO"; then :
50499 if test x$gcc_no_link = xyes; then
50500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 __thread int a; int b; int f() { return a = b; }
50505 _ACEOF
50506 if ac_fn_c_try_link "$LINENO"; then :
50507 gcc_cv_have_tls=yes
50508 else
50509 gcc_cv_have_tls=no
50511 rm -f core conftest.err conftest.$ac_objext \
50512 conftest$ac_exeext conftest.$ac_ext
50513 else
50514 gcc_cv_have_tls=yes
50516 rm -f core conftest.err conftest.$ac_objext \
50517 conftest$ac_exeext conftest.$ac_ext
50518 CFLAGS="$chktls_save_CFLAGS"
50519 LDFLAGS="$chktls_save_LDFLAGS"
50520 else
50521 gcc_cv_have_tls=no
50523 rm -f core conftest.err conftest.$ac_objext \
50524 conftest$ac_exeext conftest.$ac_ext
50527 else
50528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50529 /* end confdefs.h. */
50530 __thread int a; int b; int main() { return a = b; }
50531 _ACEOF
50532 if ac_fn_c_try_run "$LINENO"; then :
50533 chktls_save_LDFLAGS="$LDFLAGS"
50534 LDFLAGS="-static $LDFLAGS"
50535 if test x$gcc_no_link = xyes; then
50536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50539 /* end confdefs.h. */
50540 int main() { return 0; }
50541 _ACEOF
50542 if ac_fn_c_try_link "$LINENO"; then :
50543 if test "$cross_compiling" = yes; then :
50544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50546 as_fn_error "cannot run test program while cross compiling
50547 See \`config.log' for more details." "$LINENO" 5; }
50548 else
50549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h. */
50551 __thread int a; int b; int main() { return a = b; }
50552 _ACEOF
50553 if ac_fn_c_try_run "$LINENO"; then :
50554 gcc_cv_have_tls=yes
50555 else
50556 gcc_cv_have_tls=no
50558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50559 conftest.$ac_objext conftest.beam conftest.$ac_ext
50562 else
50563 gcc_cv_have_tls=yes
50565 rm -f core conftest.err conftest.$ac_objext \
50566 conftest$ac_exeext conftest.$ac_ext
50567 LDFLAGS="$chktls_save_LDFLAGS"
50568 if test $gcc_cv_have_tls = yes; then
50569 chktls_save_CFLAGS="$CFLAGS"
50570 thread_CFLAGS=failed
50571 for flag in '' '-pthread' '-lpthread'; do
50572 CFLAGS="$flag $chktls_save_CFLAGS"
50573 if test x$gcc_no_link = xyes; then
50574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 #include <pthread.h>
50579 void *g(void *d) { return NULL; }
50581 main ()
50583 pthread_t t; pthread_create(&t,NULL,g,NULL);
50585 return 0;
50587 _ACEOF
50588 if ac_fn_c_try_link "$LINENO"; then :
50589 thread_CFLAGS="$flag"
50591 rm -f core conftest.err conftest.$ac_objext \
50592 conftest$ac_exeext conftest.$ac_ext
50593 if test "X$thread_CFLAGS" != Xfailed; then
50594 break
50596 done
50597 CFLAGS="$chktls_save_CFLAGS"
50598 if test "X$thread_CFLAGS" != Xfailed; then
50599 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50600 if test "$cross_compiling" = yes; then :
50601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50603 as_fn_error "cannot run test program while cross compiling
50604 See \`config.log' for more details." "$LINENO" 5; }
50605 else
50606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50607 /* end confdefs.h. */
50608 #include <pthread.h>
50609 __thread int a;
50610 static int *volatile a_in_other_thread;
50611 static void *
50612 thread_func (void *arg)
50614 a_in_other_thread = &a;
50615 return (void *)0;
50618 main ()
50620 pthread_t thread;
50621 void *thread_retval;
50622 int *volatile a_in_main_thread;
50623 a_in_main_thread = &a;
50624 if (pthread_create (&thread, (pthread_attr_t *)0,
50625 thread_func, (void *)0))
50626 return 0;
50627 if (pthread_join (thread, &thread_retval))
50628 return 0;
50629 return (a_in_other_thread == a_in_main_thread);
50631 return 0;
50633 _ACEOF
50634 if ac_fn_c_try_run "$LINENO"; then :
50635 gcc_cv_have_tls=yes
50636 else
50637 gcc_cv_have_tls=no
50639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50640 conftest.$ac_objext conftest.beam conftest.$ac_ext
50643 CFLAGS="$chktls_save_CFLAGS"
50646 else
50647 gcc_cv_have_tls=no
50649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50650 conftest.$ac_objext conftest.beam conftest.$ac_ext
50654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50655 $as_echo "$gcc_cv_have_tls" >&6; }
50656 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50658 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50666 am_save_CPPFLAGS="$CPPFLAGS"
50668 for element in $INCICONV; do
50669 haveit=
50670 for x in $CPPFLAGS; do
50672 acl_save_prefix="$prefix"
50673 prefix="$acl_final_prefix"
50674 acl_save_exec_prefix="$exec_prefix"
50675 exec_prefix="$acl_final_exec_prefix"
50676 eval x=\"$x\"
50677 exec_prefix="$acl_save_exec_prefix"
50678 prefix="$acl_save_prefix"
50680 if test "X$x" = "X$element"; then
50681 haveit=yes
50682 break
50684 done
50685 if test -z "$haveit"; then
50686 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50688 done
50691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50692 $as_echo_n "checking for iconv... " >&6; }
50693 if test "${am_cv_func_iconv+set}" = set; then :
50694 $as_echo_n "(cached) " >&6
50695 else
50697 am_cv_func_iconv="no, consider installing GNU libiconv"
50698 am_cv_lib_iconv=no
50699 if test x$gcc_no_link = xyes; then
50700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <stdlib.h>
50705 #include <iconv.h>
50707 main ()
50709 iconv_t cd = iconv_open("","");
50710 iconv(cd,NULL,NULL,NULL,NULL);
50711 iconv_close(cd);
50713 return 0;
50715 _ACEOF
50716 if ac_fn_c_try_link "$LINENO"; then :
50717 am_cv_func_iconv=yes
50719 rm -f core conftest.err conftest.$ac_objext \
50720 conftest$ac_exeext conftest.$ac_ext
50721 if test "$am_cv_func_iconv" != yes; then
50722 am_save_LIBS="$LIBS"
50723 LIBS="$LIBS $LIBICONV"
50724 if test x$gcc_no_link = xyes; then
50725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50728 /* end confdefs.h. */
50729 #include <stdlib.h>
50730 #include <iconv.h>
50732 main ()
50734 iconv_t cd = iconv_open("","");
50735 iconv(cd,NULL,NULL,NULL,NULL);
50736 iconv_close(cd);
50738 return 0;
50740 _ACEOF
50741 if ac_fn_c_try_link "$LINENO"; then :
50742 am_cv_lib_iconv=yes
50743 am_cv_func_iconv=yes
50745 rm -f core conftest.err conftest.$ac_objext \
50746 conftest$ac_exeext conftest.$ac_ext
50747 LIBS="$am_save_LIBS"
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50752 $as_echo "$am_cv_func_iconv" >&6; }
50753 if test "$am_cv_func_iconv" = yes; then
50755 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50758 if test "$am_cv_lib_iconv" = yes; then
50759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50760 $as_echo_n "checking how to link with libiconv... " >&6; }
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50762 $as_echo "$LIBICONV" >&6; }
50763 else
50764 CPPFLAGS="$am_save_CPPFLAGS"
50765 LIBICONV=
50766 LTLIBICONV=
50771 if test "$am_cv_func_iconv" = yes; then
50772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50773 $as_echo_n "checking for iconv declaration... " >&6; }
50774 if test "${am_cv_proto_iconv+set}" = set; then :
50775 $as_echo_n "(cached) " >&6
50776 else
50778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50779 /* end confdefs.h. */
50781 #include <stdlib.h>
50782 #include <iconv.h>
50783 extern
50784 #ifdef __cplusplus
50786 #endif
50787 #if defined(__STDC__) || defined(__cplusplus)
50788 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50789 #else
50790 size_t iconv();
50791 #endif
50794 main ()
50798 return 0;
50800 _ACEOF
50801 if ac_fn_c_try_compile "$LINENO"; then :
50802 am_cv_proto_iconv_arg1=""
50803 else
50804 am_cv_proto_iconv_arg1="const"
50806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50807 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);"
50810 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50812 }$am_cv_proto_iconv" >&5
50813 $as_echo "${ac_t:-
50814 }$am_cv_proto_iconv" >&6; }
50816 cat >>confdefs.h <<_ACEOF
50817 #define ICONV_CONST $am_cv_proto_iconv_arg1
50818 _ACEOF
50823 *-mingw32*)
50825 # If we're not using GNU ld, then there's no point in even trying these
50826 # tests. Check for that first. We should have already tested for gld
50827 # by now (in libtool), but require it now just to be safe...
50828 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50829 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50833 # The name set by libtool depends on the version of libtool. Shame on us
50834 # for depending on an impl detail, but c'est la vie. Older versions used
50835 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50836 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50837 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50838 # set (hence we're using an older libtool), then set it.
50839 if test x${with_gnu_ld+set} != xset; then
50840 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50841 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50842 with_gnu_ld=no
50843 else
50844 with_gnu_ld=$ac_cv_prog_gnu_ld
50848 # Start by getting the version number. I think the libtool test already
50849 # does some of this, but throws away the result.
50850 glibcxx_ld_is_gold=no
50851 if test x"$with_gnu_ld" = x"yes"; then
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50853 $as_echo_n "checking for ld version... " >&6; }
50855 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50856 glibcxx_ld_is_gold=yes
50858 ldver=`$LD --version 2>/dev/null |
50859 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'`
50861 glibcxx_gnu_ld_version=`echo $ldver | \
50862 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50864 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50867 # Set --gc-sections.
50868 glibcxx_have_gc_sections=no
50869 if test "$glibcxx_ld_is_gold" = "yes"; then
50870 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50871 glibcxx_have_gc_sections=yes
50873 else
50874 glibcxx_gcsections_min_ld=21602
50875 if test x"$with_gnu_ld" = x"yes" &&
50876 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50877 glibcxx_have_gc_sections=yes
50880 if test "$glibcxx_have_gc_sections" = "yes"; then
50881 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50882 # NB: This flag only works reliably after 2.16.1. Configure tests
50883 # for this are difficult, so hard wire a value that should work.
50885 ac_test_CFLAGS="${CFLAGS+set}"
50886 ac_save_CFLAGS="$CFLAGS"
50887 CFLAGS='-Wl,--gc-sections'
50889 # Check for -Wl,--gc-sections
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50891 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50892 if test x$gcc_no_link = xyes; then
50893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50896 /* end confdefs.h. */
50897 int one(void) { return 1; }
50898 int two(void) { return 2; }
50901 main ()
50903 two();
50905 return 0;
50907 _ACEOF
50908 if ac_fn_c_try_link "$LINENO"; then :
50909 ac_gcsections=yes
50910 else
50911 ac_gcsections=no
50913 rm -f core conftest.err conftest.$ac_objext \
50914 conftest$ac_exeext conftest.$ac_ext
50915 if test "$ac_gcsections" = "yes"; then
50916 rm -f conftest.c
50917 touch conftest.c
50918 if $CC -c conftest.c; then
50919 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50920 grep "Warning: gc-sections option ignored" > /dev/null; then
50921 ac_gcsections=no
50924 rm -f conftest.c conftest.o conftest
50926 if test "$ac_gcsections" = "yes"; then
50927 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50930 $as_echo "$ac_gcsections" >&6; }
50932 if test "$ac_test_CFLAGS" = set; then
50933 CFLAGS="$ac_save_CFLAGS"
50934 else
50935 # this is the suspicious part
50936 CFLAGS=''
50940 # Set -z,relro.
50941 # Note this is only for shared objects.
50942 ac_ld_relro=no
50943 if test x"$with_gnu_ld" = x"yes"; then
50944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50945 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50946 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50947 if test -n "$cxx_z_relo"; then
50948 OPT_LDFLAGS="-Wl,-z,relro"
50949 ac_ld_relro=yes
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50952 $as_echo "$ac_ld_relro" >&6; }
50955 # Set linker optimization flags.
50956 if test x"$with_gnu_ld" = x"yes"; then
50957 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50965 ac_save_CXXFLAGS="$CXXFLAGS"
50966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50969 $as_echo_n "checking for sin in -lm... " >&6; }
50970 if test "${ac_cv_lib_m_sin+set}" = set; then :
50971 $as_echo_n "(cached) " >&6
50972 else
50973 ac_check_lib_save_LIBS=$LIBS
50974 LIBS="-lm $LIBS"
50975 if test x$gcc_no_link = xyes; then
50976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50979 /* end confdefs.h. */
50981 /* Override any GCC internal prototype to avoid an error.
50982 Use char because int might match the return type of a GCC
50983 builtin and then its argument prototype would still apply. */
50984 #ifdef __cplusplus
50985 extern "C"
50986 #endif
50987 char sin ();
50989 main ()
50991 return sin ();
50993 return 0;
50995 _ACEOF
50996 if ac_fn_c_try_link "$LINENO"; then :
50997 ac_cv_lib_m_sin=yes
50998 else
50999 ac_cv_lib_m_sin=no
51001 rm -f core conftest.err conftest.$ac_objext \
51002 conftest$ac_exeext conftest.$ac_ext
51003 LIBS=$ac_check_lib_save_LIBS
51005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51006 $as_echo "$ac_cv_lib_m_sin" >&6; }
51007 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51008 libm="-lm"
51011 ac_save_LIBS="$LIBS"
51012 LIBS="$LIBS $libm"
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51017 $as_echo_n "checking for isinf declaration... " >&6; }
51018 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51019 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51020 $as_echo_n "(cached) " >&6
51021 else
51024 ac_ext=cpp
51025 ac_cpp='$CXXCPP $CPPFLAGS'
51026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51031 /* end confdefs.h. */
51032 #include <math.h>
51033 #ifdef HAVE_IEEEFP_H
51034 #include <ieeefp.h>
51035 #endif
51038 main ()
51040 isinf(0);
51042 return 0;
51044 _ACEOF
51045 if ac_fn_cxx_try_compile "$LINENO"; then :
51046 glibcxx_cv_func_isinf_use=yes
51047 else
51048 glibcxx_cv_func_isinf_use=no
51050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51051 ac_ext=c
51052 ac_cpp='$CPP $CPPFLAGS'
51053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51062 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51064 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51065 for ac_func in isinf
51066 do :
51067 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51068 if test "x$ac_cv_func_isinf" = x""yes; then :
51069 cat >>confdefs.h <<_ACEOF
51070 #define HAVE_ISINF 1
51071 _ACEOF
51074 done
51076 else
51078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51079 $as_echo_n "checking for _isinf declaration... " >&6; }
51080 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51081 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51082 $as_echo_n "(cached) " >&6
51083 else
51086 ac_ext=cpp
51087 ac_cpp='$CXXCPP $CPPFLAGS'
51088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51093 /* end confdefs.h. */
51094 #include <math.h>
51095 #ifdef HAVE_IEEEFP_H
51096 #include <ieeefp.h>
51097 #endif
51100 main ()
51102 _isinf(0);
51104 return 0;
51106 _ACEOF
51107 if ac_fn_cxx_try_compile "$LINENO"; then :
51108 glibcxx_cv_func__isinf_use=yes
51109 else
51110 glibcxx_cv_func__isinf_use=no
51112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51113 ac_ext=c
51114 ac_cpp='$CPP $CPPFLAGS'
51115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51124 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51126 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51127 for ac_func in _isinf
51128 do :
51129 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51130 if test "x$ac_cv_func__isinf" = x""yes; then :
51131 cat >>confdefs.h <<_ACEOF
51132 #define HAVE__ISINF 1
51133 _ACEOF
51136 done
51145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51146 $as_echo_n "checking for isnan declaration... " >&6; }
51147 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51148 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51149 $as_echo_n "(cached) " >&6
51150 else
51153 ac_ext=cpp
51154 ac_cpp='$CXXCPP $CPPFLAGS'
51155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51160 /* end confdefs.h. */
51161 #include <math.h>
51162 #ifdef HAVE_IEEEFP_H
51163 #include <ieeefp.h>
51164 #endif
51167 main ()
51169 isnan(0);
51171 return 0;
51173 _ACEOF
51174 if ac_fn_cxx_try_compile "$LINENO"; then :
51175 glibcxx_cv_func_isnan_use=yes
51176 else
51177 glibcxx_cv_func_isnan_use=no
51179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51180 ac_ext=c
51181 ac_cpp='$CPP $CPPFLAGS'
51182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51191 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51193 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51194 for ac_func in isnan
51195 do :
51196 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51197 if test "x$ac_cv_func_isnan" = x""yes; then :
51198 cat >>confdefs.h <<_ACEOF
51199 #define HAVE_ISNAN 1
51200 _ACEOF
51203 done
51205 else
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51208 $as_echo_n "checking for _isnan declaration... " >&6; }
51209 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51210 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51211 $as_echo_n "(cached) " >&6
51212 else
51215 ac_ext=cpp
51216 ac_cpp='$CXXCPP $CPPFLAGS'
51217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51222 /* end confdefs.h. */
51223 #include <math.h>
51224 #ifdef HAVE_IEEEFP_H
51225 #include <ieeefp.h>
51226 #endif
51229 main ()
51231 _isnan(0);
51233 return 0;
51235 _ACEOF
51236 if ac_fn_cxx_try_compile "$LINENO"; then :
51237 glibcxx_cv_func__isnan_use=yes
51238 else
51239 glibcxx_cv_func__isnan_use=no
51241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51242 ac_ext=c
51243 ac_cpp='$CPP $CPPFLAGS'
51244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51253 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51255 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51256 for ac_func in _isnan
51257 do :
51258 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51259 if test "x$ac_cv_func__isnan" = x""yes; then :
51260 cat >>confdefs.h <<_ACEOF
51261 #define HAVE__ISNAN 1
51262 _ACEOF
51265 done
51274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51275 $as_echo_n "checking for finite declaration... " >&6; }
51276 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51277 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51278 $as_echo_n "(cached) " >&6
51279 else
51282 ac_ext=cpp
51283 ac_cpp='$CXXCPP $CPPFLAGS'
51284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51289 /* end confdefs.h. */
51290 #include <math.h>
51291 #ifdef HAVE_IEEEFP_H
51292 #include <ieeefp.h>
51293 #endif
51296 main ()
51298 finite(0);
51300 return 0;
51302 _ACEOF
51303 if ac_fn_cxx_try_compile "$LINENO"; then :
51304 glibcxx_cv_func_finite_use=yes
51305 else
51306 glibcxx_cv_func_finite_use=no
51308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51309 ac_ext=c
51310 ac_cpp='$CPP $CPPFLAGS'
51311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51320 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51322 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51323 for ac_func in finite
51324 do :
51325 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51326 if test "x$ac_cv_func_finite" = x""yes; then :
51327 cat >>confdefs.h <<_ACEOF
51328 #define HAVE_FINITE 1
51329 _ACEOF
51332 done
51334 else
51336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51337 $as_echo_n "checking for _finite declaration... " >&6; }
51338 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51339 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51340 $as_echo_n "(cached) " >&6
51341 else
51344 ac_ext=cpp
51345 ac_cpp='$CXXCPP $CPPFLAGS'
51346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51351 /* end confdefs.h. */
51352 #include <math.h>
51353 #ifdef HAVE_IEEEFP_H
51354 #include <ieeefp.h>
51355 #endif
51358 main ()
51360 _finite(0);
51362 return 0;
51364 _ACEOF
51365 if ac_fn_cxx_try_compile "$LINENO"; then :
51366 glibcxx_cv_func__finite_use=yes
51367 else
51368 glibcxx_cv_func__finite_use=no
51370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51371 ac_ext=c
51372 ac_cpp='$CPP $CPPFLAGS'
51373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51382 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51384 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51385 for ac_func in _finite
51386 do :
51387 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51388 if test "x$ac_cv_func__finite" = x""yes; then :
51389 cat >>confdefs.h <<_ACEOF
51390 #define HAVE__FINITE 1
51391 _ACEOF
51394 done
51403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51404 $as_echo_n "checking for sincos declaration... " >&6; }
51405 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51406 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51407 $as_echo_n "(cached) " >&6
51408 else
51411 ac_ext=cpp
51412 ac_cpp='$CXXCPP $CPPFLAGS'
51413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51418 /* end confdefs.h. */
51419 #include <math.h>
51421 main ()
51423 sincos(0, 0, 0);
51425 return 0;
51427 _ACEOF
51428 if ac_fn_cxx_try_compile "$LINENO"; then :
51429 glibcxx_cv_func_sincos_use=yes
51430 else
51431 glibcxx_cv_func_sincos_use=no
51433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51434 ac_ext=c
51435 ac_cpp='$CPP $CPPFLAGS'
51436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51445 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51447 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51448 for ac_func in sincos
51449 do :
51450 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51451 if test "x$ac_cv_func_sincos" = x""yes; then :
51452 cat >>confdefs.h <<_ACEOF
51453 #define HAVE_SINCOS 1
51454 _ACEOF
51457 done
51459 else
51461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51462 $as_echo_n "checking for _sincos declaration... " >&6; }
51463 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51464 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51465 $as_echo_n "(cached) " >&6
51466 else
51469 ac_ext=cpp
51470 ac_cpp='$CXXCPP $CPPFLAGS'
51471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51476 /* end confdefs.h. */
51477 #include <math.h>
51479 main ()
51481 _sincos(0, 0, 0);
51483 return 0;
51485 _ACEOF
51486 if ac_fn_cxx_try_compile "$LINENO"; then :
51487 glibcxx_cv_func__sincos_use=yes
51488 else
51489 glibcxx_cv_func__sincos_use=no
51491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51492 ac_ext=c
51493 ac_cpp='$CPP $CPPFLAGS'
51494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51503 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51505 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51506 for ac_func in _sincos
51507 do :
51508 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51509 if test "x$ac_cv_func__sincos" = x""yes; then :
51510 cat >>confdefs.h <<_ACEOF
51511 #define HAVE__SINCOS 1
51512 _ACEOF
51515 done
51524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51525 $as_echo_n "checking for fpclass declaration... " >&6; }
51526 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51527 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51528 $as_echo_n "(cached) " >&6
51529 else
51532 ac_ext=cpp
51533 ac_cpp='$CXXCPP $CPPFLAGS'
51534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51539 /* end confdefs.h. */
51540 #include <math.h>
51541 #ifdef HAVE_IEEEFP_H
51542 #include <ieeefp.h>
51543 #endif
51546 main ()
51548 fpclass(0);
51550 return 0;
51552 _ACEOF
51553 if ac_fn_cxx_try_compile "$LINENO"; then :
51554 glibcxx_cv_func_fpclass_use=yes
51555 else
51556 glibcxx_cv_func_fpclass_use=no
51558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51559 ac_ext=c
51560 ac_cpp='$CPP $CPPFLAGS'
51561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51570 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51572 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51573 for ac_func in fpclass
51574 do :
51575 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51576 if test "x$ac_cv_func_fpclass" = x""yes; then :
51577 cat >>confdefs.h <<_ACEOF
51578 #define HAVE_FPCLASS 1
51579 _ACEOF
51582 done
51584 else
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51587 $as_echo_n "checking for _fpclass declaration... " >&6; }
51588 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51589 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51590 $as_echo_n "(cached) " >&6
51591 else
51594 ac_ext=cpp
51595 ac_cpp='$CXXCPP $CPPFLAGS'
51596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51601 /* end confdefs.h. */
51602 #include <math.h>
51603 #ifdef HAVE_IEEEFP_H
51604 #include <ieeefp.h>
51605 #endif
51608 main ()
51610 _fpclass(0);
51612 return 0;
51614 _ACEOF
51615 if ac_fn_cxx_try_compile "$LINENO"; then :
51616 glibcxx_cv_func__fpclass_use=yes
51617 else
51618 glibcxx_cv_func__fpclass_use=no
51620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51621 ac_ext=c
51622 ac_cpp='$CPP $CPPFLAGS'
51623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51632 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51634 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51635 for ac_func in _fpclass
51636 do :
51637 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51638 if test "x$ac_cv_func__fpclass" = x""yes; then :
51639 cat >>confdefs.h <<_ACEOF
51640 #define HAVE__FPCLASS 1
51641 _ACEOF
51644 done
51653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51654 $as_echo_n "checking for qfpclass declaration... " >&6; }
51655 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51656 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51657 $as_echo_n "(cached) " >&6
51658 else
51661 ac_ext=cpp
51662 ac_cpp='$CXXCPP $CPPFLAGS'
51663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51668 /* end confdefs.h. */
51669 #include <math.h>
51670 #ifdef HAVE_IEEEFP_H
51671 #include <ieeefp.h>
51672 #endif
51675 main ()
51677 qfpclass(0);
51679 return 0;
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683 glibcxx_cv_func_qfpclass_use=yes
51684 else
51685 glibcxx_cv_func_qfpclass_use=no
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51699 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51701 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51702 for ac_func in qfpclass
51703 do :
51704 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51705 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51706 cat >>confdefs.h <<_ACEOF
51707 #define HAVE_QFPCLASS 1
51708 _ACEOF
51711 done
51713 else
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51716 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51717 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51718 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51719 $as_echo_n "(cached) " >&6
51720 else
51723 ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h. */
51731 #include <math.h>
51732 #ifdef HAVE_IEEEFP_H
51733 #include <ieeefp.h>
51734 #endif
51737 main ()
51739 _qfpclass(0);
51741 return 0;
51743 _ACEOF
51744 if ac_fn_cxx_try_compile "$LINENO"; then :
51745 glibcxx_cv_func__qfpclass_use=yes
51746 else
51747 glibcxx_cv_func__qfpclass_use=no
51749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51750 ac_ext=c
51751 ac_cpp='$CPP $CPPFLAGS'
51752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51761 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51763 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51764 for ac_func in _qfpclass
51765 do :
51766 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51767 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51768 cat >>confdefs.h <<_ACEOF
51769 #define HAVE__QFPCLASS 1
51770 _ACEOF
51773 done
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51783 $as_echo_n "checking for hypot declaration... " >&6; }
51784 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51785 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51786 $as_echo_n "(cached) " >&6
51787 else
51790 ac_ext=cpp
51791 ac_cpp='$CXXCPP $CPPFLAGS'
51792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51797 /* end confdefs.h. */
51798 #include <math.h>
51800 main ()
51802 hypot(0, 0);
51804 return 0;
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808 glibcxx_cv_func_hypot_use=yes
51809 else
51810 glibcxx_cv_func_hypot_use=no
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51824 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51826 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51827 for ac_func in hypot
51828 do :
51829 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51830 if test "x$ac_cv_func_hypot" = x""yes; then :
51831 cat >>confdefs.h <<_ACEOF
51832 #define HAVE_HYPOT 1
51833 _ACEOF
51836 done
51838 else
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51841 $as_echo_n "checking for _hypot declaration... " >&6; }
51842 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51843 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51844 $as_echo_n "(cached) " >&6
51845 else
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h. */
51856 #include <math.h>
51858 main ()
51860 _hypot(0, 0);
51862 return 0;
51864 _ACEOF
51865 if ac_fn_cxx_try_compile "$LINENO"; then :
51866 glibcxx_cv_func__hypot_use=yes
51867 else
51868 glibcxx_cv_func__hypot_use=no
51870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51871 ac_ext=c
51872 ac_cpp='$CPP $CPPFLAGS'
51873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51882 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51884 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51885 for ac_func in _hypot
51886 do :
51887 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51888 if test "x$ac_cv_func__hypot" = x""yes; then :
51889 cat >>confdefs.h <<_ACEOF
51890 #define HAVE__HYPOT 1
51891 _ACEOF
51894 done
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51904 $as_echo_n "checking for float trig functions... " >&6; }
51905 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51906 $as_echo_n "(cached) " >&6
51907 else
51910 ac_ext=cpp
51911 ac_cpp='$CXXCPP $CPPFLAGS'
51912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51917 /* end confdefs.h. */
51918 #include <math.h>
51920 main ()
51922 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51924 return 0;
51926 _ACEOF
51927 if ac_fn_cxx_try_compile "$LINENO"; then :
51928 glibcxx_cv_func_float_trig_use=yes
51929 else
51930 glibcxx_cv_func_float_trig_use=no
51932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51933 ac_ext=c
51934 ac_cpp='$CPP $CPPFLAGS'
51935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51942 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51943 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51944 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51945 do :
51946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51948 eval as_val=\$$as_ac_var
51949 if test "x$as_val" = x""yes; then :
51950 cat >>confdefs.h <<_ACEOF
51951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51952 _ACEOF
51955 done
51957 else
51958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51959 $as_echo_n "checking for _float trig functions... " >&6; }
51960 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51961 $as_echo_n "(cached) " >&6
51962 else
51965 ac_ext=cpp
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51972 /* end confdefs.h. */
51973 #include <math.h>
51975 main ()
51977 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51979 return 0;
51981 _ACEOF
51982 if ac_fn_cxx_try_compile "$LINENO"; then :
51983 glibcxx_cv_func__float_trig_use=yes
51984 else
51985 glibcxx_cv_func__float_trig_use=no
51987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51988 ac_ext=c
51989 ac_cpp='$CPP $CPPFLAGS'
51990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51997 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51998 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51999 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52000 do :
52001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52003 eval as_val=\$$as_ac_var
52004 if test "x$as_val" = x""yes; then :
52005 cat >>confdefs.h <<_ACEOF
52006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52007 _ACEOF
52010 done
52019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52020 $as_echo_n "checking for float round functions... " >&6; }
52021 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52022 $as_echo_n "(cached) " >&6
52023 else
52026 ac_ext=cpp
52027 ac_cpp='$CXXCPP $CPPFLAGS'
52028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52033 /* end confdefs.h. */
52034 #include <math.h>
52036 main ()
52038 ceilf (0); floorf (0);
52040 return 0;
52042 _ACEOF
52043 if ac_fn_cxx_try_compile "$LINENO"; then :
52044 glibcxx_cv_func_float_round_use=yes
52045 else
52046 glibcxx_cv_func_float_round_use=no
52048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52049 ac_ext=c
52050 ac_cpp='$CPP $CPPFLAGS'
52051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52058 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52059 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52060 for ac_func in ceilf floorf
52061 do :
52062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52064 eval as_val=\$$as_ac_var
52065 if test "x$as_val" = x""yes; then :
52066 cat >>confdefs.h <<_ACEOF
52067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52068 _ACEOF
52071 done
52073 else
52074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52075 $as_echo_n "checking for _float round functions... " >&6; }
52076 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52077 $as_echo_n "(cached) " >&6
52078 else
52081 ac_ext=cpp
52082 ac_cpp='$CXXCPP $CPPFLAGS'
52083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52088 /* end confdefs.h. */
52089 #include <math.h>
52091 main ()
52093 _ceilf (0); _floorf (0);
52095 return 0;
52097 _ACEOF
52098 if ac_fn_cxx_try_compile "$LINENO"; then :
52099 glibcxx_cv_func__float_round_use=yes
52100 else
52101 glibcxx_cv_func__float_round_use=no
52103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52104 ac_ext=c
52105 ac_cpp='$CPP $CPPFLAGS'
52106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52113 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52114 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52115 for ac_func in _ceilf _floorf
52116 do :
52117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52119 eval as_val=\$$as_ac_var
52120 if test "x$as_val" = x""yes; then :
52121 cat >>confdefs.h <<_ACEOF
52122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52123 _ACEOF
52126 done
52136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52137 $as_echo_n "checking for expf declaration... " >&6; }
52138 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52139 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52140 $as_echo_n "(cached) " >&6
52141 else
52144 ac_ext=cpp
52145 ac_cpp='$CXXCPP $CPPFLAGS'
52146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52151 /* end confdefs.h. */
52152 #include <math.h>
52153 #ifdef HAVE_IEEEFP_H
52154 #include <ieeefp.h>
52155 #endif
52158 main ()
52160 expf(0);
52162 return 0;
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166 glibcxx_cv_func_expf_use=yes
52167 else
52168 glibcxx_cv_func_expf_use=no
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171 ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52182 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52184 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52185 for ac_func in expf
52186 do :
52187 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52188 if test "x$ac_cv_func_expf" = x""yes; then :
52189 cat >>confdefs.h <<_ACEOF
52190 #define HAVE_EXPF 1
52191 _ACEOF
52194 done
52196 else
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52199 $as_echo_n "checking for _expf declaration... " >&6; }
52200 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52201 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52202 $as_echo_n "(cached) " >&6
52203 else
52206 ac_ext=cpp
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h. */
52214 #include <math.h>
52215 #ifdef HAVE_IEEEFP_H
52216 #include <ieeefp.h>
52217 #endif
52220 main ()
52222 _expf(0);
52224 return 0;
52226 _ACEOF
52227 if ac_fn_cxx_try_compile "$LINENO"; then :
52228 glibcxx_cv_func__expf_use=yes
52229 else
52230 glibcxx_cv_func__expf_use=no
52232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52233 ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52244 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52246 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52247 for ac_func in _expf
52248 do :
52249 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52250 if test "x$ac_cv_func__expf" = x""yes; then :
52251 cat >>confdefs.h <<_ACEOF
52252 #define HAVE__EXPF 1
52253 _ACEOF
52256 done
52265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52266 $as_echo_n "checking for isnanf declaration... " >&6; }
52267 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52268 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52269 $as_echo_n "(cached) " >&6
52270 else
52273 ac_ext=cpp
52274 ac_cpp='$CXXCPP $CPPFLAGS'
52275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52280 /* end confdefs.h. */
52281 #include <math.h>
52282 #ifdef HAVE_IEEEFP_H
52283 #include <ieeefp.h>
52284 #endif
52287 main ()
52289 isnanf(0);
52291 return 0;
52293 _ACEOF
52294 if ac_fn_cxx_try_compile "$LINENO"; then :
52295 glibcxx_cv_func_isnanf_use=yes
52296 else
52297 glibcxx_cv_func_isnanf_use=no
52299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52300 ac_ext=c
52301 ac_cpp='$CPP $CPPFLAGS'
52302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52311 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52313 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52314 for ac_func in isnanf
52315 do :
52316 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52317 if test "x$ac_cv_func_isnanf" = x""yes; then :
52318 cat >>confdefs.h <<_ACEOF
52319 #define HAVE_ISNANF 1
52320 _ACEOF
52323 done
52325 else
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52328 $as_echo_n "checking for _isnanf declaration... " >&6; }
52329 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52330 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52331 $as_echo_n "(cached) " >&6
52332 else
52335 ac_ext=cpp
52336 ac_cpp='$CXXCPP $CPPFLAGS'
52337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h. */
52343 #include <math.h>
52344 #ifdef HAVE_IEEEFP_H
52345 #include <ieeefp.h>
52346 #endif
52349 main ()
52351 _isnanf(0);
52353 return 0;
52355 _ACEOF
52356 if ac_fn_cxx_try_compile "$LINENO"; then :
52357 glibcxx_cv_func__isnanf_use=yes
52358 else
52359 glibcxx_cv_func__isnanf_use=no
52361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52362 ac_ext=c
52363 ac_cpp='$CPP $CPPFLAGS'
52364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52373 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52375 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52376 for ac_func in _isnanf
52377 do :
52378 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52379 if test "x$ac_cv_func__isnanf" = x""yes; then :
52380 cat >>confdefs.h <<_ACEOF
52381 #define HAVE__ISNANF 1
52382 _ACEOF
52385 done
52394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52395 $as_echo_n "checking for isinff declaration... " >&6; }
52396 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52397 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52398 $as_echo_n "(cached) " >&6
52399 else
52402 ac_ext=cpp
52403 ac_cpp='$CXXCPP $CPPFLAGS'
52404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52409 /* end confdefs.h. */
52410 #include <math.h>
52411 #ifdef HAVE_IEEEFP_H
52412 #include <ieeefp.h>
52413 #endif
52416 main ()
52418 isinff(0);
52420 return 0;
52422 _ACEOF
52423 if ac_fn_cxx_try_compile "$LINENO"; then :
52424 glibcxx_cv_func_isinff_use=yes
52425 else
52426 glibcxx_cv_func_isinff_use=no
52428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52429 ac_ext=c
52430 ac_cpp='$CPP $CPPFLAGS'
52431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52440 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52442 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52443 for ac_func in isinff
52444 do :
52445 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52446 if test "x$ac_cv_func_isinff" = x""yes; then :
52447 cat >>confdefs.h <<_ACEOF
52448 #define HAVE_ISINFF 1
52449 _ACEOF
52452 done
52454 else
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52457 $as_echo_n "checking for _isinff declaration... " >&6; }
52458 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52459 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52460 $as_echo_n "(cached) " >&6
52461 else
52464 ac_ext=cpp
52465 ac_cpp='$CXXCPP $CPPFLAGS'
52466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52471 /* end confdefs.h. */
52472 #include <math.h>
52473 #ifdef HAVE_IEEEFP_H
52474 #include <ieeefp.h>
52475 #endif
52478 main ()
52480 _isinff(0);
52482 return 0;
52484 _ACEOF
52485 if ac_fn_cxx_try_compile "$LINENO"; then :
52486 glibcxx_cv_func__isinff_use=yes
52487 else
52488 glibcxx_cv_func__isinff_use=no
52490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52491 ac_ext=c
52492 ac_cpp='$CPP $CPPFLAGS'
52493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52502 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52504 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52505 for ac_func in _isinff
52506 do :
52507 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52508 if test "x$ac_cv_func__isinff" = x""yes; then :
52509 cat >>confdefs.h <<_ACEOF
52510 #define HAVE__ISINFF 1
52511 _ACEOF
52514 done
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52524 $as_echo_n "checking for atan2f declaration... " >&6; }
52525 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52526 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52527 $as_echo_n "(cached) " >&6
52528 else
52531 ac_ext=cpp
52532 ac_cpp='$CXXCPP $CPPFLAGS'
52533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52538 /* end confdefs.h. */
52539 #include <math.h>
52541 main ()
52543 atan2f(0, 0);
52545 return 0;
52547 _ACEOF
52548 if ac_fn_cxx_try_compile "$LINENO"; then :
52549 glibcxx_cv_func_atan2f_use=yes
52550 else
52551 glibcxx_cv_func_atan2f_use=no
52553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52554 ac_ext=c
52555 ac_cpp='$CPP $CPPFLAGS'
52556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52565 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52567 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52568 for ac_func in atan2f
52569 do :
52570 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52571 if test "x$ac_cv_func_atan2f" = x""yes; then :
52572 cat >>confdefs.h <<_ACEOF
52573 #define HAVE_ATAN2F 1
52574 _ACEOF
52577 done
52579 else
52581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52582 $as_echo_n "checking for _atan2f declaration... " >&6; }
52583 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52584 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52585 $as_echo_n "(cached) " >&6
52586 else
52589 ac_ext=cpp
52590 ac_cpp='$CXXCPP $CPPFLAGS'
52591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52596 /* end confdefs.h. */
52597 #include <math.h>
52599 main ()
52601 _atan2f(0, 0);
52603 return 0;
52605 _ACEOF
52606 if ac_fn_cxx_try_compile "$LINENO"; then :
52607 glibcxx_cv_func__atan2f_use=yes
52608 else
52609 glibcxx_cv_func__atan2f_use=no
52611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52612 ac_ext=c
52613 ac_cpp='$CPP $CPPFLAGS'
52614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52623 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52625 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52626 for ac_func in _atan2f
52627 do :
52628 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52629 if test "x$ac_cv_func__atan2f" = x""yes; then :
52630 cat >>confdefs.h <<_ACEOF
52631 #define HAVE__ATAN2F 1
52632 _ACEOF
52635 done
52644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52645 $as_echo_n "checking for fabsf declaration... " >&6; }
52646 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52647 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52648 $as_echo_n "(cached) " >&6
52649 else
52652 ac_ext=cpp
52653 ac_cpp='$CXXCPP $CPPFLAGS'
52654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52659 /* end confdefs.h. */
52660 #include <math.h>
52661 #ifdef HAVE_IEEEFP_H
52662 #include <ieeefp.h>
52663 #endif
52666 main ()
52668 fabsf(0);
52670 return 0;
52672 _ACEOF
52673 if ac_fn_cxx_try_compile "$LINENO"; then :
52674 glibcxx_cv_func_fabsf_use=yes
52675 else
52676 glibcxx_cv_func_fabsf_use=no
52678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52679 ac_ext=c
52680 ac_cpp='$CPP $CPPFLAGS'
52681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52690 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52692 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52693 for ac_func in fabsf
52694 do :
52695 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52696 if test "x$ac_cv_func_fabsf" = x""yes; then :
52697 cat >>confdefs.h <<_ACEOF
52698 #define HAVE_FABSF 1
52699 _ACEOF
52702 done
52704 else
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52707 $as_echo_n "checking for _fabsf declaration... " >&6; }
52708 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52709 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52710 $as_echo_n "(cached) " >&6
52711 else
52714 ac_ext=cpp
52715 ac_cpp='$CXXCPP $CPPFLAGS'
52716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52721 /* end confdefs.h. */
52722 #include <math.h>
52723 #ifdef HAVE_IEEEFP_H
52724 #include <ieeefp.h>
52725 #endif
52728 main ()
52730 _fabsf(0);
52732 return 0;
52734 _ACEOF
52735 if ac_fn_cxx_try_compile "$LINENO"; then :
52736 glibcxx_cv_func__fabsf_use=yes
52737 else
52738 glibcxx_cv_func__fabsf_use=no
52740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52741 ac_ext=c
52742 ac_cpp='$CPP $CPPFLAGS'
52743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52752 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52754 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52755 for ac_func in _fabsf
52756 do :
52757 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52758 if test "x$ac_cv_func__fabsf" = x""yes; then :
52759 cat >>confdefs.h <<_ACEOF
52760 #define HAVE__FABSF 1
52761 _ACEOF
52764 done
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52774 $as_echo_n "checking for fmodf declaration... " >&6; }
52775 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52776 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52777 $as_echo_n "(cached) " >&6
52778 else
52781 ac_ext=cpp
52782 ac_cpp='$CXXCPP $CPPFLAGS'
52783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52788 /* end confdefs.h. */
52789 #include <math.h>
52791 main ()
52793 fmodf(0, 0);
52795 return 0;
52797 _ACEOF
52798 if ac_fn_cxx_try_compile "$LINENO"; then :
52799 glibcxx_cv_func_fmodf_use=yes
52800 else
52801 glibcxx_cv_func_fmodf_use=no
52803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52804 ac_ext=c
52805 ac_cpp='$CPP $CPPFLAGS'
52806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52815 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52817 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52818 for ac_func in fmodf
52819 do :
52820 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52821 if test "x$ac_cv_func_fmodf" = x""yes; then :
52822 cat >>confdefs.h <<_ACEOF
52823 #define HAVE_FMODF 1
52824 _ACEOF
52827 done
52829 else
52831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52832 $as_echo_n "checking for _fmodf declaration... " >&6; }
52833 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52834 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52835 $as_echo_n "(cached) " >&6
52836 else
52839 ac_ext=cpp
52840 ac_cpp='$CXXCPP $CPPFLAGS'
52841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52846 /* end confdefs.h. */
52847 #include <math.h>
52849 main ()
52851 _fmodf(0, 0);
52853 return 0;
52855 _ACEOF
52856 if ac_fn_cxx_try_compile "$LINENO"; then :
52857 glibcxx_cv_func__fmodf_use=yes
52858 else
52859 glibcxx_cv_func__fmodf_use=no
52861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52862 ac_ext=c
52863 ac_cpp='$CPP $CPPFLAGS'
52864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52873 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52875 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52876 for ac_func in _fmodf
52877 do :
52878 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52879 if test "x$ac_cv_func__fmodf" = x""yes; then :
52880 cat >>confdefs.h <<_ACEOF
52881 #define HAVE__FMODF 1
52882 _ACEOF
52885 done
52894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52895 $as_echo_n "checking for frexpf declaration... " >&6; }
52896 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52897 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52898 $as_echo_n "(cached) " >&6
52899 else
52902 ac_ext=cpp
52903 ac_cpp='$CXXCPP $CPPFLAGS'
52904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52909 /* end confdefs.h. */
52910 #include <math.h>
52912 main ()
52914 frexpf(0, 0);
52916 return 0;
52918 _ACEOF
52919 if ac_fn_cxx_try_compile "$LINENO"; then :
52920 glibcxx_cv_func_frexpf_use=yes
52921 else
52922 glibcxx_cv_func_frexpf_use=no
52924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52925 ac_ext=c
52926 ac_cpp='$CPP $CPPFLAGS'
52927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52936 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52938 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52939 for ac_func in frexpf
52940 do :
52941 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52942 if test "x$ac_cv_func_frexpf" = x""yes; then :
52943 cat >>confdefs.h <<_ACEOF
52944 #define HAVE_FREXPF 1
52945 _ACEOF
52948 done
52950 else
52952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52953 $as_echo_n "checking for _frexpf declaration... " >&6; }
52954 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52955 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52956 $as_echo_n "(cached) " >&6
52957 else
52960 ac_ext=cpp
52961 ac_cpp='$CXXCPP $CPPFLAGS'
52962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52967 /* end confdefs.h. */
52968 #include <math.h>
52970 main ()
52972 _frexpf(0, 0);
52974 return 0;
52976 _ACEOF
52977 if ac_fn_cxx_try_compile "$LINENO"; then :
52978 glibcxx_cv_func__frexpf_use=yes
52979 else
52980 glibcxx_cv_func__frexpf_use=no
52982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52983 ac_ext=c
52984 ac_cpp='$CPP $CPPFLAGS'
52985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52994 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52996 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52997 for ac_func in _frexpf
52998 do :
52999 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53000 if test "x$ac_cv_func__frexpf" = x""yes; then :
53001 cat >>confdefs.h <<_ACEOF
53002 #define HAVE__FREXPF 1
53003 _ACEOF
53006 done
53015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53016 $as_echo_n "checking for hypotf declaration... " >&6; }
53017 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53018 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53019 $as_echo_n "(cached) " >&6
53020 else
53023 ac_ext=cpp
53024 ac_cpp='$CXXCPP $CPPFLAGS'
53025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53030 /* end confdefs.h. */
53031 #include <math.h>
53033 main ()
53035 hypotf(0, 0);
53037 return 0;
53039 _ACEOF
53040 if ac_fn_cxx_try_compile "$LINENO"; then :
53041 glibcxx_cv_func_hypotf_use=yes
53042 else
53043 glibcxx_cv_func_hypotf_use=no
53045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53046 ac_ext=c
53047 ac_cpp='$CPP $CPPFLAGS'
53048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53057 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53059 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53060 for ac_func in hypotf
53061 do :
53062 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53063 if test "x$ac_cv_func_hypotf" = x""yes; then :
53064 cat >>confdefs.h <<_ACEOF
53065 #define HAVE_HYPOTF 1
53066 _ACEOF
53069 done
53071 else
53073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53074 $as_echo_n "checking for _hypotf declaration... " >&6; }
53075 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53076 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53077 $as_echo_n "(cached) " >&6
53078 else
53081 ac_ext=cpp
53082 ac_cpp='$CXXCPP $CPPFLAGS'
53083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53088 /* end confdefs.h. */
53089 #include <math.h>
53091 main ()
53093 _hypotf(0, 0);
53095 return 0;
53097 _ACEOF
53098 if ac_fn_cxx_try_compile "$LINENO"; then :
53099 glibcxx_cv_func__hypotf_use=yes
53100 else
53101 glibcxx_cv_func__hypotf_use=no
53103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53104 ac_ext=c
53105 ac_cpp='$CPP $CPPFLAGS'
53106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53115 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53117 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53118 for ac_func in _hypotf
53119 do :
53120 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53121 if test "x$ac_cv_func__hypotf" = x""yes; then :
53122 cat >>confdefs.h <<_ACEOF
53123 #define HAVE__HYPOTF 1
53124 _ACEOF
53127 done
53136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53137 $as_echo_n "checking for ldexpf declaration... " >&6; }
53138 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53139 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53140 $as_echo_n "(cached) " >&6
53141 else
53144 ac_ext=cpp
53145 ac_cpp='$CXXCPP $CPPFLAGS'
53146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53151 /* end confdefs.h. */
53152 #include <math.h>
53154 main ()
53156 ldexpf(0, 0);
53158 return 0;
53160 _ACEOF
53161 if ac_fn_cxx_try_compile "$LINENO"; then :
53162 glibcxx_cv_func_ldexpf_use=yes
53163 else
53164 glibcxx_cv_func_ldexpf_use=no
53166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53167 ac_ext=c
53168 ac_cpp='$CPP $CPPFLAGS'
53169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53178 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53180 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53181 for ac_func in ldexpf
53182 do :
53183 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53184 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53185 cat >>confdefs.h <<_ACEOF
53186 #define HAVE_LDEXPF 1
53187 _ACEOF
53190 done
53192 else
53194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53195 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53196 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53197 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53198 $as_echo_n "(cached) " >&6
53199 else
53202 ac_ext=cpp
53203 ac_cpp='$CXXCPP $CPPFLAGS'
53204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53209 /* end confdefs.h. */
53210 #include <math.h>
53212 main ()
53214 _ldexpf(0, 0);
53216 return 0;
53218 _ACEOF
53219 if ac_fn_cxx_try_compile "$LINENO"; then :
53220 glibcxx_cv_func__ldexpf_use=yes
53221 else
53222 glibcxx_cv_func__ldexpf_use=no
53224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53225 ac_ext=c
53226 ac_cpp='$CPP $CPPFLAGS'
53227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53236 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53238 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53239 for ac_func in _ldexpf
53240 do :
53241 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53242 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53243 cat >>confdefs.h <<_ACEOF
53244 #define HAVE__LDEXPF 1
53245 _ACEOF
53248 done
53257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53258 $as_echo_n "checking for logf declaration... " >&6; }
53259 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53260 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53261 $as_echo_n "(cached) " >&6
53262 else
53265 ac_ext=cpp
53266 ac_cpp='$CXXCPP $CPPFLAGS'
53267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53272 /* end confdefs.h. */
53273 #include <math.h>
53274 #ifdef HAVE_IEEEFP_H
53275 #include <ieeefp.h>
53276 #endif
53279 main ()
53281 logf(0);
53283 return 0;
53285 _ACEOF
53286 if ac_fn_cxx_try_compile "$LINENO"; then :
53287 glibcxx_cv_func_logf_use=yes
53288 else
53289 glibcxx_cv_func_logf_use=no
53291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53292 ac_ext=c
53293 ac_cpp='$CPP $CPPFLAGS'
53294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53303 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53305 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53306 for ac_func in logf
53307 do :
53308 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53309 if test "x$ac_cv_func_logf" = x""yes; then :
53310 cat >>confdefs.h <<_ACEOF
53311 #define HAVE_LOGF 1
53312 _ACEOF
53315 done
53317 else
53319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53320 $as_echo_n "checking for _logf declaration... " >&6; }
53321 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53322 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53323 $as_echo_n "(cached) " >&6
53324 else
53327 ac_ext=cpp
53328 ac_cpp='$CXXCPP $CPPFLAGS'
53329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53334 /* end confdefs.h. */
53335 #include <math.h>
53336 #ifdef HAVE_IEEEFP_H
53337 #include <ieeefp.h>
53338 #endif
53341 main ()
53343 _logf(0);
53345 return 0;
53347 _ACEOF
53348 if ac_fn_cxx_try_compile "$LINENO"; then :
53349 glibcxx_cv_func__logf_use=yes
53350 else
53351 glibcxx_cv_func__logf_use=no
53353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53354 ac_ext=c
53355 ac_cpp='$CPP $CPPFLAGS'
53356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53365 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53367 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53368 for ac_func in _logf
53369 do :
53370 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53371 if test "x$ac_cv_func__logf" = x""yes; then :
53372 cat >>confdefs.h <<_ACEOF
53373 #define HAVE__LOGF 1
53374 _ACEOF
53377 done
53386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53387 $as_echo_n "checking for log10f declaration... " >&6; }
53388 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53389 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53390 $as_echo_n "(cached) " >&6
53391 else
53394 ac_ext=cpp
53395 ac_cpp='$CXXCPP $CPPFLAGS'
53396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53401 /* end confdefs.h. */
53402 #include <math.h>
53403 #ifdef HAVE_IEEEFP_H
53404 #include <ieeefp.h>
53405 #endif
53408 main ()
53410 log10f(0);
53412 return 0;
53414 _ACEOF
53415 if ac_fn_cxx_try_compile "$LINENO"; then :
53416 glibcxx_cv_func_log10f_use=yes
53417 else
53418 glibcxx_cv_func_log10f_use=no
53420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53421 ac_ext=c
53422 ac_cpp='$CPP $CPPFLAGS'
53423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53432 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53434 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53435 for ac_func in log10f
53436 do :
53437 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53438 if test "x$ac_cv_func_log10f" = x""yes; then :
53439 cat >>confdefs.h <<_ACEOF
53440 #define HAVE_LOG10F 1
53441 _ACEOF
53444 done
53446 else
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53449 $as_echo_n "checking for _log10f declaration... " >&6; }
53450 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53451 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53452 $as_echo_n "(cached) " >&6
53453 else
53456 ac_ext=cpp
53457 ac_cpp='$CXXCPP $CPPFLAGS'
53458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53463 /* end confdefs.h. */
53464 #include <math.h>
53465 #ifdef HAVE_IEEEFP_H
53466 #include <ieeefp.h>
53467 #endif
53470 main ()
53472 _log10f(0);
53474 return 0;
53476 _ACEOF
53477 if ac_fn_cxx_try_compile "$LINENO"; then :
53478 glibcxx_cv_func__log10f_use=yes
53479 else
53480 glibcxx_cv_func__log10f_use=no
53482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53483 ac_ext=c
53484 ac_cpp='$CPP $CPPFLAGS'
53485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53494 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53496 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53497 for ac_func in _log10f
53498 do :
53499 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53500 if test "x$ac_cv_func__log10f" = x""yes; then :
53501 cat >>confdefs.h <<_ACEOF
53502 #define HAVE__LOG10F 1
53503 _ACEOF
53506 done
53515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53516 $as_echo_n "checking for modff declaration... " >&6; }
53517 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53518 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53519 $as_echo_n "(cached) " >&6
53520 else
53523 ac_ext=cpp
53524 ac_cpp='$CXXCPP $CPPFLAGS'
53525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53530 /* end confdefs.h. */
53531 #include <math.h>
53533 main ()
53535 modff(0, 0);
53537 return 0;
53539 _ACEOF
53540 if ac_fn_cxx_try_compile "$LINENO"; then :
53541 glibcxx_cv_func_modff_use=yes
53542 else
53543 glibcxx_cv_func_modff_use=no
53545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53546 ac_ext=c
53547 ac_cpp='$CPP $CPPFLAGS'
53548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53557 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53559 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53560 for ac_func in modff
53561 do :
53562 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53563 if test "x$ac_cv_func_modff" = x""yes; then :
53564 cat >>confdefs.h <<_ACEOF
53565 #define HAVE_MODFF 1
53566 _ACEOF
53569 done
53571 else
53573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53574 $as_echo_n "checking for _modff declaration... " >&6; }
53575 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53576 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53577 $as_echo_n "(cached) " >&6
53578 else
53581 ac_ext=cpp
53582 ac_cpp='$CXXCPP $CPPFLAGS'
53583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53588 /* end confdefs.h. */
53589 #include <math.h>
53591 main ()
53593 _modff(0, 0);
53595 return 0;
53597 _ACEOF
53598 if ac_fn_cxx_try_compile "$LINENO"; then :
53599 glibcxx_cv_func__modff_use=yes
53600 else
53601 glibcxx_cv_func__modff_use=no
53603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53604 ac_ext=c
53605 ac_cpp='$CPP $CPPFLAGS'
53606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53615 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53617 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53618 for ac_func in _modff
53619 do :
53620 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53621 if test "x$ac_cv_func__modff" = x""yes; then :
53622 cat >>confdefs.h <<_ACEOF
53623 #define HAVE__MODFF 1
53624 _ACEOF
53627 done
53636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53637 $as_echo_n "checking for modf declaration... " >&6; }
53638 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53639 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53640 $as_echo_n "(cached) " >&6
53641 else
53644 ac_ext=cpp
53645 ac_cpp='$CXXCPP $CPPFLAGS'
53646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53651 /* end confdefs.h. */
53652 #include <math.h>
53654 main ()
53656 modf(0, 0);
53658 return 0;
53660 _ACEOF
53661 if ac_fn_cxx_try_compile "$LINENO"; then :
53662 glibcxx_cv_func_modf_use=yes
53663 else
53664 glibcxx_cv_func_modf_use=no
53666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53667 ac_ext=c
53668 ac_cpp='$CPP $CPPFLAGS'
53669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53678 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53680 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53681 for ac_func in modf
53682 do :
53683 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53684 if test "x$ac_cv_func_modf" = x""yes; then :
53685 cat >>confdefs.h <<_ACEOF
53686 #define HAVE_MODF 1
53687 _ACEOF
53690 done
53692 else
53694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53695 $as_echo_n "checking for _modf declaration... " >&6; }
53696 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53697 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53698 $as_echo_n "(cached) " >&6
53699 else
53702 ac_ext=cpp
53703 ac_cpp='$CXXCPP $CPPFLAGS'
53704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53709 /* end confdefs.h. */
53710 #include <math.h>
53712 main ()
53714 _modf(0, 0);
53716 return 0;
53718 _ACEOF
53719 if ac_fn_cxx_try_compile "$LINENO"; then :
53720 glibcxx_cv_func__modf_use=yes
53721 else
53722 glibcxx_cv_func__modf_use=no
53724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53725 ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53736 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53738 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53739 for ac_func in _modf
53740 do :
53741 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53742 if test "x$ac_cv_func__modf" = x""yes; then :
53743 cat >>confdefs.h <<_ACEOF
53744 #define HAVE__MODF 1
53745 _ACEOF
53748 done
53757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53758 $as_echo_n "checking for powf declaration... " >&6; }
53759 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53760 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53761 $as_echo_n "(cached) " >&6
53762 else
53765 ac_ext=cpp
53766 ac_cpp='$CXXCPP $CPPFLAGS'
53767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53772 /* end confdefs.h. */
53773 #include <math.h>
53775 main ()
53777 powf(0, 0);
53779 return 0;
53781 _ACEOF
53782 if ac_fn_cxx_try_compile "$LINENO"; then :
53783 glibcxx_cv_func_powf_use=yes
53784 else
53785 glibcxx_cv_func_powf_use=no
53787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53788 ac_ext=c
53789 ac_cpp='$CPP $CPPFLAGS'
53790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53799 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53801 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53802 for ac_func in powf
53803 do :
53804 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53805 if test "x$ac_cv_func_powf" = x""yes; then :
53806 cat >>confdefs.h <<_ACEOF
53807 #define HAVE_POWF 1
53808 _ACEOF
53811 done
53813 else
53815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53816 $as_echo_n "checking for _powf declaration... " >&6; }
53817 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53818 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53819 $as_echo_n "(cached) " >&6
53820 else
53823 ac_ext=cpp
53824 ac_cpp='$CXXCPP $CPPFLAGS'
53825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53830 /* end confdefs.h. */
53831 #include <math.h>
53833 main ()
53835 _powf(0, 0);
53837 return 0;
53839 _ACEOF
53840 if ac_fn_cxx_try_compile "$LINENO"; then :
53841 glibcxx_cv_func__powf_use=yes
53842 else
53843 glibcxx_cv_func__powf_use=no
53845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53846 ac_ext=c
53847 ac_cpp='$CPP $CPPFLAGS'
53848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53857 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53859 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53860 for ac_func in _powf
53861 do :
53862 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53863 if test "x$ac_cv_func__powf" = x""yes; then :
53864 cat >>confdefs.h <<_ACEOF
53865 #define HAVE__POWF 1
53866 _ACEOF
53869 done
53878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53879 $as_echo_n "checking for sqrtf declaration... " >&6; }
53880 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53881 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53882 $as_echo_n "(cached) " >&6
53883 else
53886 ac_ext=cpp
53887 ac_cpp='$CXXCPP $CPPFLAGS'
53888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53893 /* end confdefs.h. */
53894 #include <math.h>
53895 #ifdef HAVE_IEEEFP_H
53896 #include <ieeefp.h>
53897 #endif
53900 main ()
53902 sqrtf(0);
53904 return 0;
53906 _ACEOF
53907 if ac_fn_cxx_try_compile "$LINENO"; then :
53908 glibcxx_cv_func_sqrtf_use=yes
53909 else
53910 glibcxx_cv_func_sqrtf_use=no
53912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53913 ac_ext=c
53914 ac_cpp='$CPP $CPPFLAGS'
53915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53924 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53926 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53927 for ac_func in sqrtf
53928 do :
53929 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53930 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53931 cat >>confdefs.h <<_ACEOF
53932 #define HAVE_SQRTF 1
53933 _ACEOF
53936 done
53938 else
53940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53941 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53942 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53943 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53944 $as_echo_n "(cached) " >&6
53945 else
53948 ac_ext=cpp
53949 ac_cpp='$CXXCPP $CPPFLAGS'
53950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53955 /* end confdefs.h. */
53956 #include <math.h>
53957 #ifdef HAVE_IEEEFP_H
53958 #include <ieeefp.h>
53959 #endif
53962 main ()
53964 _sqrtf(0);
53966 return 0;
53968 _ACEOF
53969 if ac_fn_cxx_try_compile "$LINENO"; then :
53970 glibcxx_cv_func__sqrtf_use=yes
53971 else
53972 glibcxx_cv_func__sqrtf_use=no
53974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53975 ac_ext=c
53976 ac_cpp='$CPP $CPPFLAGS'
53977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53986 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53988 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53989 for ac_func in _sqrtf
53990 do :
53991 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53992 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53993 cat >>confdefs.h <<_ACEOF
53994 #define HAVE__SQRTF 1
53995 _ACEOF
53998 done
54007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54008 $as_echo_n "checking for sincosf declaration... " >&6; }
54009 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54010 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54011 $as_echo_n "(cached) " >&6
54012 else
54015 ac_ext=cpp
54016 ac_cpp='$CXXCPP $CPPFLAGS'
54017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54022 /* end confdefs.h. */
54023 #include <math.h>
54025 main ()
54027 sincosf(0, 0, 0);
54029 return 0;
54031 _ACEOF
54032 if ac_fn_cxx_try_compile "$LINENO"; then :
54033 glibcxx_cv_func_sincosf_use=yes
54034 else
54035 glibcxx_cv_func_sincosf_use=no
54037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54038 ac_ext=c
54039 ac_cpp='$CPP $CPPFLAGS'
54040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54049 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54051 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54052 for ac_func in sincosf
54053 do :
54054 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54055 if test "x$ac_cv_func_sincosf" = x""yes; then :
54056 cat >>confdefs.h <<_ACEOF
54057 #define HAVE_SINCOSF 1
54058 _ACEOF
54061 done
54063 else
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54066 $as_echo_n "checking for _sincosf declaration... " >&6; }
54067 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54068 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54069 $as_echo_n "(cached) " >&6
54070 else
54073 ac_ext=cpp
54074 ac_cpp='$CXXCPP $CPPFLAGS'
54075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54080 /* end confdefs.h. */
54081 #include <math.h>
54083 main ()
54085 _sincosf(0, 0, 0);
54087 return 0;
54089 _ACEOF
54090 if ac_fn_cxx_try_compile "$LINENO"; then :
54091 glibcxx_cv_func__sincosf_use=yes
54092 else
54093 glibcxx_cv_func__sincosf_use=no
54095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54096 ac_ext=c
54097 ac_cpp='$CPP $CPPFLAGS'
54098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54107 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54109 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54110 for ac_func in _sincosf
54111 do :
54112 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54113 if test "x$ac_cv_func__sincosf" = x""yes; then :
54114 cat >>confdefs.h <<_ACEOF
54115 #define HAVE__SINCOSF 1
54116 _ACEOF
54119 done
54128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54129 $as_echo_n "checking for finitef declaration... " >&6; }
54130 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54131 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54132 $as_echo_n "(cached) " >&6
54133 else
54136 ac_ext=cpp
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143 /* end confdefs.h. */
54144 #include <math.h>
54145 #ifdef HAVE_IEEEFP_H
54146 #include <ieeefp.h>
54147 #endif
54150 main ()
54152 finitef(0);
54154 return 0;
54156 _ACEOF
54157 if ac_fn_cxx_try_compile "$LINENO"; then :
54158 glibcxx_cv_func_finitef_use=yes
54159 else
54160 glibcxx_cv_func_finitef_use=no
54162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54163 ac_ext=c
54164 ac_cpp='$CPP $CPPFLAGS'
54165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54174 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54176 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54177 for ac_func in finitef
54178 do :
54179 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54180 if test "x$ac_cv_func_finitef" = x""yes; then :
54181 cat >>confdefs.h <<_ACEOF
54182 #define HAVE_FINITEF 1
54183 _ACEOF
54186 done
54188 else
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54191 $as_echo_n "checking for _finitef declaration... " >&6; }
54192 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54193 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54194 $as_echo_n "(cached) " >&6
54195 else
54198 ac_ext=cpp
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205 /* end confdefs.h. */
54206 #include <math.h>
54207 #ifdef HAVE_IEEEFP_H
54208 #include <ieeefp.h>
54209 #endif
54212 main ()
54214 _finitef(0);
54216 return 0;
54218 _ACEOF
54219 if ac_fn_cxx_try_compile "$LINENO"; then :
54220 glibcxx_cv_func__finitef_use=yes
54221 else
54222 glibcxx_cv_func__finitef_use=no
54224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54225 ac_ext=c
54226 ac_cpp='$CPP $CPPFLAGS'
54227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54236 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54238 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54239 for ac_func in _finitef
54240 do :
54241 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54242 if test "x$ac_cv_func__finitef" = x""yes; then :
54243 cat >>confdefs.h <<_ACEOF
54244 #define HAVE__FINITEF 1
54245 _ACEOF
54248 done
54257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54258 $as_echo_n "checking for long double trig functions... " >&6; }
54259 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54260 $as_echo_n "(cached) " >&6
54261 else
54264 ac_ext=cpp
54265 ac_cpp='$CXXCPP $CPPFLAGS'
54266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54271 /* end confdefs.h. */
54272 #include <math.h>
54274 main ()
54276 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54278 return 0;
54280 _ACEOF
54281 if ac_fn_cxx_try_compile "$LINENO"; then :
54282 glibcxx_cv_func_long_double_trig_use=yes
54283 else
54284 glibcxx_cv_func_long_double_trig_use=no
54286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54287 ac_ext=c
54288 ac_cpp='$CPP $CPPFLAGS'
54289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54296 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54297 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54298 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54299 do :
54300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54302 eval as_val=\$$as_ac_var
54303 if test "x$as_val" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54306 _ACEOF
54309 done
54311 else
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54313 $as_echo_n "checking for _long double trig functions... " >&6; }
54314 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54329 main ()
54331 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54333 return 0;
54335 _ACEOF
54336 if ac_fn_cxx_try_compile "$LINENO"; then :
54337 glibcxx_cv_func__long_double_trig_use=yes
54338 else
54339 glibcxx_cv_func__long_double_trig_use=no
54341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54342 ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54351 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54352 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54353 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54354 do :
54355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54357 eval as_val=\$$as_ac_var
54358 if test "x$as_val" = x""yes; then :
54359 cat >>confdefs.h <<_ACEOF
54360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54361 _ACEOF
54364 done
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54374 $as_echo_n "checking for long double round functions... " >&6; }
54375 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54376 $as_echo_n "(cached) " >&6
54377 else
54380 ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h. */
54388 #include <math.h>
54390 main ()
54392 ceill (0); floorl (0);
54394 return 0;
54396 _ACEOF
54397 if ac_fn_cxx_try_compile "$LINENO"; then :
54398 glibcxx_cv_func_long_double_round_use=yes
54399 else
54400 glibcxx_cv_func_long_double_round_use=no
54402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54403 ac_ext=c
54404 ac_cpp='$CPP $CPPFLAGS'
54405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54412 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54413 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54414 for ac_func in ceill floorl
54415 do :
54416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54418 eval as_val=\$$as_ac_var
54419 if test "x$as_val" = x""yes; then :
54420 cat >>confdefs.h <<_ACEOF
54421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54422 _ACEOF
54425 done
54427 else
54428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54429 $as_echo_n "checking for _long double round functions... " >&6; }
54430 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54431 $as_echo_n "(cached) " >&6
54432 else
54435 ac_ext=cpp
54436 ac_cpp='$CXXCPP $CPPFLAGS'
54437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54442 /* end confdefs.h. */
54443 #include <math.h>
54445 main ()
54447 _ceill (0); _floorl (0);
54449 return 0;
54451 _ACEOF
54452 if ac_fn_cxx_try_compile "$LINENO"; then :
54453 glibcxx_cv_func__long_double_round_use=yes
54454 else
54455 glibcxx_cv_func__long_double_round_use=no
54457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54458 ac_ext=c
54459 ac_cpp='$CPP $CPPFLAGS'
54460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54467 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54468 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54469 for ac_func in _ceill _floorl
54470 do :
54471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54473 eval as_val=\$$as_ac_var
54474 if test "x$as_val" = x""yes; then :
54475 cat >>confdefs.h <<_ACEOF
54476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54477 _ACEOF
54480 done
54490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54491 $as_echo_n "checking for isnanl declaration... " >&6; }
54492 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54493 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54494 $as_echo_n "(cached) " >&6
54495 else
54498 ac_ext=cpp
54499 ac_cpp='$CXXCPP $CPPFLAGS'
54500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54505 /* end confdefs.h. */
54506 #include <math.h>
54507 #ifdef HAVE_IEEEFP_H
54508 #include <ieeefp.h>
54509 #endif
54512 main ()
54514 isnanl(0);
54516 return 0;
54518 _ACEOF
54519 if ac_fn_cxx_try_compile "$LINENO"; then :
54520 glibcxx_cv_func_isnanl_use=yes
54521 else
54522 glibcxx_cv_func_isnanl_use=no
54524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54525 ac_ext=c
54526 ac_cpp='$CPP $CPPFLAGS'
54527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54536 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54538 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54539 for ac_func in isnanl
54540 do :
54541 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54542 if test "x$ac_cv_func_isnanl" = x""yes; then :
54543 cat >>confdefs.h <<_ACEOF
54544 #define HAVE_ISNANL 1
54545 _ACEOF
54548 done
54550 else
54552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54553 $as_echo_n "checking for _isnanl declaration... " >&6; }
54554 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54555 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54556 $as_echo_n "(cached) " >&6
54557 else
54560 ac_ext=cpp
54561 ac_cpp='$CXXCPP $CPPFLAGS'
54562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54567 /* end confdefs.h. */
54568 #include <math.h>
54569 #ifdef HAVE_IEEEFP_H
54570 #include <ieeefp.h>
54571 #endif
54574 main ()
54576 _isnanl(0);
54578 return 0;
54580 _ACEOF
54581 if ac_fn_cxx_try_compile "$LINENO"; then :
54582 glibcxx_cv_func__isnanl_use=yes
54583 else
54584 glibcxx_cv_func__isnanl_use=no
54586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54587 ac_ext=c
54588 ac_cpp='$CPP $CPPFLAGS'
54589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54598 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54600 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54601 for ac_func in _isnanl
54602 do :
54603 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54604 if test "x$ac_cv_func__isnanl" = x""yes; then :
54605 cat >>confdefs.h <<_ACEOF
54606 #define HAVE__ISNANL 1
54607 _ACEOF
54610 done
54619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54620 $as_echo_n "checking for isinfl declaration... " >&6; }
54621 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54622 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54623 $as_echo_n "(cached) " >&6
54624 else
54627 ac_ext=cpp
54628 ac_cpp='$CXXCPP $CPPFLAGS'
54629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54634 /* end confdefs.h. */
54635 #include <math.h>
54636 #ifdef HAVE_IEEEFP_H
54637 #include <ieeefp.h>
54638 #endif
54641 main ()
54643 isinfl(0);
54645 return 0;
54647 _ACEOF
54648 if ac_fn_cxx_try_compile "$LINENO"; then :
54649 glibcxx_cv_func_isinfl_use=yes
54650 else
54651 glibcxx_cv_func_isinfl_use=no
54653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54654 ac_ext=c
54655 ac_cpp='$CPP $CPPFLAGS'
54656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54665 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54667 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54668 for ac_func in isinfl
54669 do :
54670 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54671 if test "x$ac_cv_func_isinfl" = x""yes; then :
54672 cat >>confdefs.h <<_ACEOF
54673 #define HAVE_ISINFL 1
54674 _ACEOF
54677 done
54679 else
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54682 $as_echo_n "checking for _isinfl declaration... " >&6; }
54683 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54684 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54685 $as_echo_n "(cached) " >&6
54686 else
54689 ac_ext=cpp
54690 ac_cpp='$CXXCPP $CPPFLAGS'
54691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54696 /* end confdefs.h. */
54697 #include <math.h>
54698 #ifdef HAVE_IEEEFP_H
54699 #include <ieeefp.h>
54700 #endif
54703 main ()
54705 _isinfl(0);
54707 return 0;
54709 _ACEOF
54710 if ac_fn_cxx_try_compile "$LINENO"; then :
54711 glibcxx_cv_func__isinfl_use=yes
54712 else
54713 glibcxx_cv_func__isinfl_use=no
54715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54716 ac_ext=c
54717 ac_cpp='$CPP $CPPFLAGS'
54718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54727 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54729 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54730 for ac_func in _isinfl
54731 do :
54732 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54733 if test "x$ac_cv_func__isinfl" = x""yes; then :
54734 cat >>confdefs.h <<_ACEOF
54735 #define HAVE__ISINFL 1
54736 _ACEOF
54739 done
54748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54749 $as_echo_n "checking for atan2l declaration... " >&6; }
54750 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54751 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54752 $as_echo_n "(cached) " >&6
54753 else
54756 ac_ext=cpp
54757 ac_cpp='$CXXCPP $CPPFLAGS'
54758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54763 /* end confdefs.h. */
54764 #include <math.h>
54766 main ()
54768 atan2l(0, 0);
54770 return 0;
54772 _ACEOF
54773 if ac_fn_cxx_try_compile "$LINENO"; then :
54774 glibcxx_cv_func_atan2l_use=yes
54775 else
54776 glibcxx_cv_func_atan2l_use=no
54778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54779 ac_ext=c
54780 ac_cpp='$CPP $CPPFLAGS'
54781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54790 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54792 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54793 for ac_func in atan2l
54794 do :
54795 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54796 if test "x$ac_cv_func_atan2l" = x""yes; then :
54797 cat >>confdefs.h <<_ACEOF
54798 #define HAVE_ATAN2L 1
54799 _ACEOF
54802 done
54804 else
54806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54807 $as_echo_n "checking for _atan2l declaration... " >&6; }
54808 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54809 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54810 $as_echo_n "(cached) " >&6
54811 else
54814 ac_ext=cpp
54815 ac_cpp='$CXXCPP $CPPFLAGS'
54816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54821 /* end confdefs.h. */
54822 #include <math.h>
54824 main ()
54826 _atan2l(0, 0);
54828 return 0;
54830 _ACEOF
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832 glibcxx_cv_func__atan2l_use=yes
54833 else
54834 glibcxx_cv_func__atan2l_use=no
54836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54837 ac_ext=c
54838 ac_cpp='$CPP $CPPFLAGS'
54839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54848 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54850 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54851 for ac_func in _atan2l
54852 do :
54853 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54854 if test "x$ac_cv_func__atan2l" = x""yes; then :
54855 cat >>confdefs.h <<_ACEOF
54856 #define HAVE__ATAN2L 1
54857 _ACEOF
54860 done
54869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54870 $as_echo_n "checking for expl declaration... " >&6; }
54871 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54872 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54873 $as_echo_n "(cached) " >&6
54874 else
54877 ac_ext=cpp
54878 ac_cpp='$CXXCPP $CPPFLAGS'
54879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54884 /* end confdefs.h. */
54885 #include <math.h>
54886 #ifdef HAVE_IEEEFP_H
54887 #include <ieeefp.h>
54888 #endif
54891 main ()
54893 expl(0);
54895 return 0;
54897 _ACEOF
54898 if ac_fn_cxx_try_compile "$LINENO"; then :
54899 glibcxx_cv_func_expl_use=yes
54900 else
54901 glibcxx_cv_func_expl_use=no
54903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54904 ac_ext=c
54905 ac_cpp='$CPP $CPPFLAGS'
54906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54915 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54917 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54918 for ac_func in expl
54919 do :
54920 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54921 if test "x$ac_cv_func_expl" = x""yes; then :
54922 cat >>confdefs.h <<_ACEOF
54923 #define HAVE_EXPL 1
54924 _ACEOF
54927 done
54929 else
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54932 $as_echo_n "checking for _expl declaration... " >&6; }
54933 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54934 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54935 $as_echo_n "(cached) " >&6
54936 else
54939 ac_ext=cpp
54940 ac_cpp='$CXXCPP $CPPFLAGS'
54941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54946 /* end confdefs.h. */
54947 #include <math.h>
54948 #ifdef HAVE_IEEEFP_H
54949 #include <ieeefp.h>
54950 #endif
54953 main ()
54955 _expl(0);
54957 return 0;
54959 _ACEOF
54960 if ac_fn_cxx_try_compile "$LINENO"; then :
54961 glibcxx_cv_func__expl_use=yes
54962 else
54963 glibcxx_cv_func__expl_use=no
54965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54966 ac_ext=c
54967 ac_cpp='$CPP $CPPFLAGS'
54968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54977 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54979 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54980 for ac_func in _expl
54981 do :
54982 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54983 if test "x$ac_cv_func__expl" = x""yes; then :
54984 cat >>confdefs.h <<_ACEOF
54985 #define HAVE__EXPL 1
54986 _ACEOF
54989 done
54998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54999 $as_echo_n "checking for fabsl declaration... " >&6; }
55000 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55001 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55002 $as_echo_n "(cached) " >&6
55003 else
55006 ac_ext=cpp
55007 ac_cpp='$CXXCPP $CPPFLAGS'
55008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55013 /* end confdefs.h. */
55014 #include <math.h>
55015 #ifdef HAVE_IEEEFP_H
55016 #include <ieeefp.h>
55017 #endif
55020 main ()
55022 fabsl(0);
55024 return 0;
55026 _ACEOF
55027 if ac_fn_cxx_try_compile "$LINENO"; then :
55028 glibcxx_cv_func_fabsl_use=yes
55029 else
55030 glibcxx_cv_func_fabsl_use=no
55032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55033 ac_ext=c
55034 ac_cpp='$CPP $CPPFLAGS'
55035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55044 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55046 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55047 for ac_func in fabsl
55048 do :
55049 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55050 if test "x$ac_cv_func_fabsl" = x""yes; then :
55051 cat >>confdefs.h <<_ACEOF
55052 #define HAVE_FABSL 1
55053 _ACEOF
55056 done
55058 else
55060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55061 $as_echo_n "checking for _fabsl declaration... " >&6; }
55062 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55063 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55064 $as_echo_n "(cached) " >&6
55065 else
55068 ac_ext=cpp
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55075 /* end confdefs.h. */
55076 #include <math.h>
55077 #ifdef HAVE_IEEEFP_H
55078 #include <ieeefp.h>
55079 #endif
55082 main ()
55084 _fabsl(0);
55086 return 0;
55088 _ACEOF
55089 if ac_fn_cxx_try_compile "$LINENO"; then :
55090 glibcxx_cv_func__fabsl_use=yes
55091 else
55092 glibcxx_cv_func__fabsl_use=no
55094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095 ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55106 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55108 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55109 for ac_func in _fabsl
55110 do :
55111 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55112 if test "x$ac_cv_func__fabsl" = x""yes; then :
55113 cat >>confdefs.h <<_ACEOF
55114 #define HAVE__FABSL 1
55115 _ACEOF
55118 done
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55128 $as_echo_n "checking for fmodl declaration... " >&6; }
55129 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55130 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55131 $as_echo_n "(cached) " >&6
55132 else
55135 ac_ext=cpp
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55142 /* end confdefs.h. */
55143 #include <math.h>
55145 main ()
55147 fmodl(0, 0);
55149 return 0;
55151 _ACEOF
55152 if ac_fn_cxx_try_compile "$LINENO"; then :
55153 glibcxx_cv_func_fmodl_use=yes
55154 else
55155 glibcxx_cv_func_fmodl_use=no
55157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55158 ac_ext=c
55159 ac_cpp='$CPP $CPPFLAGS'
55160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55169 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55171 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55172 for ac_func in fmodl
55173 do :
55174 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55175 if test "x$ac_cv_func_fmodl" = x""yes; then :
55176 cat >>confdefs.h <<_ACEOF
55177 #define HAVE_FMODL 1
55178 _ACEOF
55181 done
55183 else
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55186 $as_echo_n "checking for _fmodl declaration... " >&6; }
55187 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55188 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55189 $as_echo_n "(cached) " >&6
55190 else
55193 ac_ext=cpp
55194 ac_cpp='$CXXCPP $CPPFLAGS'
55195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55200 /* end confdefs.h. */
55201 #include <math.h>
55203 main ()
55205 _fmodl(0, 0);
55207 return 0;
55209 _ACEOF
55210 if ac_fn_cxx_try_compile "$LINENO"; then :
55211 glibcxx_cv_func__fmodl_use=yes
55212 else
55213 glibcxx_cv_func__fmodl_use=no
55215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55216 ac_ext=c
55217 ac_cpp='$CPP $CPPFLAGS'
55218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55227 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55229 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55230 for ac_func in _fmodl
55231 do :
55232 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55233 if test "x$ac_cv_func__fmodl" = x""yes; then :
55234 cat >>confdefs.h <<_ACEOF
55235 #define HAVE__FMODL 1
55236 _ACEOF
55239 done
55248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55249 $as_echo_n "checking for frexpl declaration... " >&6; }
55250 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55251 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55252 $as_echo_n "(cached) " >&6
55253 else
55256 ac_ext=cpp
55257 ac_cpp='$CXXCPP $CPPFLAGS'
55258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55263 /* end confdefs.h. */
55264 #include <math.h>
55266 main ()
55268 frexpl(0, 0);
55270 return 0;
55272 _ACEOF
55273 if ac_fn_cxx_try_compile "$LINENO"; then :
55274 glibcxx_cv_func_frexpl_use=yes
55275 else
55276 glibcxx_cv_func_frexpl_use=no
55278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55279 ac_ext=c
55280 ac_cpp='$CPP $CPPFLAGS'
55281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55290 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55292 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55293 for ac_func in frexpl
55294 do :
55295 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55296 if test "x$ac_cv_func_frexpl" = x""yes; then :
55297 cat >>confdefs.h <<_ACEOF
55298 #define HAVE_FREXPL 1
55299 _ACEOF
55302 done
55304 else
55306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55307 $as_echo_n "checking for _frexpl declaration... " >&6; }
55308 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55309 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55310 $as_echo_n "(cached) " >&6
55311 else
55314 ac_ext=cpp
55315 ac_cpp='$CXXCPP $CPPFLAGS'
55316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55321 /* end confdefs.h. */
55322 #include <math.h>
55324 main ()
55326 _frexpl(0, 0);
55328 return 0;
55330 _ACEOF
55331 if ac_fn_cxx_try_compile "$LINENO"; then :
55332 glibcxx_cv_func__frexpl_use=yes
55333 else
55334 glibcxx_cv_func__frexpl_use=no
55336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55337 ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55348 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55350 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55351 for ac_func in _frexpl
55352 do :
55353 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55354 if test "x$ac_cv_func__frexpl" = x""yes; then :
55355 cat >>confdefs.h <<_ACEOF
55356 #define HAVE__FREXPL 1
55357 _ACEOF
55360 done
55369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55370 $as_echo_n "checking for hypotl declaration... " >&6; }
55371 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55372 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55373 $as_echo_n "(cached) " >&6
55374 else
55377 ac_ext=cpp
55378 ac_cpp='$CXXCPP $CPPFLAGS'
55379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55384 /* end confdefs.h. */
55385 #include <math.h>
55387 main ()
55389 hypotl(0, 0);
55391 return 0;
55393 _ACEOF
55394 if ac_fn_cxx_try_compile "$LINENO"; then :
55395 glibcxx_cv_func_hypotl_use=yes
55396 else
55397 glibcxx_cv_func_hypotl_use=no
55399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55400 ac_ext=c
55401 ac_cpp='$CPP $CPPFLAGS'
55402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55411 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55413 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55414 for ac_func in hypotl
55415 do :
55416 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55417 if test "x$ac_cv_func_hypotl" = x""yes; then :
55418 cat >>confdefs.h <<_ACEOF
55419 #define HAVE_HYPOTL 1
55420 _ACEOF
55423 done
55425 else
55427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55428 $as_echo_n "checking for _hypotl declaration... " >&6; }
55429 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55430 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55431 $as_echo_n "(cached) " >&6
55432 else
55435 ac_ext=cpp
55436 ac_cpp='$CXXCPP $CPPFLAGS'
55437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55442 /* end confdefs.h. */
55443 #include <math.h>
55445 main ()
55447 _hypotl(0, 0);
55449 return 0;
55451 _ACEOF
55452 if ac_fn_cxx_try_compile "$LINENO"; then :
55453 glibcxx_cv_func__hypotl_use=yes
55454 else
55455 glibcxx_cv_func__hypotl_use=no
55457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55458 ac_ext=c
55459 ac_cpp='$CPP $CPPFLAGS'
55460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55469 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55471 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55472 for ac_func in _hypotl
55473 do :
55474 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55475 if test "x$ac_cv_func__hypotl" = x""yes; then :
55476 cat >>confdefs.h <<_ACEOF
55477 #define HAVE__HYPOTL 1
55478 _ACEOF
55481 done
55490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55491 $as_echo_n "checking for ldexpl declaration... " >&6; }
55492 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55493 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55494 $as_echo_n "(cached) " >&6
55495 else
55498 ac_ext=cpp
55499 ac_cpp='$CXXCPP $CPPFLAGS'
55500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55505 /* end confdefs.h. */
55506 #include <math.h>
55508 main ()
55510 ldexpl(0, 0);
55512 return 0;
55514 _ACEOF
55515 if ac_fn_cxx_try_compile "$LINENO"; then :
55516 glibcxx_cv_func_ldexpl_use=yes
55517 else
55518 glibcxx_cv_func_ldexpl_use=no
55520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55521 ac_ext=c
55522 ac_cpp='$CPP $CPPFLAGS'
55523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55532 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55534 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55535 for ac_func in ldexpl
55536 do :
55537 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55538 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55539 cat >>confdefs.h <<_ACEOF
55540 #define HAVE_LDEXPL 1
55541 _ACEOF
55544 done
55546 else
55548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55549 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55550 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55551 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55552 $as_echo_n "(cached) " >&6
55553 else
55556 ac_ext=cpp
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55563 /* end confdefs.h. */
55564 #include <math.h>
55566 main ()
55568 _ldexpl(0, 0);
55570 return 0;
55572 _ACEOF
55573 if ac_fn_cxx_try_compile "$LINENO"; then :
55574 glibcxx_cv_func__ldexpl_use=yes
55575 else
55576 glibcxx_cv_func__ldexpl_use=no
55578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55579 ac_ext=c
55580 ac_cpp='$CPP $CPPFLAGS'
55581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55590 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55592 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55593 for ac_func in _ldexpl
55594 do :
55595 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55596 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55597 cat >>confdefs.h <<_ACEOF
55598 #define HAVE__LDEXPL 1
55599 _ACEOF
55602 done
55611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55612 $as_echo_n "checking for logl declaration... " >&6; }
55613 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55614 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55615 $as_echo_n "(cached) " >&6
55616 else
55619 ac_ext=cpp
55620 ac_cpp='$CXXCPP $CPPFLAGS'
55621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55626 /* end confdefs.h. */
55627 #include <math.h>
55628 #ifdef HAVE_IEEEFP_H
55629 #include <ieeefp.h>
55630 #endif
55633 main ()
55635 logl(0);
55637 return 0;
55639 _ACEOF
55640 if ac_fn_cxx_try_compile "$LINENO"; then :
55641 glibcxx_cv_func_logl_use=yes
55642 else
55643 glibcxx_cv_func_logl_use=no
55645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55646 ac_ext=c
55647 ac_cpp='$CPP $CPPFLAGS'
55648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55657 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55659 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55660 for ac_func in logl
55661 do :
55662 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55663 if test "x$ac_cv_func_logl" = x""yes; then :
55664 cat >>confdefs.h <<_ACEOF
55665 #define HAVE_LOGL 1
55666 _ACEOF
55669 done
55671 else
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55674 $as_echo_n "checking for _logl declaration... " >&6; }
55675 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55676 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55677 $as_echo_n "(cached) " >&6
55678 else
55681 ac_ext=cpp
55682 ac_cpp='$CXXCPP $CPPFLAGS'
55683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55688 /* end confdefs.h. */
55689 #include <math.h>
55690 #ifdef HAVE_IEEEFP_H
55691 #include <ieeefp.h>
55692 #endif
55695 main ()
55697 _logl(0);
55699 return 0;
55701 _ACEOF
55702 if ac_fn_cxx_try_compile "$LINENO"; then :
55703 glibcxx_cv_func__logl_use=yes
55704 else
55705 glibcxx_cv_func__logl_use=no
55707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55708 ac_ext=c
55709 ac_cpp='$CPP $CPPFLAGS'
55710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55719 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55721 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55722 for ac_func in _logl
55723 do :
55724 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55725 if test "x$ac_cv_func__logl" = x""yes; then :
55726 cat >>confdefs.h <<_ACEOF
55727 #define HAVE__LOGL 1
55728 _ACEOF
55731 done
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55741 $as_echo_n "checking for log10l declaration... " >&6; }
55742 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55743 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55744 $as_echo_n "(cached) " >&6
55745 else
55748 ac_ext=cpp
55749 ac_cpp='$CXXCPP $CPPFLAGS'
55750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55755 /* end confdefs.h. */
55756 #include <math.h>
55757 #ifdef HAVE_IEEEFP_H
55758 #include <ieeefp.h>
55759 #endif
55762 main ()
55764 log10l(0);
55766 return 0;
55768 _ACEOF
55769 if ac_fn_cxx_try_compile "$LINENO"; then :
55770 glibcxx_cv_func_log10l_use=yes
55771 else
55772 glibcxx_cv_func_log10l_use=no
55774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55775 ac_ext=c
55776 ac_cpp='$CPP $CPPFLAGS'
55777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55786 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55788 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55789 for ac_func in log10l
55790 do :
55791 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55792 if test "x$ac_cv_func_log10l" = x""yes; then :
55793 cat >>confdefs.h <<_ACEOF
55794 #define HAVE_LOG10L 1
55795 _ACEOF
55798 done
55800 else
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55803 $as_echo_n "checking for _log10l declaration... " >&6; }
55804 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55805 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55806 $as_echo_n "(cached) " >&6
55807 else
55810 ac_ext=cpp
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55817 /* end confdefs.h. */
55818 #include <math.h>
55819 #ifdef HAVE_IEEEFP_H
55820 #include <ieeefp.h>
55821 #endif
55824 main ()
55826 _log10l(0);
55828 return 0;
55830 _ACEOF
55831 if ac_fn_cxx_try_compile "$LINENO"; then :
55832 glibcxx_cv_func__log10l_use=yes
55833 else
55834 glibcxx_cv_func__log10l_use=no
55836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55837 ac_ext=c
55838 ac_cpp='$CPP $CPPFLAGS'
55839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55848 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55850 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55851 for ac_func in _log10l
55852 do :
55853 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55854 if test "x$ac_cv_func__log10l" = x""yes; then :
55855 cat >>confdefs.h <<_ACEOF
55856 #define HAVE__LOG10L 1
55857 _ACEOF
55860 done
55869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55870 $as_echo_n "checking for modfl declaration... " >&6; }
55871 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55872 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55873 $as_echo_n "(cached) " >&6
55874 else
55877 ac_ext=cpp
55878 ac_cpp='$CXXCPP $CPPFLAGS'
55879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55884 /* end confdefs.h. */
55885 #include <math.h>
55887 main ()
55889 modfl(0, 0);
55891 return 0;
55893 _ACEOF
55894 if ac_fn_cxx_try_compile "$LINENO"; then :
55895 glibcxx_cv_func_modfl_use=yes
55896 else
55897 glibcxx_cv_func_modfl_use=no
55899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55900 ac_ext=c
55901 ac_cpp='$CPP $CPPFLAGS'
55902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55911 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55913 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55914 for ac_func in modfl
55915 do :
55916 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55917 if test "x$ac_cv_func_modfl" = x""yes; then :
55918 cat >>confdefs.h <<_ACEOF
55919 #define HAVE_MODFL 1
55920 _ACEOF
55923 done
55925 else
55927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55928 $as_echo_n "checking for _modfl declaration... " >&6; }
55929 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55930 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55931 $as_echo_n "(cached) " >&6
55932 else
55935 ac_ext=cpp
55936 ac_cpp='$CXXCPP $CPPFLAGS'
55937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55942 /* end confdefs.h. */
55943 #include <math.h>
55945 main ()
55947 _modfl(0, 0);
55949 return 0;
55951 _ACEOF
55952 if ac_fn_cxx_try_compile "$LINENO"; then :
55953 glibcxx_cv_func__modfl_use=yes
55954 else
55955 glibcxx_cv_func__modfl_use=no
55957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55958 ac_ext=c
55959 ac_cpp='$CPP $CPPFLAGS'
55960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55969 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55971 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55972 for ac_func in _modfl
55973 do :
55974 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55975 if test "x$ac_cv_func__modfl" = x""yes; then :
55976 cat >>confdefs.h <<_ACEOF
55977 #define HAVE__MODFL 1
55978 _ACEOF
55981 done
55990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55991 $as_echo_n "checking for powl declaration... " >&6; }
55992 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55993 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55994 $as_echo_n "(cached) " >&6
55995 else
55998 ac_ext=cpp
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56005 /* end confdefs.h. */
56006 #include <math.h>
56008 main ()
56010 powl(0, 0);
56012 return 0;
56014 _ACEOF
56015 if ac_fn_cxx_try_compile "$LINENO"; then :
56016 glibcxx_cv_func_powl_use=yes
56017 else
56018 glibcxx_cv_func_powl_use=no
56020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56021 ac_ext=c
56022 ac_cpp='$CPP $CPPFLAGS'
56023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56032 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56034 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56035 for ac_func in powl
56036 do :
56037 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56038 if test "x$ac_cv_func_powl" = x""yes; then :
56039 cat >>confdefs.h <<_ACEOF
56040 #define HAVE_POWL 1
56041 _ACEOF
56044 done
56046 else
56048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56049 $as_echo_n "checking for _powl declaration... " >&6; }
56050 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56051 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56052 $as_echo_n "(cached) " >&6
56053 else
56056 ac_ext=cpp
56057 ac_cpp='$CXXCPP $CPPFLAGS'
56058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56063 /* end confdefs.h. */
56064 #include <math.h>
56066 main ()
56068 _powl(0, 0);
56070 return 0;
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074 glibcxx_cv_func__powl_use=yes
56075 else
56076 glibcxx_cv_func__powl_use=no
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56090 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56092 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56093 for ac_func in _powl
56094 do :
56095 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56096 if test "x$ac_cv_func__powl" = x""yes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define HAVE__POWL 1
56099 _ACEOF
56102 done
56111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56112 $as_echo_n "checking for sqrtl declaration... " >&6; }
56113 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56114 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56115 $as_echo_n "(cached) " >&6
56116 else
56119 ac_ext=cpp
56120 ac_cpp='$CXXCPP $CPPFLAGS'
56121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56126 /* end confdefs.h. */
56127 #include <math.h>
56128 #ifdef HAVE_IEEEFP_H
56129 #include <ieeefp.h>
56130 #endif
56133 main ()
56135 sqrtl(0);
56137 return 0;
56139 _ACEOF
56140 if ac_fn_cxx_try_compile "$LINENO"; then :
56141 glibcxx_cv_func_sqrtl_use=yes
56142 else
56143 glibcxx_cv_func_sqrtl_use=no
56145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56146 ac_ext=c
56147 ac_cpp='$CPP $CPPFLAGS'
56148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56157 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56159 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56160 for ac_func in sqrtl
56161 do :
56162 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56163 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56164 cat >>confdefs.h <<_ACEOF
56165 #define HAVE_SQRTL 1
56166 _ACEOF
56169 done
56171 else
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56174 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56175 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56176 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56177 $as_echo_n "(cached) " >&6
56178 else
56181 ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h. */
56189 #include <math.h>
56190 #ifdef HAVE_IEEEFP_H
56191 #include <ieeefp.h>
56192 #endif
56195 main ()
56197 _sqrtl(0);
56199 return 0;
56201 _ACEOF
56202 if ac_fn_cxx_try_compile "$LINENO"; then :
56203 glibcxx_cv_func__sqrtl_use=yes
56204 else
56205 glibcxx_cv_func__sqrtl_use=no
56207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56208 ac_ext=c
56209 ac_cpp='$CPP $CPPFLAGS'
56210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56219 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56221 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56222 for ac_func in _sqrtl
56223 do :
56224 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56225 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56226 cat >>confdefs.h <<_ACEOF
56227 #define HAVE__SQRTL 1
56228 _ACEOF
56231 done
56240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56241 $as_echo_n "checking for sincosl declaration... " >&6; }
56242 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56243 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56244 $as_echo_n "(cached) " >&6
56245 else
56248 ac_ext=cpp
56249 ac_cpp='$CXXCPP $CPPFLAGS'
56250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56255 /* end confdefs.h. */
56256 #include <math.h>
56258 main ()
56260 sincosl(0, 0, 0);
56262 return 0;
56264 _ACEOF
56265 if ac_fn_cxx_try_compile "$LINENO"; then :
56266 glibcxx_cv_func_sincosl_use=yes
56267 else
56268 glibcxx_cv_func_sincosl_use=no
56270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56271 ac_ext=c
56272 ac_cpp='$CPP $CPPFLAGS'
56273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56282 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56284 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56285 for ac_func in sincosl
56286 do :
56287 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56288 if test "x$ac_cv_func_sincosl" = x""yes; then :
56289 cat >>confdefs.h <<_ACEOF
56290 #define HAVE_SINCOSL 1
56291 _ACEOF
56294 done
56296 else
56298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56299 $as_echo_n "checking for _sincosl declaration... " >&6; }
56300 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56301 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56302 $as_echo_n "(cached) " >&6
56303 else
56306 ac_ext=cpp
56307 ac_cpp='$CXXCPP $CPPFLAGS'
56308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56313 /* end confdefs.h. */
56314 #include <math.h>
56316 main ()
56318 _sincosl(0, 0, 0);
56320 return 0;
56322 _ACEOF
56323 if ac_fn_cxx_try_compile "$LINENO"; then :
56324 glibcxx_cv_func__sincosl_use=yes
56325 else
56326 glibcxx_cv_func__sincosl_use=no
56328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56329 ac_ext=c
56330 ac_cpp='$CPP $CPPFLAGS'
56331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56340 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56342 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56343 for ac_func in _sincosl
56344 do :
56345 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56346 if test "x$ac_cv_func__sincosl" = x""yes; then :
56347 cat >>confdefs.h <<_ACEOF
56348 #define HAVE__SINCOSL 1
56349 _ACEOF
56352 done
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56362 $as_echo_n "checking for finitel declaration... " >&6; }
56363 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56364 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56365 $as_echo_n "(cached) " >&6
56366 else
56369 ac_ext=cpp
56370 ac_cpp='$CXXCPP $CPPFLAGS'
56371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56376 /* end confdefs.h. */
56377 #include <math.h>
56378 #ifdef HAVE_IEEEFP_H
56379 #include <ieeefp.h>
56380 #endif
56383 main ()
56385 finitel(0);
56387 return 0;
56389 _ACEOF
56390 if ac_fn_cxx_try_compile "$LINENO"; then :
56391 glibcxx_cv_func_finitel_use=yes
56392 else
56393 glibcxx_cv_func_finitel_use=no
56395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56396 ac_ext=c
56397 ac_cpp='$CPP $CPPFLAGS'
56398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56407 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56409 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56410 for ac_func in finitel
56411 do :
56412 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56413 if test "x$ac_cv_func_finitel" = x""yes; then :
56414 cat >>confdefs.h <<_ACEOF
56415 #define HAVE_FINITEL 1
56416 _ACEOF
56419 done
56421 else
56423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56424 $as_echo_n "checking for _finitel declaration... " >&6; }
56425 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56426 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56427 $as_echo_n "(cached) " >&6
56428 else
56431 ac_ext=cpp
56432 ac_cpp='$CXXCPP $CPPFLAGS'
56433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56438 /* end confdefs.h. */
56439 #include <math.h>
56440 #ifdef HAVE_IEEEFP_H
56441 #include <ieeefp.h>
56442 #endif
56445 main ()
56447 _finitel(0);
56449 return 0;
56451 _ACEOF
56452 if ac_fn_cxx_try_compile "$LINENO"; then :
56453 glibcxx_cv_func__finitel_use=yes
56454 else
56455 glibcxx_cv_func__finitel_use=no
56457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56458 ac_ext=c
56459 ac_cpp='$CPP $CPPFLAGS'
56460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56469 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56471 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56472 for ac_func in _finitel
56473 do :
56474 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56475 if test "x$ac_cv_func__finitel" = x""yes; then :
56476 cat >>confdefs.h <<_ACEOF
56477 #define HAVE__FINITEL 1
56478 _ACEOF
56481 done
56489 LIBS="$ac_save_LIBS"
56490 CXXFLAGS="$ac_save_CXXFLAGS"
56493 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56494 ac_save_CXXFLAGS="$CXXFLAGS"
56495 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56499 $as_echo_n "checking for strtold declaration... " >&6; }
56500 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56501 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <stdlib.h>
56516 main ()
56518 strtold(0, 0);
56520 return 0;
56522 _ACEOF
56523 if ac_fn_cxx_try_compile "$LINENO"; then :
56524 glibcxx_cv_func_strtold_use=yes
56525 else
56526 glibcxx_cv_func_strtold_use=no
56528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56529 ac_ext=c
56530 ac_cpp='$CPP $CPPFLAGS'
56531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56540 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56541 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56542 for ac_func in strtold
56543 do :
56544 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56545 if test "x$ac_cv_func_strtold" = x""yes; then :
56546 cat >>confdefs.h <<_ACEOF
56547 #define HAVE_STRTOLD 1
56548 _ACEOF
56551 done
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56559 $as_echo_n "checking for strtof declaration... " >&6; }
56560 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56561 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56562 $as_echo_n "(cached) " >&6
56563 else
56566 ac_ext=cpp
56567 ac_cpp='$CXXCPP $CPPFLAGS'
56568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56573 /* end confdefs.h. */
56574 #include <stdlib.h>
56576 main ()
56578 strtof(0, 0);
56580 return 0;
56582 _ACEOF
56583 if ac_fn_cxx_try_compile "$LINENO"; then :
56584 glibcxx_cv_func_strtof_use=yes
56585 else
56586 glibcxx_cv_func_strtof_use=no
56588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56589 ac_ext=c
56590 ac_cpp='$CPP $CPPFLAGS'
56591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56600 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56601 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56602 for ac_func in strtof
56603 do :
56604 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56605 if test "x$ac_cv_func_strtof" = x""yes; then :
56606 cat >>confdefs.h <<_ACEOF
56607 #define HAVE_STRTOF 1
56608 _ACEOF
56611 done
56618 CXXFLAGS="$ac_save_CXXFLAGS"
56621 *-netbsd*)
56622 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56625 # If we're not using GNU ld, then there's no point in even trying these
56626 # tests. Check for that first. We should have already tested for gld
56627 # by now (in libtool), but require it now just to be safe...
56628 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56629 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56633 # The name set by libtool depends on the version of libtool. Shame on us
56634 # for depending on an impl detail, but c'est la vie. Older versions used
56635 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56636 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56637 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56638 # set (hence we're using an older libtool), then set it.
56639 if test x${with_gnu_ld+set} != xset; then
56640 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56641 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56642 with_gnu_ld=no
56643 else
56644 with_gnu_ld=$ac_cv_prog_gnu_ld
56648 # Start by getting the version number. I think the libtool test already
56649 # does some of this, but throws away the result.
56650 glibcxx_ld_is_gold=no
56651 if test x"$with_gnu_ld" = x"yes"; then
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56653 $as_echo_n "checking for ld version... " >&6; }
56655 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56656 glibcxx_ld_is_gold=yes
56658 ldver=`$LD --version 2>/dev/null |
56659 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'`
56661 glibcxx_gnu_ld_version=`echo $ldver | \
56662 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56664 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56667 # Set --gc-sections.
56668 glibcxx_have_gc_sections=no
56669 if test "$glibcxx_ld_is_gold" = "yes"; then
56670 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56671 glibcxx_have_gc_sections=yes
56673 else
56674 glibcxx_gcsections_min_ld=21602
56675 if test x"$with_gnu_ld" = x"yes" &&
56676 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56677 glibcxx_have_gc_sections=yes
56680 if test "$glibcxx_have_gc_sections" = "yes"; then
56681 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56682 # NB: This flag only works reliably after 2.16.1. Configure tests
56683 # for this are difficult, so hard wire a value that should work.
56685 ac_test_CFLAGS="${CFLAGS+set}"
56686 ac_save_CFLAGS="$CFLAGS"
56687 CFLAGS='-Wl,--gc-sections'
56689 # Check for -Wl,--gc-sections
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56691 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56692 if test x$gcc_no_link = xyes; then
56693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56696 /* end confdefs.h. */
56697 int one(void) { return 1; }
56698 int two(void) { return 2; }
56701 main ()
56703 two();
56705 return 0;
56707 _ACEOF
56708 if ac_fn_c_try_link "$LINENO"; then :
56709 ac_gcsections=yes
56710 else
56711 ac_gcsections=no
56713 rm -f core conftest.err conftest.$ac_objext \
56714 conftest$ac_exeext conftest.$ac_ext
56715 if test "$ac_gcsections" = "yes"; then
56716 rm -f conftest.c
56717 touch conftest.c
56718 if $CC -c conftest.c; then
56719 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56720 grep "Warning: gc-sections option ignored" > /dev/null; then
56721 ac_gcsections=no
56724 rm -f conftest.c conftest.o conftest
56726 if test "$ac_gcsections" = "yes"; then
56727 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56730 $as_echo "$ac_gcsections" >&6; }
56732 if test "$ac_test_CFLAGS" = set; then
56733 CFLAGS="$ac_save_CFLAGS"
56734 else
56735 # this is the suspicious part
56736 CFLAGS=''
56740 # Set -z,relro.
56741 # Note this is only for shared objects.
56742 ac_ld_relro=no
56743 if test x"$with_gnu_ld" = x"yes"; then
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56745 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56746 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56747 if test -n "$cxx_z_relo"; then
56748 OPT_LDFLAGS="-Wl,-z,relro"
56749 ac_ld_relro=yes
56751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56752 $as_echo "$ac_ld_relro" >&6; }
56755 # Set linker optimization flags.
56756 if test x"$with_gnu_ld" = x"yes"; then
56757 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56763 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56765 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56767 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56769 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56771 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56773 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56775 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56777 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56779 if test x"long_double_math_on_this_cpu" = x"yes"; then
56780 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56782 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56784 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56788 *-netware)
56789 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56792 # If we're not using GNU ld, then there's no point in even trying these
56793 # tests. Check for that first. We should have already tested for gld
56794 # by now (in libtool), but require it now just to be safe...
56795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56800 # The name set by libtool depends on the version of libtool. Shame on us
56801 # for depending on an impl detail, but c'est la vie. Older versions used
56802 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56803 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56804 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56805 # set (hence we're using an older libtool), then set it.
56806 if test x${with_gnu_ld+set} != xset; then
56807 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56808 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56809 with_gnu_ld=no
56810 else
56811 with_gnu_ld=$ac_cv_prog_gnu_ld
56815 # Start by getting the version number. I think the libtool test already
56816 # does some of this, but throws away the result.
56817 glibcxx_ld_is_gold=no
56818 if test x"$with_gnu_ld" = x"yes"; then
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56820 $as_echo_n "checking for ld version... " >&6; }
56822 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56823 glibcxx_ld_is_gold=yes
56825 ldver=`$LD --version 2>/dev/null |
56826 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'`
56828 glibcxx_gnu_ld_version=`echo $ldver | \
56829 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56831 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56834 # Set --gc-sections.
56835 glibcxx_have_gc_sections=no
56836 if test "$glibcxx_ld_is_gold" = "yes"; then
56837 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56838 glibcxx_have_gc_sections=yes
56840 else
56841 glibcxx_gcsections_min_ld=21602
56842 if test x"$with_gnu_ld" = x"yes" &&
56843 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56844 glibcxx_have_gc_sections=yes
56847 if test "$glibcxx_have_gc_sections" = "yes"; then
56848 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56849 # NB: This flag only works reliably after 2.16.1. Configure tests
56850 # for this are difficult, so hard wire a value that should work.
56852 ac_test_CFLAGS="${CFLAGS+set}"
56853 ac_save_CFLAGS="$CFLAGS"
56854 CFLAGS='-Wl,--gc-sections'
56856 # Check for -Wl,--gc-sections
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56858 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56859 if test x$gcc_no_link = xyes; then
56860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56863 /* end confdefs.h. */
56864 int one(void) { return 1; }
56865 int two(void) { return 2; }
56868 main ()
56870 two();
56872 return 0;
56874 _ACEOF
56875 if ac_fn_c_try_link "$LINENO"; then :
56876 ac_gcsections=yes
56877 else
56878 ac_gcsections=no
56880 rm -f core conftest.err conftest.$ac_objext \
56881 conftest$ac_exeext conftest.$ac_ext
56882 if test "$ac_gcsections" = "yes"; then
56883 rm -f conftest.c
56884 touch conftest.c
56885 if $CC -c conftest.c; then
56886 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56887 grep "Warning: gc-sections option ignored" > /dev/null; then
56888 ac_gcsections=no
56891 rm -f conftest.c conftest.o conftest
56893 if test "$ac_gcsections" = "yes"; then
56894 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56897 $as_echo "$ac_gcsections" >&6; }
56899 if test "$ac_test_CFLAGS" = set; then
56900 CFLAGS="$ac_save_CFLAGS"
56901 else
56902 # this is the suspicious part
56903 CFLAGS=''
56907 # Set -z,relro.
56908 # Note this is only for shared objects.
56909 ac_ld_relro=no
56910 if test x"$with_gnu_ld" = x"yes"; then
56911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56912 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56913 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56914 if test -n "$cxx_z_relo"; then
56915 OPT_LDFLAGS="-Wl,-z,relro"
56916 ac_ld_relro=yes
56918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56919 $as_echo "$ac_ld_relro" >&6; }
56922 # Set linker optimization flags.
56923 if test x"$with_gnu_ld" = x"yes"; then
56924 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56930 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56932 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56934 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56937 *-qnx6.1* | *-qnx6.2*)
56938 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56941 # If we're not using GNU ld, then there's no point in even trying these
56942 # tests. Check for that first. We should have already tested for gld
56943 # by now (in libtool), but require it now just to be safe...
56944 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56945 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56949 # The name set by libtool depends on the version of libtool. Shame on us
56950 # for depending on an impl detail, but c'est la vie. Older versions used
56951 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56952 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56953 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56954 # set (hence we're using an older libtool), then set it.
56955 if test x${with_gnu_ld+set} != xset; then
56956 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56957 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56958 with_gnu_ld=no
56959 else
56960 with_gnu_ld=$ac_cv_prog_gnu_ld
56964 # Start by getting the version number. I think the libtool test already
56965 # does some of this, but throws away the result.
56966 glibcxx_ld_is_gold=no
56967 if test x"$with_gnu_ld" = x"yes"; then
56968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56969 $as_echo_n "checking for ld version... " >&6; }
56971 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56972 glibcxx_ld_is_gold=yes
56974 ldver=`$LD --version 2>/dev/null |
56975 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'`
56977 glibcxx_gnu_ld_version=`echo $ldver | \
56978 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56980 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56983 # Set --gc-sections.
56984 glibcxx_have_gc_sections=no
56985 if test "$glibcxx_ld_is_gold" = "yes"; then
56986 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56987 glibcxx_have_gc_sections=yes
56989 else
56990 glibcxx_gcsections_min_ld=21602
56991 if test x"$with_gnu_ld" = x"yes" &&
56992 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56993 glibcxx_have_gc_sections=yes
56996 if test "$glibcxx_have_gc_sections" = "yes"; then
56997 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56998 # NB: This flag only works reliably after 2.16.1. Configure tests
56999 # for this are difficult, so hard wire a value that should work.
57001 ac_test_CFLAGS="${CFLAGS+set}"
57002 ac_save_CFLAGS="$CFLAGS"
57003 CFLAGS='-Wl,--gc-sections'
57005 # Check for -Wl,--gc-sections
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57007 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57008 if test x$gcc_no_link = xyes; then
57009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57012 /* end confdefs.h. */
57013 int one(void) { return 1; }
57014 int two(void) { return 2; }
57017 main ()
57019 two();
57021 return 0;
57023 _ACEOF
57024 if ac_fn_c_try_link "$LINENO"; then :
57025 ac_gcsections=yes
57026 else
57027 ac_gcsections=no
57029 rm -f core conftest.err conftest.$ac_objext \
57030 conftest$ac_exeext conftest.$ac_ext
57031 if test "$ac_gcsections" = "yes"; then
57032 rm -f conftest.c
57033 touch conftest.c
57034 if $CC -c conftest.c; then
57035 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57036 grep "Warning: gc-sections option ignored" > /dev/null; then
57037 ac_gcsections=no
57040 rm -f conftest.c conftest.o conftest
57042 if test "$ac_gcsections" = "yes"; then
57043 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57046 $as_echo "$ac_gcsections" >&6; }
57048 if test "$ac_test_CFLAGS" = set; then
57049 CFLAGS="$ac_save_CFLAGS"
57050 else
57051 # this is the suspicious part
57052 CFLAGS=''
57056 # Set -z,relro.
57057 # Note this is only for shared objects.
57058 ac_ld_relro=no
57059 if test x"$with_gnu_ld" = x"yes"; then
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57061 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57062 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57063 if test -n "$cxx_z_relo"; then
57064 OPT_LDFLAGS="-Wl,-z,relro"
57065 ac_ld_relro=yes
57067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57068 $as_echo "$ac_ld_relro" >&6; }
57071 # Set linker optimization flags.
57072 if test x"$with_gnu_ld" = x"yes"; then
57073 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57079 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57081 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57083 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57085 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57087 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57089 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57091 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57093 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57095 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57097 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57099 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57101 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57104 *-solaris*)
57105 case "$target" in
57106 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57108 # If we're not using GNU ld, then there's no point in even trying these
57109 # tests. Check for that first. We should have already tested for gld
57110 # by now (in libtool), but require it now just to be safe...
57111 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57112 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57116 # The name set by libtool depends on the version of libtool. Shame on us
57117 # for depending on an impl detail, but c'est la vie. Older versions used
57118 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57119 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57120 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57121 # set (hence we're using an older libtool), then set it.
57122 if test x${with_gnu_ld+set} != xset; then
57123 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57124 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57125 with_gnu_ld=no
57126 else
57127 with_gnu_ld=$ac_cv_prog_gnu_ld
57131 # Start by getting the version number. I think the libtool test already
57132 # does some of this, but throws away the result.
57133 glibcxx_ld_is_gold=no
57134 if test x"$with_gnu_ld" = x"yes"; then
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57136 $as_echo_n "checking for ld version... " >&6; }
57138 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57139 glibcxx_ld_is_gold=yes
57141 ldver=`$LD --version 2>/dev/null |
57142 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'`
57144 glibcxx_gnu_ld_version=`echo $ldver | \
57145 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57147 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57150 # Set --gc-sections.
57151 glibcxx_have_gc_sections=no
57152 if test "$glibcxx_ld_is_gold" = "yes"; then
57153 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57154 glibcxx_have_gc_sections=yes
57156 else
57157 glibcxx_gcsections_min_ld=21602
57158 if test x"$with_gnu_ld" = x"yes" &&
57159 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57160 glibcxx_have_gc_sections=yes
57163 if test "$glibcxx_have_gc_sections" = "yes"; then
57164 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57165 # NB: This flag only works reliably after 2.16.1. Configure tests
57166 # for this are difficult, so hard wire a value that should work.
57168 ac_test_CFLAGS="${CFLAGS+set}"
57169 ac_save_CFLAGS="$CFLAGS"
57170 CFLAGS='-Wl,--gc-sections'
57172 # Check for -Wl,--gc-sections
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57174 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57175 if test x$gcc_no_link = xyes; then
57176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57179 /* end confdefs.h. */
57180 int one(void) { return 1; }
57181 int two(void) { return 2; }
57184 main ()
57186 two();
57188 return 0;
57190 _ACEOF
57191 if ac_fn_c_try_link "$LINENO"; then :
57192 ac_gcsections=yes
57193 else
57194 ac_gcsections=no
57196 rm -f core conftest.err conftest.$ac_objext \
57197 conftest$ac_exeext conftest.$ac_ext
57198 if test "$ac_gcsections" = "yes"; then
57199 rm -f conftest.c
57200 touch conftest.c
57201 if $CC -c conftest.c; then
57202 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57203 grep "Warning: gc-sections option ignored" > /dev/null; then
57204 ac_gcsections=no
57207 rm -f conftest.c conftest.o conftest
57209 if test "$ac_gcsections" = "yes"; then
57210 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57213 $as_echo "$ac_gcsections" >&6; }
57215 if test "$ac_test_CFLAGS" = set; then
57216 CFLAGS="$ac_save_CFLAGS"
57217 else
57218 # this is the suspicious part
57219 CFLAGS=''
57223 # Set -z,relro.
57224 # Note this is only for shared objects.
57225 ac_ld_relro=no
57226 if test x"$with_gnu_ld" = x"yes"; then
57227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57229 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57230 if test -n "$cxx_z_relo"; then
57231 OPT_LDFLAGS="-Wl,-z,relro"
57232 ac_ld_relro=yes
57234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57235 $as_echo "$ac_ld_relro" >&6; }
57238 # Set linker optimization flags.
57239 if test x"$with_gnu_ld" = x"yes"; then
57240 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57246 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57248 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57250 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57252 # All of the dependencies for wide character support are here, so
57253 # turn it on.
57254 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57257 esac
57258 case "$target" in
57259 *-*-solaris2.10)
57260 # These two C99 functions are present only in Solaris >= 10
57261 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57263 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57266 esac
57267 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57269 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57271 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57273 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57276 *-tpf)
57277 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57280 # If we're not using GNU ld, then there's no point in even trying these
57281 # tests. Check for that first. We should have already tested for gld
57282 # by now (in libtool), but require it now just to be safe...
57283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57288 # The name set by libtool depends on the version of libtool. Shame on us
57289 # for depending on an impl detail, but c'est la vie. Older versions used
57290 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57291 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57292 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57293 # set (hence we're using an older libtool), then set it.
57294 if test x${with_gnu_ld+set} != xset; then
57295 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57296 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57297 with_gnu_ld=no
57298 else
57299 with_gnu_ld=$ac_cv_prog_gnu_ld
57303 # Start by getting the version number. I think the libtool test already
57304 # does some of this, but throws away the result.
57305 glibcxx_ld_is_gold=no
57306 if test x"$with_gnu_ld" = x"yes"; then
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57308 $as_echo_n "checking for ld version... " >&6; }
57310 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57311 glibcxx_ld_is_gold=yes
57313 ldver=`$LD --version 2>/dev/null |
57314 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'`
57316 glibcxx_gnu_ld_version=`echo $ldver | \
57317 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57319 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57322 # Set --gc-sections.
57323 glibcxx_have_gc_sections=no
57324 if test "$glibcxx_ld_is_gold" = "yes"; then
57325 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57326 glibcxx_have_gc_sections=yes
57328 else
57329 glibcxx_gcsections_min_ld=21602
57330 if test x"$with_gnu_ld" = x"yes" &&
57331 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57332 glibcxx_have_gc_sections=yes
57335 if test "$glibcxx_have_gc_sections" = "yes"; then
57336 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57337 # NB: This flag only works reliably after 2.16.1. Configure tests
57338 # for this are difficult, so hard wire a value that should work.
57340 ac_test_CFLAGS="${CFLAGS+set}"
57341 ac_save_CFLAGS="$CFLAGS"
57342 CFLAGS='-Wl,--gc-sections'
57344 # Check for -Wl,--gc-sections
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57346 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57347 if test x$gcc_no_link = xyes; then
57348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57351 /* end confdefs.h. */
57352 int one(void) { return 1; }
57353 int two(void) { return 2; }
57356 main ()
57358 two();
57360 return 0;
57362 _ACEOF
57363 if ac_fn_c_try_link "$LINENO"; then :
57364 ac_gcsections=yes
57365 else
57366 ac_gcsections=no
57368 rm -f core conftest.err conftest.$ac_objext \
57369 conftest$ac_exeext conftest.$ac_ext
57370 if test "$ac_gcsections" = "yes"; then
57371 rm -f conftest.c
57372 touch conftest.c
57373 if $CC -c conftest.c; then
57374 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57375 grep "Warning: gc-sections option ignored" > /dev/null; then
57376 ac_gcsections=no
57379 rm -f conftest.c conftest.o conftest
57381 if test "$ac_gcsections" = "yes"; then
57382 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57385 $as_echo "$ac_gcsections" >&6; }
57387 if test "$ac_test_CFLAGS" = set; then
57388 CFLAGS="$ac_save_CFLAGS"
57389 else
57390 # this is the suspicious part
57391 CFLAGS=''
57395 # Set -z,relro.
57396 # Note this is only for shared objects.
57397 ac_ld_relro=no
57398 if test x"$with_gnu_ld" = x"yes"; then
57399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57400 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57401 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57402 if test -n "$cxx_z_relo"; then
57403 OPT_LDFLAGS="-Wl,-z,relro"
57404 ac_ld_relro=yes
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57407 $as_echo "$ac_ld_relro" >&6; }
57410 # Set linker optimization flags.
57411 if test x"$with_gnu_ld" = x"yes"; then
57412 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57418 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57420 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57422 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57424 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57426 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57428 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57430 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57432 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57434 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57436 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57438 if test x"long_double_math_on_this_cpu" = x"yes"; then
57439 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57441 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57443 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57445 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57449 *-vxworks)
57450 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57452 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57454 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57456 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57458 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57460 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57462 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57464 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57466 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57468 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57470 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57472 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57474 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57476 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57478 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57480 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57482 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57484 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57486 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57488 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57492 as_fn_error "No support for this host/target combination." "$LINENO" 5
57494 esac
57498 # At some point, we should differentiate between architectures
57499 # like x86, which have long double versions, and alpha/powerpc/etc.,
57500 # which don't. For the time being, punt.
57501 if test x"long_double_math_on_this_cpu" = x"yes"; then
57502 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57504 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57506 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57508 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57510 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57512 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57514 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57516 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57518 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57520 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57522 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57524 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57526 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57528 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57530 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57532 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57534 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57536 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57538 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57540 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57542 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57544 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57546 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57551 # Check for _Unwind_GetIPInfo.
57554 # Check whether --with-system-libunwind was given.
57555 if test "${with_system_libunwind+set}" = set; then :
57556 withval=$with_system_libunwind;
57559 # If system-libunwind was not specifically set, pick a default setting.
57560 if test x$with_system_libunwind = x; then
57561 case ${target} in
57562 ia64-*-hpux*) with_system_libunwind=yes ;;
57563 *) with_system_libunwind=no ;;
57564 esac
57566 # Based on system-libunwind and target, do we have ipinfo?
57567 if test x$with_system_libunwind = xyes; then
57568 case ${target} in
57569 ia64-*-*) have_unwind_getipinfo=no ;;
57570 *) have_unwind_getipinfo=yes ;;
57571 esac
57572 else
57573 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57575 case ${target} in
57576 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57577 *) have_unwind_getipinfo=yes ;;
57578 esac
57582 if test x$have_unwind_getipinfo = xyes; then
57584 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57590 # Check whether --enable-linux-futex was given.
57591 if test "${enable_linux_futex+set}" = set; then :
57592 enableval=$enable_linux_futex;
57593 case "$enableval" in
57594 yes|no|default) ;;
57595 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57596 esac
57598 else
57599 enable_linux_futex=default
57603 case "$target" in
57604 *-linux*)
57605 case "$enable_linux_futex" in
57606 default)
57607 # If headers don't have gettid/futex syscalls definition, then
57608 # default to no, otherwise there will be compile time failures.
57609 # Otherwise, default to yes. If we don't detect we are
57610 # compiled/linked against NPTL and not cross-compiling, check
57611 # if programs are run by default against NPTL and if not, issue
57612 # a warning.
57613 enable_linux_futex=no
57614 if test x$gcc_no_link = xyes; then
57615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57618 /* end confdefs.h. */
57619 #include <sys/syscall.h>
57620 int lk;
57622 main ()
57624 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57626 return 0;
57628 _ACEOF
57629 if ac_fn_c_try_link "$LINENO"; then :
57630 save_LIBS="$LIBS"
57631 LIBS="-lpthread $LIBS"
57632 if test x$gcc_no_link = xyes; then
57633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57636 /* end confdefs.h. */
57637 #ifndef _GNU_SOURCE
57638 #define _GNU_SOURCE 1
57639 #endif
57640 #include <pthread.h>
57641 pthread_t th; void *status;
57643 main ()
57645 pthread_tryjoin_np (th, &status);
57647 return 0;
57649 _ACEOF
57650 if ac_fn_c_try_link "$LINENO"; then :
57651 enable_linux_futex=yes
57652 else
57653 if test x$cross_compiling = xno; then
57654 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57655 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57657 If so, please configure with --disable-linux-futex" >&5
57658 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57659 If so, please configure with --disable-linux-futex" >&2;}
57662 enable_linux_futex=yes
57664 rm -f core conftest.err conftest.$ac_objext \
57665 conftest$ac_exeext conftest.$ac_ext
57666 LIBS="$save_LIBS"
57668 rm -f core conftest.err conftest.$ac_objext \
57669 conftest$ac_exeext conftest.$ac_ext
57671 yes)
57672 if test x$gcc_no_link = xyes; then
57673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57676 /* end confdefs.h. */
57677 #include <sys/syscall.h>
57678 int lk;
57680 main ()
57682 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57684 return 0;
57686 _ACEOF
57687 if ac_fn_c_try_link "$LINENO"; then :
57689 else
57690 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57692 rm -f core conftest.err conftest.$ac_objext \
57693 conftest$ac_exeext conftest.$ac_ext
57695 esac
57698 enable_linux_futex=no
57700 esac
57701 if test x$enable_linux_futex = xyes; then
57703 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57710 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57712 acx_cv_header_stdint=stddef.h
57713 acx_cv_header_stdint_kind="(already complete)"
57714 for i in stdint.h $inttype_headers; do
57715 unset ac_cv_type_uintptr_t
57716 unset ac_cv_type_uintmax_t
57717 unset ac_cv_type_int_least32_t
57718 unset ac_cv_type_int_fast32_t
57719 unset ac_cv_type_uint64_t
57720 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57721 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57722 #include <$i>
57724 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57725 acx_cv_header_stdint=$i
57726 else
57727 continue
57730 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57731 #include <$i>
57733 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57735 else
57736 acx_cv_header_stdint_kind="(mostly complete)"
57739 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57740 #include <$i>
57742 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57744 else
57745 acx_cv_header_stdint_kind="(mostly complete)"
57748 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57749 #include <$i>
57751 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57753 else
57754 acx_cv_header_stdint_kind="(mostly complete)"
57757 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57758 #include <$i>
57760 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57762 else
57763 acx_cv_header_stdint_kind="(lacks uint64_t)"
57766 break
57767 done
57768 if test "$acx_cv_header_stdint" = stddef.h; then
57769 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57770 for i in stdint.h $inttype_headers; do
57771 unset ac_cv_type_uintptr_t
57772 unset ac_cv_type_uint32_t
57773 unset ac_cv_type_uint64_t
57774 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57775 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57776 #include <$i>
57778 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57779 acx_cv_header_stdint=$i
57780 else
57781 continue
57784 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57785 #include <$i>
57787 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57791 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57792 #include <$i>
57794 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57798 break
57799 done
57801 if test "$acx_cv_header_stdint" = stddef.h; then
57802 acx_cv_header_stdint_kind="(u_intXX_t style)"
57803 for i in sys/types.h $inttype_headers; do
57804 unset ac_cv_type_u_int32_t
57805 unset ac_cv_type_u_int64_t
57806 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57807 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57808 #include <$i>
57810 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57811 acx_cv_header_stdint=$i
57812 else
57813 continue
57816 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57817 #include <$i>
57819 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57823 break
57824 done
57826 if test "$acx_cv_header_stdint" = stddef.h; then
57827 acx_cv_header_stdint_kind="(using manual detection)"
57830 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57831 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57832 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57833 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57834 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57836 # ----------------- Summarize what we found so far
57838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57839 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57841 case `$as_basename -- include/gstdint.h ||
57842 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57843 Xinclude/gstdint.h : 'X\(//\)$' \| \
57844 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57845 $as_echo X/include/gstdint.h |
57846 sed '/^.*\/\([^/][^/]*\)\/*$/{
57847 s//\1/
57850 /^X\/\(\/\/\)$/{
57851 s//\1/
57854 /^X\/\(\/\).*/{
57855 s//\1/
57858 s/.*/./; q'` in
57859 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57860 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57861 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57862 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57863 *) ;;
57864 esac
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57867 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57869 # ----------------- done included file, check C basic types --------
57871 # Lacking an uintptr_t? Test size of void *
57872 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57873 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57876 # This bug is HP SR number 8606223364.
57877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57878 $as_echo_n "checking size of void *... " >&6; }
57879 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57880 $as_echo_n "(cached) " >&6
57881 else
57882 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57884 else
57885 if test "$ac_cv_type_void_p" = yes; then
57886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57888 { as_fn_set_status 77
57889 as_fn_error "cannot compute sizeof (void *)
57890 See \`config.log' for more details." "$LINENO" 5; }; }
57891 else
57892 ac_cv_sizeof_void_p=0
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57898 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57902 cat >>confdefs.h <<_ACEOF
57903 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57904 _ACEOF
57907 esac
57909 # Lacking an uint64_t? Test size of long
57910 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57911 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57912 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57913 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57914 # This bug is HP SR number 8606223364.
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57916 $as_echo_n "checking size of long... " >&6; }
57917 if test "${ac_cv_sizeof_long+set}" = set; then :
57918 $as_echo_n "(cached) " >&6
57919 else
57920 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57922 else
57923 if test "$ac_cv_type_long" = yes; then
57924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57926 { as_fn_set_status 77
57927 as_fn_error "cannot compute sizeof (long)
57928 See \`config.log' for more details." "$LINENO" 5; }; }
57929 else
57930 ac_cv_sizeof_long=0
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57936 $as_echo "$ac_cv_sizeof_long" >&6; }
57940 cat >>confdefs.h <<_ACEOF
57941 #define SIZEOF_LONG $ac_cv_sizeof_long
57942 _ACEOF
57945 esac
57947 if test $acx_cv_header_stdint = stddef.h; then
57948 # Lacking a good header? Test size of everything and deduce all types.
57949 # The cast to long int works around a bug in the HP C Compiler
57950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57952 # This bug is HP SR number 8606223364.
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57954 $as_echo_n "checking size of int... " >&6; }
57955 if test "${ac_cv_sizeof_int+set}" = set; then :
57956 $as_echo_n "(cached) " >&6
57957 else
57958 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57960 else
57961 if test "$ac_cv_type_int" = yes; then
57962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57964 { as_fn_set_status 77
57965 as_fn_error "cannot compute sizeof (int)
57966 See \`config.log' for more details." "$LINENO" 5; }; }
57967 else
57968 ac_cv_sizeof_int=0
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57974 $as_echo "$ac_cv_sizeof_int" >&6; }
57978 cat >>confdefs.h <<_ACEOF
57979 #define SIZEOF_INT $ac_cv_sizeof_int
57980 _ACEOF
57983 # The cast to long int works around a bug in the HP C Compiler
57984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57986 # This bug is HP SR number 8606223364.
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57988 $as_echo_n "checking size of short... " >&6; }
57989 if test "${ac_cv_sizeof_short+set}" = set; then :
57990 $as_echo_n "(cached) " >&6
57991 else
57992 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57994 else
57995 if test "$ac_cv_type_short" = yes; then
57996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57998 { as_fn_set_status 77
57999 as_fn_error "cannot compute sizeof (short)
58000 See \`config.log' for more details." "$LINENO" 5; }; }
58001 else
58002 ac_cv_sizeof_short=0
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58008 $as_echo "$ac_cv_sizeof_short" >&6; }
58012 cat >>confdefs.h <<_ACEOF
58013 #define SIZEOF_SHORT $ac_cv_sizeof_short
58014 _ACEOF
58017 # The cast to long int works around a bug in the HP C Compiler
58018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58020 # This bug is HP SR number 8606223364.
58021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58022 $as_echo_n "checking size of char... " >&6; }
58023 if test "${ac_cv_sizeof_char+set}" = set; then :
58024 $as_echo_n "(cached) " >&6
58025 else
58026 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58028 else
58029 if test "$ac_cv_type_char" = yes; then
58030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58032 { as_fn_set_status 77
58033 as_fn_error "cannot compute sizeof (char)
58034 See \`config.log' for more details." "$LINENO" 5; }; }
58035 else
58036 ac_cv_sizeof_char=0
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58042 $as_echo "$ac_cv_sizeof_char" >&6; }
58046 cat >>confdefs.h <<_ACEOF
58047 #define SIZEOF_CHAR $ac_cv_sizeof_char
58048 _ACEOF
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58053 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58054 case "$ac_cv_sizeof_char" in
58055 1) acx_cv_type_int8_t=char ;;
58056 *) { as_fn_set_status please report a bug
58057 as_fn_error "no 8-bit type" "$LINENO" 5; }
58058 esac
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58060 $as_echo "$acx_cv_type_int8_t" >&6; }
58062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58063 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58064 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58065 2:*) acx_cv_type_int16_t=int ;;
58066 *:2) acx_cv_type_int16_t=short ;;
58067 *) { as_fn_set_status please report a bug
58068 as_fn_error "no 16-bit type" "$LINENO" 5; }
58069 esac
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58071 $as_echo "$acx_cv_type_int16_t" >&6; }
58073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58074 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58075 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58076 4:*) acx_cv_type_int32_t=int ;;
58077 *:4) acx_cv_type_int32_t=long ;;
58078 *) { as_fn_set_status please report a bug
58079 as_fn_error "no 32-bit type" "$LINENO" 5; }
58080 esac
58081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58082 $as_echo "$acx_cv_type_int32_t" >&6; }
58085 # These tests are here to make the output prettier
58087 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58088 case "$ac_cv_sizeof_long" in
58089 8) acx_cv_type_int64_t=long ;;
58090 esac
58091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58092 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58094 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58097 # Now we can use the above types
58099 if test "$ac_cv_type_uintptr_t" != yes; then
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58101 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58102 case $ac_cv_sizeof_void_p in
58103 2) acx_cv_type_intptr_t=int16_t ;;
58104 4) acx_cv_type_intptr_t=int32_t ;;
58105 8) acx_cv_type_intptr_t=int64_t ;;
58106 *) { as_fn_set_status please report a bug
58107 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58108 esac
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58110 $as_echo "$acx_cv_type_intptr_t" >&6; }
58113 # ----------------- done all checks, emit header -------------
58114 ac_config_commands="$ac_config_commands include/gstdint.h"
58119 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58122 $as_echo_n "checking for GNU c++filt... " >&6; }
58123 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58124 $as_echo_n "(cached) " >&6
58125 else
58126 if test -z "$CXXFILT"; then
58127 ac_path_CXXFILT_found=false
58128 # Loop through the user's path and test for each of PROGNAME-LIST
58129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58130 for as_dir in $PATH
58132 IFS=$as_save_IFS
58133 test -z "$as_dir" && as_dir=.
58134 for ac_prog in c++filt gc++filt; do
58135 for ac_exec_ext in '' $ac_executable_extensions; do
58136 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58137 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58138 # Check for GNU $ac_path_CXXFILT
58139 case `"$ac_path_CXXFILT" --version 2>&1` in
58140 *GNU*)
58141 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58142 esac
58144 $ac_path_CXXFILT_found && break 3
58145 done
58146 done
58147 done
58148 IFS=$as_save_IFS
58149 if test -z "$ac_cv_path_CXXFILT"; then
58152 else
58153 ac_cv_path_CXXFILT=$CXXFILT
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58158 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58159 CXXFILT=$ac_cv_path_CXXFILT
58163 # Check whether --enable-symvers was given.
58164 if test "${enable_symvers+set}" = set; then :
58165 enableval=$enable_symvers;
58166 case "$enableval" in
58167 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58168 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58169 esac
58171 else
58172 enable_symvers=yes
58177 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58178 # don't know enough about $LD to do tricks...
58180 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58181 # with extern "C++" in version scripts.
58184 # Turn a 'yes' into a suitable default.
58185 if test x$enable_symvers = xyes ; then
58186 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58187 enable_symvers=no
58188 else
58189 if test $with_gnu_ld = yes ; then
58190 case ${target_os} in
58191 hpux*)
58192 enable_symvers=no ;;
58194 enable_symvers=gnu ;;
58195 esac
58196 else
58197 case ${target_os} in
58198 darwin*)
58199 enable_symvers=darwin ;;
58200 # Sun symbol versioning exists since Solaris 2.5.
58201 solaris2.[5-9]* | solaris2.1[0-9]*)
58202 # make_sunver.pl needs GNU c++filt to support extern "C++" in
58203 # version scripts, so disable symbol versioning if none can be
58204 # found.
58205 if test -z "$ac_cv_path_CXXFILT"; then
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58207 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
58209 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
58210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58211 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58212 enable_symvers=no
58213 else
58214 enable_symvers=sun
58218 enable_symvers=no ;;
58219 esac
58224 # Check to see if 'darwin' or 'darwin-export' can win.
58225 if test x$enable_symvers = xdarwin-export ; then
58226 enable_symvers=darwin
58229 # Check if 'sun' was requested on non-Solaris 2 platforms.
58230 if test x$enable_symvers = xsun ; then
58231 case ${target_os} in
58232 solaris2*)
58233 # All fine.
58236 # Unlikely to work.
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58238 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58240 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58242 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58243 enable_symvers=no
58245 esac
58248 # Check to see if 'gnu' can win.
58249 if test $enable_symvers = gnu ||
58250 test $enable_symvers = gnu-versioned-namespace ||
58251 test $enable_symvers = sun; then
58252 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58254 $as_echo_n "checking for shared libgcc... " >&6; }
58255 ac_save_CFLAGS="$CFLAGS"
58256 CFLAGS=' -lgcc_s'
58257 if test x$gcc_no_link = xyes; then
58258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58261 /* end confdefs.h. */
58264 main ()
58266 return 0;
58268 return 0;
58270 _ACEOF
58271 if ac_fn_c_try_link "$LINENO"; then :
58272 glibcxx_shared_libgcc=yes
58273 else
58274 glibcxx_shared_libgcc=no
58276 rm -f core conftest.err conftest.$ac_objext \
58277 conftest$ac_exeext conftest.$ac_ext
58278 CFLAGS="$ac_save_CFLAGS"
58279 if test $glibcxx_shared_libgcc = no; then
58280 cat > conftest.c <<EOF
58281 int main (void) { return 0; }
58283 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58284 -shared -shared-libgcc -o conftest.so \
58285 conftest.c -v 2>&1 >/dev/null \
58286 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58287 rm -f conftest.c conftest.so
58288 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58289 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58290 if test x$gcc_no_link = xyes; then
58291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58294 /* end confdefs.h. */
58297 main ()
58299 return 0;
58301 return 0;
58303 _ACEOF
58304 if ac_fn_c_try_link "$LINENO"; then :
58305 glibcxx_shared_libgcc=yes
58307 rm -f core conftest.err conftest.$ac_objext \
58308 conftest$ac_exeext conftest.$ac_ext
58309 CFLAGS="$ac_save_CFLAGS"
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58313 $as_echo "$glibcxx_shared_libgcc" >&6; }
58315 # For GNU ld, we need at least this version. The format is described in
58316 # GLIBCXX_CHECK_LINKER_FEATURES above.
58317 glibcxx_min_gnu_ld_version=21400
58319 # If no shared libgcc, can't win.
58320 if test $glibcxx_shared_libgcc != yes; then
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58322 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58324 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58326 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58327 enable_symvers=no
58328 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58329 : All interesting versions of Sun ld support sun style symbol versioning.
58330 elif test $with_gnu_ld != yes ; then
58331 # just fail for now
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58333 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58335 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58337 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58338 enable_symvers=no
58339 elif test $glibcxx_ld_is_gold = yes ; then
58340 : All versions of gold support symbol versioning.
58341 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58342 # The right tools, the right setup, but too old. Fallbacks?
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58344 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58346 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58348 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58350 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58352 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58353 enable_symvers=no
58357 # Everything parsed; figure out what file to use.
58358 case $enable_symvers in
58360 SYMVER_FILE=config/abi/pre/none.ver
58362 gnu)
58363 SYMVER_FILE=config/abi/pre/gnu.ver
58365 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58368 gnu-versioned-namespace)
58369 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58371 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58374 darwin)
58375 SYMVER_FILE=config/abi/pre/gnu.ver
58377 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58380 sun)
58381 SYMVER_FILE=config/abi/pre/gnu.ver
58383 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58386 esac
58388 if test x$enable_symvers != xno ; then
58390 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58395 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58396 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58397 $as_echo_n "(cached) " >&6
58398 else
58400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58401 /* end confdefs.h. */
58402 void foo (void); __asm (".symver foo, bar@SYMVER");
58404 main ()
58408 return 0;
58410 _ACEOF
58411 if ac_fn_c_try_compile "$LINENO"; then :
58412 glibcxx_cv_have_as_symver_directive=yes
58413 else
58414 glibcxx_cv_have_as_symver_directive=no
58416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58419 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58420 if test $glibcxx_cv_have_as_symver_directive = yes; then
58422 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58434 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58436 if test $enable_symvers != no ; then
58437 case ${target_os} in
58438 # The Solaris 2 runtime linker doesn't support the GNU extension of
58439 # binding the same symbol to different versions
58440 solaris2*)
58441 symvers_renaming=no ;;
58442 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58445 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58447 symvers_renaming=yes ;;
58448 esac
58452 # Now, set up compatibility support, if any.
58453 # In addition, need this to deal with std::size_t mangling in
58454 # src/compatibility.cc. In a perfect world, could use
58455 # typeid(std::size_t).name()[0] to do direct substitution.
58456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58457 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58458 ac_save_CFLAGS="$CFLAGS"
58459 CFLAGS="-Werror"
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58464 main ()
58466 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58468 return 0;
58470 _ACEOF
58471 if ac_fn_c_try_compile "$LINENO"; then :
58472 glibcxx_size_t_is_i=yes
58473 else
58474 glibcxx_size_t_is_i=no
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 CFLAGS=$ac_save_CFLAGS
58478 if test "$glibcxx_size_t_is_i" = yes; then
58480 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58484 $as_echo "$glibcxx_size_t_is_i" >&6; }
58486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58487 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58488 ac_save_CFLAGS="$CFLAGS"
58489 CFLAGS="-Werror"
58490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58491 /* end confdefs.h. */
58494 main ()
58496 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58498 return 0;
58500 _ACEOF
58501 if ac_fn_c_try_compile "$LINENO"; then :
58502 glibcxx_ptrdiff_t_is_i=yes
58503 else
58504 glibcxx_ptrdiff_t_is_i=no
58506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58507 CFLAGS=$ac_save_CFLAGS
58508 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58510 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58514 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58517 # Check whether --enable-visibility was given.
58518 if test "${enable_visibility+set}" = set; then :
58519 enableval=$enable_visibility;
58520 case "$enableval" in
58521 yes|no) ;;
58522 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58523 esac
58525 else
58526 enable_visibility=yes
58531 if test x$enable_visibility = xyes ; then
58532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58533 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58534 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58535 $as_echo_n "(cached) " >&6
58536 else
58538 save_CFLAGS="$CFLAGS"
58539 CFLAGS="$CFLAGS -Werror"
58540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58541 /* end confdefs.h. */
58542 void __attribute__((visibility("hidden"))) foo(void) { }
58544 main ()
58548 return 0;
58550 _ACEOF
58551 if ac_fn_c_try_compile "$LINENO"; then :
58552 glibcxx_cv_have_attribute_visibility=yes
58553 else
58554 glibcxx_cv_have_attribute_visibility=no
58556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58557 CFLAGS="$save_CFLAGS"
58559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58560 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58561 if test $glibcxx_cv_have_attribute_visibility = no; then
58562 enable_visibility=no
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58568 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58571 ac_ldbl_compat=no
58572 case "$target" in
58573 powerpc*-*-linux* | \
58574 powerpc*-*-gnu* | \
58575 sparc*-*-linux* | \
58576 s390*-*-linux* | \
58577 alpha*-*-linux*)
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58582 main ()
58585 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58586 #error no need for long double compatibility
58587 #endif
58590 return 0;
58592 _ACEOF
58593 if ac_fn_c_try_compile "$LINENO"; then :
58594 ac_ldbl_compat=yes
58595 else
58596 ac_ldbl_compat=no
58598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58599 if test "$ac_ldbl_compat" = yes; then
58601 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58603 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58605 esac
58608 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58610 if $GLIBCXX_IS_NATIVE ; then
58611 # Do checks for resource limit functions.
58613 setrlimit_have_headers=yes
58614 for ac_header in unistd.h sys/time.h sys/resource.h
58615 do :
58616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58617 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58618 eval as_val=\$$as_ac_Header
58619 if test "x$as_val" = x""yes; then :
58620 cat >>confdefs.h <<_ACEOF
58621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58622 _ACEOF
58624 else
58625 setrlimit_have_headers=no
58628 done
58630 # If don't have the headers, then we can't run the tests now, and we
58631 # won't be seeing any of these during testsuite compilation.
58632 if test $setrlimit_have_headers = yes; then
58633 # Can't do these in a loop, else the resulting syntax is wrong.
58635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58636 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58638 /* end confdefs.h. */
58639 #include <unistd.h>
58640 #include <sys/time.h>
58641 #include <sys/resource.h>
58644 main ()
58646 int f = RLIMIT_DATA ;
58648 return 0;
58650 _ACEOF
58651 if ac_fn_c_try_compile "$LINENO"; then :
58652 glibcxx_mresult=1
58653 else
58654 glibcxx_mresult=0
58656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58658 cat >>confdefs.h <<_ACEOF
58659 #define HAVE_LIMIT_DATA $glibcxx_mresult
58660 _ACEOF
58662 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58664 $as_echo "$res" >&6; }
58667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58668 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58670 /* end confdefs.h. */
58671 #include <unistd.h>
58672 #include <sys/time.h>
58673 #include <sys/resource.h>
58676 main ()
58678 int f = RLIMIT_RSS ;
58680 return 0;
58682 _ACEOF
58683 if ac_fn_c_try_compile "$LINENO"; then :
58684 glibcxx_mresult=1
58685 else
58686 glibcxx_mresult=0
58688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE_LIMIT_RSS $glibcxx_mresult
58692 _ACEOF
58694 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58696 $as_echo "$res" >&6; }
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58700 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h. */
58703 #include <unistd.h>
58704 #include <sys/time.h>
58705 #include <sys/resource.h>
58708 main ()
58710 int f = RLIMIT_VMEM ;
58712 return 0;
58714 _ACEOF
58715 if ac_fn_c_try_compile "$LINENO"; then :
58716 glibcxx_mresult=1
58717 else
58718 glibcxx_mresult=0
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58722 cat >>confdefs.h <<_ACEOF
58723 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58724 _ACEOF
58726 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58728 $as_echo "$res" >&6; }
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58732 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58734 /* end confdefs.h. */
58735 #include <unistd.h>
58736 #include <sys/time.h>
58737 #include <sys/resource.h>
58740 main ()
58742 int f = RLIMIT_AS ;
58744 return 0;
58746 _ACEOF
58747 if ac_fn_c_try_compile "$LINENO"; then :
58748 glibcxx_mresult=1
58749 else
58750 glibcxx_mresult=0
58752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58754 cat >>confdefs.h <<_ACEOF
58755 #define HAVE_LIMIT_AS $glibcxx_mresult
58756 _ACEOF
58758 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58760 $as_echo "$res" >&6; }
58763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58764 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58766 /* end confdefs.h. */
58767 #include <unistd.h>
58768 #include <sys/time.h>
58769 #include <sys/resource.h>
58772 main ()
58774 int f = RLIMIT_FSIZE ;
58776 return 0;
58778 _ACEOF
58779 if ac_fn_c_try_compile "$LINENO"; then :
58780 glibcxx_mresult=1
58781 else
58782 glibcxx_mresult=0
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58788 _ACEOF
58790 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58792 $as_echo "$res" >&6; }
58795 # Check for rlimit, setrlimit.
58796 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58797 $as_echo_n "(cached) " >&6
58798 else
58800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58801 /* end confdefs.h. */
58802 #include <unistd.h>
58803 #include <sys/time.h>
58804 #include <sys/resource.h>
58807 main ()
58809 struct rlimit r;
58810 setrlimit(0, &r);
58812 return 0;
58814 _ACEOF
58815 if ac_fn_c_try_compile "$LINENO"; then :
58816 glibcxx_cv_setrlimit=yes
58817 else
58818 glibcxx_cv_setrlimit=no
58820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58827 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58828 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58829 ac_res_limits=yes
58831 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58833 else
58834 ac_res_limits=no
58836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58837 $as_echo "$ac_res_limits" >&6; }
58840 # Look for setenv, so that extended locale tests can be performed.
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58843 $as_echo_n "checking for setenv declaration... " >&6; }
58844 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58845 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58846 $as_echo_n "(cached) " >&6
58847 else
58850 ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h. */
58858 #include <stdlib.h>
58860 main ()
58862 setenv(0, 0, 0);
58864 return 0;
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 glibcxx_cv_func_setenv_use=yes
58869 else
58870 glibcxx_cv_func_setenv_use=no
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58884 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58885 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58886 for ac_func in setenv
58887 do :
58888 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58889 if test "x$ac_cv_func_setenv" = x""yes; then :
58890 cat >>confdefs.h <<_ACEOF
58891 #define HAVE_SETENV 1
58892 _ACEOF
58895 done
58901 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58902 test $enable_symvers != no; then
58903 case "$host" in
58904 *-*-cygwin*)
58905 enable_abi_check=no ;;
58907 enable_abi_check=yes ;;
58908 esac
58909 else
58910 # Only build this as native, since automake does not understand
58911 # CXX_FOR_BUILD.
58912 enable_abi_check=no
58915 # Export file names for ABI checking.
58916 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58920 # Propagate the target-specific source directories through the build chain.
58921 ATOMICITY_SRCDIR=config/${atomicity_dir}
58922 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58923 ATOMIC_FLAGS=${atomic_flags}
58924 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58925 OS_INC_SRCDIR=config/${os_include_dir}
58926 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58927 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58937 # Determine cross-compile flags and AM_CONDITIONALs.
58938 #AC_SUBST(GLIBCXX_IS_NATIVE)
58939 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58940 if test $is_hosted = yes; then
58941 GLIBCXX_HOSTED_TRUE=
58942 GLIBCXX_HOSTED_FALSE='#'
58943 else
58944 GLIBCXX_HOSTED_TRUE='#'
58945 GLIBCXX_HOSTED_FALSE=
58949 if test $enable_libstdcxx_pch = yes; then
58950 GLIBCXX_BUILD_PCH_TRUE=
58951 GLIBCXX_BUILD_PCH_FALSE='#'
58952 else
58953 GLIBCXX_BUILD_PCH_TRUE='#'
58954 GLIBCXX_BUILD_PCH_FALSE=
58958 if test $enable_cheaders = c; then
58959 GLIBCXX_C_HEADERS_C_TRUE=
58960 GLIBCXX_C_HEADERS_C_FALSE='#'
58961 else
58962 GLIBCXX_C_HEADERS_C_TRUE='#'
58963 GLIBCXX_C_HEADERS_C_FALSE=
58967 if test $enable_cheaders = c_std; then
58968 GLIBCXX_C_HEADERS_C_STD_TRUE=
58969 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58970 else
58971 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58972 GLIBCXX_C_HEADERS_C_STD_FALSE=
58976 if test $enable_cheaders = c_global; then
58977 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58978 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58979 else
58980 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58981 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58985 if test $c_compatibility = yes; then
58986 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58987 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58988 else
58989 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58990 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58994 if test $c_extra = yes; then
58995 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58996 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58997 else
58998 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58999 GLIBCXX_C_HEADERS_EXTRA_FALSE=
59003 if test $enable_libstdcxx_debug = yes; then
59004 GLIBCXX_BUILD_DEBUG_TRUE=
59005 GLIBCXX_BUILD_DEBUG_FALSE='#'
59006 else
59007 GLIBCXX_BUILD_DEBUG_TRUE='#'
59008 GLIBCXX_BUILD_DEBUG_FALSE=
59012 if test $enable_parallel = yes; then
59013 ENABLE_PARALLEL_TRUE=
59014 ENABLE_PARALLEL_FALSE='#'
59015 else
59016 ENABLE_PARALLEL_TRUE='#'
59017 ENABLE_PARALLEL_FALSE=
59021 if test $enable_symvers != no; then
59022 ENABLE_SYMVERS_TRUE=
59023 ENABLE_SYMVERS_FALSE='#'
59024 else
59025 ENABLE_SYMVERS_TRUE='#'
59026 ENABLE_SYMVERS_FALSE=
59030 if test $enable_symvers = gnu; then
59031 ENABLE_SYMVERS_GNU_TRUE=
59032 ENABLE_SYMVERS_GNU_FALSE='#'
59033 else
59034 ENABLE_SYMVERS_GNU_TRUE='#'
59035 ENABLE_SYMVERS_GNU_FALSE=
59039 if test $enable_symvers = gnu-versioned-namespace; then
59040 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59041 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59042 else
59043 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59044 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59048 if test $enable_symvers = darwin; then
59049 ENABLE_SYMVERS_DARWIN_TRUE=
59050 ENABLE_SYMVERS_DARWIN_FALSE='#'
59051 else
59052 ENABLE_SYMVERS_DARWIN_TRUE='#'
59053 ENABLE_SYMVERS_DARWIN_FALSE=
59057 if test $enable_symvers = sun; then
59058 ENABLE_SYMVERS_SUN_TRUE=
59059 ENABLE_SYMVERS_SUN_FALSE='#'
59060 else
59061 ENABLE_SYMVERS_SUN_TRUE='#'
59062 ENABLE_SYMVERS_SUN_FALSE=
59066 if test $symvers_renaming = no; then
59067 ENABLE_SYMVERS_SOL2_TRUE=
59068 ENABLE_SYMVERS_SOL2_FALSE='#'
59069 else
59070 ENABLE_SYMVERS_SOL2_TRUE='#'
59071 ENABLE_SYMVERS_SOL2_FALSE=
59075 if test $enable_visibility = yes; then
59076 ENABLE_VISIBILITY_TRUE=
59077 ENABLE_VISIBILITY_FALSE='#'
59078 else
59079 ENABLE_VISIBILITY_TRUE='#'
59080 ENABLE_VISIBILITY_FALSE=
59084 if test $ac_ldbl_compat = yes; then
59085 GLIBCXX_LDBL_COMPAT_TRUE=
59086 GLIBCXX_LDBL_COMPAT_FALSE='#'
59087 else
59088 GLIBCXX_LDBL_COMPAT_TRUE='#'
59089 GLIBCXX_LDBL_COMPAT_FALSE=
59095 cat >confcache <<\_ACEOF
59096 # This file is a shell script that caches the results of configure
59097 # tests run on this system so they can be shared between configure
59098 # scripts and configure runs, see configure's option --config-cache.
59099 # It is not useful on other systems. If it contains results you don't
59100 # want to keep, you may remove or edit it.
59102 # config.status only pays attention to the cache file if you give it
59103 # the --recheck option to rerun configure.
59105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59107 # following values.
59109 _ACEOF
59111 # The following way of writing the cache mishandles newlines in values,
59112 # but we know of no workaround that is simple, portable, and efficient.
59113 # So, we kill variables containing newlines.
59114 # Ultrix sh set writes to stderr and can't be redirected directly,
59115 # and sets the high bit in the cache file unless we assign to the vars.
59117 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59118 eval ac_val=\$$ac_var
59119 case $ac_val in #(
59120 *${as_nl}*)
59121 case $ac_var in #(
59122 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59124 esac
59125 case $ac_var in #(
59126 _ | IFS | as_nl) ;; #(
59127 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59128 *) { eval $ac_var=; unset $ac_var;} ;;
59129 esac ;;
59130 esac
59131 done
59133 (set) 2>&1 |
59134 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59135 *${as_nl}ac_space=\ *)
59136 # `set' does not quote correctly, so add quotes: double-quote
59137 # substitution turns \\\\ into \\, and sed turns \\ into \.
59138 sed -n \
59139 "s/'/'\\\\''/g;
59140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59141 ;; #(
59143 # `set' quotes correctly as required by POSIX, so do not add quotes.
59144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59146 esac |
59147 sort
59149 sed '
59150 /^ac_cv_env_/b end
59151 t clear
59152 :clear
59153 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59154 t end
59155 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59156 :end' >>confcache
59157 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59158 if test -w "$cache_file"; then
59159 test "x$cache_file" != "x/dev/null" &&
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59161 $as_echo "$as_me: updating cache $cache_file" >&6;}
59162 cat confcache >$cache_file
59163 else
59164 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59165 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59168 rm -f confcache
59170 if test ${multilib} = yes; then
59171 multilib_arg="--enable-multilib"
59172 else
59173 multilib_arg=
59176 # Export all the install information.
59178 glibcxx_toolexecdir=no
59179 glibcxx_toolexeclibdir=no
59180 glibcxx_prefixdir=$prefix
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59183 $as_echo_n "checking for gxx-include-dir... " >&6; }
59185 # Check whether --with-gxx-include-dir was given.
59186 if test "${with_gxx_include_dir+set}" = set; then :
59187 withval=$with_gxx_include_dir; case "$withval" in
59188 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59189 no) gxx_include_dir=no ;;
59190 *) gxx_include_dir=$withval ;;
59191 esac
59192 else
59193 gxx_include_dir=no
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59197 $as_echo "$gxx_include_dir" >&6; }
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59200 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59201 # Check whether --enable-version-specific-runtime-libs was given.
59202 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59203 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59204 yes) version_specific_libs=yes ;;
59205 no) version_specific_libs=no ;;
59206 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59207 esac
59208 else
59209 version_specific_libs=no
59212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59213 $as_echo "$version_specific_libs" >&6; }
59215 # Default case for install directory for include files.
59216 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59217 gxx_include_dir='include/c++/${gcc_version}'
59218 if test -n "$with_cross_host" &&
59219 test x"$with_cross_host" != x"no"; then
59220 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59221 else
59222 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59226 # Version-specific runtime libs processing.
59227 if test $version_specific_libs = yes; then
59228 # Need the gcc compiler version to know where to install libraries
59229 # and header files if --enable-version-specific-runtime-libs option
59230 # is selected. FIXME: these variables are misnamed, there are
59231 # no executables installed in _toolexecdir or _toolexeclibdir.
59232 if test x"$gxx_include_dir" = x"no"; then
59233 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59235 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59236 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59239 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59240 # Install a library built with a cross compiler in tooldir, not libdir.
59241 if test x"$glibcxx_toolexecdir" = x"no"; then
59242 if test -n "$with_cross_host" &&
59243 test x"$with_cross_host" != x"no"; then
59244 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59245 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59246 else
59247 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59248 glibcxx_toolexeclibdir='${libdir}'
59250 multi_os_directory=`$CXX -print-multi-os-directory`
59251 case $multi_os_directory in
59252 .) ;; # Avoid trailing /.
59253 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59254 esac
59257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59258 $as_echo_n "checking for install location... " >&6; }
59259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59260 $as_echo "$gxx_include_dir" >&6; }
59268 # Export all the include and flag information to Makefiles.
59270 # Used for every C++ compile we perform.
59271 GLIBCXX_INCLUDES="\
59272 -I$glibcxx_builddir/include/$host_alias \
59273 -I$glibcxx_builddir/include \
59274 -I$glibcxx_srcdir/libsupc++"
59276 # For Canadian crosses, pick this up too.
59277 if test $CANADIAN = yes; then
59278 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59281 # Stuff in the actual top level. Currently only used by libsupc++ to
59282 # get unwind* headers from the gcc dir.
59283 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59284 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59286 # Now, export this to all the little Makefiles....
59291 # Optimization flags that are probably a good idea for thrill-seekers. Just
59292 # uncomment the lines below and make, everything else is ready to go...
59293 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59294 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59297 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59301 if test "$enable_shared" = yes; then
59302 LIBSUPCXX_PICFLAGS="-prefer-pic"
59303 else
59304 LIBSUPCXX_PICFLAGS=
59308 ac_config_files="$ac_config_files Makefile"
59310 ac_config_files="$ac_config_files scripts/testsuite_flags"
59313 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59314 # that multilib installs will end up installed in the correct place.
59315 # The testsuite needs it for multilib-aware ABI baseline files.
59316 # To work around this not being passed down from config-ml.in ->
59317 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59318 # append it here. Only modify Makefiles that have just been created.
59320 # Also, get rid of this simulated-VPATH thing that automake does.
59321 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59324 ac_config_commands="$ac_config_commands generate-headers"
59327 cat >confcache <<\_ACEOF
59328 # This file is a shell script that caches the results of configure
59329 # tests run on this system so they can be shared between configure
59330 # scripts and configure runs, see configure's option --config-cache.
59331 # It is not useful on other systems. If it contains results you don't
59332 # want to keep, you may remove or edit it.
59334 # config.status only pays attention to the cache file if you give it
59335 # the --recheck option to rerun configure.
59337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59339 # following values.
59341 _ACEOF
59343 # The following way of writing the cache mishandles newlines in values,
59344 # but we know of no workaround that is simple, portable, and efficient.
59345 # So, we kill variables containing newlines.
59346 # Ultrix sh set writes to stderr and can't be redirected directly,
59347 # and sets the high bit in the cache file unless we assign to the vars.
59349 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59350 eval ac_val=\$$ac_var
59351 case $ac_val in #(
59352 *${as_nl}*)
59353 case $ac_var in #(
59354 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59356 esac
59357 case $ac_var in #(
59358 _ | IFS | as_nl) ;; #(
59359 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59360 *) { eval $ac_var=; unset $ac_var;} ;;
59361 esac ;;
59362 esac
59363 done
59365 (set) 2>&1 |
59366 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59367 *${as_nl}ac_space=\ *)
59368 # `set' does not quote correctly, so add quotes: double-quote
59369 # substitution turns \\\\ into \\, and sed turns \\ into \.
59370 sed -n \
59371 "s/'/'\\\\''/g;
59372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59373 ;; #(
59375 # `set' quotes correctly as required by POSIX, so do not add quotes.
59376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59378 esac |
59379 sort
59381 sed '
59382 /^ac_cv_env_/b end
59383 t clear
59384 :clear
59385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59386 t end
59387 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59388 :end' >>confcache
59389 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59390 if test -w "$cache_file"; then
59391 test "x$cache_file" != "x/dev/null" &&
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59393 $as_echo "$as_me: updating cache $cache_file" >&6;}
59394 cat confcache >$cache_file
59395 else
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59400 rm -f confcache
59402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59403 # Let make expand exec_prefix.
59404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59406 DEFS=-DHAVE_CONFIG_H
59408 ac_libobjs=
59409 ac_ltlibobjs=
59410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59411 # 1. Remove the extension, and $U if already installed.
59412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59415 # will be set to the directory where LIBOBJS objects are built.
59416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59418 done
59419 LIBOBJS=$ac_libobjs
59421 LTLIBOBJS=$ac_ltlibobjs
59424 if test -n "$EXEEXT"; then
59425 am__EXEEXT_TRUE=
59426 am__EXEEXT_FALSE='#'
59427 else
59428 am__EXEEXT_TRUE='#'
59429 am__EXEEXT_FALSE=
59432 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59433 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59436 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59437 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59440 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59441 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59444 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59445 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59448 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59449 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59452 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59453 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59456 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59457 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59460 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59461 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59464 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59465 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59468 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59469 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59472 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59473 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59476 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59477 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59480 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59481 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59484 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59485 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59488 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59489 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59492 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59493 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59496 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59497 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59500 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59501 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59505 : ${CONFIG_STATUS=./config.status}
59506 ac_write_fail=0
59507 ac_clean_files_save=$ac_clean_files
59508 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59510 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59511 as_write_fail=0
59512 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59513 #! $SHELL
59514 # Generated by $as_me.
59515 # Run this file to recreate the current configuration.
59516 # Compiler output produced by configure, useful for debugging
59517 # configure, is in config.log if it exists.
59519 debug=false
59520 ac_cs_recheck=false
59521 ac_cs_silent=false
59523 SHELL=\${CONFIG_SHELL-$SHELL}
59524 export SHELL
59525 _ASEOF
59526 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59527 ## -------------------- ##
59528 ## M4sh Initialization. ##
59529 ## -------------------- ##
59531 # Be more Bourne compatible
59532 DUALCASE=1; export DUALCASE # for MKS sh
59533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59534 emulate sh
59535 NULLCMD=:
59536 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59537 # is contrary to our usage. Disable this feature.
59538 alias -g '${1+"$@"}'='"$@"'
59539 setopt NO_GLOB_SUBST
59540 else
59541 case `(set -o) 2>/dev/null` in #(
59542 *posix*) :
59543 set -o posix ;; #(
59544 *) :
59546 esac
59550 as_nl='
59552 export as_nl
59553 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59554 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59557 # Prefer a ksh shell builtin over an external printf program on Solaris,
59558 # but without wasting forks for bash or zsh.
59559 if test -z "$BASH_VERSION$ZSH_VERSION" \
59560 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59561 as_echo='print -r --'
59562 as_echo_n='print -rn --'
59563 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59564 as_echo='printf %s\n'
59565 as_echo_n='printf %s'
59566 else
59567 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59568 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59569 as_echo_n='/usr/ucb/echo -n'
59570 else
59571 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59572 as_echo_n_body='eval
59573 arg=$1;
59574 case $arg in #(
59575 *"$as_nl"*)
59576 expr "X$arg" : "X\\(.*\\)$as_nl";
59577 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59578 esac;
59579 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59581 export as_echo_n_body
59582 as_echo_n='sh -c $as_echo_n_body as_echo'
59584 export as_echo_body
59585 as_echo='sh -c $as_echo_body as_echo'
59588 # The user is always right.
59589 if test "${PATH_SEPARATOR+set}" != set; then
59590 PATH_SEPARATOR=:
59591 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59592 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59593 PATH_SEPARATOR=';'
59598 # IFS
59599 # We need space, tab and new line, in precisely that order. Quoting is
59600 # there to prevent editors from complaining about space-tab.
59601 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59602 # splitting by setting IFS to empty value.)
59603 IFS=" "" $as_nl"
59605 # Find who we are. Look in the path if we contain no directory separator.
59606 case $0 in #((
59607 *[\\/]* ) as_myself=$0 ;;
59608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59609 for as_dir in $PATH
59611 IFS=$as_save_IFS
59612 test -z "$as_dir" && as_dir=.
59613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59614 done
59615 IFS=$as_save_IFS
59618 esac
59619 # We did not find ourselves, most probably we were run as `sh COMMAND'
59620 # in which case we are not to be found in the path.
59621 if test "x$as_myself" = x; then
59622 as_myself=$0
59624 if test ! -f "$as_myself"; then
59625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59626 exit 1
59629 # Unset variables that we do not need and which cause bugs (e.g. in
59630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59631 # suppresses any "Segmentation fault" message there. '((' could
59632 # trigger a bug in pdksh 5.2.14.
59633 for as_var in BASH_ENV ENV MAIL MAILPATH
59634 do eval test x\${$as_var+set} = xset \
59635 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59636 done
59637 PS1='$ '
59638 PS2='> '
59639 PS4='+ '
59641 # NLS nuisances.
59642 LC_ALL=C
59643 export LC_ALL
59644 LANGUAGE=C
59645 export LANGUAGE
59647 # CDPATH.
59648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59651 # as_fn_error ERROR [LINENO LOG_FD]
59652 # ---------------------------------
59653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59655 # script with status $?, using 1 if that was 0.
59656 as_fn_error ()
59658 as_status=$?; test $as_status -eq 0 && as_status=1
59659 if test "$3"; then
59660 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59663 $as_echo "$as_me: error: $1" >&2
59664 as_fn_exit $as_status
59665 } # as_fn_error
59668 # as_fn_set_status STATUS
59669 # -----------------------
59670 # Set $? to STATUS, without forking.
59671 as_fn_set_status ()
59673 return $1
59674 } # as_fn_set_status
59676 # as_fn_exit STATUS
59677 # -----------------
59678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59679 as_fn_exit ()
59681 set +e
59682 as_fn_set_status $1
59683 exit $1
59684 } # as_fn_exit
59686 # as_fn_unset VAR
59687 # ---------------
59688 # Portably unset VAR.
59689 as_fn_unset ()
59691 { eval $1=; unset $1;}
59693 as_unset=as_fn_unset
59694 # as_fn_append VAR VALUE
59695 # ----------------------
59696 # Append the text in VALUE to the end of the definition contained in VAR. Take
59697 # advantage of any shell optimizations that allow amortized linear growth over
59698 # repeated appends, instead of the typical quadratic growth present in naive
59699 # implementations.
59700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59701 eval 'as_fn_append ()
59703 eval $1+=\$2
59705 else
59706 as_fn_append ()
59708 eval $1=\$$1\$2
59710 fi # as_fn_append
59712 # as_fn_arith ARG...
59713 # ------------------
59714 # Perform arithmetic evaluation on the ARGs, and store the result in the
59715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59716 # must be portable across $(()) and expr.
59717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59718 eval 'as_fn_arith ()
59720 as_val=$(( $* ))
59722 else
59723 as_fn_arith ()
59725 as_val=`expr "$@" || test $? -eq 1`
59727 fi # as_fn_arith
59730 if expr a : '\(a\)' >/dev/null 2>&1 &&
59731 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59732 as_expr=expr
59733 else
59734 as_expr=false
59737 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59738 as_basename=basename
59739 else
59740 as_basename=false
59743 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59744 as_dirname=dirname
59745 else
59746 as_dirname=false
59749 as_me=`$as_basename -- "$0" ||
59750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59751 X"$0" : 'X\(//\)$' \| \
59752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59753 $as_echo X/"$0" |
59754 sed '/^.*\/\([^/][^/]*\)\/*$/{
59755 s//\1/
59758 /^X\/\(\/\/\)$/{
59759 s//\1/
59762 /^X\/\(\/\).*/{
59763 s//\1/
59766 s/.*/./; q'`
59768 # Avoid depending upon Character Ranges.
59769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59772 as_cr_digits='0123456789'
59773 as_cr_alnum=$as_cr_Letters$as_cr_digits
59775 ECHO_C= ECHO_N= ECHO_T=
59776 case `echo -n x` in #(((((
59777 -n*)
59778 case `echo 'xy\c'` in
59779 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59780 xy) ECHO_C='\c';;
59781 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59782 ECHO_T=' ';;
59783 esac;;
59785 ECHO_N='-n';;
59786 esac
59788 rm -f conf$$ conf$$.exe conf$$.file
59789 if test -d conf$$.dir; then
59790 rm -f conf$$.dir/conf$$.file
59791 else
59792 rm -f conf$$.dir
59793 mkdir conf$$.dir 2>/dev/null
59795 if (echo >conf$$.file) 2>/dev/null; then
59796 if ln -s conf$$.file conf$$ 2>/dev/null; then
59797 as_ln_s='ln -s'
59798 # ... but there are two gotchas:
59799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59801 # In both cases, we have to default to `cp -p'.
59802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59803 as_ln_s='cp -p'
59804 elif ln conf$$.file conf$$ 2>/dev/null; then
59805 as_ln_s=ln
59806 else
59807 as_ln_s='cp -p'
59809 else
59810 as_ln_s='cp -p'
59812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59813 rmdir conf$$.dir 2>/dev/null
59816 # as_fn_mkdir_p
59817 # -------------
59818 # Create "$as_dir" as a directory, including parents if necessary.
59819 as_fn_mkdir_p ()
59822 case $as_dir in #(
59823 -*) as_dir=./$as_dir;;
59824 esac
59825 test -d "$as_dir" || eval $as_mkdir_p || {
59826 as_dirs=
59827 while :; do
59828 case $as_dir in #(
59829 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59830 *) as_qdir=$as_dir;;
59831 esac
59832 as_dirs="'$as_qdir' $as_dirs"
59833 as_dir=`$as_dirname -- "$as_dir" ||
59834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59835 X"$as_dir" : 'X\(//\)[^/]' \| \
59836 X"$as_dir" : 'X\(//\)$' \| \
59837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59838 $as_echo X"$as_dir" |
59839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59840 s//\1/
59843 /^X\(\/\/\)[^/].*/{
59844 s//\1/
59847 /^X\(\/\/\)$/{
59848 s//\1/
59851 /^X\(\/\).*/{
59852 s//\1/
59855 s/.*/./; q'`
59856 test -d "$as_dir" && break
59857 done
59858 test -z "$as_dirs" || eval "mkdir $as_dirs"
59859 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59862 } # as_fn_mkdir_p
59863 if mkdir -p . 2>/dev/null; then
59864 as_mkdir_p='mkdir -p "$as_dir"'
59865 else
59866 test -d ./-p && rmdir ./-p
59867 as_mkdir_p=false
59870 if test -x / >/dev/null 2>&1; then
59871 as_test_x='test -x'
59872 else
59873 if ls -dL / >/dev/null 2>&1; then
59874 as_ls_L_option=L
59875 else
59876 as_ls_L_option=
59878 as_test_x='
59879 eval sh -c '\''
59880 if test -d "$1"; then
59881 test -d "$1/.";
59882 else
59883 case $1 in #(
59884 -*)set "./$1";;
59885 esac;
59886 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59887 ???[sx]*):;;*)false;;esac;fi
59888 '\'' sh
59891 as_executable_p=$as_test_x
59893 # Sed expression to map a string onto a valid CPP name.
59894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59896 # Sed expression to map a string onto a valid variable name.
59897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59900 exec 6>&1
59901 ## ----------------------------------- ##
59902 ## Main body of $CONFIG_STATUS script. ##
59903 ## ----------------------------------- ##
59904 _ASEOF
59905 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59908 # Save the log message, to keep $0 and so on meaningful, and to
59909 # report actual input values of CONFIG_FILES etc. instead of their
59910 # values after options handling.
59911 ac_log="
59912 This file was extended by package-unused $as_me version-unused, which was
59913 generated by GNU Autoconf 2.64. Invocation command line was
59915 CONFIG_FILES = $CONFIG_FILES
59916 CONFIG_HEADERS = $CONFIG_HEADERS
59917 CONFIG_LINKS = $CONFIG_LINKS
59918 CONFIG_COMMANDS = $CONFIG_COMMANDS
59919 $ $0 $@
59921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59924 _ACEOF
59926 case $ac_config_files in *"
59927 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59928 esac
59930 case $ac_config_headers in *"
59931 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59932 esac
59935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59936 # Files that config.status was made for.
59937 config_files="$ac_config_files"
59938 config_headers="$ac_config_headers"
59939 config_commands="$ac_config_commands"
59941 _ACEOF
59943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59944 ac_cs_usage="\
59945 \`$as_me' instantiates files and other configuration actions
59946 from templates according to the current configuration. Unless the files
59947 and actions are specified as TAGs, all are instantiated by default.
59949 Usage: $0 [OPTION]... [TAG]...
59951 -h, --help print this help, then exit
59952 -V, --version print version number and configuration settings, then exit
59953 -q, --quiet, --silent
59954 do not print progress messages
59955 -d, --debug don't remove temporary files
59956 --recheck update $as_me by reconfiguring in the same conditions
59957 --file=FILE[:TEMPLATE]
59958 instantiate the configuration file FILE
59959 --header=FILE[:TEMPLATE]
59960 instantiate the configuration header FILE
59962 Configuration files:
59963 $config_files
59965 Configuration headers:
59966 $config_headers
59968 Configuration commands:
59969 $config_commands
59971 Report bugs to the package provider."
59973 _ACEOF
59974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59975 ac_cs_version="\\
59976 package-unused config.status version-unused
59977 configured by $0, generated by GNU Autoconf 2.64,
59978 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59980 Copyright (C) 2009 Free Software Foundation, Inc.
59981 This config.status script is free software; the Free Software Foundation
59982 gives unlimited permission to copy, distribute and modify it."
59984 ac_pwd='$ac_pwd'
59985 srcdir='$srcdir'
59986 INSTALL='$INSTALL'
59987 MKDIR_P='$MKDIR_P'
59988 AWK='$AWK'
59989 test -n "\$AWK" || AWK=awk
59990 _ACEOF
59992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59993 # The default lists apply if the user does not specify any file.
59994 ac_need_defaults=:
59995 while test $# != 0
59997 case $1 in
59998 --*=*)
59999 ac_option=`expr "X$1" : 'X\([^=]*\)='`
60000 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60001 ac_shift=:
60004 ac_option=$1
60005 ac_optarg=$2
60006 ac_shift=shift
60008 esac
60010 case $ac_option in
60011 # Handling of the options.
60012 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60013 ac_cs_recheck=: ;;
60014 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60015 $as_echo "$ac_cs_version"; exit ;;
60016 --debug | --debu | --deb | --de | --d | -d )
60017 debug=: ;;
60018 --file | --fil | --fi | --f )
60019 $ac_shift
60020 case $ac_optarg in
60021 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60022 esac
60023 as_fn_append CONFIG_FILES " '$ac_optarg'"
60024 ac_need_defaults=false;;
60025 --header | --heade | --head | --hea )
60026 $ac_shift
60027 case $ac_optarg in
60028 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60029 esac
60030 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60031 ac_need_defaults=false;;
60032 --he | --h)
60033 # Conflict between --help and --header
60034 as_fn_error "ambiguous option: \`$1'
60035 Try \`$0 --help' for more information.";;
60036 --help | --hel | -h )
60037 $as_echo "$ac_cs_usage"; exit ;;
60038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60039 | -silent | --silent | --silen | --sile | --sil | --si | --s)
60040 ac_cs_silent=: ;;
60042 # This is an error.
60043 -*) as_fn_error "unrecognized option: \`$1'
60044 Try \`$0 --help' for more information." ;;
60046 *) as_fn_append ac_config_targets " $1"
60047 ac_need_defaults=false ;;
60049 esac
60050 shift
60051 done
60053 ac_configure_extra_args=
60055 if $ac_cs_silent; then
60056 exec 6>/dev/null
60057 ac_configure_extra_args="$ac_configure_extra_args --silent"
60060 _ACEOF
60061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60062 if \$ac_cs_recheck; then
60063 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60064 shift
60065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60066 CONFIG_SHELL='$SHELL'
60067 export CONFIG_SHELL
60068 exec "\$@"
60071 _ACEOF
60072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60073 exec 5>>config.log
60075 echo
60076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60077 ## Running $as_me. ##
60078 _ASBOX
60079 $as_echo "$ac_log"
60080 } >&5
60082 _ACEOF
60083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60085 # INIT-COMMANDS
60088 srcdir="$srcdir"
60089 host="$host"
60090 target="$target"
60091 with_multisubdir="$with_multisubdir"
60092 with_multisrctop="$with_multisrctop"
60093 with_target_subdir="$with_target_subdir"
60094 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60095 multi_basedir="$multi_basedir"
60096 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60097 CC="$CC"
60098 CXX="$CXX"
60099 GFORTRAN="$GFORTRAN"
60100 GCJ="$GCJ"
60103 # The HP-UX ksh and POSIX shell print the target directory to stdout
60104 # if CDPATH is set.
60105 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60107 sed_quote_subst='$sed_quote_subst'
60108 double_quote_subst='$double_quote_subst'
60109 delay_variable_subst='$delay_variable_subst'
60110 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60111 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60112 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60114 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60115 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60116 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60117 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60118 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60119 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60120 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60121 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60122 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60123 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60124 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60125 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60126 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60127 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60128 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60129 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60130 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60131 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60132 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60133 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60134 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60135 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60136 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60137 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60138 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60139 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60140 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60141 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60142 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60143 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60144 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60145 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60146 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60147 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60148 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60149 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60150 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60151 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60152 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60153 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60154 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60155 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60156 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60157 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60158 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"`'
60159 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60160 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60161 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60162 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60163 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60164 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60165 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60166 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60167 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60168 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60169 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60170 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60171 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60172 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60173 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60174 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60175 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60176 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60177 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60178 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60179 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60180 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60181 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60182 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60183 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60184 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60185 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60186 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60187 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60188 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60189 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60190 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60191 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60192 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60193 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60194 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60195 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60196 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60197 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60198 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60199 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60200 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60201 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60202 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60203 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60204 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60205 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60206 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60207 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60208 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60209 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60210 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60211 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60212 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60213 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60214 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60215 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60216 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60217 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60218 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60219 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60220 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60221 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60222 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60223 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60224 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60225 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60226 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60227 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60228 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60229 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60230 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60231 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60232 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60233 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60234 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60235 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60236 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60237 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60238 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60239 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60240 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60241 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60242 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60243 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60244 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60245 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60246 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60247 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60248 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60249 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60250 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60251 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60252 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60253 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60254 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60255 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60256 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60257 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60258 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60259 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60260 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60261 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60262 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60263 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60264 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60265 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60266 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60267 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60268 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60269 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60270 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60271 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60272 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60273 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60274 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60275 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60276 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60277 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60278 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60279 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60280 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60281 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60282 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60283 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60284 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60286 LTCC='$LTCC'
60287 LTCFLAGS='$LTCFLAGS'
60288 compiler='$compiler_DEFAULT'
60290 # A function that is used when there is no print builtin or printf.
60291 func_fallback_echo ()
60293 eval 'cat <<_LTECHO_EOF
60295 _LTECHO_EOF'
60298 # Quote evaled strings.
60299 for var in SHELL \
60300 ECHO \
60301 SED \
60302 GREP \
60303 EGREP \
60304 FGREP \
60305 LD \
60306 NM \
60307 LN_S \
60308 lt_SP2NL \
60309 lt_NL2SP \
60310 reload_flag \
60311 OBJDUMP \
60312 deplibs_check_method \
60313 file_magic_cmd \
60314 AR \
60315 AR_FLAGS \
60316 STRIP \
60317 RANLIB \
60318 CC \
60319 CFLAGS \
60320 compiler \
60321 lt_cv_sys_global_symbol_pipe \
60322 lt_cv_sys_global_symbol_to_cdecl \
60323 lt_cv_sys_global_symbol_to_c_name_address \
60324 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60325 lt_prog_compiler_no_builtin_flag \
60326 lt_prog_compiler_wl \
60327 lt_prog_compiler_pic \
60328 lt_prog_compiler_static \
60329 lt_cv_prog_compiler_c_o \
60330 need_locks \
60331 DSYMUTIL \
60332 NMEDIT \
60333 LIPO \
60334 OTOOL \
60335 OTOOL64 \
60336 shrext_cmds \
60337 export_dynamic_flag_spec \
60338 whole_archive_flag_spec \
60339 compiler_needs_object \
60340 with_gnu_ld \
60341 allow_undefined_flag \
60342 no_undefined_flag \
60343 hardcode_libdir_flag_spec \
60344 hardcode_libdir_flag_spec_ld \
60345 hardcode_libdir_separator \
60346 fix_srcfile_path \
60347 exclude_expsyms \
60348 include_expsyms \
60349 file_list_spec \
60350 variables_saved_for_relink \
60351 libname_spec \
60352 library_names_spec \
60353 soname_spec \
60354 install_override_mode \
60355 finish_eval \
60356 old_striplib \
60357 striplib \
60358 compiler_lib_search_dirs \
60359 predep_objects \
60360 postdep_objects \
60361 predeps \
60362 postdeps \
60363 compiler_lib_search_path \
60364 LD_CXX \
60365 reload_flag_CXX \
60366 compiler_CXX \
60367 lt_prog_compiler_no_builtin_flag_CXX \
60368 lt_prog_compiler_wl_CXX \
60369 lt_prog_compiler_pic_CXX \
60370 lt_prog_compiler_static_CXX \
60371 lt_cv_prog_compiler_c_o_CXX \
60372 export_dynamic_flag_spec_CXX \
60373 whole_archive_flag_spec_CXX \
60374 compiler_needs_object_CXX \
60375 with_gnu_ld_CXX \
60376 allow_undefined_flag_CXX \
60377 no_undefined_flag_CXX \
60378 hardcode_libdir_flag_spec_CXX \
60379 hardcode_libdir_flag_spec_ld_CXX \
60380 hardcode_libdir_separator_CXX \
60381 fix_srcfile_path_CXX \
60382 exclude_expsyms_CXX \
60383 include_expsyms_CXX \
60384 file_list_spec_CXX \
60385 compiler_lib_search_dirs_CXX \
60386 predep_objects_CXX \
60387 postdep_objects_CXX \
60388 predeps_CXX \
60389 postdeps_CXX \
60390 compiler_lib_search_path_CXX; do
60391 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60392 *[\\\\\\\`\\"\\\$]*)
60393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60398 esac
60399 done
60401 # Double-quote double-evaled strings.
60402 for var in reload_cmds \
60403 old_postinstall_cmds \
60404 old_postuninstall_cmds \
60405 old_archive_cmds \
60406 extract_expsyms_cmds \
60407 old_archive_from_new_cmds \
60408 old_archive_from_expsyms_cmds \
60409 archive_cmds \
60410 archive_expsym_cmds \
60411 module_cmds \
60412 module_expsym_cmds \
60413 export_symbols_cmds \
60414 prelink_cmds \
60415 postinstall_cmds \
60416 postuninstall_cmds \
60417 finish_cmds \
60418 sys_lib_search_path_spec \
60419 sys_lib_dlsearch_path_spec \
60420 reload_cmds_CXX \
60421 old_archive_cmds_CXX \
60422 old_archive_from_new_cmds_CXX \
60423 old_archive_from_expsyms_cmds_CXX \
60424 archive_cmds_CXX \
60425 archive_expsym_cmds_CXX \
60426 module_cmds_CXX \
60427 module_expsym_cmds_CXX \
60428 export_symbols_cmds_CXX \
60429 prelink_cmds_CXX; do
60430 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60431 *[\\\\\\\`\\"\\\$]*)
60432 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60435 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60437 esac
60438 done
60440 ac_aux_dir='$ac_aux_dir'
60441 xsi_shell='$xsi_shell'
60442 lt_shell_append='$lt_shell_append'
60444 # See if we are running on zsh, and set the options which allow our
60445 # commands through without removal of \ escapes INIT.
60446 if test -n "\${ZSH_VERSION+set}" ; then
60447 setopt NO_GLOB_SUBST
60451 PACKAGE='$PACKAGE'
60452 VERSION='$VERSION'
60453 TIMESTAMP='$TIMESTAMP'
60454 RM='$RM'
60455 ofile='$ofile'
60462 GCC="$GCC"
60463 CC="$CC"
60464 acx_cv_header_stdint="$acx_cv_header_stdint"
60465 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60466 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60467 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60468 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60469 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60470 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60471 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60472 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60473 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60474 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60475 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60476 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60477 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60480 _ACEOF
60482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60484 # Handling of arguments.
60485 for ac_config_target in $ac_config_targets
60487 case $ac_config_target in
60488 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60489 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60490 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60491 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60492 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60493 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60494 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60495 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60496 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60497 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60498 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60499 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60500 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60501 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60503 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60504 esac
60505 done
60508 # If the user did not use the arguments to specify the items to instantiate,
60509 # then the envvar interface is used. Set only those that are not.
60510 # We use the long form for the default assignment because of an extremely
60511 # bizarre bug on SunOS 4.1.3.
60512 if $ac_need_defaults; then
60513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60515 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60518 # Have a temporary directory for convenience. Make it in the build tree
60519 # simply because there is no reason against having it here, and in addition,
60520 # creating and moving files from /tmp can sometimes cause problems.
60521 # Hook for its removal unless debugging.
60522 # Note that there is a small window in which the directory will not be cleaned:
60523 # after its creation but before its name has been assigned to `$tmp'.
60524 $debug ||
60526 tmp=
60527 trap 'exit_status=$?
60528 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60530 trap 'as_fn_exit 1' 1 2 13 15
60532 # Create a (secure) tmp directory for tmp files.
60535 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60536 test -n "$tmp" && test -d "$tmp"
60537 } ||
60539 tmp=./conf$$-$RANDOM
60540 (umask 077 && mkdir "$tmp")
60541 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60543 # Set up the scripts for CONFIG_FILES section.
60544 # No need to generate them if there are no CONFIG_FILES.
60545 # This happens for instance with `./config.status config.h'.
60546 if test -n "$CONFIG_FILES"; then
60549 ac_cr=`echo X | tr X '\015'`
60550 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60551 # But we know of no other shell where ac_cr would be empty at this
60552 # point, so we can use a bashism as a fallback.
60553 if test "x$ac_cr" = x; then
60554 eval ac_cr=\$\'\\r\'
60556 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60557 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60558 ac_cs_awk_cr='\r'
60559 else
60560 ac_cs_awk_cr=$ac_cr
60563 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60564 _ACEOF
60568 echo "cat >conf$$subs.awk <<_ACEOF" &&
60569 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60570 echo "_ACEOF"
60571 } >conf$$subs.sh ||
60572 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60573 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60574 ac_delim='%!_!# '
60575 for ac_last_try in false false false false false :; do
60576 . ./conf$$subs.sh ||
60577 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60579 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60580 if test $ac_delim_n = $ac_delim_num; then
60581 break
60582 elif $ac_last_try; then
60583 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60584 else
60585 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60587 done
60588 rm -f conf$$subs.sh
60590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60591 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60592 _ACEOF
60593 sed -n '
60595 s/^/S["/; s/!.*/"]=/
60598 s/^[^!]*!//
60599 :repl
60600 t repl
60601 s/'"$ac_delim"'$//
60602 t delim
60605 s/\(.\{148\}\).*/\1/
60606 t more1
60607 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60610 b repl
60611 :more1
60612 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60615 s/.\{148\}//
60616 t nl
60617 :delim
60619 s/\(.\{148\}\).*/\1/
60620 t more2
60621 s/["\\]/\\&/g; s/^/"/; s/$/"/
60624 :more2
60625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60628 s/.\{148\}//
60629 t delim
60630 ' <conf$$subs.awk | sed '
60631 /^[^""]/{
60633 s/\n//
60635 ' >>$CONFIG_STATUS || ac_write_fail=1
60636 rm -f conf$$subs.awk
60637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60638 _ACAWK
60639 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60640 for (key in S) S_is_set[key] = 1
60641 FS = "\a"
60645 line = $ 0
60646 nfields = split(line, field, "@")
60647 substed = 0
60648 len = length(field[1])
60649 for (i = 2; i < nfields; i++) {
60650 key = field[i]
60651 keylen = length(key)
60652 if (S_is_set[key]) {
60653 value = S[key]
60654 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60655 len += length(value) + length(field[++i])
60656 substed = 1
60657 } else
60658 len += 1 + keylen
60661 print line
60664 _ACAWK
60665 _ACEOF
60666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60667 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60668 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60669 else
60671 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60672 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60673 _ACEOF
60675 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60676 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60677 # trailing colons and then remove the whole line if VPATH becomes empty
60678 # (actually we leave an empty line to preserve line numbers).
60679 if test "x$srcdir" = x.; then
60680 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60681 s/:*\$(srcdir):*/:/
60682 s/:*\${srcdir}:*/:/
60683 s/:*@srcdir@:*/:/
60684 s/^\([^=]*=[ ]*\):*/\1/
60685 s/:*$//
60686 s/^[^=]*=[ ]*$//
60690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60691 fi # test -n "$CONFIG_FILES"
60693 # Set up the scripts for CONFIG_HEADERS section.
60694 # No need to generate them if there are no CONFIG_HEADERS.
60695 # This happens for instance with `./config.status Makefile'.
60696 if test -n "$CONFIG_HEADERS"; then
60697 cat >"$tmp/defines.awk" <<\_ACAWK ||
60698 BEGIN {
60699 _ACEOF
60701 # Transform confdefs.h into an awk script `defines.awk', embedded as
60702 # here-document in config.status, that substitutes the proper values into
60703 # config.h.in to produce config.h.
60705 # Create a delimiter string that does not exist in confdefs.h, to ease
60706 # handling of long lines.
60707 ac_delim='%!_!# '
60708 for ac_last_try in false false :; do
60709 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60710 if test -z "$ac_t"; then
60711 break
60712 elif $ac_last_try; then
60713 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60714 else
60715 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60717 done
60719 # For the awk script, D is an array of macro values keyed by name,
60720 # likewise P contains macro parameters if any. Preserve backslash
60721 # newline sequences.
60723 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60724 sed -n '
60725 s/.\{148\}/&'"$ac_delim"'/g
60726 t rset
60727 :rset
60728 s/^[ ]*#[ ]*define[ ][ ]*/ /
60729 t def
60731 :def
60732 s/\\$//
60733 t bsnl
60734 s/["\\]/\\&/g
60735 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60736 D["\1"]=" \3"/p
60737 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60739 :bsnl
60740 s/["\\]/\\&/g
60741 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60742 D["\1"]=" \3\\\\\\n"\\/p
60743 t cont
60744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60745 t cont
60747 :cont
60749 s/.\{148\}/&'"$ac_delim"'/g
60750 t clear
60751 :clear
60752 s/\\$//
60753 t bsnlc
60754 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60756 :bsnlc
60757 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60758 b cont
60759 ' <confdefs.h | sed '
60760 s/'"$ac_delim"'/"\\\
60761 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60764 for (key in D) D_is_set[key] = 1
60765 FS = "\a"
60767 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60768 line = \$ 0
60769 split(line, arg, " ")
60770 if (arg[1] == "#") {
60771 defundef = arg[2]
60772 mac1 = arg[3]
60773 } else {
60774 defundef = substr(arg[1], 2)
60775 mac1 = arg[2]
60777 split(mac1, mac2, "(") #)
60778 macro = mac2[1]
60779 prefix = substr(line, 1, index(line, defundef) - 1)
60780 if (D_is_set[macro]) {
60781 # Preserve the white space surrounding the "#".
60782 print prefix "define", macro P[macro] D[macro]
60783 next
60784 } else {
60785 # Replace #undef with comments. This is necessary, for example,
60786 # in the case of _POSIX_SOURCE, which is predefined and required
60787 # on some systems where configure will not decide to define it.
60788 if (defundef == "undef") {
60789 print "/*", prefix defundef, macro, "*/"
60790 next
60794 { print }
60795 _ACAWK
60796 _ACEOF
60797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60798 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60799 fi # test -n "$CONFIG_HEADERS"
60802 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60803 shift
60804 for ac_tag
60806 case $ac_tag in
60807 :[FHLC]) ac_mode=$ac_tag; continue;;
60808 esac
60809 case $ac_mode$ac_tag in
60810 :[FHL]*:*);;
60811 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60812 :[FH]-) ac_tag=-:-;;
60813 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60814 esac
60815 ac_save_IFS=$IFS
60816 IFS=:
60817 set x $ac_tag
60818 IFS=$ac_save_IFS
60819 shift
60820 ac_file=$1
60821 shift
60823 case $ac_mode in
60824 :L) ac_source=$1;;
60825 :[FH])
60826 ac_file_inputs=
60827 for ac_f
60829 case $ac_f in
60830 -) ac_f="$tmp/stdin";;
60831 *) # Look for the file first in the build tree, then in the source tree
60832 # (if the path is not absolute). The absolute path cannot be DOS-style,
60833 # because $ac_f cannot contain `:'.
60834 test -f "$ac_f" ||
60835 case $ac_f in
60836 [\\/$]*) false;;
60837 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60838 esac ||
60839 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60840 esac
60841 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60842 as_fn_append ac_file_inputs " '$ac_f'"
60843 done
60845 # Let's still pretend it is `configure' which instantiates (i.e., don't
60846 # use $as_me), people would be surprised to read:
60847 # /* config.h. Generated by config.status. */
60848 configure_input='Generated from '`
60849 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60850 `' by configure.'
60851 if test x"$ac_file" != x-; then
60852 configure_input="$ac_file. $configure_input"
60853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60854 $as_echo "$as_me: creating $ac_file" >&6;}
60856 # Neutralize special characters interpreted by sed in replacement strings.
60857 case $configure_input in #(
60858 *\&* | *\|* | *\\* )
60859 ac_sed_conf_input=`$as_echo "$configure_input" |
60860 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60861 *) ac_sed_conf_input=$configure_input;;
60862 esac
60864 case $ac_tag in
60865 *:-:* | *:-) cat >"$tmp/stdin" \
60866 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60867 esac
60869 esac
60871 ac_dir=`$as_dirname -- "$ac_file" ||
60872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60873 X"$ac_file" : 'X\(//\)[^/]' \| \
60874 X"$ac_file" : 'X\(//\)$' \| \
60875 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60876 $as_echo X"$ac_file" |
60877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60878 s//\1/
60881 /^X\(\/\/\)[^/].*/{
60882 s//\1/
60885 /^X\(\/\/\)$/{
60886 s//\1/
60889 /^X\(\/\).*/{
60890 s//\1/
60893 s/.*/./; q'`
60894 as_dir="$ac_dir"; as_fn_mkdir_p
60895 ac_builddir=.
60897 case "$ac_dir" in
60898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60900 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60901 # A ".." for each directory in $ac_dir_suffix.
60902 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60903 case $ac_top_builddir_sub in
60904 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60905 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60906 esac ;;
60907 esac
60908 ac_abs_top_builddir=$ac_pwd
60909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60910 # for backward compatibility:
60911 ac_top_builddir=$ac_top_build_prefix
60913 case $srcdir in
60914 .) # We are building in place.
60915 ac_srcdir=.
60916 ac_top_srcdir=$ac_top_builddir_sub
60917 ac_abs_top_srcdir=$ac_pwd ;;
60918 [\\/]* | ?:[\\/]* ) # Absolute name.
60919 ac_srcdir=$srcdir$ac_dir_suffix;
60920 ac_top_srcdir=$srcdir
60921 ac_abs_top_srcdir=$srcdir ;;
60922 *) # Relative name.
60923 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60924 ac_top_srcdir=$ac_top_build_prefix$srcdir
60925 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60926 esac
60927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60930 case $ac_mode in
60933 # CONFIG_FILE
60936 case $INSTALL in
60937 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60938 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60939 esac
60940 ac_MKDIR_P=$MKDIR_P
60941 case $MKDIR_P in
60942 [\\/$]* | ?:[\\/]* ) ;;
60943 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60944 esac
60945 _ACEOF
60947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60948 # If the template does not know about datarootdir, expand it.
60949 # FIXME: This hack should be removed a few years after 2.60.
60950 ac_datarootdir_hack=; ac_datarootdir_seen=
60951 ac_sed_dataroot='
60952 /datarootdir/ {
60956 /@datadir@/p
60957 /@docdir@/p
60958 /@infodir@/p
60959 /@localedir@/p
60960 /@mandir@/p'
60961 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60962 *datarootdir*) ac_datarootdir_seen=yes;;
60963 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60965 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60966 _ACEOF
60967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60968 ac_datarootdir_hack='
60969 s&@datadir@&$datadir&g
60970 s&@docdir@&$docdir&g
60971 s&@infodir@&$infodir&g
60972 s&@localedir@&$localedir&g
60973 s&@mandir@&$mandir&g
60974 s&\\\${datarootdir}&$datarootdir&g' ;;
60975 esac
60976 _ACEOF
60978 # Neutralize VPATH when `$srcdir' = `.'.
60979 # Shell code in configure.ac might set extrasub.
60980 # FIXME: do we really want to maintain this feature?
60981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60982 ac_sed_extra="$ac_vpsub
60983 $extrasub
60984 _ACEOF
60985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60988 s|@configure_input@|$ac_sed_conf_input|;t t
60989 s&@top_builddir@&$ac_top_builddir_sub&;t t
60990 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60991 s&@srcdir@&$ac_srcdir&;t t
60992 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60993 s&@top_srcdir@&$ac_top_srcdir&;t t
60994 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60995 s&@builddir@&$ac_builddir&;t t
60996 s&@abs_builddir@&$ac_abs_builddir&;t t
60997 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60998 s&@INSTALL@&$ac_INSTALL&;t t
60999 s&@MKDIR_P@&$ac_MKDIR_P&;t t
61000 $ac_datarootdir_hack
61002 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
61003 || as_fn_error "could not create $ac_file" "$LINENO" 5
61005 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61006 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
61007 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61009 which seems to be undefined. Please make sure it is defined." >&5
61010 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61011 which seems to be undefined. Please make sure it is defined." >&2;}
61013 rm -f "$tmp/stdin"
61014 case $ac_file in
61015 -) cat "$tmp/out" && rm -f "$tmp/out";;
61016 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
61017 esac \
61018 || as_fn_error "could not create $ac_file" "$LINENO" 5
61022 # CONFIG_HEADER
61024 if test x"$ac_file" != x-; then
61026 $as_echo "/* $configure_input */" \
61027 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61028 } >"$tmp/config.h" \
61029 || as_fn_error "could not create $ac_file" "$LINENO" 5
61030 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61032 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61033 else
61034 rm -f "$ac_file"
61035 mv "$tmp/config.h" "$ac_file" \
61036 || as_fn_error "could not create $ac_file" "$LINENO" 5
61038 else
61039 $as_echo "/* $configure_input */" \
61040 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61041 || as_fn_error "could not create -" "$LINENO" 5
61043 # Compute "$ac_file"'s index in $config_headers.
61044 _am_arg="$ac_file"
61045 _am_stamp_count=1
61046 for _am_header in $config_headers :; do
61047 case $_am_header in
61048 $_am_arg | $_am_arg:* )
61049 break ;;
61051 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61052 esac
61053 done
61054 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61055 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61056 X"$_am_arg" : 'X\(//\)[^/]' \| \
61057 X"$_am_arg" : 'X\(//\)$' \| \
61058 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61059 $as_echo X"$_am_arg" |
61060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61061 s//\1/
61064 /^X\(\/\/\)[^/].*/{
61065 s//\1/
61068 /^X\(\/\/\)$/{
61069 s//\1/
61072 /^X\(\/\).*/{
61073 s//\1/
61076 s/.*/./; q'`/stamp-h$_am_stamp_count
61079 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61080 $as_echo "$as_me: executing $ac_file commands" >&6;}
61082 esac
61085 case $ac_file$ac_mode in
61086 "default-1":C)
61087 # Only add multilib support code if we just rebuilt the top-level
61088 # Makefile.
61089 case " $CONFIG_FILES " in
61090 *" Makefile "*)
61091 ac_file=Makefile . ${multi_basedir}/config-ml.in
61093 esac ;;
61094 "libtool":C)
61096 # See if we are running on zsh, and set the options which allow our
61097 # commands through without removal of \ escapes.
61098 if test -n "${ZSH_VERSION+set}" ; then
61099 setopt NO_GLOB_SUBST
61102 cfgfile="${ofile}T"
61103 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61104 $RM "$cfgfile"
61106 cat <<_LT_EOF >> "$cfgfile"
61107 #! $SHELL
61109 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61110 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61111 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61112 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61114 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61115 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61116 # Written by Gordon Matzigkeit, 1996
61118 # This file is part of GNU Libtool.
61120 # GNU Libtool is free software; you can redistribute it and/or
61121 # modify it under the terms of the GNU General Public License as
61122 # published by the Free Software Foundation; either version 2 of
61123 # the License, or (at your option) any later version.
61125 # As a special exception to the GNU General Public License,
61126 # if you distribute this file as part of a program or library that
61127 # is built using GNU Libtool, you may include this file under the
61128 # same distribution terms that you use for the rest of that program.
61130 # GNU Libtool is distributed in the hope that it will be useful,
61131 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61132 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61133 # GNU General Public License for more details.
61135 # You should have received a copy of the GNU General Public License
61136 # along with GNU Libtool; see the file COPYING. If not, a copy
61137 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61138 # obtained by writing to the Free Software Foundation, Inc.,
61139 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61142 # The names of the tagged configurations supported by this script.
61143 available_tags="CXX "
61145 # ### BEGIN LIBTOOL CONFIG
61147 # Which release of libtool.m4 was used?
61148 macro_version=$macro_version
61149 macro_revision=$macro_revision
61151 # Whether or not to build shared libraries.
61152 build_libtool_libs=$enable_shared
61154 # Whether or not to build static libraries.
61155 build_old_libs=$enable_static
61157 # What type of objects to build.
61158 pic_mode=$pic_mode
61160 # Whether or not to optimize for fast installation.
61161 fast_install=$enable_fast_install
61163 # Shell to use when invoking shell scripts.
61164 SHELL=$lt_SHELL
61166 # An echo program that protects backslashes.
61167 ECHO=$lt_ECHO
61169 # The host system.
61170 host_alias=$host_alias
61171 host=$host
61172 host_os=$host_os
61174 # The build system.
61175 build_alias=$build_alias
61176 build=$build
61177 build_os=$build_os
61179 # A sed program that does not truncate output.
61180 SED=$lt_SED
61182 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61183 Xsed="\$SED -e 1s/^X//"
61185 # A grep program that handles long lines.
61186 GREP=$lt_GREP
61188 # An ERE matcher.
61189 EGREP=$lt_EGREP
61191 # A literal string matcher.
61192 FGREP=$lt_FGREP
61194 # A BSD- or MS-compatible name lister.
61195 NM=$lt_NM
61197 # Whether we need soft or hard links.
61198 LN_S=$lt_LN_S
61200 # What is the maximum length of a command?
61201 max_cmd_len=$max_cmd_len
61203 # Object file suffix (normally "o").
61204 objext=$ac_objext
61206 # Executable file suffix (normally "").
61207 exeext=$exeext
61209 # whether the shell understands "unset".
61210 lt_unset=$lt_unset
61212 # turn spaces into newlines.
61213 SP2NL=$lt_lt_SP2NL
61215 # turn newlines into spaces.
61216 NL2SP=$lt_lt_NL2SP
61218 # An object symbol dumper.
61219 OBJDUMP=$lt_OBJDUMP
61221 # Method to check whether dependent libraries are shared objects.
61222 deplibs_check_method=$lt_deplibs_check_method
61224 # Command to use when deplibs_check_method == "file_magic".
61225 file_magic_cmd=$lt_file_magic_cmd
61227 # The archiver.
61228 AR=$lt_AR
61229 AR_FLAGS=$lt_AR_FLAGS
61231 # A symbol stripping program.
61232 STRIP=$lt_STRIP
61234 # Commands used to install an old-style archive.
61235 RANLIB=$lt_RANLIB
61236 old_postinstall_cmds=$lt_old_postinstall_cmds
61237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61239 # Whether to use a lock for old archive extraction.
61240 lock_old_archive_extraction=$lock_old_archive_extraction
61242 # A C compiler.
61243 LTCC=$lt_CC
61245 # LTCC compiler flags.
61246 LTCFLAGS=$lt_CFLAGS
61248 # Take the output of nm and produce a listing of raw symbols and C names.
61249 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61251 # Transform the output of nm in a proper C declaration.
61252 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61254 # Transform the output of nm in a C name address pair.
61255 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61257 # Transform the output of nm in a C name address pair when lib prefix is needed.
61258 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61260 # The name of the directory that contains temporary libtool files.
61261 objdir=$objdir
61263 # Used to examine libraries when file_magic_cmd begins with "file".
61264 MAGIC_CMD=$MAGIC_CMD
61266 # Must we lock files when doing compilation?
61267 need_locks=$lt_need_locks
61269 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61270 DSYMUTIL=$lt_DSYMUTIL
61272 # Tool to change global to local symbols on Mac OS X.
61273 NMEDIT=$lt_NMEDIT
61275 # Tool to manipulate fat objects and archives on Mac OS X.
61276 LIPO=$lt_LIPO
61278 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61279 OTOOL=$lt_OTOOL
61281 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61282 OTOOL64=$lt_OTOOL64
61284 # Old archive suffix (normally "a").
61285 libext=$libext
61287 # Shared library suffix (normally ".so").
61288 shrext_cmds=$lt_shrext_cmds
61290 # The commands to extract the exported symbol list from a shared archive.
61291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61293 # Variables whose values should be saved in libtool wrapper scripts and
61294 # restored at link time.
61295 variables_saved_for_relink=$lt_variables_saved_for_relink
61297 # Do we need the "lib" prefix for modules?
61298 need_lib_prefix=$need_lib_prefix
61300 # Do we need a version for libraries?
61301 need_version=$need_version
61303 # Library versioning type.
61304 version_type=$version_type
61306 # Shared library runtime path variable.
61307 runpath_var=$runpath_var
61309 # Shared library path variable.
61310 shlibpath_var=$shlibpath_var
61312 # Is shlibpath searched before the hard-coded library search path?
61313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61315 # Format of library name prefix.
61316 libname_spec=$lt_libname_spec
61318 # List of archive names. First name is the real one, the rest are links.
61319 # The last name is the one that the linker finds with -lNAME
61320 library_names_spec=$lt_library_names_spec
61322 # The coded name of the library, if different from the real name.
61323 soname_spec=$lt_soname_spec
61325 # Permission mode override for installation of shared libraries.
61326 install_override_mode=$lt_install_override_mode
61328 # Command to use after installation of a shared archive.
61329 postinstall_cmds=$lt_postinstall_cmds
61331 # Command to use after uninstallation of a shared archive.
61332 postuninstall_cmds=$lt_postuninstall_cmds
61334 # Commands used to finish a libtool library installation in a directory.
61335 finish_cmds=$lt_finish_cmds
61337 # As "finish_cmds", except a single script fragment to be evaled but
61338 # not shown.
61339 finish_eval=$lt_finish_eval
61341 # Whether we should hardcode library paths into libraries.
61342 hardcode_into_libs=$hardcode_into_libs
61344 # Compile-time system search path for libraries.
61345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61347 # Run-time system search path for libraries.
61348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61350 # Whether dlopen is supported.
61351 dlopen_support=$enable_dlopen
61353 # Whether dlopen of programs is supported.
61354 dlopen_self=$enable_dlopen_self
61356 # Whether dlopen of statically linked programs is supported.
61357 dlopen_self_static=$enable_dlopen_self_static
61359 # Commands to strip libraries.
61360 old_striplib=$lt_old_striplib
61361 striplib=$lt_striplib
61364 # The linker used to build libraries.
61365 LD=$lt_LD
61367 # How to create reloadable object files.
61368 reload_flag=$lt_reload_flag
61369 reload_cmds=$lt_reload_cmds
61371 # Commands used to build an old-style archive.
61372 old_archive_cmds=$lt_old_archive_cmds
61374 # A language specific compiler.
61375 CC=$lt_compiler
61377 # Is the compiler the GNU compiler?
61378 with_gcc=$GCC
61380 # Compiler flag to turn off builtin functions.
61381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61383 # How to pass a linker flag through the compiler.
61384 wl=$lt_lt_prog_compiler_wl
61386 # Additional compiler flags for building library objects.
61387 pic_flag=$lt_lt_prog_compiler_pic
61389 # Compiler flag to prevent dynamic linking.
61390 link_static_flag=$lt_lt_prog_compiler_static
61392 # Does compiler simultaneously support -c and -o options?
61393 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61395 # Whether or not to add -lc for building shared libraries.
61396 build_libtool_need_lc=$archive_cmds_need_lc
61398 # Whether or not to disallow shared libs when runtime libs are static.
61399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61401 # Compiler flag to allow reflexive dlopens.
61402 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61404 # Compiler flag to generate shared objects directly from archives.
61405 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61407 # Whether the compiler copes with passing no objects directly.
61408 compiler_needs_object=$lt_compiler_needs_object
61410 # Create an old-style archive from a shared archive.
61411 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61413 # Create a temporary old-style archive to link instead of a shared archive.
61414 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61416 # Commands used to build a shared archive.
61417 archive_cmds=$lt_archive_cmds
61418 archive_expsym_cmds=$lt_archive_expsym_cmds
61420 # Commands used to build a loadable module if different from building
61421 # a shared archive.
61422 module_cmds=$lt_module_cmds
61423 module_expsym_cmds=$lt_module_expsym_cmds
61425 # Whether we are building with GNU ld or not.
61426 with_gnu_ld=$lt_with_gnu_ld
61428 # Flag that allows shared libraries with undefined symbols to be built.
61429 allow_undefined_flag=$lt_allow_undefined_flag
61431 # Flag that enforces no undefined symbols.
61432 no_undefined_flag=$lt_no_undefined_flag
61434 # Flag to hardcode \$libdir into a binary during linking.
61435 # This must work even if \$libdir does not exist
61436 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61438 # If ld is used when linking, flag to hardcode \$libdir into a binary
61439 # during linking. This must work even if \$libdir does not exist.
61440 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61442 # Whether we need a single "-rpath" flag with a separated argument.
61443 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61446 # DIR into the resulting binary.
61447 hardcode_direct=$hardcode_direct
61449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61450 # DIR into the resulting binary and the resulting library dependency is
61451 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61452 # library is relocated.
61453 hardcode_direct_absolute=$hardcode_direct_absolute
61455 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61456 # into the resulting binary.
61457 hardcode_minus_L=$hardcode_minus_L
61459 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61460 # into the resulting binary.
61461 hardcode_shlibpath_var=$hardcode_shlibpath_var
61463 # Set to "yes" if building a shared library automatically hardcodes DIR
61464 # into the library and all subsequent libraries and executables linked
61465 # against it.
61466 hardcode_automatic=$hardcode_automatic
61468 # Set to yes if linker adds runtime paths of dependent libraries
61469 # to runtime path list.
61470 inherit_rpath=$inherit_rpath
61472 # Whether libtool must link a program against all its dependency libraries.
61473 link_all_deplibs=$link_all_deplibs
61475 # Fix the shell variable \$srcfile for the compiler.
61476 fix_srcfile_path=$lt_fix_srcfile_path
61478 # Set to "yes" if exported symbols are required.
61479 always_export_symbols=$always_export_symbols
61481 # The commands to list exported symbols.
61482 export_symbols_cmds=$lt_export_symbols_cmds
61484 # Symbols that should not be listed in the preloaded symbols.
61485 exclude_expsyms=$lt_exclude_expsyms
61487 # Symbols that must always be exported.
61488 include_expsyms=$lt_include_expsyms
61490 # Commands necessary for linking programs (against libraries) with templates.
61491 prelink_cmds=$lt_prelink_cmds
61493 # Specify filename containing input files.
61494 file_list_spec=$lt_file_list_spec
61496 # How to hardcode a shared library path into an executable.
61497 hardcode_action=$hardcode_action
61499 # The directories searched by this compiler when creating a shared library.
61500 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61502 # Dependencies to place before and after the objects being linked to
61503 # create a shared library.
61504 predep_objects=$lt_predep_objects
61505 postdep_objects=$lt_postdep_objects
61506 predeps=$lt_predeps
61507 postdeps=$lt_postdeps
61509 # The library search path used internally by the compiler when linking
61510 # a shared library.
61511 compiler_lib_search_path=$lt_compiler_lib_search_path
61513 # ### END LIBTOOL CONFIG
61515 _LT_EOF
61517 case $host_os in
61518 aix3*)
61519 cat <<\_LT_EOF >> "$cfgfile"
61520 # AIX sometimes has problems with the GCC collect2 program. For some
61521 # reason, if we set the COLLECT_NAMES environment variable, the problems
61522 # vanish in a puff of smoke.
61523 if test "X${COLLECT_NAMES+set}" != Xset; then
61524 COLLECT_NAMES=
61525 export COLLECT_NAMES
61527 _LT_EOF
61529 esac
61532 ltmain="$ac_aux_dir/ltmain.sh"
61535 # We use sed instead of cat because bash on DJGPP gets confused if
61536 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61537 # text mode, it properly converts lines to CR/LF. This bash problem
61538 # is reportedly fixed, but why not run on old versions too?
61539 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61540 || (rm -f "$cfgfile"; exit 1)
61542 case $xsi_shell in
61543 yes)
61544 cat << \_LT_EOF >> "$cfgfile"
61546 # func_dirname file append nondir_replacement
61547 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61548 # otherwise set result to NONDIR_REPLACEMENT.
61549 func_dirname ()
61551 case ${1} in
61552 */*) func_dirname_result="${1%/*}${2}" ;;
61553 * ) func_dirname_result="${3}" ;;
61554 esac
61557 # func_basename file
61558 func_basename ()
61560 func_basename_result="${1##*/}"
61563 # func_dirname_and_basename file append nondir_replacement
61564 # perform func_basename and func_dirname in a single function
61565 # call:
61566 # dirname: Compute the dirname of FILE. If nonempty,
61567 # add APPEND to the result, otherwise set result
61568 # to NONDIR_REPLACEMENT.
61569 # value returned in "$func_dirname_result"
61570 # basename: Compute filename of FILE.
61571 # value retuned in "$func_basename_result"
61572 # Implementation must be kept synchronized with func_dirname
61573 # and func_basename. For efficiency, we do not delegate to
61574 # those functions but instead duplicate the functionality here.
61575 func_dirname_and_basename ()
61577 case ${1} in
61578 */*) func_dirname_result="${1%/*}${2}" ;;
61579 * ) func_dirname_result="${3}" ;;
61580 esac
61581 func_basename_result="${1##*/}"
61584 # func_stripname prefix suffix name
61585 # strip PREFIX and SUFFIX off of NAME.
61586 # PREFIX and SUFFIX must not contain globbing or regex special
61587 # characters, hashes, percent signs, but SUFFIX may contain a leading
61588 # dot (in which case that matches only a dot).
61589 func_stripname ()
61591 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61592 # positional parameters, so assign one to ordinary parameter first.
61593 func_stripname_result=${3}
61594 func_stripname_result=${func_stripname_result#"${1}"}
61595 func_stripname_result=${func_stripname_result%"${2}"}
61598 # func_opt_split
61599 func_opt_split ()
61601 func_opt_split_opt=${1%%=*}
61602 func_opt_split_arg=${1#*=}
61605 # func_lo2o object
61606 func_lo2o ()
61608 case ${1} in
61609 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61610 *) func_lo2o_result=${1} ;;
61611 esac
61614 # func_xform libobj-or-source
61615 func_xform ()
61617 func_xform_result=${1%.*}.lo
61620 # func_arith arithmetic-term...
61621 func_arith ()
61623 func_arith_result=$(( $* ))
61626 # func_len string
61627 # STRING may not start with a hyphen.
61628 func_len ()
61630 func_len_result=${#1}
61633 _LT_EOF
61635 *) # Bourne compatible functions.
61636 cat << \_LT_EOF >> "$cfgfile"
61638 # func_dirname file append nondir_replacement
61639 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61640 # otherwise set result to NONDIR_REPLACEMENT.
61641 func_dirname ()
61643 # Extract subdirectory from the argument.
61644 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61645 if test "X$func_dirname_result" = "X${1}"; then
61646 func_dirname_result="${3}"
61647 else
61648 func_dirname_result="$func_dirname_result${2}"
61652 # func_basename file
61653 func_basename ()
61655 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61659 # func_stripname prefix suffix name
61660 # strip PREFIX and SUFFIX off of NAME.
61661 # PREFIX and SUFFIX must not contain globbing or regex special
61662 # characters, hashes, percent signs, but SUFFIX may contain a leading
61663 # dot (in which case that matches only a dot).
61664 # func_strip_suffix prefix name
61665 func_stripname ()
61667 case ${2} in
61668 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61669 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61670 esac
61673 # sed scripts:
61674 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61675 my_sed_long_arg='1s/^-[^=]*=//'
61677 # func_opt_split
61678 func_opt_split ()
61680 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61681 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61684 # func_lo2o object
61685 func_lo2o ()
61687 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61690 # func_xform libobj-or-source
61691 func_xform ()
61693 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61696 # func_arith arithmetic-term...
61697 func_arith ()
61699 func_arith_result=`expr "$@"`
61702 # func_len string
61703 # STRING may not start with a hyphen.
61704 func_len ()
61706 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61709 _LT_EOF
61710 esac
61712 case $lt_shell_append in
61713 yes)
61714 cat << \_LT_EOF >> "$cfgfile"
61716 # func_append var value
61717 # Append VALUE to the end of shell variable VAR.
61718 func_append ()
61720 eval "$1+=\$2"
61722 _LT_EOF
61725 cat << \_LT_EOF >> "$cfgfile"
61727 # func_append var value
61728 # Append VALUE to the end of shell variable VAR.
61729 func_append ()
61731 eval "$1=\$$1\$2"
61734 _LT_EOF
61736 esac
61739 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61740 || (rm -f "$cfgfile"; exit 1)
61742 mv -f "$cfgfile" "$ofile" ||
61743 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61744 chmod +x "$ofile"
61747 cat <<_LT_EOF >> "$ofile"
61749 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61751 # The linker used to build libraries.
61752 LD=$lt_LD_CXX
61754 # How to create reloadable object files.
61755 reload_flag=$lt_reload_flag_CXX
61756 reload_cmds=$lt_reload_cmds_CXX
61758 # Commands used to build an old-style archive.
61759 old_archive_cmds=$lt_old_archive_cmds_CXX
61761 # A language specific compiler.
61762 CC=$lt_compiler_CXX
61764 # Is the compiler the GNU compiler?
61765 with_gcc=$GCC_CXX
61767 # Compiler flag to turn off builtin functions.
61768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61770 # How to pass a linker flag through the compiler.
61771 wl=$lt_lt_prog_compiler_wl_CXX
61773 # Additional compiler flags for building library objects.
61774 pic_flag=$lt_lt_prog_compiler_pic_CXX
61776 # Compiler flag to prevent dynamic linking.
61777 link_static_flag=$lt_lt_prog_compiler_static_CXX
61779 # Does compiler simultaneously support -c and -o options?
61780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61782 # Whether or not to add -lc for building shared libraries.
61783 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61785 # Whether or not to disallow shared libs when runtime libs are static.
61786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61788 # Compiler flag to allow reflexive dlopens.
61789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61791 # Compiler flag to generate shared objects directly from archives.
61792 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61794 # Whether the compiler copes with passing no objects directly.
61795 compiler_needs_object=$lt_compiler_needs_object_CXX
61797 # Create an old-style archive from a shared archive.
61798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61800 # Create a temporary old-style archive to link instead of a shared archive.
61801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61803 # Commands used to build a shared archive.
61804 archive_cmds=$lt_archive_cmds_CXX
61805 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61807 # Commands used to build a loadable module if different from building
61808 # a shared archive.
61809 module_cmds=$lt_module_cmds_CXX
61810 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61812 # Whether we are building with GNU ld or not.
61813 with_gnu_ld=$lt_with_gnu_ld_CXX
61815 # Flag that allows shared libraries with undefined symbols to be built.
61816 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61818 # Flag that enforces no undefined symbols.
61819 no_undefined_flag=$lt_no_undefined_flag_CXX
61821 # Flag to hardcode \$libdir into a binary during linking.
61822 # This must work even if \$libdir does not exist
61823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61825 # If ld is used when linking, flag to hardcode \$libdir into a binary
61826 # during linking. This must work even if \$libdir does not exist.
61827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61829 # Whether we need a single "-rpath" flag with a separated argument.
61830 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61833 # DIR into the resulting binary.
61834 hardcode_direct=$hardcode_direct_CXX
61836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61837 # DIR into the resulting binary and the resulting library dependency is
61838 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61839 # library is relocated.
61840 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61842 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61843 # into the resulting binary.
61844 hardcode_minus_L=$hardcode_minus_L_CXX
61846 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61847 # into the resulting binary.
61848 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61850 # Set to "yes" if building a shared library automatically hardcodes DIR
61851 # into the library and all subsequent libraries and executables linked
61852 # against it.
61853 hardcode_automatic=$hardcode_automatic_CXX
61855 # Set to yes if linker adds runtime paths of dependent libraries
61856 # to runtime path list.
61857 inherit_rpath=$inherit_rpath_CXX
61859 # Whether libtool must link a program against all its dependency libraries.
61860 link_all_deplibs=$link_all_deplibs_CXX
61862 # Fix the shell variable \$srcfile for the compiler.
61863 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61865 # Set to "yes" if exported symbols are required.
61866 always_export_symbols=$always_export_symbols_CXX
61868 # The commands to list exported symbols.
61869 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61871 # Symbols that should not be listed in the preloaded symbols.
61872 exclude_expsyms=$lt_exclude_expsyms_CXX
61874 # Symbols that must always be exported.
61875 include_expsyms=$lt_include_expsyms_CXX
61877 # Commands necessary for linking programs (against libraries) with templates.
61878 prelink_cmds=$lt_prelink_cmds_CXX
61880 # Specify filename containing input files.
61881 file_list_spec=$lt_file_list_spec_CXX
61883 # How to hardcode a shared library path into an executable.
61884 hardcode_action=$hardcode_action_CXX
61886 # The directories searched by this compiler when creating a shared library.
61887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61889 # Dependencies to place before and after the objects being linked to
61890 # create a shared library.
61891 predep_objects=$lt_predep_objects_CXX
61892 postdep_objects=$lt_postdep_objects_CXX
61893 predeps=$lt_predeps_CXX
61894 postdeps=$lt_postdeps_CXX
61896 # The library search path used internally by the compiler when linking
61897 # a shared library.
61898 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61900 # ### END LIBTOOL TAG CONFIG: CXX
61901 _LT_EOF
61904 "include/gstdint.h":C)
61905 if test "$GCC" = yes; then
61906 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61907 else
61908 echo "/* generated for $CC */" > tmp-stdint.h
61911 sed 's/^ *//' >> tmp-stdint.h <<EOF
61913 #ifndef GCC_GENERATED_STDINT_H
61914 #define GCC_GENERATED_STDINT_H 1
61916 #include <sys/types.h>
61919 if test "$acx_cv_header_stdint" != stdint.h; then
61920 echo "#include <stddef.h>" >> tmp-stdint.h
61922 if test "$acx_cv_header_stdint" != stddef.h; then
61923 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61926 sed 's/^ *//' >> tmp-stdint.h <<EOF
61927 /* glibc uses these symbols as guards to prevent redefinitions. */
61928 #ifdef __int8_t_defined
61929 #define _INT8_T
61930 #define _INT16_T
61931 #define _INT32_T
61932 #endif
61933 #ifdef __uint32_t_defined
61934 #define _UINT32_T
61935 #endif
61939 # ----------------- done header, emit basic int types -------------
61940 if test "$acx_cv_header_stdint" = stddef.h; then
61941 sed 's/^ *//' >> tmp-stdint.h <<EOF
61943 #ifndef _UINT8_T
61944 #define _UINT8_T
61945 #ifndef __uint8_t_defined
61946 #define __uint8_t_defined
61947 #ifndef uint8_t
61948 typedef unsigned $acx_cv_type_int8_t uint8_t;
61949 #endif
61950 #endif
61951 #endif
61953 #ifndef _UINT16_T
61954 #define _UINT16_T
61955 #ifndef __uint16_t_defined
61956 #define __uint16_t_defined
61957 #ifndef uint16_t
61958 typedef unsigned $acx_cv_type_int16_t uint16_t;
61959 #endif
61960 #endif
61961 #endif
61963 #ifndef _UINT32_T
61964 #define _UINT32_T
61965 #ifndef __uint32_t_defined
61966 #define __uint32_t_defined
61967 #ifndef uint32_t
61968 typedef unsigned $acx_cv_type_int32_t uint32_t;
61969 #endif
61970 #endif
61971 #endif
61973 #ifndef _INT8_T
61974 #define _INT8_T
61975 #ifndef __int8_t_defined
61976 #define __int8_t_defined
61977 #ifndef int8_t
61978 typedef $acx_cv_type_int8_t int8_t;
61979 #endif
61980 #endif
61981 #endif
61983 #ifndef _INT16_T
61984 #define _INT16_T
61985 #ifndef __int16_t_defined
61986 #define __int16_t_defined
61987 #ifndef int16_t
61988 typedef $acx_cv_type_int16_t int16_t;
61989 #endif
61990 #endif
61991 #endif
61993 #ifndef _INT32_T
61994 #define _INT32_T
61995 #ifndef __int32_t_defined
61996 #define __int32_t_defined
61997 #ifndef int32_t
61998 typedef $acx_cv_type_int32_t int32_t;
61999 #endif
62000 #endif
62001 #endif
62003 elif test "$ac_cv_type_u_int32_t" = yes; then
62004 sed 's/^ *//' >> tmp-stdint.h <<EOF
62006 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
62007 #ifndef _INT8_T
62008 #define _INT8_T
62009 #endif
62010 #ifndef _INT16_T
62011 #define _INT16_T
62012 #endif
62013 #ifndef _INT32_T
62014 #define _INT32_T
62015 #endif
62017 #ifndef _UINT8_T
62018 #define _UINT8_T
62019 #ifndef __uint8_t_defined
62020 #define __uint8_t_defined
62021 #ifndef uint8_t
62022 typedef u_int8_t uint8_t;
62023 #endif
62024 #endif
62025 #endif
62027 #ifndef _UINT16_T
62028 #define _UINT16_T
62029 #ifndef __uint16_t_defined
62030 #define __uint16_t_defined
62031 #ifndef uint16_t
62032 typedef u_int16_t uint16_t;
62033 #endif
62034 #endif
62035 #endif
62037 #ifndef _UINT32_T
62038 #define _UINT32_T
62039 #ifndef __uint32_t_defined
62040 #define __uint32_t_defined
62041 #ifndef uint32_t
62042 typedef u_int32_t uint32_t;
62043 #endif
62044 #endif
62045 #endif
62047 else
62048 sed 's/^ *//' >> tmp-stdint.h <<EOF
62050 /* Some systems have guard macros to prevent redefinitions, define them. */
62051 #ifndef _INT8_T
62052 #define _INT8_T
62053 #endif
62054 #ifndef _INT16_T
62055 #define _INT16_T
62056 #endif
62057 #ifndef _INT32_T
62058 #define _INT32_T
62059 #endif
62060 #ifndef _UINT8_T
62061 #define _UINT8_T
62062 #endif
62063 #ifndef _UINT16_T
62064 #define _UINT16_T
62065 #endif
62066 #ifndef _UINT32_T
62067 #define _UINT32_T
62068 #endif
62072 # ------------- done basic int types, emit int64_t types ------------
62073 if test "$ac_cv_type_uint64_t" = yes; then
62074 sed 's/^ *//' >> tmp-stdint.h <<EOF
62076 /* system headers have good uint64_t and int64_t */
62077 #ifndef _INT64_T
62078 #define _INT64_T
62079 #endif
62080 #ifndef _UINT64_T
62081 #define _UINT64_T
62082 #endif
62084 elif test "$ac_cv_type_u_int64_t" = yes; then
62085 sed 's/^ *//' >> tmp-stdint.h <<EOF
62087 /* system headers have an u_int64_t (and int64_t) */
62088 #ifndef _INT64_T
62089 #define _INT64_T
62090 #endif
62091 #ifndef _UINT64_T
62092 #define _UINT64_T
62093 #ifndef __uint64_t_defined
62094 #define __uint64_t_defined
62095 #ifndef uint64_t
62096 typedef u_int64_t uint64_t;
62097 #endif
62098 #endif
62099 #endif
62101 elif test -n "$acx_cv_type_int64_t"; then
62102 sed 's/^ *//' >> tmp-stdint.h <<EOF
62104 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62105 #ifndef _INT64_T
62106 #define _INT64_T
62107 #ifndef int64_t
62108 typedef $acx_cv_type_int64_t int64_t;
62109 #endif
62110 #endif
62111 #ifndef _UINT64_T
62112 #define _UINT64_T
62113 #ifndef __uint64_t_defined
62114 #define __uint64_t_defined
62115 #ifndef uint64_t
62116 typedef unsigned $acx_cv_type_int64_t uint64_t;
62117 #endif
62118 #endif
62119 #endif
62121 else
62122 sed 's/^ *//' >> tmp-stdint.h <<EOF
62124 /* some common heuristics for int64_t, using compiler-specific tests */
62125 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62126 #ifndef _INT64_T
62127 #define _INT64_T
62128 #ifndef __int64_t_defined
62129 #ifndef int64_t
62130 typedef long long int64_t;
62131 #endif
62132 #endif
62133 #endif
62134 #ifndef _UINT64_T
62135 #define _UINT64_T
62136 #ifndef uint64_t
62137 typedef unsigned long long uint64_t;
62138 #endif
62139 #endif
62141 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62142 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62143 does not implement __extension__. But that compiler doesn't define
62144 __GNUC_MINOR__. */
62145 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62146 # define __extension__
62147 # endif
62149 # ifndef _INT64_T
62150 # define _INT64_T
62151 # ifndef int64_t
62152 __extension__ typedef long long int64_t;
62153 # endif
62154 # endif
62155 # ifndef _UINT64_T
62156 # define _UINT64_T
62157 # ifndef uint64_t
62158 __extension__ typedef unsigned long long uint64_t;
62159 # endif
62160 # endif
62162 #elif !defined __STRICT_ANSI__
62163 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62165 # ifndef _INT64_T
62166 # define _INT64_T
62167 # ifndef int64_t
62168 typedef __int64 int64_t;
62169 # endif
62170 # endif
62171 # ifndef _UINT64_T
62172 # define _UINT64_T
62173 # ifndef uint64_t
62174 typedef unsigned __int64 uint64_t;
62175 # endif
62176 # endif
62177 # endif /* compiler */
62179 #endif /* ANSI version */
62183 # ------------- done int64_t types, emit intptr types ------------
62184 if test "$ac_cv_type_uintptr_t" != yes; then
62185 sed 's/^ *//' >> tmp-stdint.h <<EOF
62187 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62188 #ifndef __uintptr_t_defined
62189 #ifndef uintptr_t
62190 typedef u$acx_cv_type_intptr_t uintptr_t;
62191 #endif
62192 #endif
62193 #ifndef __intptr_t_defined
62194 #ifndef intptr_t
62195 typedef $acx_cv_type_intptr_t intptr_t;
62196 #endif
62197 #endif
62201 # ------------- done intptr types, emit int_least types ------------
62202 if test "$ac_cv_type_int_least32_t" != yes; then
62203 sed 's/^ *//' >> tmp-stdint.h <<EOF
62205 /* Define int_least types */
62206 typedef int8_t int_least8_t;
62207 typedef int16_t int_least16_t;
62208 typedef int32_t int_least32_t;
62209 #ifdef _INT64_T
62210 typedef int64_t int_least64_t;
62211 #endif
62213 typedef uint8_t uint_least8_t;
62214 typedef uint16_t uint_least16_t;
62215 typedef uint32_t uint_least32_t;
62216 #ifdef _UINT64_T
62217 typedef uint64_t uint_least64_t;
62218 #endif
62222 # ------------- done intptr types, emit int_fast types ------------
62223 if test "$ac_cv_type_int_fast32_t" != yes; then
62224 sed 's/^ *//' >> tmp-stdint.h <<EOF
62226 /* Define int_fast types. short is often slow */
62227 typedef int8_t int_fast8_t;
62228 typedef int int_fast16_t;
62229 typedef int32_t int_fast32_t;
62230 #ifdef _INT64_T
62231 typedef int64_t int_fast64_t;
62232 #endif
62234 typedef uint8_t uint_fast8_t;
62235 typedef unsigned int uint_fast16_t;
62236 typedef uint32_t uint_fast32_t;
62237 #ifdef _UINT64_T
62238 typedef uint64_t uint_fast64_t;
62239 #endif
62243 if test "$ac_cv_type_uintmax_t" != yes; then
62244 sed 's/^ *//' >> tmp-stdint.h <<EOF
62246 /* Define intmax based on what we found */
62247 #ifndef intmax_t
62248 #ifdef _INT64_T
62249 typedef int64_t intmax_t;
62250 #else
62251 typedef long intmax_t;
62252 #endif
62253 #endif
62254 #ifndef uintmax_t
62255 #ifdef _UINT64_T
62256 typedef uint64_t uintmax_t;
62257 #else
62258 typedef unsigned long uintmax_t;
62259 #endif
62260 #endif
62264 sed 's/^ *//' >> tmp-stdint.h <<EOF
62266 #endif /* GCC_GENERATED_STDINT_H */
62269 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62270 rm -f tmp-stdint.h
62271 else
62272 mv -f tmp-stdint.h include/gstdint.h
62276 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62277 "include/Makefile":F) cat > vpsed$$ << \_EOF
62278 s!`test -f '$<' || echo '$(srcdir)/'`!!
62279 _EOF
62280 sed -f vpsed$$ $ac_file > tmp$$
62281 mv tmp$$ $ac_file
62282 rm vpsed$$
62283 echo 'MULTISUBDIR =' >> $ac_file
62284 ml_norecursion=yes
62285 . ${multi_basedir}/config-ml.in
62286 { ml_norecursion=; unset ml_norecursion;}
62288 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62289 s!`test -f '$<' || echo '$(srcdir)/'`!!
62290 _EOF
62291 sed -f vpsed$$ $ac_file > tmp$$
62292 mv tmp$$ $ac_file
62293 rm vpsed$$
62294 echo 'MULTISUBDIR =' >> $ac_file
62295 ml_norecursion=yes
62296 . ${multi_basedir}/config-ml.in
62297 { ml_norecursion=; unset ml_norecursion;}
62299 "python/Makefile":F) cat > vpsed$$ << \_EOF
62300 s!`test -f '$<' || echo '$(srcdir)/'`!!
62301 _EOF
62302 sed -f vpsed$$ $ac_file > tmp$$
62303 mv tmp$$ $ac_file
62304 rm vpsed$$
62305 echo 'MULTISUBDIR =' >> $ac_file
62306 ml_norecursion=yes
62307 . ${multi_basedir}/config-ml.in
62308 { ml_norecursion=; unset ml_norecursion;}
62310 "src/Makefile":F) cat > vpsed$$ << \_EOF
62311 s!`test -f '$<' || echo '$(srcdir)/'`!!
62312 _EOF
62313 sed -f vpsed$$ $ac_file > tmp$$
62314 mv tmp$$ $ac_file
62315 rm vpsed$$
62316 echo 'MULTISUBDIR =' >> $ac_file
62317 ml_norecursion=yes
62318 . ${multi_basedir}/config-ml.in
62319 { ml_norecursion=; unset ml_norecursion;}
62321 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62322 s!`test -f '$<' || echo '$(srcdir)/'`!!
62323 _EOF
62324 sed -f vpsed$$ $ac_file > tmp$$
62325 mv tmp$$ $ac_file
62326 rm vpsed$$
62327 echo 'MULTISUBDIR =' >> $ac_file
62328 ml_norecursion=yes
62329 . ${multi_basedir}/config-ml.in
62330 { ml_norecursion=; unset ml_norecursion;}
62332 "po/Makefile":F) cat > vpsed$$ << \_EOF
62333 s!`test -f '$<' || echo '$(srcdir)/'`!!
62334 _EOF
62335 sed -f vpsed$$ $ac_file > tmp$$
62336 mv tmp$$ $ac_file
62337 rm vpsed$$
62338 echo 'MULTISUBDIR =' >> $ac_file
62339 ml_norecursion=yes
62340 . ${multi_basedir}/config-ml.in
62341 { ml_norecursion=; unset ml_norecursion;}
62343 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62344 s!`test -f '$<' || echo '$(srcdir)/'`!!
62345 _EOF
62346 sed -f vpsed$$ $ac_file > tmp$$
62347 mv tmp$$ $ac_file
62348 rm vpsed$$
62349 echo 'MULTISUBDIR =' >> $ac_file
62350 ml_norecursion=yes
62351 . ${multi_basedir}/config-ml.in
62352 { ml_norecursion=; unset ml_norecursion;}
62354 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62356 esac
62357 done # for ac_tag
62360 as_fn_exit 0
62361 _ACEOF
62362 ac_clean_files=$ac_clean_files_save
62364 test $ac_write_fail = 0 ||
62365 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62368 # configure is writing to config.log, and then calls config.status.
62369 # config.status does its own redirection, appending to config.log.
62370 # Unfortunately, on DOS this fails, as config.log is still kept open
62371 # by configure, so config.status won't be able to write to it; its
62372 # output is simply discarded. So we exec the FD to /dev/null,
62373 # effectively closing config.log, so it can be properly (re)opened and
62374 # appended to by config.status. When coming back to configure, we
62375 # need to make the FD available again.
62376 if test "$no_create" != yes; then
62377 ac_cs_success=:
62378 ac_config_status_args=
62379 test "$silent" = yes &&
62380 ac_config_status_args="$ac_config_status_args --quiet"
62381 exec 5>/dev/null
62382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62383 exec 5>>config.log
62384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62385 # would make configure fail if this is the last instruction.
62386 $ac_cs_success || as_fn_exit $?
62388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}