2010-12-20 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / libstdc++-v3 / configure
blob85ac9494e21ee740e42624dcb218b2aa99304c83
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_SOL2_FALSE
627 ENABLE_SYMVERS_SOL2_TRUE
628 ENABLE_SYMVERS_SUN_FALSE
629 ENABLE_SYMVERS_SUN_TRUE
630 ENABLE_SYMVERS_DARWIN_FALSE
631 ENABLE_SYMVERS_DARWIN_TRUE
632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
633 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
634 ENABLE_SYMVERS_GNU_FALSE
635 ENABLE_SYMVERS_GNU_TRUE
636 ENABLE_SYMVERS_FALSE
637 ENABLE_SYMVERS_TRUE
638 port_specific_symbol_files
639 SYMVER_FILE
640 CXXFILT
641 LTLIBICONV
642 LIBICONV
643 OPT_LDFLAGS
644 SECTION_LDFLAGS
645 GLIBCXX_LIBS
646 EXTRA_CXX_FLAGS
647 ENABLE_PARALLEL_FALSE
648 ENABLE_PARALLEL_TRUE
649 GLIBCXX_BUILD_DEBUG_FALSE
650 GLIBCXX_BUILD_DEBUG_TRUE
651 DEBUG_FLAGS
652 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
653 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
654 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
655 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
656 GLIBCXX_C_HEADERS_C_STD_FALSE
657 GLIBCXX_C_HEADERS_C_STD_TRUE
658 GLIBCXX_C_HEADERS_C_FALSE
659 GLIBCXX_C_HEADERS_C_TRUE
660 C_INCLUDE_DIR
661 ALLOCATOR_NAME
662 ALLOCATOR_H
663 CLOCALE_INTERNAL_H
664 CLOCALE_CC
665 CTIME_CC
666 CTIME_H
667 CNUMERIC_CC
668 CMONEY_CC
669 CMESSAGES_CC
670 CCTYPE_CC
671 CCOLLATE_CC
672 CCODECVT_CC
673 CMESSAGES_H
674 CLOCALE_H
675 USE_NLS
676 glibcxx_localedir
677 glibcxx_POFILES
678 glibcxx_MOFILES
679 check_msgfmt
680 BASIC_FILE_CC
681 BASIC_FILE_H
682 CSTDIO_H
683 SECTION_FLAGS
684 WERROR
685 glibcxx_thread_h
686 glibcxx_PCHFLAGS
687 GLIBCXX_BUILD_PCH_FALSE
688 GLIBCXX_BUILD_PCH_TRUE
689 GLIBCXX_HOSTED_FALSE
690 GLIBCXX_HOSTED_TRUE
691 enable_static
692 enable_shared
693 lt_host_flags
694 CXXCPP
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 OBJDUMP
702 ac_ct_DUMPBIN
703 DUMPBIN
705 FGREP
707 LIBTOOL
708 EGREP
709 GREP
711 MAINT
712 MAINTAINER_MODE_FALSE
713 MAINTAINER_MODE_TRUE
714 RANLIB
717 LN_S
718 toplevel_srcdir
719 glibcxx_srcdir
720 glibcxx_builddir
721 ac_ct_CXX
722 CXXFLAGS
724 OBJEXT
725 EXEEXT
726 ac_ct_CC
727 CPPFLAGS
728 LDFLAGS
729 CFLAGS
731 am__untar
732 am__tar
733 AMTAR
734 am__leading_dot
735 SET_MAKE
737 mkdir_p
738 MKDIR_P
739 INSTALL_STRIP_PROGRAM
740 STRIP
741 install_sh
742 MAKEINFO
743 AUTOHEADER
744 AUTOMAKE
745 AUTOCONF
746 ACLOCAL
747 VERSION
748 PACKAGE
749 CYGPATH_W
750 am__isrc
751 INSTALL_DATA
752 INSTALL_SCRIPT
753 INSTALL_PROGRAM
754 target_os
755 target_vendor
756 target_cpu
757 target
758 host_os
759 host_vendor
760 host_cpu
761 host
762 build_os
763 build_vendor
764 build_cpu
765 build
766 multi_basedir
767 libtool_VERSION
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_multilib
810 with_target_subdir
811 with_cross_host
812 with_newlib
813 enable_maintainer_mode
814 enable_shared
815 enable_static
816 with_pic
817 enable_fast_install
818 with_gnu_ld
819 enable_libtool_lock
820 enable_hosted_libstdcxx
821 enable_sjlj_exceptions
822 enable_libstdcxx_pch
823 enable_cstdio
824 enable_clocale
825 enable_nls
826 enable_libstdcxx_allocator
827 enable_cheaders
828 enable_long_long
829 enable_wchar_t
830 enable_c99
831 enable_concept_checks
832 enable_libstdcxx_debug_flags
833 enable_libstdcxx_debug
834 enable_cxx_flags
835 enable_fully_dynamic_string
836 enable_libstdcxx_time
837 enable_tls
838 enable_rpath
839 with_libiconv_prefix
840 with_system_libunwind
841 enable_linux_futex
842 enable_symvers
843 enable_visibility
844 with_gxx_include_dir
845 enable_version_specific_runtime_libs
847 ac_precious_vars='build_alias
848 host_alias
849 target_alias
851 CFLAGS
852 LDFLAGS
853 LIBS
854 CPPFLAGS
856 CXXFLAGS
859 CXXCPP
860 CXXFILT'
863 # Initialize some variables set by options.
864 ac_init_help=
865 ac_init_version=false
866 ac_unrecognized_opts=
867 ac_unrecognized_sep=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
870 cache_file=/dev/null
871 exec_prefix=NONE
872 no_create=
873 no_recursion=
874 prefix=NONE
875 program_prefix=NONE
876 program_suffix=NONE
877 program_transform_name=s,x,x,
878 silent=
879 site=
880 srcdir=
881 verbose=
882 x_includes=NONE
883 x_libraries=NONE
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir='${exec_prefix}/bin'
892 sbindir='${exec_prefix}/sbin'
893 libexecdir='${exec_prefix}/libexec'
894 datarootdir='${prefix}/share'
895 datadir='${datarootdir}'
896 sysconfdir='${prefix}/etc'
897 sharedstatedir='${prefix}/com'
898 localstatedir='${prefix}/var'
899 includedir='${prefix}/include'
900 oldincludedir='/usr/include'
901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir='${datarootdir}/info'
903 htmldir='${docdir}'
904 dvidir='${docdir}'
905 pdfdir='${docdir}'
906 psdir='${docdir}'
907 libdir='${exec_prefix}/lib'
908 localedir='${datarootdir}/locale'
909 mandir='${datarootdir}/man'
911 ac_prev=
912 ac_dashdash=
913 for ac_option
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\$ac_option
918 ac_prev=
919 continue
922 case $ac_option in
923 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 *) ac_optarg=yes ;;
925 esac
927 # Accept the important Cygnus configure options, so we can diagnose typos.
929 case $ac_dashdash$ac_option in
931 ac_dashdash=yes ;;
933 -bindir | --bindir | --bindi | --bind | --bin | --bi)
934 ac_prev=bindir ;;
935 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936 bindir=$ac_optarg ;;
938 -build | --build | --buil | --bui | --bu)
939 ac_prev=build_alias ;;
940 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
941 build_alias=$ac_optarg ;;
943 -cache-file | --cache-file | --cache-fil | --cache-fi \
944 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945 ac_prev=cache_file ;;
946 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948 cache_file=$ac_optarg ;;
950 --config-cache | -C)
951 cache_file=config.cache ;;
953 -datadir | --datadir | --datadi | --datad)
954 ac_prev=datadir ;;
955 -datadir=* | --datadir=* | --datadi=* | --datad=*)
956 datadir=$ac_optarg ;;
958 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959 | --dataroo | --dataro | --datar)
960 ac_prev=datarootdir ;;
961 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963 datarootdir=$ac_optarg ;;
965 -disable-* | --disable-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 as_fn_error "invalid feature name: $ac_useropt"
970 ac_useropt_orig=$ac_useropt
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
974 "enable_$ac_useropt"
975 "*) ;;
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
978 esac
979 eval enable_$ac_useropt=no ;;
981 -docdir | --docdir | --docdi | --doc | --do)
982 ac_prev=docdir ;;
983 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984 docdir=$ac_optarg ;;
986 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987 ac_prev=dvidir ;;
988 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989 dvidir=$ac_optarg ;;
991 -enable-* | --enable-*)
992 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995 as_fn_error "invalid feature name: $ac_useropt"
996 ac_useropt_orig=$ac_useropt
997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1000 "enable_$ac_useropt"
1001 "*) ;;
1002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003 ac_unrecognized_sep=', ';;
1004 esac
1005 eval enable_$ac_useropt=\$ac_optarg ;;
1007 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009 | --exec | --exe | --ex)
1010 ac_prev=exec_prefix ;;
1011 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013 | --exec=* | --exe=* | --ex=*)
1014 exec_prefix=$ac_optarg ;;
1016 -gas | --gas | --ga | --g)
1017 # Obsolete; use --with-gas.
1018 with_gas=yes ;;
1020 -help | --help | --hel | --he | -h)
1021 ac_init_help=long ;;
1022 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1023 ac_init_help=recursive ;;
1024 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1025 ac_init_help=short ;;
1027 -host | --host | --hos | --ho)
1028 ac_prev=host_alias ;;
1029 -host=* | --host=* | --hos=* | --ho=*)
1030 host_alias=$ac_optarg ;;
1032 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1033 ac_prev=htmldir ;;
1034 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1035 | --ht=*)
1036 htmldir=$ac_optarg ;;
1038 -includedir | --includedir | --includedi | --included | --include \
1039 | --includ | --inclu | --incl | --inc)
1040 ac_prev=includedir ;;
1041 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042 | --includ=* | --inclu=* | --incl=* | --inc=*)
1043 includedir=$ac_optarg ;;
1045 -infodir | --infodir | --infodi | --infod | --info | --inf)
1046 ac_prev=infodir ;;
1047 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048 infodir=$ac_optarg ;;
1050 -libdir | --libdir | --libdi | --libd)
1051 ac_prev=libdir ;;
1052 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1053 libdir=$ac_optarg ;;
1055 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056 | --libexe | --libex | --libe)
1057 ac_prev=libexecdir ;;
1058 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059 | --libexe=* | --libex=* | --libe=*)
1060 libexecdir=$ac_optarg ;;
1062 -localedir | --localedir | --localedi | --localed | --locale)
1063 ac_prev=localedir ;;
1064 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065 localedir=$ac_optarg ;;
1067 -localstatedir | --localstatedir | --localstatedi | --localstated \
1068 | --localstate | --localstat | --localsta | --localst | --locals)
1069 ac_prev=localstatedir ;;
1070 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072 localstatedir=$ac_optarg ;;
1074 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1075 ac_prev=mandir ;;
1076 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077 mandir=$ac_optarg ;;
1079 -nfp | --nfp | --nf)
1080 # Obsolete; use --without-fp.
1081 with_fp=no ;;
1083 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084 | --no-cr | --no-c | -n)
1085 no_create=yes ;;
1087 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089 no_recursion=yes ;;
1091 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093 | --oldin | --oldi | --old | --ol | --o)
1094 ac_prev=oldincludedir ;;
1095 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098 oldincludedir=$ac_optarg ;;
1100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1101 ac_prev=prefix ;;
1102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103 prefix=$ac_optarg ;;
1105 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1106 | --program-pre | --program-pr | --program-p)
1107 ac_prev=program_prefix ;;
1108 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1109 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110 program_prefix=$ac_optarg ;;
1112 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1113 | --program-suf | --program-su | --program-s)
1114 ac_prev=program_suffix ;;
1115 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1116 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117 program_suffix=$ac_optarg ;;
1119 -program-transform-name | --program-transform-name \
1120 | --program-transform-nam | --program-transform-na \
1121 | --program-transform-n | --program-transform- \
1122 | --program-transform | --program-transfor \
1123 | --program-transfo | --program-transf \
1124 | --program-trans | --program-tran \
1125 | --progr-tra | --program-tr | --program-t)
1126 ac_prev=program_transform_name ;;
1127 -program-transform-name=* | --program-transform-name=* \
1128 | --program-transform-nam=* | --program-transform-na=* \
1129 | --program-transform-n=* | --program-transform-=* \
1130 | --program-transform=* | --program-transfor=* \
1131 | --program-transfo=* | --program-transf=* \
1132 | --program-trans=* | --program-tran=* \
1133 | --progr-tra=* | --program-tr=* | --program-t=*)
1134 program_transform_name=$ac_optarg ;;
1136 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1137 ac_prev=pdfdir ;;
1138 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139 pdfdir=$ac_optarg ;;
1141 -psdir | --psdir | --psdi | --psd | --ps)
1142 ac_prev=psdir ;;
1143 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144 psdir=$ac_optarg ;;
1146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147 | -silent | --silent | --silen | --sile | --sil)
1148 silent=yes ;;
1150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1151 ac_prev=sbindir ;;
1152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1153 | --sbi=* | --sb=*)
1154 sbindir=$ac_optarg ;;
1156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158 | --sharedst | --shareds | --shared | --share | --shar \
1159 | --sha | --sh)
1160 ac_prev=sharedstatedir ;;
1161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1164 | --sha=* | --sh=*)
1165 sharedstatedir=$ac_optarg ;;
1167 -site | --site | --sit)
1168 ac_prev=site ;;
1169 -site=* | --site=* | --sit=*)
1170 site=$ac_optarg ;;
1172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1173 ac_prev=srcdir ;;
1174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175 srcdir=$ac_optarg ;;
1177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178 | --syscon | --sysco | --sysc | --sys | --sy)
1179 ac_prev=sysconfdir ;;
1180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182 sysconfdir=$ac_optarg ;;
1184 -target | --target | --targe | --targ | --tar | --ta | --t)
1185 ac_prev=target_alias ;;
1186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187 target_alias=$ac_optarg ;;
1189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 verbose=yes ;;
1192 -version | --version | --versio | --versi | --vers | -V)
1193 ac_init_version=: ;;
1195 -with-* | --with-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1204 "with_$ac_useropt"
1205 "*) ;;
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1208 esac
1209 eval with_$ac_useropt=\$ac_optarg ;;
1211 -without-* | --without-*)
1212 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215 as_fn_error "invalid package name: $ac_useropt"
1216 ac_useropt_orig=$ac_useropt
1217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1220 "with_$ac_useropt"
1221 "*) ;;
1222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep=', ';;
1224 esac
1225 eval with_$ac_useropt=no ;;
1227 --x)
1228 # Obsolete; use --with-x.
1229 with_x=yes ;;
1231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232 | --x-incl | --x-inc | --x-in | --x-i)
1233 ac_prev=x_includes ;;
1234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236 x_includes=$ac_optarg ;;
1238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240 ac_prev=x_libraries ;;
1241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243 x_libraries=$ac_optarg ;;
1245 -*) as_fn_error "unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information."
1249 *=*)
1250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' | [0-9]* | *[!_$as_cr_alnum]* )
1254 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1255 esac
1256 eval $ac_envvar=\$ac_optarg
1257 export $ac_envvar ;;
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1267 esac
1268 done
1270 if test -n "$ac_prev"; then
1271 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error "missing argument to $ac_option"
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1277 no) ;;
1278 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 esac
1283 # Check all directory arguments for consistency.
1284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir
1289 eval ac_val=\$$ac_var
1290 # Remove trailing slashes.
1291 case $ac_val in
1292 */ )
1293 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\$ac_val;;
1295 esac
1296 # Be sure to have absolute directory names.
1297 case $ac_val in
1298 [\\/$]* | ?:[\\/]* ) continue;;
1299 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1300 esac
1301 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1302 done
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1307 build=$build_alias
1308 host=$host_alias
1309 target=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x; then
1313 if test "x$build_alias" = x; then
1314 cross_compiling=maybe
1315 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1316 If a cross compiler is detected then cross compile mode will be used." >&2
1317 elif test "x$build_alias" != "x$host_alias"; then
1318 cross_compiling=yes
1322 ac_tool_prefix=
1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325 test "$silent" = yes && exec 6>/dev/null
1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di=`ls -di .` &&
1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error "working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error "pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 s//\1/
1350 /^X\(\/\/\)[^/].*/{
1351 s//\1/
1354 /^X\(\/\/\)$/{
1355 s//\1/
1358 /^X\(\/\).*/{
1359 s//\1/
1362 s/.*/./; q'`
1363 srcdir=$ac_confdir
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 srcdir=..
1367 else
1368 ac_srcdir_defaulted=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 ac_abs_confdir=`(
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1377 pwd)`
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 srcdir=.
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1385 case $srcdir in
1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 esac
1388 for ac_var in $ac_precious_vars; do
1389 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_${ac_var}_value=\$${ac_var}
1391 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393 done
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1401 cat <<_ACEOF
1402 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1411 Configuration:
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 [PREFIX]
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1455 _ACEOF
1457 cat <<\_ACEOF
1459 Program names:
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1464 System types:
1465 --build=BUILD configure for building on BUILD [guessed]
1466 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1467 --target=TARGET configure for building compilers for TARGET [HOST]
1468 _ACEOF
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive ) echo "Configuration of package-unused version-unused:";;
1474 esac
1475 cat <<\_ACEOF
1477 Optional Features:
1478 --disable-option-checking ignore unrecognized --enable/--with options
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --enable-multilib build many library versions (default)
1482 --enable-maintainer-mode enable make rules and dependencies not useful
1483 (and sometimes confusing) to the casual installer
1484 --enable-shared[=PKGS] build shared libraries [default=yes]
1485 --enable-static[=PKGS] build static libraries [default=yes]
1486 --enable-fast-install[=PKGS]
1487 optimize for fast installation [default=yes]
1488 --disable-libtool-lock avoid locking (might break parallel builds)
1489 --disable-hosted-libstdcxx
1490 only build freestanding C++ runtime support
1491 --enable-sjlj-exceptions
1492 force use of builtin_setjmp for exceptions
1493 [default=auto]
1494 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1495 [default=$is_hosted]
1496 --enable-cstdio[=PACKAGE]
1497 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]
1505 construct "C" headers for g++ [default=$c_model]
1506 --enable-long-long enable template specializations for 'long long'
1507 [default=yes]
1508 --enable-wchar_t enable template specializations for 'wchar_t'
1509 [default=yes]
1510 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1511 --enable-concept-checks use Boost-derived template checks [default=no]
1512 --enable-libstdcxx-debug-flags=FLAGS
1513 pass compiler FLAGS when building debug library
1514 [default="-g3 -O0"]
1515 --enable-libstdcxx-debug
1516 build extra debug library [default=no]
1517 --enable-cxx-flags=FLAGS
1518 pass compiler FLAGS when building library [default=]
1519 --enable-fully-dynamic-string
1520 do not put empty strings in per-process static
1521 memory [default=no]
1522 --enable-libstdcxx-time[=KIND]
1523 use KIND for check type [default=no]
1524 --enable-tls Use thread-local storage [default=yes]
1525 --disable-rpath do not hardcode runtime library paths
1526 --enable-linux-futex use the Linux futex system call [default=default]
1527 --enable-symvers[=STYLE]
1528 enables symbol versioning of the shared library
1529 [default=yes]
1530 --enable-visibility enables visibility safe usage [default=yes]
1531 --enable-version-specific-runtime-libs
1532 Specify that runtime libraries should be installed
1533 in a compiler-specific directory
1535 Optional Packages:
1536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538 --with-target-subdir=SUBDIR
1539 configuring in a subdirectory
1540 --with-cross-host=HOST configuring with a cross compiler
1541 --with-newlib assume newlib as a system C library
1542 --with-pic try to use only PIC/non-PIC objects [default=use
1543 both]
1544 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1545 --with-gnu-ld assume the C compiler uses GNU ld default=no
1546 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1547 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1548 --with-system-libunwind use installed libunwind
1549 --with-gxx-include-dir=DIR
1550 installation directory for include files
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1562 CPP C preprocessor
1563 CXXCPP C++ preprocessor
1564 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1565 `c++filt', `gc++filt' on PATH.
1567 Use these variables to override the choices made by `configure' or to help
1568 it to find libraries and programs with nonstandard names/locations.
1570 Report bugs to the package provider.
1571 _ACEOF
1572 ac_status=$?
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1578 test -d "$ac_dir" ||
1579 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1580 continue
1581 ac_builddir=.
1583 case "$ac_dir" in
1584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1587 # A ".." for each directory in $ac_dir_suffix.
1588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1589 case $ac_top_builddir_sub in
1590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1592 esac ;;
1593 esac
1594 ac_abs_top_builddir=$ac_pwd
1595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1596 # for backward compatibility:
1597 ac_top_builddir=$ac_top_build_prefix
1599 case $srcdir in
1600 .) # We are building in place.
1601 ac_srcdir=.
1602 ac_top_srcdir=$ac_top_builddir_sub
1603 ac_abs_top_srcdir=$ac_pwd ;;
1604 [\\/]* | ?:[\\/]* ) # Absolute name.
1605 ac_srcdir=$srcdir$ac_dir_suffix;
1606 ac_top_srcdir=$srcdir
1607 ac_abs_top_srcdir=$srcdir ;;
1608 *) # Relative name.
1609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1610 ac_top_srcdir=$ac_top_build_prefix$srcdir
1611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612 esac
1613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1615 cd "$ac_dir" || { ac_status=$?; continue; }
1616 # Check for guested configure.
1617 if test -f "$ac_srcdir/configure.gnu"; then
1618 echo &&
1619 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1620 elif test -f "$ac_srcdir/configure"; then
1621 echo &&
1622 $SHELL "$ac_srcdir/configure" --help=recursive
1623 else
1624 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625 fi || ac_status=$?
1626 cd "$ac_pwd" || { ac_status=$?; break; }
1627 done
1630 test -n "$ac_init_help" && exit $ac_status
1631 if $ac_init_version; then
1632 cat <<\_ACEOF
1633 package-unused configure version-unused
1634 generated by GNU Autoconf 2.64
1636 Copyright (C) 2009 Free Software Foundation, Inc.
1637 This configure script is free software; the Free Software Foundation
1638 gives unlimited permission to copy, distribute and modify it.
1639 _ACEOF
1640 exit
1643 ## ------------------------ ##
1644 ## Autoconf initialization. ##
1645 ## ------------------------ ##
1647 # ac_fn_c_try_compile LINENO
1648 # --------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_c_try_compile ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 rm -f conftest.$ac_objext
1654 if { { ac_try="$ac_compile"
1655 case "(($ac_try" in
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1658 esac
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1662 ac_status=$?
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_c_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.$ac_objext; then :
1673 ac_retval=0
1674 else
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1678 ac_retval=1
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 return $ac_retval
1683 } # ac_fn_c_try_compile
1685 # ac_fn_cxx_try_compile LINENO
1686 # ----------------------------
1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_cxx_try_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext
1692 if { { ac_try="$ac_compile"
1693 case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1696 esac
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_compile") 2>conftest.err
1700 ac_status=$?
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_cxx_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest.$ac_objext; then :
1711 ac_retval=0
1712 else
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1716 ac_retval=1
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 return $ac_retval
1721 } # ac_fn_cxx_try_compile
1723 # ac_fn_c_try_cpp LINENO
1724 # ----------------------
1725 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_cpp ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_cpp conftest.$ac_ext"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } >/dev/null && {
1745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 }; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=1
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1758 } # ac_fn_c_try_cpp
1760 # ac_fn_c_try_link LINENO
1761 # -----------------------
1762 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_link ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext conftest$ac_exeext
1767 if { { ac_try="$ac_link"
1768 case "(($ac_try" in
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1771 esac
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>conftest.err
1775 ac_status=$?
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest$ac_exeext && {
1786 test "$cross_compiling" = yes ||
1787 $as_test_x conftest$ac_exeext
1788 }; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 ac_retval=1
1796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1798 # interfere with the next link command; also delete a directory that is
1799 # left behind by Apple's compiler. We do this before executing the actions.
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802 return $ac_retval
1804 } # ac_fn_c_try_link
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1821 #include <$2>
1822 _ACEOF
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 eval "$3=yes"
1825 else
1826 eval "$3=no"
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 eval ac_res=\$$3
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_c_try_run LINENO
1838 # ----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1840 # that executables *can* be run.
1841 ac_fn_c_try_run ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_link"
1845 case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>&5
1852 ac_status=$?
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1855 { { case "(($ac_try" in
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_try") 2>&5
1862 ac_status=$?
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; }; }; then :
1865 ac_retval=0
1866 else
1867 $as_echo "$as_me: program exited with status $ac_status" >&5
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1871 ac_retval=$ac_status
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 return $ac_retval
1877 } # ac_fn_c_try_run
1879 # ac_fn_c_check_func LINENO FUNC VAR
1880 # ----------------------------------
1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1882 ac_fn_c_check_func ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1888 $as_echo_n "(cached) " >&6
1889 else
1890 if test x$gcc_no_link = xyes; then
1891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1904 #ifdef __STDC__
1905 # include <limits.h>
1906 #else
1907 # include <assert.h>
1908 #endif
1910 #undef $2
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1915 #ifdef __cplusplus
1916 extern "C"
1917 #endif
1918 char $2 ();
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1923 choke me
1924 #endif
1927 main ()
1929 return $2 ();
1931 return 0;
1933 _ACEOF
1934 if ac_fn_c_try_link "$LINENO"; then :
1935 eval "$3=yes"
1936 else
1937 eval "$3=no"
1939 rm -f core conftest.err conftest.$ac_objext \
1940 conftest$ac_exeext conftest.$ac_ext
1942 eval ac_res=\$$3
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 } # ac_fn_c_check_func
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp ()
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 if { { ac_try="$ac_cpp conftest.$ac_ext"
1956 case "(($ac_try" in
1957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1959 esac
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1963 ac_status=$?
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } >/dev/null && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1973 }; then :
1974 ac_retval=0
1975 else
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1979 ac_retval=1
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982 return $ac_retval
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 rm -f conftest.$ac_objext conftest$ac_exeext
1993 if { { ac_try="$ac_link"
1994 case "(($ac_try" in
1995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1997 esac
1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2001 ac_status=$?
2002 if test -s conftest.err; then
2003 grep -v '^ *+' conftest.err >conftest.er1
2004 cat conftest.er1 >&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 $as_test_x conftest$ac_exeext
2014 }; then :
2015 ac_retval=0
2016 else
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2020 ac_retval=1
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2028 return $ac_retval
2030 } # ac_fn_cxx_try_link
2032 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # -------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2036 # accordingly.
2037 ac_fn_c_check_header_mongrel ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2044 $as_echo_n "(cached) " >&6
2046 eval ac_res=\$$3
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 else
2050 # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2056 #include <$2>
2057 _ACEOF
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059 ac_header_compiler=yes
2060 else
2061 ac_header_compiler=no
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2072 #include <$2>
2073 _ACEOF
2074 if ac_fn_c_try_cpp "$LINENO"; then :
2075 ac_header_preproc=yes
2076 else
2077 ac_header_preproc=no
2079 rm -f conftest.err conftest.$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2085 yes:no: )
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2091 no:yes:* )
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 esac
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2105 $as_echo_n "checking for $2... " >&6; }
2106 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2107 $as_echo_n "(cached) " >&6
2108 else
2109 eval "$3=\$ac_header_compiler"
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2115 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117 } # ac_fn_c_check_header_mongrel
2119 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2120 # ---------------------------------------------------------
2121 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2122 # the include files in INCLUDES and setting the cache variable VAR
2123 # accordingly.
2124 ac_fn_cxx_check_header_mongrel ()
2126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2131 $as_echo_n "(cached) " >&6
2133 eval ac_res=\$$3
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 else
2137 # Is the header compilable?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2139 $as_echo_n "checking $2 usability... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2143 #include <$2>
2144 _ACEOF
2145 if ac_fn_cxx_try_compile "$LINENO"; then :
2146 ac_header_compiler=yes
2147 else
2148 ac_header_compiler=no
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2152 $as_echo "$ac_header_compiler" >&6; }
2154 # Is the header present?
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2156 $as_echo_n "checking $2 presence... " >&6; }
2157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2159 #include <$2>
2160 _ACEOF
2161 if ac_fn_cxx_try_cpp "$LINENO"; then :
2162 ac_header_preproc=yes
2163 else
2164 ac_header_preproc=no
2166 rm -f conftest.err conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2168 $as_echo "$ac_header_preproc" >&6; }
2170 # So? What about this header?
2171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2172 yes:no: )
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2174 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2178 no:yes:* )
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2180 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2182 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2184 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2186 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2188 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2190 esac
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2192 $as_echo_n "checking for $2... " >&6; }
2193 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2194 $as_echo_n "(cached) " >&6
2195 else
2196 eval "$3=\$ac_header_compiler"
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2202 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2204 } # ac_fn_cxx_check_header_mongrel
2206 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2207 # --------------------------------------------
2208 # Tries to find the compile-time value of EXPR in a program that includes
2209 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2210 # computed
2211 ac_fn_c_compute_int ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 if test "$cross_compiling" = yes; then
2215 # Depending upon the size, compute the lo and hi bounds.
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2220 main ()
2222 static int test_array [1 - 2 * !(($2) >= 0)];
2223 test_array [0] = 0
2226 return 0;
2228 _ACEOF
2229 if ac_fn_c_try_compile "$LINENO"; then :
2230 ac_lo=0 ac_mid=0
2231 while :; do
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2236 main ()
2238 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2239 test_array [0] = 0
2242 return 0;
2244 _ACEOF
2245 if ac_fn_c_try_compile "$LINENO"; then :
2246 ac_hi=$ac_mid; break
2247 else
2248 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2249 if test $ac_lo -le $ac_mid; then
2250 ac_lo= ac_hi=
2251 break
2253 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2256 done
2257 else
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2262 main ()
2264 static int test_array [1 - 2 * !(($2) < 0)];
2265 test_array [0] = 0
2268 return 0;
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=-1 ac_mid=-1
2273 while :; do
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2278 main ()
2280 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2281 test_array [0] = 0
2284 return 0;
2286 _ACEOF
2287 if ac_fn_c_try_compile "$LINENO"; then :
2288 ac_lo=$ac_mid; break
2289 else
2290 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2291 if test $ac_mid -le $ac_hi; then
2292 ac_lo= ac_hi=
2293 break
2295 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2298 done
2299 else
2300 ac_lo= ac_hi=
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 # Binary search between lo and hi bounds.
2306 while test "x$ac_lo" != "x$ac_hi"; do
2307 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2312 main ()
2314 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315 test_array [0] = 0
2318 return 0;
2320 _ACEOF
2321 if ac_fn_c_try_compile "$LINENO"; then :
2322 ac_hi=$ac_mid
2323 else
2324 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327 done
2328 case $ac_lo in #((
2329 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2330 '') ac_retval=1 ;;
2331 esac
2332 else
2333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h. */
2336 static long int longval () { return $2; }
2337 static unsigned long int ulongval () { return $2; }
2338 #include <stdio.h>
2339 #include <stdlib.h>
2341 main ()
2344 FILE *f = fopen ("conftest.val", "w");
2345 if (! f)
2346 return 1;
2347 if (($2) < 0)
2349 long int i = longval ();
2350 if (i != ($2))
2351 return 1;
2352 fprintf (f, "%ld", i);
2354 else
2356 unsigned long int i = ulongval ();
2357 if (i != ($2))
2358 return 1;
2359 fprintf (f, "%lu", i);
2361 /* Do not output a trailing newline, as this causes \r\n confusion
2362 on some platforms. */
2363 return ferror (f) || fclose (f) != 0;
2366 return 0;
2368 _ACEOF
2369 if ac_fn_c_try_run "$LINENO"; then :
2370 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2371 else
2372 ac_retval=1
2374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2375 conftest.$ac_objext conftest.beam conftest.$ac_ext
2376 rm -f conftest.val
2379 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2380 return $ac_retval
2382 } # ac_fn_c_compute_int
2384 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2385 # -------------------------------------------
2386 # Tests whether TYPE exists after having included INCLUDES, setting cache
2387 # variable VAR accordingly.
2388 ac_fn_c_check_type ()
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2392 $as_echo_n "checking for $2... " >&6; }
2393 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2394 $as_echo_n "(cached) " >&6
2395 else
2396 eval "$3=no"
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2401 main ()
2403 if (sizeof ($2))
2404 return 0;
2406 return 0;
2408 _ACEOF
2409 if ac_fn_c_try_compile "$LINENO"; then :
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2414 main ()
2416 if (sizeof (($2)))
2417 return 0;
2419 return 0;
2421 _ACEOF
2422 if ac_fn_c_try_compile "$LINENO"; then :
2424 else
2425 eval "$3=yes"
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2431 eval ac_res=\$$3
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2433 $as_echo "$ac_res" >&6; }
2434 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 } # ac_fn_c_check_type
2437 cat >config.log <<_ACEOF
2438 This file contains any messages produced by compilers while
2439 running configure, to aid debugging if configure makes a mistake.
2441 It was created by package-unused $as_me version-unused, which was
2442 generated by GNU Autoconf 2.64. Invocation command line was
2444 $ $0 $@
2446 _ACEOF
2447 exec 5>>config.log
2449 cat <<_ASUNAME
2450 ## --------- ##
2451 ## Platform. ##
2452 ## --------- ##
2454 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2455 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2456 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2457 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2458 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2460 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2461 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2463 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2464 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2465 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2466 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2467 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2468 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2469 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2471 _ASUNAME
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 $as_echo "PATH: $as_dir"
2479 done
2480 IFS=$as_save_IFS
2482 } >&5
2484 cat >&5 <<_ACEOF
2487 ## ----------- ##
2488 ## Core tests. ##
2489 ## ----------- ##
2491 _ACEOF
2494 # Keep a trace of the command line.
2495 # Strip out --no-create and --no-recursion so they do not pile up.
2496 # Strip out --silent because we don't want to record it for future runs.
2497 # Also quote any args containing shell meta-characters.
2498 # Make two passes to allow for proper duplicate-argument suppression.
2499 ac_configure_args=
2500 ac_configure_args0=
2501 ac_configure_args1=
2502 ac_must_keep_next=false
2503 for ac_pass in 1 2
2505 for ac_arg
2507 case $ac_arg in
2508 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2510 | -silent | --silent | --silen | --sile | --sil)
2511 continue ;;
2512 *\'*)
2513 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 esac
2515 case $ac_pass in
2516 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2518 as_fn_append ac_configure_args1 " '$ac_arg'"
2519 if test $ac_must_keep_next = true; then
2520 ac_must_keep_next=false # Got value, back to normal.
2521 else
2522 case $ac_arg in
2523 *=* | --config-cache | -C | -disable-* | --disable-* \
2524 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2525 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2526 | -with-* | --with-* | -without-* | --without-* | --x)
2527 case "$ac_configure_args0 " in
2528 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2529 esac
2531 -* ) ac_must_keep_next=true ;;
2532 esac
2534 as_fn_append ac_configure_args " '$ac_arg'"
2536 esac
2537 done
2538 done
2539 { ac_configure_args0=; unset ac_configure_args0;}
2540 { ac_configure_args1=; unset ac_configure_args1;}
2542 # When interrupted or exit'd, cleanup temporary files, and complete
2543 # config.log. We remove comments because anyway the quotes in there
2544 # would cause problems or look ugly.
2545 # WARNING: Use '\'' to represent an apostrophe within the trap.
2546 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2547 trap 'exit_status=$?
2548 # Save into config.log some information that might help in debugging.
2550 echo
2552 cat <<\_ASBOX
2553 ## ---------------- ##
2554 ## Cache variables. ##
2555 ## ---------------- ##
2556 _ASBOX
2557 echo
2558 # The following way of writing the cache mishandles newlines in values,
2560 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2561 eval ac_val=\$$ac_var
2562 case $ac_val in #(
2563 *${as_nl}*)
2564 case $ac_var in #(
2565 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2567 esac
2568 case $ac_var in #(
2569 _ | IFS | as_nl) ;; #(
2570 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2571 *) { eval $ac_var=; unset $ac_var;} ;;
2572 esac ;;
2573 esac
2574 done
2575 (set) 2>&1 |
2576 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2577 *${as_nl}ac_space=\ *)
2578 sed -n \
2579 "s/'\''/'\''\\\\'\'''\''/g;
2580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2581 ;; #(
2583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2585 esac |
2586 sort
2588 echo
2590 cat <<\_ASBOX
2591 ## ----------------- ##
2592 ## Output variables. ##
2593 ## ----------------- ##
2594 _ASBOX
2595 echo
2596 for ac_var in $ac_subst_vars
2598 eval ac_val=\$$ac_var
2599 case $ac_val in
2600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2601 esac
2602 $as_echo "$ac_var='\''$ac_val'\''"
2603 done | sort
2604 echo
2606 if test -n "$ac_subst_files"; then
2607 cat <<\_ASBOX
2608 ## ------------------- ##
2609 ## File substitutions. ##
2610 ## ------------------- ##
2611 _ASBOX
2612 echo
2613 for ac_var in $ac_subst_files
2615 eval ac_val=\$$ac_var
2616 case $ac_val in
2617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2618 esac
2619 $as_echo "$ac_var='\''$ac_val'\''"
2620 done | sort
2621 echo
2624 if test -s confdefs.h; then
2625 cat <<\_ASBOX
2626 ## ----------- ##
2627 ## confdefs.h. ##
2628 ## ----------- ##
2629 _ASBOX
2630 echo
2631 cat confdefs.h
2632 echo
2634 test "$ac_signal" != 0 &&
2635 $as_echo "$as_me: caught signal $ac_signal"
2636 $as_echo "$as_me: exit $exit_status"
2637 } >&5
2638 rm -f core *.core core.conftest.* &&
2639 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2640 exit $exit_status
2642 for ac_signal in 1 2 13 15; do
2643 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2644 done
2645 ac_signal=0
2647 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2648 rm -f -r conftest* confdefs.h
2650 $as_echo "/* confdefs.h */" > confdefs.h
2652 # Predefined preprocessor variables.
2654 cat >>confdefs.h <<_ACEOF
2655 #define PACKAGE_NAME "$PACKAGE_NAME"
2656 _ACEOF
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2660 _ACEOF
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2664 _ACEOF
2666 cat >>confdefs.h <<_ACEOF
2667 #define PACKAGE_STRING "$PACKAGE_STRING"
2668 _ACEOF
2670 cat >>confdefs.h <<_ACEOF
2671 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2672 _ACEOF
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_URL "$PACKAGE_URL"
2676 _ACEOF
2679 # Let the site file select an alternate cache file if it wants to.
2680 # Prefer an explicitly selected file to automatically selected ones.
2681 ac_site_file1=NONE
2682 ac_site_file2=NONE
2683 if test -n "$CONFIG_SITE"; then
2684 ac_site_file1=$CONFIG_SITE
2685 elif test "x$prefix" != xNONE; then
2686 ac_site_file1=$prefix/share/config.site
2687 ac_site_file2=$prefix/etc/config.site
2688 else
2689 ac_site_file1=$ac_default_prefix/share/config.site
2690 ac_site_file2=$ac_default_prefix/etc/config.site
2692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2694 test "x$ac_site_file" = xNONE && continue
2695 if test -r "$ac_site_file"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2698 sed 's/^/| /' "$ac_site_file" >&5
2699 . "$ac_site_file"
2701 done
2703 if test -r "$cache_file"; then
2704 # Some versions of bash will fail to source /dev/null (special
2705 # files actually), so we avoid doing that.
2706 if test -f "$cache_file"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2708 $as_echo "$as_me: loading cache $cache_file" >&6;}
2709 case $cache_file in
2710 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2711 *) . "./$cache_file";;
2712 esac
2714 else
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2716 $as_echo "$as_me: creating cache $cache_file" >&6;}
2717 >$cache_file
2720 # Check that the precious variables saved in the cache have kept the same
2721 # value.
2722 ac_cache_corrupted=false
2723 for ac_var in $ac_precious_vars; do
2724 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2725 eval ac_new_set=\$ac_env_${ac_var}_set
2726 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2727 eval ac_new_val=\$ac_env_${ac_var}_value
2728 case $ac_old_set,$ac_new_set in
2729 set,)
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2732 ac_cache_corrupted=: ;;
2733 ,set)
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2735 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2736 ac_cache_corrupted=: ;;
2737 ,);;
2739 if test "x$ac_old_val" != "x$ac_new_val"; then
2740 # differences in whitespace do not lead to failure.
2741 ac_old_val_w=`echo x $ac_old_val`
2742 ac_new_val_w=`echo x $ac_new_val`
2743 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2745 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2746 ac_cache_corrupted=:
2747 else
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2749 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2750 eval $ac_var=\$ac_old_val
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2753 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2755 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2756 fi;;
2757 esac
2758 # Pass precious variables to config.status.
2759 if test "$ac_new_set" = set; then
2760 case $ac_new_val in
2761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2762 *) ac_arg=$ac_var=$ac_new_val ;;
2763 esac
2764 case " $ac_configure_args " in
2765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2766 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2767 esac
2769 done
2770 if $ac_cache_corrupted; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2774 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2775 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2777 ## -------------------- ##
2778 ## Main body of script. ##
2779 ## -------------------- ##
2781 ac_ext=c
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792 ac_config_headers="$ac_config_headers config.h"
2795 # This works around the fact that libtool configuration may change LD
2796 # for this particular configuration, but some shells, instead of
2797 # keeping the changes in LD private, export them just because LD is
2798 # exported. Only used at the end of this file.
2799 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2801 # For libtool versioning info, format is CURRENT:REVISION:AGE
2802 libtool_VERSION=6:15:0
2805 # Find the rest of the source tree framework.
2806 # Default to --enable-multilib
2807 # Check whether --enable-multilib was given.
2808 if test "${enable_multilib+set}" = set; then :
2809 enableval=$enable_multilib; case "$enableval" in
2810 yes) multilib=yes ;;
2811 no) multilib=no ;;
2812 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2813 esac
2814 else
2815 multilib=yes
2819 # We may get other options which we leave undocumented:
2820 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2821 # See config-ml.in if you want the gory details.
2823 if test "$srcdir" = "."; then
2824 if test "$with_target_subdir" != "."; then
2825 multi_basedir="$srcdir/$with_multisrctop../.."
2826 else
2827 multi_basedir="$srcdir/$with_multisrctop.."
2829 else
2830 multi_basedir="$srcdir/.."
2834 # Even if the default multilib is not a cross compilation,
2835 # it may be that some of the other multilibs are.
2836 if test $cross_compiling = no && test $multilib = yes \
2837 && test "x${with_multisubdir}" != x ; then
2838 cross_compiling=maybe
2841 ac_config_commands="$ac_config_commands default-1"
2844 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2846 # You will slowly go insane if you do not grok the following fact: when
2847 # building v3 as part of the compiler, the top-level /target/ becomes the
2848 # library's /host/. configure then causes --target to default to --host,
2849 # exactly like any other package using autoconf. Therefore, 'target' and
2850 # 'host' will always be the same. This makes sense both for native and
2851 # cross compilers, just think about it for a little while. :-)
2853 # Also, if v3 is being configured as part of a cross compiler, the top-level
2854 # configure script will pass the "real" host as $with_cross_host.
2856 # Do not delete or change the following two lines. For why, see
2857 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2858 ac_aux_dir=
2859 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2860 for ac_t in install-sh install.sh shtool; do
2861 if test -f "$ac_dir/$ac_t"; then
2862 ac_aux_dir=$ac_dir
2863 ac_install_sh="$ac_aux_dir/$ac_t -c"
2864 break 2
2866 done
2867 done
2868 if test -z "$ac_aux_dir"; then
2869 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2872 # These three variables are undocumented and unsupported,
2873 # and are intended to be withdrawn in a future Autoconf release.
2874 # They can cause serious problems if a builder's source tree is in a directory
2875 # whose full name contains unusual characters.
2876 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2877 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2878 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2881 # Make sure we can run config.sub.
2882 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2883 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2886 $as_echo_n "checking build system type... " >&6; }
2887 if test "${ac_cv_build+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 ac_build_alias=$build_alias
2891 test "x$ac_build_alias" = x &&
2892 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2893 test "x$ac_build_alias" = x &&
2894 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2896 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2900 $as_echo "$ac_cv_build" >&6; }
2901 case $ac_cv_build in
2902 *-*-*) ;;
2903 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2904 esac
2905 build=$ac_cv_build
2906 ac_save_IFS=$IFS; IFS='-'
2907 set x $ac_cv_build
2908 shift
2909 build_cpu=$1
2910 build_vendor=$2
2911 shift; shift
2912 # Remember, the first character of IFS is used to create $*,
2913 # except with old shells:
2914 build_os=$*
2915 IFS=$ac_save_IFS
2916 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2920 $as_echo_n "checking host system type... " >&6; }
2921 if test "${ac_cv_host+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2924 if test "x$host_alias" = x; then
2925 ac_cv_host=$ac_cv_build
2926 else
2927 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2928 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2933 $as_echo "$ac_cv_host" >&6; }
2934 case $ac_cv_host in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2937 esac
2938 host=$ac_cv_host
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_host
2941 shift
2942 host_cpu=$1
2943 host_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 host_os=$*
2948 IFS=$ac_save_IFS
2949 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2953 $as_echo_n "checking target system type... " >&6; }
2954 if test "${ac_cv_target+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$target_alias" = x; then
2958 ac_cv_target=$ac_cv_host
2959 else
2960 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2966 $as_echo "$ac_cv_target" >&6; }
2967 case $ac_cv_target in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2970 esac
2971 target=$ac_cv_target
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_target
2974 shift
2975 target_cpu=$1
2976 target_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 target_os=$*
2981 IFS=$ac_save_IFS
2982 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2985 # The aliases save the names the user supplied, while $host etc.
2986 # will get canonicalized.
2987 test -n "$target_alias" &&
2988 test "$program_prefix$program_suffix$program_transform_name" = \
2989 NONENONEs,x,x, &&
2990 program_prefix=${target_alias}-
2992 target_alias=${target_alias-$host_alias}
2994 # Handy for debugging:
2995 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2997 if test "$build" != "$host"; then
2998 # We are being configured with some form of cross compiler.
2999 GLIBCXX_IS_NATIVE=false
3000 case "$host","$target" in
3001 # Darwin crosses can use the host system's libraries and headers,
3002 # because of the fat library support. Of course, it must be the
3003 # same version of Darwin on both sides. Allow the user to
3004 # just say --target=foo-darwin without a version number to mean
3005 # "the version on this system".
3006 *-*-darwin*,*-*-darwin*)
3007 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3008 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3009 if test $hostos = $targetos -o $targetos = darwin ; then
3010 GLIBCXX_IS_NATIVE=true
3017 esac
3018 else
3019 GLIBCXX_IS_NATIVE=true
3022 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3023 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3024 # 1.x: minimum required version
3025 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3026 # of other PACKAGE_* variables will, however, and there's nothing
3027 # we can do about that; they come from AC_INIT).
3028 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3029 # file in the top srcdir, etc, etc), so stop complaining.
3030 # no-dependencies: turns off auto dependency generation (just for now)
3031 # no-dist: we don't want 'dist' and related rules.
3032 # -Wall: turns on all automake warnings...
3033 # -Wno-portability: ...except this one, since GNU make is now required.
3034 am__api_version='1.11'
3036 # Find a good install program. We prefer a C program (faster),
3037 # so one script is as good as another. But avoid the broken or
3038 # incompatible versions:
3039 # SysV /etc/install, /usr/sbin/install
3040 # SunOS /usr/etc/install
3041 # IRIX /sbin/install
3042 # AIX /bin/install
3043 # AmigaOS /C/install, which installs bootblocks on floppy discs
3044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3047 # OS/2's system install, which has a completely different semantic
3048 # ./install, which can be erroneously created by make from ./install.sh.
3049 # Reject install programs that cannot install multiple files.
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3051 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3052 if test -z "$INSTALL"; then
3053 if test "${ac_cv_path_install+set}" = set; then :
3054 $as_echo_n "(cached) " >&6
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 # Account for people who put trailing slashes in PATH elements.
3062 case $as_dir/ in #((
3063 ./ | .// | /[cC]/* | \
3064 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3065 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3066 /usr/ucb/* ) ;;
3068 # OSF1 and SCO ODT 3.0 have their own names for install.
3069 # Don't use installbsd from OSF since it installs stuff as root
3070 # by default.
3071 for ac_prog in ginstall scoinst install; do
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3074 if test $ac_prog = install &&
3075 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3076 # AIX install. It has an incompatible calling convention.
3078 elif test $ac_prog = install &&
3079 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3080 # program-specific install script used by HP pwplus--don't use.
3082 else
3083 rm -rf conftest.one conftest.two conftest.dir
3084 echo one > conftest.one
3085 echo two > conftest.two
3086 mkdir conftest.dir
3087 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3088 test -s conftest.one && test -s conftest.two &&
3089 test -s conftest.dir/conftest.one &&
3090 test -s conftest.dir/conftest.two
3091 then
3092 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3093 break 3
3097 done
3098 done
3100 esac
3102 done
3103 IFS=$as_save_IFS
3105 rm -rf conftest.one conftest.two conftest.dir
3108 if test "${ac_cv_path_install+set}" = set; then
3109 INSTALL=$ac_cv_path_install
3110 else
3111 # As a last resort, use the slow shell script. Don't cache a
3112 # value for INSTALL within a source directory, because that will
3113 # break other packages using the cache if that directory is
3114 # removed, or if the value is a relative name.
3115 INSTALL=$ac_install_sh
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3119 $as_echo "$INSTALL" >&6; }
3121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3122 # It thinks the first close brace ends the variable substitution.
3123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3130 $as_echo_n "checking whether build environment is sane... " >&6; }
3131 # Just in case
3132 sleep 1
3133 echo timestamp > conftest.file
3134 # Reject unsafe characters in $srcdir or the absolute working directory
3135 # name. Accept space and tab only in the latter.
3136 am_lf='
3138 case `pwd` in
3139 *[\\\"\#\$\&\'\`$am_lf]*)
3140 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3141 esac
3142 case $srcdir in
3143 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3144 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3145 esac
3147 # Do `set' in a subshell so we don't clobber the current shell's
3148 # arguments. Must try -L first in case configure is actually a
3149 # symlink; some systems play weird games with the mod time of symlinks
3150 # (eg FreeBSD returns the mod time of the symlink's containing
3151 # directory).
3152 if (
3153 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3154 if test "$*" = "X"; then
3155 # -L didn't work.
3156 set X `ls -t "$srcdir/configure" conftest.file`
3158 rm -f conftest.file
3159 if test "$*" != "X $srcdir/configure conftest.file" \
3160 && test "$*" != "X conftest.file $srcdir/configure"; then
3162 # If neither matched, then we have a broken ls. This can happen
3163 # if, for instance, CONFIG_SHELL is bash and it inherits a
3164 # broken ls alias from the environment. This has actually
3165 # happened. Such a system could not be considered "sane".
3166 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3167 alias in your environment" "$LINENO" 5
3170 test "$2" = conftest.file
3172 then
3173 # Ok.
3175 else
3176 as_fn_error "newly created file is older than distributed files!
3177 Check your system clock" "$LINENO" 5
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3180 $as_echo "yes" >&6; }
3181 test "$program_prefix" != NONE &&
3182 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3183 # Use a double $ so make ignores it.
3184 test "$program_suffix" != NONE &&
3185 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3186 # Double any \ or $.
3187 # By default was `s,x,x', remove it if useless.
3188 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3189 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3191 # expand $ac_aux_dir to an absolute path
3192 am_aux_dir=`cd $ac_aux_dir && pwd`
3194 if test x"${MISSING+set}" != xset; then
3195 case $am_aux_dir in
3196 *\ * | *\ *)
3197 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3199 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3200 esac
3202 # Use eval to expand $SHELL
3203 if eval "$MISSING --run true"; then
3204 am_missing_run="$MISSING --run "
3205 else
3206 am_missing_run=
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3208 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3211 if test x"${install_sh}" != xset; then
3212 case $am_aux_dir in
3213 *\ * | *\ *)
3214 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3216 install_sh="\${SHELL} $am_aux_dir/install-sh"
3217 esac
3220 # Installed binaries are usually stripped using `strip' when the user
3221 # run `make install-strip'. However `strip' might not be the right
3222 # tool to use in cross-compilation environments, therefore Automake
3223 # will honor the `STRIP' environment variable to overrule this program.
3224 if test "$cross_compiling" != no; then
3225 if test -n "$ac_tool_prefix"; then
3226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3227 set dummy ${ac_tool_prefix}strip; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_STRIP+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 if test -n "$STRIP"; then
3234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3239 IFS=$as_save_IFS
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 break 2
3247 done
3248 done
3249 IFS=$as_save_IFS
3253 STRIP=$ac_cv_prog_STRIP
3254 if test -n "$STRIP"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3256 $as_echo "$STRIP" >&6; }
3257 else
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3264 if test -z "$ac_cv_prog_STRIP"; then
3265 ac_ct_STRIP=$STRIP
3266 # Extract the first word of "strip", so it can be a program name with args.
3267 set dummy strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$ac_ct_STRIP"; then
3274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_ac_ct_STRIP="strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3294 if test -n "$ac_ct_STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3296 $as_echo "$ac_ct_STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3302 if test "x$ac_ct_STRIP" = x; then
3303 STRIP=":"
3304 else
3305 case $cross_compiling:$ac_tool_warned in
3306 yes:)
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309 ac_tool_warned=yes ;;
3310 esac
3311 STRIP=$ac_ct_STRIP
3313 else
3314 STRIP="$ac_cv_prog_STRIP"
3318 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3321 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3322 if test -z "$MKDIR_P"; then
3323 if test "${ac_cv_path_mkdir+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 for ac_prog in mkdir gmkdir; do
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3334 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3335 'mkdir (GNU coreutils) '* | \
3336 'mkdir (coreutils) '* | \
3337 'mkdir (fileutils) '4.1*)
3338 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3339 break 3;;
3340 esac
3341 done
3342 done
3343 done
3344 IFS=$as_save_IFS
3348 if test "${ac_cv_path_mkdir+set}" = set; then
3349 MKDIR_P="$ac_cv_path_mkdir -p"
3350 else
3351 # As a last resort, use the slow shell script. Don't cache a
3352 # value for MKDIR_P within a source directory, because that will
3353 # break other packages using the cache if that directory is
3354 # removed, or if the value is a relative name.
3355 test -d ./--version && rmdir ./--version
3356 MKDIR_P="$ac_install_sh -d"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3360 $as_echo "$MKDIR_P" >&6; }
3362 mkdir_p="$MKDIR_P"
3363 case $mkdir_p in
3364 [\\/$]* | ?:[\\/]*) ;;
3365 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3366 esac
3368 for ac_prog in gawk mawk nawk awk
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy $ac_prog; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if test "${ac_cv_prog_AWK+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 if test -n "$AWK"; then
3378 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3379 else
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH
3383 IFS=$as_save_IFS
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_AWK="$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 break 2
3391 done
3392 done
3393 IFS=$as_save_IFS
3397 AWK=$ac_cv_prog_AWK
3398 if test -n "$AWK"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3400 $as_echo "$AWK" >&6; }
3401 else
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$AWK" && break
3408 done
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3411 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3412 set x ${MAKE-make}
3413 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3414 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 cat >conftest.make <<\_ACEOF
3418 SHELL = /bin/sh
3419 all:
3420 @echo '@@@%%%=$(MAKE)=@@@%%%'
3421 _ACEOF
3422 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3423 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3424 *@@@%%%=?*=@@@%%%*)
3425 eval ac_cv_prog_make_${ac_make}_set=yes;;
3427 eval ac_cv_prog_make_${ac_make}_set=no;;
3428 esac
3429 rm -f conftest.make
3431 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3433 $as_echo "yes" >&6; }
3434 SET_MAKE=
3435 else
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3438 SET_MAKE="MAKE=${MAKE-make}"
3441 rm -rf .tst 2>/dev/null
3442 mkdir .tst 2>/dev/null
3443 if test -d .tst; then
3444 am__leading_dot=.
3445 else
3446 am__leading_dot=_
3448 rmdir .tst 2>/dev/null
3450 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3451 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3452 # is not polluted with repeated "-I."
3453 am__isrc=' -I$(srcdir)'
3454 # test to see if srcdir already configured
3455 if test -f $srcdir/config.status; then
3456 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3460 # test whether we have cygpath
3461 if test -z "$CYGPATH_W"; then
3462 if (cygpath --version) >/dev/null 2>/dev/null; then
3463 CYGPATH_W='cygpath -w'
3464 else
3465 CYGPATH_W=echo
3470 # Define the identity of the package.
3471 PACKAGE='libstdc++'
3472 VERSION='version-unused'
3475 # Some tools Automake needs.
3477 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3480 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3483 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3486 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3489 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3491 # We need awk for the "check" target. The system "awk" is bad on
3492 # some platforms.
3493 # Always define AMTAR for backward compatibility.
3495 AMTAR=${AMTAR-"${am_missing_run}tar"}
3497 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3506 # -fno-builtin must be present here so that a non-conflicting form of
3507 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3509 save_CXXFLAGS="$CXXFLAGS"
3510 CXXFLAGS="$CXXFLAGS -fno-builtin"
3511 ac_ext=c
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if test "${ac_cv_prog_CC+set}" = set; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 else
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 break 2
3538 done
3539 done
3540 IFS=$as_save_IFS
3544 CC=$ac_cv_prog_CC
3545 if test -n "$CC"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3547 $as_echo "$CC" >&6; }
3548 else
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3555 if test -z "$ac_cv_prog_CC"; then
3556 ac_ct_CC=$CC
3557 # Extract the first word of "gcc", so it can be a program name with args.
3558 set dummy gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$ac_ct_CC"; then
3565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_ac_ct_CC="gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3593 if test "x$ac_ct_CC" = x; then
3594 CC=""
3595 else
3596 case $cross_compiling:$ac_tool_warned in
3597 yes:)
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned=yes ;;
3601 esac
3602 CC=$ac_ct_CC
3604 else
3605 CC="$ac_cv_prog_CC"
3608 if test -z "$CC"; then
3609 if test -n "$ac_tool_prefix"; then
3610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3611 set dummy ${ac_tool_prefix}cc; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_CC+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$CC"; then
3618 ac_cv_prog_CC="$CC" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_CC="${ac_tool_prefix}cc"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 CC=$ac_cv_prog_CC
3638 if test -n "$CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3649 if test -z "$CC"; then
3650 # Extract the first word of "cc", so it can be a program name with args.
3651 set dummy cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 ac_prog_rejected=no
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3669 ac_prog_rejected=yes
3670 continue
3672 ac_cv_prog_CC="cc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 break 2
3676 done
3677 done
3678 IFS=$as_save_IFS
3680 if test $ac_prog_rejected = yes; then
3681 # We found a bogon in the path, so make sure we never use it.
3682 set dummy $ac_cv_prog_CC
3683 shift
3684 if test $# != 0; then
3685 # We chose a different compiler from the bogus one.
3686 # However, it has the same basename, so the bogon will be chosen
3687 # first if we set CC to just the basename; use the full file name.
3688 shift
3689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3698 else
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3705 if test -z "$CC"; then
3706 if test -n "$ac_tool_prefix"; then
3707 for ac_prog in cl.exe
3709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if test "${ac_cv_prog_CC+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 break 2
3730 done
3731 done
3732 IFS=$as_save_IFS
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3746 test -n "$CC" && break
3747 done
3749 if test -z "$CC"; then
3750 ac_ct_CC=$CC
3751 for ac_prog in cl.exe
3753 # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy $ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -n "$ac_ct_CC"; then
3761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_ac_ct_CC="$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3774 done
3775 done
3776 IFS=$as_save_IFS
3780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3781 if test -n "$ac_ct_CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3783 $as_echo "$ac_ct_CC" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$ac_ct_CC" && break
3791 done
3793 if test "x$ac_ct_CC" = x; then
3794 CC=""
3795 else
3796 case $cross_compiling:$ac_tool_warned in
3797 yes:)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3801 esac
3802 CC=$ac_ct_CC
3809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error "no acceptable C compiler found in \$PATH
3812 See \`config.log' for more details." "$LINENO" 5; }
3814 # Provide some information about the compiler.
3815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3816 set X $ac_compile
3817 ac_compiler=$2
3818 for ac_option in --version -v -V -qversion; do
3819 { { ac_try="$ac_compiler $ac_option >&5"
3820 case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3827 ac_status=$?
3828 if test -s conftest.err; then
3829 sed '10a\
3830 ... rest of stderr output deleted ...
3831 10q' conftest.err >conftest.er1
3832 cat conftest.er1 >&5
3833 rm -f conftest.er1 conftest.err
3835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836 test $ac_status = 0; }
3837 done
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3843 main ()
3847 return 0;
3849 _ACEOF
3850 # FIXME: Cleanup?
3851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3852 (eval $ac_link) 2>&5
3853 ac_status=$?
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }; then :
3856 gcc_no_link=no
3857 else
3858 gcc_no_link=yes
3860 if test x$gcc_no_link = xyes; then
3861 # Setting cross_compile will disable run tests; it will
3862 # also disable AC_CHECK_FILE but that's generally
3863 # correct if we can't link.
3864 cross_compiling=yes
3865 EXEEXT=
3866 else
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3871 main ()
3875 return 0;
3877 _ACEOF
3878 ac_clean_files_save=$ac_clean_files
3879 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3880 # Try to create an executable without -o first, disregard a.out.
3881 # It will help us diagnose broken compilers, and finding out an intuition
3882 # of exeext.
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3884 $as_echo_n "checking for C compiler default output file name... " >&6; }
3885 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3887 # The possible output files:
3888 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3890 ac_rmfiles=
3891 for ac_file in $ac_files
3893 case $ac_file in
3894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3895 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3896 esac
3897 done
3898 rm -f $ac_rmfiles
3900 if { { ac_try="$ac_link_default"
3901 case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3904 esac
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_link_default") 2>&5
3908 ac_status=$?
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; }; then :
3911 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3912 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3913 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3914 # so that the user can short-circuit this test for compilers unknown to
3915 # Autoconf.
3916 for ac_file in $ac_files ''
3918 test -f "$ac_file" || continue
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3922 [ab].out )
3923 # We found the default executable, but exeext='' is most
3924 # certainly right.
3925 break;;
3926 *.* )
3927 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3928 then :; else
3929 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3931 # We set ac_cv_exeext here because the later test for it is not
3932 # safe: cross compilers may not add the suffix if given an `-o'
3933 # argument, so we may need to know it at that point already.
3934 # Even if this section looks crufty: it has the advantage of
3935 # actually working.
3936 break;;
3938 break;;
3939 esac
3940 done
3941 test "$ac_cv_exeext" = no && ac_cv_exeext=
3943 else
3944 ac_file=''
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3947 $as_echo "$ac_file" >&6; }
3948 if test -z "$ac_file"; then :
3949 $as_echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.$ac_ext >&5
3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 { as_fn_set_status 77
3955 as_fn_error "C compiler cannot create executables
3956 See \`config.log' for more details." "$LINENO" 5; }; }
3958 ac_exeext=$ac_cv_exeext
3960 # Check that the compiler produces executables we can run. If not, either
3961 # the compiler is broken, or we cross compile.
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3963 $as_echo_n "checking whether the C compiler works... " >&6; }
3964 # If not cross compiling, check that we can run a simple program.
3965 if test "$cross_compiling" != yes; then
3966 if { ac_try='./$ac_file'
3967 { { case "(($ac_try" in
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3970 esac
3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973 (eval "$ac_try") 2>&5
3974 ac_status=$?
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; }; then
3977 cross_compiling=no
3978 else
3979 if test "$cross_compiling" = maybe; then
3980 cross_compiling=yes
3981 else
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error "cannot run C compiled programs.
3985 If you meant to cross compile, use \`--host'.
3986 See \`config.log' for more details." "$LINENO" 5; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3991 $as_echo "yes" >&6; }
3993 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3994 ac_clean_files=$ac_clean_files_save
3995 # Check that the compiler produces executables we can run. If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3998 $as_echo_n "checking whether we are cross compiling... " >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4000 $as_echo "$cross_compiling" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4003 $as_echo_n "checking for suffix of executables... " >&6; }
4004 if { { ac_try="$ac_link"
4005 case "(($ac_try" in
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4008 esac
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_link") 2>&5
4012 ac_status=$?
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; then :
4015 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4016 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4017 # work properly (i.e., refer to `conftest.exe'), while it won't with
4018 # `rm'.
4019 for ac_file in conftest.exe conftest conftest.*; do
4020 test -f "$ac_file" || continue
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 break;;
4025 * ) break;;
4026 esac
4027 done
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot compute suffix of executables: cannot compile and link
4032 See \`config.log' for more details." "$LINENO" 5; }
4034 rm -f conftest$ac_cv_exeext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4036 $as_echo "$ac_cv_exeext" >&6; }
4038 rm -f conftest.$ac_ext
4039 EXEEXT=$ac_cv_exeext
4040 ac_exeext=$EXEEXT
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4043 $as_echo_n "checking for suffix of object files... " >&6; }
4044 if test "${ac_cv_objext+set}" = set; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 main ()
4055 return 0;
4057 _ACEOF
4058 rm -f conftest.o conftest.obj
4059 if { { ac_try="$ac_compile"
4060 case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_compile") 2>&5
4067 ac_status=$?
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; then :
4070 for ac_file in conftest.o conftest.obj conftest.*; do
4071 test -f "$ac_file" || continue;
4072 case $ac_file in
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4074 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4075 break;;
4076 esac
4077 done
4078 else
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error "cannot compute suffix of object files: cannot compile
4085 See \`config.log' for more details." "$LINENO" 5; }
4087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4090 $as_echo "$ac_cv_objext" >&6; }
4091 OBJEXT=$ac_cv_objext
4092 ac_objext=$OBJEXT
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4094 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4095 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4102 main ()
4104 #ifndef __GNUC__
4105 choke me
4106 #endif
4109 return 0;
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 ac_compiler_gnu=yes
4114 else
4115 ac_compiler_gnu=no
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4122 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4123 if test $ac_compiler_gnu = yes; then
4124 GCC=yes
4125 else
4126 GCC=
4128 ac_test_CFLAGS=${CFLAGS+set}
4129 ac_save_CFLAGS=$CFLAGS
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4131 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4132 if test "${ac_cv_prog_cc_g+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 ac_save_c_werror_flag=$ac_c_werror_flag
4136 ac_c_werror_flag=yes
4137 ac_cv_prog_cc_g=no
4138 CFLAGS="-g"
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 ac_cv_prog_cc_g=yes
4152 else
4153 CFLAGS=""
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4162 return 0;
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4167 else
4168 ac_c_werror_flag=$ac_save_c_werror_flag
4169 CFLAGS="-g"
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_cv_prog_cc_g=yes
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 ac_c_werror_flag=$ac_save_c_werror_flag
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4192 $as_echo "$ac_cv_prog_cc_g" >&6; }
4193 if test "$ac_test_CFLAGS" = set; then
4194 CFLAGS=$ac_save_CFLAGS
4195 elif test $ac_cv_prog_cc_g = yes; then
4196 if test "$GCC" = yes; then
4197 CFLAGS="-g -O2"
4198 else
4199 CFLAGS="-g"
4201 else
4202 if test "$GCC" = yes; then
4203 CFLAGS="-O2"
4204 else
4205 CFLAGS=
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4210 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 ac_cv_prog_cc_c89=no
4214 ac_save_CC=$CC
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <stdarg.h>
4218 #include <stdio.h>
4219 #include <sys/types.h>
4220 #include <sys/stat.h>
4221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4222 struct buf { int x; };
4223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4224 static char *e (p, i)
4225 char **p;
4226 int i;
4228 return p[i];
4230 static char *f (char * (*g) (char **, int), char **p, ...)
4232 char *s;
4233 va_list v;
4234 va_start (v,p);
4235 s = g (p, va_arg (v,int));
4236 va_end (v);
4237 return s;
4240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4241 function prototypes and stuff, but not '\xHH' hex character constants.
4242 These don't provoke an error unfortunately, instead are silently treated
4243 as 'x'. The following induces an error, until -std is added to get
4244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4245 array size at least. It's necessary to write '\x00'==0 to get something
4246 that's true only with -std. */
4247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4250 inside strings and character constants. */
4251 #define FOO(x) 'x'
4252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4254 int test (int i, double x);
4255 struct s1 {int (*f) (int a);};
4256 struct s2 {int (*f) (double a);};
4257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 int argc;
4259 char **argv;
4261 main ()
4263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4265 return 0;
4267 _ACEOF
4268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4271 CC="$ac_save_CC $ac_arg"
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 ac_cv_prog_cc_c89=$ac_arg
4275 rm -f core conftest.err conftest.$ac_objext
4276 test "x$ac_cv_prog_cc_c89" != "xno" && break
4277 done
4278 rm -f conftest.$ac_ext
4279 CC=$ac_save_CC
4282 # AC_CACHE_VAL
4283 case "x$ac_cv_prog_cc_c89" in
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4286 $as_echo "none needed" >&6; } ;;
4287 xno)
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4289 $as_echo "unsupported" >&6; } ;;
4291 CC="$CC $ac_cv_prog_cc_c89"
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4294 esac
4295 if test "x$ac_cv_prog_cc_c89" != xno; then :
4299 ac_ext=c
4300 ac_cpp='$CPP $CPPFLAGS'
4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4305 ac_ext=cpp
4306 ac_cpp='$CXXCPP $CPPFLAGS'
4307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4310 if test -z "$CXX"; then
4311 if test -n "$CCC"; then
4312 CXX=$CCC
4313 else
4314 if test -n "$ac_tool_prefix"; then
4315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_prog_CXX+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 if test -n "$CXX"; then
4325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4326 else
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 for as_dir in $PATH
4330 IFS=$as_save_IFS
4331 test -z "$as_dir" && as_dir=.
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 break 2
4338 done
4339 done
4340 IFS=$as_save_IFS
4344 CXX=$ac_cv_prog_CXX
4345 if test -n "$CXX"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4347 $as_echo "$CXX" >&6; }
4348 else
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4354 test -n "$CXX" && break
4355 done
4357 if test -z "$CXX"; then
4358 ac_ct_CXX=$CXX
4359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4361 # Extract the first word of "$ac_prog", so it can be a program name with args.
4362 set dummy $ac_prog; ac_word=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 if test -n "$ac_ct_CXX"; then
4369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4370 else
4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH
4374 IFS=$as_save_IFS
4375 test -z "$as_dir" && as_dir=.
4376 for ac_exec_ext in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_ac_ct_CXX="$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 break 2
4382 done
4383 done
4384 IFS=$as_save_IFS
4388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4389 if test -n "$ac_ct_CXX"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4391 $as_echo "$ac_ct_CXX" >&6; }
4392 else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4398 test -n "$ac_ct_CXX" && break
4399 done
4401 if test "x$ac_ct_CXX" = x; then
4402 CXX="g++"
4403 else
4404 case $cross_compiling:$ac_tool_warned in
4405 yes:)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4408 ac_tool_warned=yes ;;
4409 esac
4410 CXX=$ac_ct_CXX
4416 # Provide some information about the compiler.
4417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4418 set X $ac_compile
4419 ac_compiler=$2
4420 for ac_option in --version -v -V -qversion; do
4421 { { ac_try="$ac_compiler $ac_option >&5"
4422 case "(($ac_try" in
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4425 esac
4426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4427 $as_echo "$ac_try_echo"; } >&5
4428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4429 ac_status=$?
4430 if test -s conftest.err; then
4431 sed '10a\
4432 ... rest of stderr output deleted ...
4433 10q' conftest.err >conftest.er1
4434 cat conftest.er1 >&5
4435 rm -f conftest.er1 conftest.err
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 done
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4443 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4450 main ()
4452 #ifndef __GNUC__
4453 choke me
4454 #endif
4457 return 0;
4459 _ACEOF
4460 if ac_fn_cxx_try_compile "$LINENO"; then :
4461 ac_compiler_gnu=yes
4462 else
4463 ac_compiler_gnu=no
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4471 if test $ac_compiler_gnu = yes; then
4472 GXX=yes
4473 else
4474 GXX=
4476 ac_test_CXXFLAGS=${CXXFLAGS+set}
4477 ac_save_CXXFLAGS=$CXXFLAGS
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4480 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4484 ac_cxx_werror_flag=yes
4485 ac_cv_prog_cxx_g=no
4486 CXXFLAGS="-g"
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_cxx_try_compile "$LINENO"; then :
4499 ac_cv_prog_cxx_g=yes
4500 else
4501 CXXFLAGS=""
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 if ac_fn_cxx_try_compile "$LINENO"; then :
4515 else
4516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4517 CXXFLAGS="-g"
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4522 main ()
4526 return 0;
4528 _ACEOF
4529 if ac_fn_cxx_try_compile "$LINENO"; then :
4530 ac_cv_prog_cxx_g=yes
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4541 if test "$ac_test_CXXFLAGS" = set; then
4542 CXXFLAGS=$ac_save_CXXFLAGS
4543 elif test $ac_cv_prog_cxx_g = yes; then
4544 if test "$GXX" = yes; then
4545 CXXFLAGS="-g -O2"
4546 else
4547 CXXFLAGS="-g"
4549 else
4550 if test "$GXX" = yes; then
4551 CXXFLAGS="-O2"
4552 else
4553 CXXFLAGS=
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 CXXFLAGS="$save_CXXFLAGS"
4564 # Runs configure.host, and assorted other critical bits. Sets
4565 # up critical shell variables.
4567 ac_ext=c
4568 ac_cpp='$CPP $CPPFLAGS'
4569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4574 # On Suns, sometimes $CPP names a directory.
4575 if test -n "$CPP" && test -d "$CPP"; then
4576 CPP=
4578 if test -z "$CPP"; then
4579 if test "${ac_cv_prog_CPP+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 # Double quotes because CPP needs to be expanded
4583 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4585 ac_preproc_ok=false
4586 for ac_c_preproc_warn_flag in '' yes
4588 # Use a header file that comes with gcc, so configuring glibc
4589 # with a fresh cross-compiler works.
4590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4591 # <limits.h> exists even on freestanding compilers.
4592 # On the NeXT, cc -E runs the code through the compiler's parser,
4593 # not just through cpp. "Syntax error" is here to catch this case.
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4596 #ifdef __STDC__
4597 # include <limits.h>
4598 #else
4599 # include <assert.h>
4600 #endif
4601 Syntax error
4602 _ACEOF
4603 if ac_fn_c_try_cpp "$LINENO"; then :
4605 else
4606 # Broken: fails on valid input.
4607 continue
4609 rm -f conftest.err conftest.$ac_ext
4611 # OK, works on sane cases. Now check whether nonexistent headers
4612 # can be detected and how.
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4615 #include <ac_nonexistent.h>
4616 _ACEOF
4617 if ac_fn_c_try_cpp "$LINENO"; then :
4618 # Broken: success on invalid input.
4619 continue
4620 else
4621 # Passes both tests.
4622 ac_preproc_ok=:
4623 break
4625 rm -f conftest.err conftest.$ac_ext
4627 done
4628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4629 rm -f conftest.err conftest.$ac_ext
4630 if $ac_preproc_ok; then :
4631 break
4634 done
4635 ac_cv_prog_CPP=$CPP
4638 CPP=$ac_cv_prog_CPP
4639 else
4640 ac_cv_prog_CPP=$CPP
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4643 $as_echo "$CPP" >&6; }
4644 ac_preproc_ok=false
4645 for ac_c_preproc_warn_flag in '' yes
4647 # Use a header file that comes with gcc, so configuring glibc
4648 # with a fresh cross-compiler works.
4649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4650 # <limits.h> exists even on freestanding compilers.
4651 # On the NeXT, cc -E runs the code through the compiler's parser,
4652 # not just through cpp. "Syntax error" is here to catch this case.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4660 Syntax error
4661 _ACEOF
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4664 else
4665 # Broken: fails on valid input.
4666 continue
4668 rm -f conftest.err conftest.$ac_ext
4670 # OK, works on sane cases. Now check whether nonexistent headers
4671 # can be detected and how.
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4674 #include <ac_nonexistent.h>
4675 _ACEOF
4676 if ac_fn_c_try_cpp "$LINENO"; then :
4677 # Broken: success on invalid input.
4678 continue
4679 else
4680 # Passes both tests.
4681 ac_preproc_ok=:
4682 break
4684 rm -f conftest.err conftest.$ac_ext
4686 done
4687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688 rm -f conftest.err conftest.$ac_ext
4689 if $ac_preproc_ok; then :
4691 else
4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4695 See \`config.log' for more details." "$LINENO" 5; }
4698 ac_ext=c
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4707 if test "${ac_cv_path_GREP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 if test -z "$GREP"; then
4711 ac_path_GREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in grep ggrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4722 # Check for GNU ac_path_GREP and select it if it is found.
4723 # Check for GNU $ac_path_GREP
4724 case `"$ac_path_GREP" --version 2>&1` in
4725 *GNU*)
4726 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4728 ac_count=0
4729 $as_echo_n 0123456789 >"conftest.in"
4730 while :
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 $as_echo 'GREP' >> "conftest.nl"
4736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 as_fn_arith $ac_count + 1 && ac_count=$as_val
4739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_GREP="$ac_path_GREP"
4742 ac_path_GREP_max=$ac_count
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4746 done
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4748 esac
4750 $ac_path_GREP_found && break 3
4751 done
4752 done
4753 done
4754 IFS=$as_save_IFS
4755 if test -z "$ac_cv_path_GREP"; then
4756 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4758 else
4759 ac_cv_path_GREP=$GREP
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4764 $as_echo "$ac_cv_path_GREP" >&6; }
4765 GREP="$ac_cv_path_GREP"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4769 $as_echo_n "checking for egrep... " >&6; }
4770 if test "${ac_cv_path_EGREP+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4774 then ac_cv_path_EGREP="$GREP -E"
4775 else
4776 if test -z "$EGREP"; then
4777 ac_path_EGREP_found=false
4778 # Loop through the user's path and test for each of PROGNAME-LIST
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4782 IFS=$as_save_IFS
4783 test -z "$as_dir" && as_dir=.
4784 for ac_prog in egrep; do
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4787 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4788 # Check for GNU ac_path_EGREP and select it if it is found.
4789 # Check for GNU $ac_path_EGREP
4790 case `"$ac_path_EGREP" --version 2>&1` in
4791 *GNU*)
4792 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4794 ac_count=0
4795 $as_echo_n 0123456789 >"conftest.in"
4796 while :
4798 cat "conftest.in" "conftest.in" >"conftest.tmp"
4799 mv "conftest.tmp" "conftest.in"
4800 cp "conftest.in" "conftest.nl"
4801 $as_echo 'EGREP' >> "conftest.nl"
4802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804 as_fn_arith $ac_count + 1 && ac_count=$as_val
4805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4806 # Best one so far, save it but keep looking for a better one
4807 ac_cv_path_EGREP="$ac_path_EGREP"
4808 ac_path_EGREP_max=$ac_count
4810 # 10*(2^10) chars as input seems more than enough
4811 test $ac_count -gt 10 && break
4812 done
4813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 esac
4816 $ac_path_EGREP_found && break 3
4817 done
4818 done
4819 done
4820 IFS=$as_save_IFS
4821 if test -z "$ac_cv_path_EGREP"; then
4822 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4824 else
4825 ac_cv_path_EGREP=$EGREP
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4831 $as_echo "$ac_cv_path_EGREP" >&6; }
4832 EGREP="$ac_cv_path_EGREP"
4836 # Keep these sync'd with the list in Makefile.am. The first provides an
4837 # expandable list at autoconf time; the second provides an expandable list
4838 # (i.e., shell variable) at configure time.
4840 SUBDIRS='include libsupc++ python src doc po testsuite'
4842 # These need to be absolute paths, yet at the same time need to
4843 # canonicalize only relative paths, because then amd will not unmount
4844 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4845 glibcxx_builddir=`${PWDCMD-pwd}`
4846 case $srcdir in
4847 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4848 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4849 esac
4850 toplevel_srcdir=${glibcxx_srcdir}/..
4855 # We use these options to decide which functions to include. They are
4856 # set from the top level.
4858 # Check whether --with-target-subdir was given.
4859 if test "${with_target_subdir+set}" = set; then :
4860 withval=$with_target_subdir;
4865 # Check whether --with-cross-host was given.
4866 if test "${with_cross_host+set}" = set; then :
4867 withval=$with_cross_host;
4872 # Check whether --with-newlib was given.
4873 if test "${with_newlib+set}" = set; then :
4874 withval=$with_newlib;
4878 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4879 # available). Uncomment the next line to force a particular method.
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4881 $as_echo_n "checking whether ln -s works... " >&6; }
4882 LN_S=$as_ln_s
4883 if test "$LN_S" = "ln -s"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4885 $as_echo "yes" >&6; }
4886 else
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4888 $as_echo "no, using $LN_S" >&6; }
4891 #LN_S='cp -p'
4893 if test -n "$ac_tool_prefix"; then
4894 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4895 set dummy ${ac_tool_prefix}as; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_AS+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$AS"; then
4902 ac_cv_prog_AS="$AS" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_AS="${ac_tool_prefix}as"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4915 done
4916 done
4917 IFS=$as_save_IFS
4921 AS=$ac_cv_prog_AS
4922 if test -n "$AS"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4924 $as_echo "$AS" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4932 if test -z "$ac_cv_prog_AS"; then
4933 ac_ct_AS=$AS
4934 # Extract the first word of "as", so it can be a program name with args.
4935 set dummy as; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 if test -n "$ac_ct_AS"; then
4942 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_ac_ct_AS="as"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4962 if test -n "$ac_ct_AS"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4964 $as_echo "$ac_ct_AS" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4970 if test "x$ac_ct_AS" = x; then
4971 AS=""
4972 else
4973 case $cross_compiling:$ac_tool_warned in
4974 yes:)
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned=yes ;;
4978 esac
4979 AS=$ac_ct_AS
4981 else
4982 AS="$ac_cv_prog_AS"
4985 if test -n "$ac_tool_prefix"; then
4986 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4987 set dummy ${ac_tool_prefix}ar; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if test "${ac_cv_prog_AR+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$AR"; then
4994 ac_cv_prog_AR="$AR" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003 ac_cv_prog_AR="${ac_tool_prefix}ar"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 AR=$ac_cv_prog_AR
5014 if test -n "$AR"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5016 $as_echo "$AR" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5024 if test -z "$ac_cv_prog_AR"; then
5025 ac_ct_AR=$AR
5026 # Extract the first word of "ar", so it can be a program name with args.
5027 set dummy ar; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$ac_ct_AR"; then
5034 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_ac_ct_AR="ar"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5054 if test -n "$ac_ct_AR"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5056 $as_echo "$ac_ct_AR" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5062 if test "x$ac_ct_AR" = x; then
5063 AR=""
5064 else
5065 case $cross_compiling:$ac_tool_warned in
5066 yes:)
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5070 esac
5071 AR=$ac_ct_AR
5073 else
5074 AR="$ac_cv_prog_AR"
5077 if test -n "$ac_tool_prefix"; then
5078 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5079 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$RANLIB"; then
5086 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 RANLIB=$ac_cv_prog_RANLIB
5106 if test -n "$RANLIB"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5108 $as_echo "$RANLIB" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5116 if test -z "$ac_cv_prog_RANLIB"; then
5117 ac_ct_RANLIB=$RANLIB
5118 # Extract the first word of "ranlib", so it can be a program name with args.
5119 set dummy ranlib; ac_word=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5124 else
5125 if test -n "$ac_ct_RANLIB"; then
5126 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_ac_ct_RANLIB="ranlib"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5146 if test -n "$ac_ct_RANLIB"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5148 $as_echo "$ac_ct_RANLIB" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5154 if test "x$ac_ct_RANLIB" = x; then
5155 RANLIB="ranlib-not-found-in-path-error"
5156 else
5157 case $cross_compiling:$ac_tool_warned in
5158 yes:)
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5161 ac_tool_warned=yes ;;
5162 esac
5163 RANLIB=$ac_ct_RANLIB
5165 else
5166 RANLIB="$ac_cv_prog_RANLIB"
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5172 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5173 # Check whether --enable-maintainer-mode was given.
5174 if test "${enable_maintainer_mode+set}" = set; then :
5175 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5176 else
5177 USE_MAINTAINER_MODE=no
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5181 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5182 if test $USE_MAINTAINER_MODE = yes; then
5183 MAINTAINER_MODE_TRUE=
5184 MAINTAINER_MODE_FALSE='#'
5185 else
5186 MAINTAINER_MODE_TRUE='#'
5187 MAINTAINER_MODE_FALSE=
5190 MAINT=$MAINTAINER_MODE_TRUE
5194 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5195 # which are themselves conditionally expanded.
5196 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5197 ## other macros from doing the same. This should be automated.) -pme
5199 # Check for C library flavor since Linux platforms use different configuration
5200 # directories depending on the C library in use.
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5204 #include <stdio.h>
5205 #if __UCLIBC__
5206 _using_uclibc
5207 #endif
5209 _ACEOF
5210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5211 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5212 uclibc=yes
5213 else
5214 uclibc=no
5216 rm -f conftest*
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5222 #include <stdio.h>
5223 #if __BIONIC__
5224 _using_bionic
5225 #endif
5227 _ACEOF
5228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5229 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5230 bionic=yes
5231 else
5232 bionic=no
5234 rm -f conftest*
5237 # Find platform-specific directories containing configuration info.
5238 # Also possibly modify flags used elsewhere, as needed by the platform.
5240 . $glibcxx_srcdir/configure.host
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5242 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5244 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5248 if test "x${with_newlib}" != "xyes"; then
5249 enable_dlopen=yes
5254 case `pwd` in
5255 *\ * | *\ *)
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5257 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5258 esac
5262 macro_version='2.2.7a'
5263 macro_revision='1.3134'
5277 ltmain="$ac_aux_dir/ltmain.sh"
5279 # Backslashify metacharacters that are still active within
5280 # double-quoted strings.
5281 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5283 # Same as above, but do not quote variable references.
5284 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5286 # Sed substitution to delay expansion of an escaped shell variable in a
5287 # double_quote_subst'ed string.
5288 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5290 # Sed substitution to delay expansion of an escaped single quote.
5291 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5293 # Sed substitution to avoid accidental globbing in evaled expressions
5294 no_glob_subst='s/\*/\\\*/g'
5296 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5297 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5301 $as_echo_n "checking how to print strings... " >&6; }
5302 # Test print first, because it will be a builtin if present.
5303 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5304 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5305 ECHO='print -r --'
5306 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5307 ECHO='printf %s\n'
5308 else
5309 # Use this function as a fallback that always works.
5310 func_fallback_echo ()
5312 eval 'cat <<_LTECHO_EOF
5314 _LTECHO_EOF'
5316 ECHO='func_fallback_echo'
5319 # func_echo_all arg...
5320 # Invoke $ECHO with all args, space-separated.
5321 func_echo_all ()
5323 $ECHO ""
5326 case "$ECHO" in
5327 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5328 $as_echo "printf" >&6; } ;;
5329 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5330 $as_echo "print -r" >&6; } ;;
5331 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5332 $as_echo "cat" >&6; } ;;
5333 esac
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5350 if test "${ac_cv_path_SED+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5354 for ac_i in 1 2 3 4 5 6 7; do
5355 ac_script="$ac_script$as_nl$ac_script"
5356 done
5357 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5358 { ac_script=; unset ac_script;}
5359 if test -z "$SED"; then
5360 ac_path_SED_found=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in sed gsed; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5370 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5371 # Check for GNU ac_path_SED and select it if it is found.
5372 # Check for GNU $ac_path_SED
5373 case `"$ac_path_SED" --version 2>&1` in
5374 *GNU*)
5375 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5377 ac_count=0
5378 $as_echo_n 0123456789 >"conftest.in"
5379 while :
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo '' >> "conftest.nl"
5385 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5387 as_fn_arith $ac_count + 1 && ac_count=$as_val
5388 if test $ac_count -gt ${ac_path_SED_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_SED="$ac_path_SED"
5391 ac_path_SED_max=$ac_count
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5395 done
5396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5397 esac
5399 $ac_path_SED_found && break 3
5400 done
5401 done
5402 done
5403 IFS=$as_save_IFS
5404 if test -z "$ac_cv_path_SED"; then
5405 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5407 else
5408 ac_cv_path_SED=$SED
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5413 $as_echo "$ac_cv_path_SED" >&6; }
5414 SED="$ac_cv_path_SED"
5415 rm -f conftest.sed
5417 test -z "$SED" && SED=sed
5418 Xsed="$SED -e 1s/^X//"
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5431 $as_echo_n "checking for fgrep... " >&6; }
5432 if test "${ac_cv_path_FGREP+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5436 then ac_cv_path_FGREP="$GREP -F"
5437 else
5438 if test -z "$FGREP"; then
5439 ac_path_FGREP_found=false
5440 # Loop through the user's path and test for each of PROGNAME-LIST
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_prog in fgrep; do
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5449 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5450 # Check for GNU ac_path_FGREP and select it if it is found.
5451 # Check for GNU $ac_path_FGREP
5452 case `"$ac_path_FGREP" --version 2>&1` in
5453 *GNU*)
5454 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5456 ac_count=0
5457 $as_echo_n 0123456789 >"conftest.in"
5458 while :
5460 cat "conftest.in" "conftest.in" >"conftest.tmp"
5461 mv "conftest.tmp" "conftest.in"
5462 cp "conftest.in" "conftest.nl"
5463 $as_echo 'FGREP' >> "conftest.nl"
5464 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5466 as_fn_arith $ac_count + 1 && ac_count=$as_val
5467 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5468 # Best one so far, save it but keep looking for a better one
5469 ac_cv_path_FGREP="$ac_path_FGREP"
5470 ac_path_FGREP_max=$ac_count
5472 # 10*(2^10) chars as input seems more than enough
5473 test $ac_count -gt 10 && break
5474 done
5475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5476 esac
5478 $ac_path_FGREP_found && break 3
5479 done
5480 done
5481 done
5482 IFS=$as_save_IFS
5483 if test -z "$ac_cv_path_FGREP"; then
5484 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5486 else
5487 ac_cv_path_FGREP=$FGREP
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5493 $as_echo "$ac_cv_path_FGREP" >&6; }
5494 FGREP="$ac_cv_path_FGREP"
5497 test -z "$GREP" && GREP=grep
5517 # Check whether --with-gnu-ld was given.
5518 if test "${with_gnu_ld+set}" = set; then :
5519 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5520 else
5521 with_gnu_ld=no
5524 ac_prog=ld
5525 if test "$GCC" = yes; then
5526 # Check if gcc -print-prog-name=ld gives a path.
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5528 $as_echo_n "checking for ld used by $CC... " >&6; }
5529 case $host in
5530 *-*-mingw*)
5531 # gcc leaves a trailing carriage return which upsets mingw
5532 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5534 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5535 esac
5536 case $ac_prog in
5537 # Accept absolute paths.
5538 [\\/]* | ?:[\\/]*)
5539 re_direlt='/[^/][^/]*/\.\./'
5540 # Canonicalize the pathname of ld
5541 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5542 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5543 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5544 done
5545 test -z "$LD" && LD="$ac_prog"
5548 # If it fails, then pretend we aren't using GCC.
5549 ac_prog=ld
5552 # If it is relative, then search for the first ld in PATH.
5553 with_gnu_ld=unknown
5555 esac
5556 elif test "$with_gnu_ld" = yes; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5558 $as_echo_n "checking for GNU ld... " >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5561 $as_echo_n "checking for non-GNU ld... " >&6; }
5563 if test "${lt_cv_path_LD+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -z "$LD"; then
5567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5568 for ac_dir in $PATH; do
5569 IFS="$lt_save_ifs"
5570 test -z "$ac_dir" && ac_dir=.
5571 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5572 lt_cv_path_LD="$ac_dir/$ac_prog"
5573 # Check to see if the program is GNU ld. I'd rather use --version,
5574 # but apparently some variants of GNU ld only accept -v.
5575 # Break only if it was the GNU/non-GNU ld that we prefer.
5576 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5577 *GNU* | *'with BFD'*)
5578 test "$with_gnu_ld" != no && break
5581 test "$with_gnu_ld" != yes && break
5583 esac
5585 done
5586 IFS="$lt_save_ifs"
5587 else
5588 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5592 LD="$lt_cv_path_LD"
5593 if test -n "$LD"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5595 $as_echo "$LD" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5600 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5602 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5603 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5607 case `$LD -v 2>&1 </dev/null` in
5608 *GNU* | *'with BFD'*)
5609 lt_cv_prog_gnu_ld=yes
5612 lt_cv_prog_gnu_ld=no
5614 esac
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5617 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5618 with_gnu_ld=$lt_cv_prog_gnu_ld
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5629 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5630 if test "${lt_cv_path_NM+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 if test -n "$NM"; then
5634 # Let the user override the test.
5635 lt_cv_path_NM="$NM"
5636 else
5637 lt_nm_to_check="${ac_tool_prefix}nm"
5638 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5639 lt_nm_to_check="$lt_nm_to_check nm"
5641 for lt_tmp_nm in $lt_nm_to_check; do
5642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5643 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5644 IFS="$lt_save_ifs"
5645 test -z "$ac_dir" && ac_dir=.
5646 tmp_nm="$ac_dir/$lt_tmp_nm"
5647 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5648 # Check to see if the nm accepts a BSD-compat flag.
5649 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5650 # nm: unknown option "B" ignored
5651 # Tru64's nm complains that /dev/null is an invalid object file
5652 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5653 */dev/null* | *'Invalid file or object type'*)
5654 lt_cv_path_NM="$tmp_nm -B"
5655 break
5658 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5659 */dev/null*)
5660 lt_cv_path_NM="$tmp_nm -p"
5661 break
5664 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5665 continue # so that we can try to find one that supports BSD flags
5667 esac
5669 esac
5671 done
5672 IFS="$lt_save_ifs"
5673 done
5674 : ${lt_cv_path_NM=no}
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5678 $as_echo "$lt_cv_path_NM" >&6; }
5679 if test "$lt_cv_path_NM" != "no"; then
5680 NM="$lt_cv_path_NM"
5681 else
5682 # Didn't find any BSD compatible name lister, look for dumpbin.
5683 if test -n "$DUMPBIN"; then :
5684 # Let the user override the test.
5685 else
5686 if test -n "$ac_tool_prefix"; then
5687 for ac_prog in dumpbin "link -dump"
5689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$DUMPBIN"; then
5697 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 DUMPBIN=$ac_cv_prog_DUMPBIN
5717 if test -n "$DUMPBIN"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5719 $as_echo "$DUMPBIN" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5726 test -n "$DUMPBIN" && break
5727 done
5729 if test -z "$DUMPBIN"; then
5730 ac_ct_DUMPBIN=$DUMPBIN
5731 for ac_prog in dumpbin "link -dump"
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$ac_ct_DUMPBIN"; then
5741 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5754 done
5755 done
5756 IFS=$as_save_IFS
5760 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5761 if test -n "$ac_ct_DUMPBIN"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5763 $as_echo "$ac_ct_DUMPBIN" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$ac_ct_DUMPBIN" && break
5771 done
5773 if test "x$ac_ct_DUMPBIN" = x; then
5774 DUMPBIN=":"
5775 else
5776 case $cross_compiling:$ac_tool_warned in
5777 yes:)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780 ac_tool_warned=yes ;;
5781 esac
5782 DUMPBIN=$ac_ct_DUMPBIN
5786 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5787 *COFF*)
5788 DUMPBIN="$DUMPBIN -symbols"
5791 DUMPBIN=:
5793 esac
5796 if test "$DUMPBIN" != ":"; then
5797 NM="$DUMPBIN"
5800 test -z "$NM" && NM=nm
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5808 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5809 if test "${lt_cv_nm_interface+set}" = set; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 lt_cv_nm_interface="BSD nm"
5813 echo "int some_variable = 0;" > conftest.$ac_ext
5814 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5815 (eval "$ac_compile" 2>conftest.err)
5816 cat conftest.err >&5
5817 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5818 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5819 cat conftest.err >&5
5820 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5821 cat conftest.out >&5
5822 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5823 lt_cv_nm_interface="MS dumpbin"
5825 rm -f conftest*
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5828 $as_echo "$lt_cv_nm_interface" >&6; }
5830 # find the maximum length of command line arguments
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5832 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5833 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5837 teststring="ABCD"
5839 case $build_os in
5840 msdosdjgpp*)
5841 # On DJGPP, this test can blow up pretty badly due to problems in libc
5842 # (any single argument exceeding 2000 bytes causes a buffer overrun
5843 # during glob expansion). Even if it were fixed, the result of this
5844 # check would be larger than it should be.
5845 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5848 gnu*)
5849 # Under GNU Hurd, this test is not required because there is
5850 # no limit to the length of command line arguments.
5851 # Libtool will interpret -1 as no limit whatsoever
5852 lt_cv_sys_max_cmd_len=-1;
5855 cygwin* | mingw* | cegcc*)
5856 # On Win9x/ME, this test blows up -- it succeeds, but takes
5857 # about 5 minutes as the teststring grows exponentially.
5858 # Worse, since 9x/ME are not pre-emptively multitasking,
5859 # you end up with a "frozen" computer, even though with patience
5860 # the test eventually succeeds (with a max line length of 256k).
5861 # Instead, let's just punt: use the minimum linelength reported by
5862 # all of the supported platforms: 8192 (on NT/2K/XP).
5863 lt_cv_sys_max_cmd_len=8192;
5866 mint*)
5867 # On MiNT this can take a long time and run out of memory.
5868 lt_cv_sys_max_cmd_len=8192;
5871 amigaos*)
5872 # On AmigaOS with pdksh, this test takes hours, literally.
5873 # So we just punt and use a minimum line length of 8192.
5874 lt_cv_sys_max_cmd_len=8192;
5877 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5878 # This has been around since 386BSD, at least. Likely further.
5879 if test -x /sbin/sysctl; then
5880 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5881 elif test -x /usr/sbin/sysctl; then
5882 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5883 else
5884 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5886 # And add a safety zone
5887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5891 interix*)
5892 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5893 lt_cv_sys_max_cmd_len=196608
5896 osf*)
5897 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5898 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5899 # nice to cause kernel panics so lets avoid the loop below.
5900 # First set a reasonable default.
5901 lt_cv_sys_max_cmd_len=16384
5903 if test -x /sbin/sysconfig; then
5904 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5905 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5906 esac
5909 sco3.2v5*)
5910 lt_cv_sys_max_cmd_len=102400
5912 sysv5* | sco5v6* | sysv4.2uw2*)
5913 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5914 if test -n "$kargmax"; then
5915 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5916 else
5917 lt_cv_sys_max_cmd_len=32768
5921 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5922 if test -n "$lt_cv_sys_max_cmd_len"; then
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5924 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5925 else
5926 # Make teststring a little bigger before we do anything with it.
5927 # a 1K string should be a reasonable start.
5928 for i in 1 2 3 4 5 6 7 8 ; do
5929 teststring=$teststring$teststring
5930 done
5931 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5932 # If test is not a shell built-in, we'll probably end up computing a
5933 # maximum length that is only half of the actual maximum length, but
5934 # we can't tell.
5935 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5936 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5937 test $i != 17 # 1/2 MB should be enough
5939 i=`expr $i + 1`
5940 teststring=$teststring$teststring
5941 done
5942 # Only check the string length outside the loop.
5943 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5944 teststring=
5945 # Add a significant safety factor because C++ compilers can tack on
5946 # massive amounts of additional arguments before passing them to the
5947 # linker. It appears as though 1/2 is a usable value.
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5951 esac
5955 if test -n $lt_cv_sys_max_cmd_len ; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5957 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5960 $as_echo "none" >&6; }
5962 max_cmd_len=$lt_cv_sys_max_cmd_len
5969 : ${CP="cp -f"}
5970 : ${MV="mv -f"}
5971 : ${RM="rm -f"}
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5974 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5975 # Try some XSI features
5976 xsi_shell=no
5977 ( _lt_dummy="a/b/c"
5978 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5979 = c,a/b,, \
5980 && eval 'test $(( 1 + 1 )) -eq 2 \
5981 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5982 && xsi_shell=yes
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5984 $as_echo "$xsi_shell" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5988 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5989 lt_shell_append=no
5990 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5991 >/dev/null 2>&1 \
5992 && lt_shell_append=yes
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5994 $as_echo "$lt_shell_append" >&6; }
5997 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5998 lt_unset=unset
5999 else
6000 lt_unset=false
6007 # test EBCDIC or ASCII
6008 case `echo X|tr X '\101'` in
6009 A) # ASCII based system
6010 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6011 lt_SP2NL='tr \040 \012'
6012 lt_NL2SP='tr \015\012 \040\040'
6014 *) # EBCDIC based system
6015 lt_SP2NL='tr \100 \n'
6016 lt_NL2SP='tr \r\n \100\100'
6018 esac
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6029 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6030 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 lt_cv_ld_reload_flag='-r'
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6036 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6037 reload_flag=$lt_cv_ld_reload_flag
6038 case $reload_flag in
6039 "" | " "*) ;;
6040 *) reload_flag=" $reload_flag" ;;
6041 esac
6042 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6043 case $host_os in
6044 darwin*)
6045 if test "$GCC" = yes; then
6046 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6047 else
6048 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6051 esac
6061 if test -n "$ac_tool_prefix"; then
6062 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6063 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$OBJDUMP"; then
6070 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 OBJDUMP=$ac_cv_prog_OBJDUMP
6090 if test -n "$OBJDUMP"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6092 $as_echo "$OBJDUMP" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6100 if test -z "$ac_cv_prog_OBJDUMP"; then
6101 ac_ct_OBJDUMP=$OBJDUMP
6102 # Extract the first word of "objdump", so it can be a program name with args.
6103 set dummy objdump; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 if test -n "$ac_ct_OBJDUMP"; then
6110 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6115 IFS=$as_save_IFS
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 break 2
6123 done
6124 done
6125 IFS=$as_save_IFS
6129 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6130 if test -n "$ac_ct_OBJDUMP"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6132 $as_echo "$ac_ct_OBJDUMP" >&6; }
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6138 if test "x$ac_ct_OBJDUMP" = x; then
6139 OBJDUMP="false"
6140 else
6141 case $cross_compiling:$ac_tool_warned in
6142 yes:)
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 OBJDUMP=$ac_ct_OBJDUMP
6149 else
6150 OBJDUMP="$ac_cv_prog_OBJDUMP"
6153 test -z "$OBJDUMP" && OBJDUMP=objdump
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6164 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6165 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 lt_cv_file_magic_cmd='$MAGIC_CMD'
6169 lt_cv_file_magic_test_file=
6170 lt_cv_deplibs_check_method='unknown'
6171 # Need to set the preceding variable on all platforms that support
6172 # interlibrary dependencies.
6173 # 'none' -- dependencies not supported.
6174 # `unknown' -- same as none, but documents that we really don't know.
6175 # 'pass_all' -- all dependencies passed with no checks.
6176 # 'test_compile' -- check by making test program.
6177 # 'file_magic [[regex]]' -- check by looking for files in library path
6178 # which responds to the $file_magic_cmd with a given extended regex.
6179 # If you have `file' or equivalent on your system and you're not sure
6180 # whether `pass_all' will *always* work, you probably want this one.
6182 case $host_os in
6183 aix[4-9]*)
6184 lt_cv_deplibs_check_method=pass_all
6187 beos*)
6188 lt_cv_deplibs_check_method=pass_all
6191 bsdi[45]*)
6192 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6193 lt_cv_file_magic_cmd='/usr/bin/file -L'
6194 lt_cv_file_magic_test_file=/shlib/libc.so
6197 cygwin*)
6198 # func_win32_libid is a shell function defined in ltmain.sh
6199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6200 lt_cv_file_magic_cmd='func_win32_libid'
6203 mingw* | pw32*)
6204 # Base MSYS/MinGW do not provide the 'file' command needed by
6205 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6206 # unless we find 'file', for example because we are cross-compiling.
6207 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6208 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6209 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6210 lt_cv_file_magic_cmd='func_win32_libid'
6211 else
6212 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6213 lt_cv_file_magic_cmd='$OBJDUMP -f'
6217 cegcc*)
6218 # use the weaker test based on 'objdump'. See mingw*.
6219 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6220 lt_cv_file_magic_cmd='$OBJDUMP -f'
6223 darwin* | rhapsody*)
6224 lt_cv_deplibs_check_method=pass_all
6227 freebsd* | dragonfly*)
6228 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6229 case $host_cpu in
6230 i*86 )
6231 # Not sure whether the presence of OpenBSD here was a mistake.
6232 # Let's accept both of them until this is cleared up.
6233 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6234 lt_cv_file_magic_cmd=/usr/bin/file
6235 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6237 esac
6238 else
6239 lt_cv_deplibs_check_method=pass_all
6243 gnu*)
6244 lt_cv_deplibs_check_method=pass_all
6247 haiku*)
6248 lt_cv_deplibs_check_method=pass_all
6251 hpux10.20* | hpux11*)
6252 lt_cv_file_magic_cmd=/usr/bin/file
6253 case $host_cpu in
6254 ia64*)
6255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6256 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6258 hppa*64*)
6259 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]'
6260 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6263 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6264 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6266 esac
6269 interix[3-9]*)
6270 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6271 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6274 irix5* | irix6* | nonstopux*)
6275 case $LD in
6276 *-32|*"-32 ") libmagic=32-bit;;
6277 *-n32|*"-n32 ") libmagic=N32;;
6278 *-64|*"-64 ") libmagic=64-bit;;
6279 *) libmagic=never-match;;
6280 esac
6281 lt_cv_deplibs_check_method=pass_all
6284 # This must be Linux ELF.
6285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6286 lt_cv_deplibs_check_method=pass_all
6289 netbsd*)
6290 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6292 else
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6297 newos6*)
6298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6299 lt_cv_file_magic_cmd=/usr/bin/file
6300 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6303 *nto* | *qnx*)
6304 lt_cv_deplibs_check_method=pass_all
6307 openbsd*)
6308 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6310 else
6311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6315 osf3* | osf4* | osf5*)
6316 lt_cv_deplibs_check_method=pass_all
6319 rdos*)
6320 lt_cv_deplibs_check_method=pass_all
6323 solaris*)
6324 lt_cv_deplibs_check_method=pass_all
6327 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6328 lt_cv_deplibs_check_method=pass_all
6331 sysv4 | sysv4.3*)
6332 case $host_vendor in
6333 motorola)
6334 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]'
6335 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6337 ncr)
6338 lt_cv_deplibs_check_method=pass_all
6340 sequent)
6341 lt_cv_file_magic_cmd='/bin/file'
6342 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6344 sni)
6345 lt_cv_file_magic_cmd='/bin/file'
6346 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6347 lt_cv_file_magic_test_file=/lib/libc.so
6349 siemens)
6350 lt_cv_deplibs_check_method=pass_all
6353 lt_cv_deplibs_check_method=pass_all
6355 esac
6358 tpf*)
6359 lt_cv_deplibs_check_method=pass_all
6361 esac
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6365 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6366 file_magic_cmd=$lt_cv_file_magic_cmd
6367 deplibs_check_method=$lt_cv_deplibs_check_method
6368 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6381 if test -n "$ac_tool_prefix"; then
6382 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6383 set dummy ${ac_tool_prefix}ar; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if test "${ac_cv_prog_AR+set}" = set; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 if test -n "$AR"; then
6390 ac_cv_prog_AR="$AR" # Let the user override the test.
6391 else
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 for as_dir in $PATH
6395 IFS=$as_save_IFS
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_AR="${ac_tool_prefix}ar"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 break 2
6403 done
6404 done
6405 IFS=$as_save_IFS
6409 AR=$ac_cv_prog_AR
6410 if test -n "$AR"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6412 $as_echo "$AR" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6420 if test -z "$ac_cv_prog_AR"; then
6421 ac_ct_AR=$AR
6422 # Extract the first word of "ar", so it can be a program name with args.
6423 set dummy ar; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if test -n "$ac_ct_AR"; then
6430 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_prog_ac_ct_AR="ar"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6449 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6450 if test -n "$ac_ct_AR"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6452 $as_echo "$ac_ct_AR" >&6; }
6453 else
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6458 if test "x$ac_ct_AR" = x; then
6459 AR="false"
6460 else
6461 case $cross_compiling:$ac_tool_warned in
6462 yes:)
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6465 ac_tool_warned=yes ;;
6466 esac
6467 AR=$ac_ct_AR
6469 else
6470 AR="$ac_cv_prog_AR"
6473 test -z "$AR" && AR=ar
6474 test -z "$AR_FLAGS" && AR_FLAGS=cru
6486 if test -n "$ac_tool_prefix"; then
6487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6488 set dummy ${ac_tool_prefix}strip; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 $as_echo_n "checking for $ac_word... " >&6; }
6491 if test "${ac_cv_prog_STRIP+set}" = set; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6494 if test -n "$STRIP"; then
6495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6496 else
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 for as_dir in $PATH
6500 IFS=$as_save_IFS
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 break 2
6508 done
6509 done
6510 IFS=$as_save_IFS
6514 STRIP=$ac_cv_prog_STRIP
6515 if test -n "$STRIP"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6517 $as_echo "$STRIP" >&6; }
6518 else
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520 $as_echo "no" >&6; }
6525 if test -z "$ac_cv_prog_STRIP"; then
6526 ac_ct_STRIP=$STRIP
6527 # Extract the first word of "strip", so it can be a program name with args.
6528 set dummy strip; ac_word=$2
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 $as_echo_n "checking for $ac_word... " >&6; }
6531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6532 $as_echo_n "(cached) " >&6
6533 else
6534 if test -n "$ac_ct_STRIP"; then
6535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6540 IFS=$as_save_IFS
6541 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6544 ac_cv_prog_ac_ct_STRIP="strip"
6545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 break 2
6548 done
6549 done
6550 IFS=$as_save_IFS
6554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6555 if test -n "$ac_ct_STRIP"; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6557 $as_echo "$ac_ct_STRIP" >&6; }
6558 else
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560 $as_echo "no" >&6; }
6563 if test "x$ac_ct_STRIP" = x; then
6564 STRIP=":"
6565 else
6566 case $cross_compiling:$ac_tool_warned in
6567 yes:)
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6570 ac_tool_warned=yes ;;
6571 esac
6572 STRIP=$ac_ct_STRIP
6574 else
6575 STRIP="$ac_cv_prog_STRIP"
6578 test -z "$STRIP" && STRIP=:
6585 if test -n "$ac_tool_prefix"; then
6586 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6587 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$RANLIB"; then
6594 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 RANLIB=$ac_cv_prog_RANLIB
6614 if test -n "$RANLIB"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6616 $as_echo "$RANLIB" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6624 if test -z "$ac_cv_prog_RANLIB"; then
6625 ac_ct_RANLIB=$RANLIB
6626 # Extract the first word of "ranlib", so it can be a program name with args.
6627 set dummy ranlib; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6632 else
6633 if test -n "$ac_ct_RANLIB"; then
6634 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 ac_cv_prog_ac_ct_RANLIB="ranlib"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6654 if test -n "$ac_ct_RANLIB"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6656 $as_echo "$ac_ct_RANLIB" >&6; }
6657 else
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6662 if test "x$ac_ct_RANLIB" = x; then
6663 RANLIB=":"
6664 else
6665 case $cross_compiling:$ac_tool_warned in
6666 yes:)
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6669 ac_tool_warned=yes ;;
6670 esac
6671 RANLIB=$ac_ct_RANLIB
6673 else
6674 RANLIB="$ac_cv_prog_RANLIB"
6677 test -z "$RANLIB" && RANLIB=:
6684 # Determine commands to create old-style static archives.
6685 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6686 old_postinstall_cmds='chmod 644 $oldlib'
6687 old_postuninstall_cmds=
6689 if test -n "$RANLIB"; then
6690 case $host_os in
6691 openbsd*)
6692 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6695 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6697 esac
6698 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6701 case $host_os in
6702 darwin*)
6703 lock_old_archive_extraction=yes ;;
6705 lock_old_archive_extraction=no ;;
6706 esac
6746 # If no C compiler was specified, use CC.
6747 LTCC=${LTCC-"$CC"}
6749 # If no C compiler flags were specified, use CFLAGS.
6750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6752 # Allow CC to be a program name with arguments.
6753 compiler=$CC
6756 # Check for command to grab the raw symbol name followed by C symbol from nm.
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6758 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6759 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6763 # These are sane defaults that work on at least a few old systems.
6764 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6766 # Character class describing NM global symbol codes.
6767 symcode='[BCDEGRST]'
6769 # Regexp to match symbols that can be accessed directly from C.
6770 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6772 # Define system-specific variables.
6773 case $host_os in
6774 aix*)
6775 symcode='[BCDT]'
6777 cygwin* | mingw* | pw32* | cegcc*)
6778 symcode='[ABCDGISTW]'
6780 hpux*)
6781 if test "$host_cpu" = ia64; then
6782 symcode='[ABCDEGRST]'
6785 irix* | nonstopux*)
6786 symcode='[BCDEGRST]'
6788 osf*)
6789 symcode='[BCDEGQRST]'
6791 solaris*)
6792 symcode='[BDRT]'
6794 sco3.2v5*)
6795 symcode='[DT]'
6797 sysv4.2uw2*)
6798 symcode='[DT]'
6800 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6801 symcode='[ABDT]'
6803 sysv4)
6804 symcode='[DFNSTU]'
6806 esac
6808 # If we're using GNU nm, then use its standard symbol codes.
6809 case `$NM -V 2>&1` in
6810 *GNU* | *'with BFD'*)
6811 symcode='[ABCDGIRSTW]' ;;
6812 esac
6814 # Transform an extracted symbol line into a proper C declaration.
6815 # Some systems (esp. on ia64) link data and code symbols differently,
6816 # so use this general approach.
6817 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6819 # Transform an extracted symbol line into symbol name and symbol address
6820 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6821 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'"
6823 # Handle CRLF in mingw tool chain
6824 opt_cr=
6825 case $build_os in
6826 mingw*)
6827 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6829 esac
6831 # Try without a prefix underscore, then with it.
6832 for ac_symprfx in "" "_"; do
6834 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6835 symxfrm="\\1 $ac_symprfx\\2 \\2"
6837 # Write the raw and C identifiers.
6838 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6839 # Fake it for dumpbin and say T for any non-static function
6840 # and D for any global variable.
6841 # Also find C++ and __fastcall symbols from MSVC++,
6842 # which start with @ or ?.
6843 lt_cv_sys_global_symbol_pipe="$AWK '"\
6844 " {last_section=section; section=\$ 3};"\
6845 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6846 " \$ 0!~/External *\|/{next};"\
6847 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6848 " {if(hide[section]) next};"\
6849 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6850 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6851 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6852 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6853 " ' prfx=^$ac_symprfx"
6854 else
6855 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6858 # Check to see that the pipe works correctly.
6859 pipe_works=no
6861 rm -f conftest*
6862 cat > conftest.$ac_ext <<_LT_EOF
6863 #ifdef __cplusplus
6864 extern "C" {
6865 #endif
6866 char nm_test_var;
6867 void nm_test_func(void);
6868 void nm_test_func(void){}
6869 #ifdef __cplusplus
6871 #endif
6872 int main(){nm_test_var='a';nm_test_func();return(0);}
6873 _LT_EOF
6875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6876 (eval $ac_compile) 2>&5
6877 ac_status=$?
6878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6879 test $ac_status = 0; }; then
6880 # Now try to grab the symbols.
6881 nlist=conftest.nm
6882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6883 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6884 ac_status=$?
6885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886 test $ac_status = 0; } && test -s "$nlist"; then
6887 # Try sorting and uniquifying the output.
6888 if sort "$nlist" | uniq > "$nlist"T; then
6889 mv -f "$nlist"T "$nlist"
6890 else
6891 rm -f "$nlist"T
6894 # Make sure that we snagged all the symbols we need.
6895 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6896 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6897 cat <<_LT_EOF > conftest.$ac_ext
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6902 _LT_EOF
6903 # Now generate the symbol file.
6904 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6906 cat <<_LT_EOF >> conftest.$ac_ext
6908 /* The mapping between symbol names and symbols. */
6909 const struct {
6910 const char *name;
6911 void *address;
6913 lt__PROGRAM__LTX_preloaded_symbols[] =
6915 { "@PROGRAM@", (void *) 0 },
6916 _LT_EOF
6917 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6918 cat <<\_LT_EOF >> conftest.$ac_ext
6919 {0, (void *) 0}
6922 /* This works around a problem in FreeBSD linker */
6923 #ifdef FREEBSD_WORKAROUND
6924 static const void *lt_preloaded_setup() {
6925 return lt__PROGRAM__LTX_preloaded_symbols;
6927 #endif
6929 #ifdef __cplusplus
6931 #endif
6932 _LT_EOF
6933 # Now try linking the two files.
6934 mv conftest.$ac_objext conftstm.$ac_objext
6935 lt_save_LIBS="$LIBS"
6936 lt_save_CFLAGS="$CFLAGS"
6937 LIBS="conftstm.$ac_objext"
6938 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6940 (eval $ac_link) 2>&5
6941 ac_status=$?
6942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6944 pipe_works=yes
6946 LIBS="$lt_save_LIBS"
6947 CFLAGS="$lt_save_CFLAGS"
6948 else
6949 echo "cannot find nm_test_func in $nlist" >&5
6951 else
6952 echo "cannot find nm_test_var in $nlist" >&5
6954 else
6955 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6957 else
6958 echo "$progname: failed program was:" >&5
6959 cat conftest.$ac_ext >&5
6961 rm -rf conftest* conftst*
6963 # Do not use the global_symbol_pipe unless it works.
6964 if test "$pipe_works" = yes; then
6965 break
6966 else
6967 lt_cv_sys_global_symbol_pipe=
6969 done
6973 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6974 lt_cv_sys_global_symbol_to_cdecl=
6976 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6978 $as_echo "failed" >&6; }
6979 else
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6981 $as_echo "ok" >&6; }
7005 # Check whether --enable-libtool-lock was given.
7006 if test "${enable_libtool_lock+set}" = set; then :
7007 enableval=$enable_libtool_lock;
7010 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7012 # Some flags need to be propagated to the compiler or linker for good
7013 # libtool support.
7014 case $host in
7015 ia64-*-hpux*)
7016 # Find out which ABI we are using.
7017 echo 'int i;' > conftest.$ac_ext
7018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7019 (eval $ac_compile) 2>&5
7020 ac_status=$?
7021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022 test $ac_status = 0; }; then
7023 case `/usr/bin/file conftest.$ac_objext` in
7024 *ELF-32*)
7025 HPUX_IA64_MODE="32"
7027 *ELF-64*)
7028 HPUX_IA64_MODE="64"
7030 esac
7032 rm -rf conftest*
7034 *-*-irix6*)
7035 # Find out which ABI we are using.
7036 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7038 (eval $ac_compile) 2>&5
7039 ac_status=$?
7040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7041 test $ac_status = 0; }; then
7042 if test "$lt_cv_prog_gnu_ld" = yes; then
7043 case `/usr/bin/file conftest.$ac_objext` in
7044 *32-bit*)
7045 LD="${LD-ld} -melf32bsmip"
7047 *N32*)
7048 LD="${LD-ld} -melf32bmipn32"
7050 *64-bit*)
7051 LD="${LD-ld} -melf64bmip"
7053 esac
7054 else
7055 case `/usr/bin/file conftest.$ac_objext` in
7056 *32-bit*)
7057 LD="${LD-ld} -32"
7059 *N32*)
7060 LD="${LD-ld} -n32"
7062 *64-bit*)
7063 LD="${LD-ld} -64"
7065 esac
7068 rm -rf conftest*
7071 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7072 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7073 # Find out which ABI we are using.
7074 echo 'int i;' > conftest.$ac_ext
7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7076 (eval $ac_compile) 2>&5
7077 ac_status=$?
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; }; then
7080 case `/usr/bin/file conftest.o` in
7081 *32-bit*)
7082 case $host in
7083 x86_64-*kfreebsd*-gnu)
7084 LD="${LD-ld} -m elf_i386_fbsd"
7086 x86_64-*linux*)
7087 LD="${LD-ld} -m elf_i386"
7089 ppc64-*linux*|powerpc64-*linux*)
7090 LD="${LD-ld} -m elf32ppclinux"
7092 s390x-*linux*)
7093 LD="${LD-ld} -m elf_s390"
7095 sparc64-*linux*)
7096 LD="${LD-ld} -m elf32_sparc"
7098 esac
7100 *64-bit*)
7101 case $host in
7102 x86_64-*kfreebsd*-gnu)
7103 LD="${LD-ld} -m elf_x86_64_fbsd"
7105 x86_64-*linux*)
7106 LD="${LD-ld} -m elf_x86_64"
7108 ppc*-*linux*|powerpc*-*linux*)
7109 LD="${LD-ld} -m elf64ppc"
7111 s390*-*linux*|s390*-*tpf*)
7112 LD="${LD-ld} -m elf64_s390"
7114 sparc*-*linux*)
7115 LD="${LD-ld} -m elf64_sparc"
7117 esac
7119 esac
7121 rm -rf conftest*
7124 *-*-sco3.2v5*)
7125 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7126 SAVE_CFLAGS="$CFLAGS"
7127 CFLAGS="$CFLAGS -belf"
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7129 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7130 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 ac_ext=c
7134 ac_cpp='$CPP $CPPFLAGS'
7135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139 if test x$gcc_no_link = xyes; then
7140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7146 main ()
7150 return 0;
7152 _ACEOF
7153 if ac_fn_c_try_link "$LINENO"; then :
7154 lt_cv_cc_needs_belf=yes
7155 else
7156 lt_cv_cc_needs_belf=no
7158 rm -f core conftest.err conftest.$ac_objext \
7159 conftest$ac_exeext conftest.$ac_ext
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7168 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7169 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7170 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7171 CFLAGS="$SAVE_CFLAGS"
7174 sparc*-*solaris*)
7175 # Find out which ABI we are using.
7176 echo 'int i;' > conftest.$ac_ext
7177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7178 (eval $ac_compile) 2>&5
7179 ac_status=$?
7180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7181 test $ac_status = 0; }; then
7182 case `/usr/bin/file conftest.o` in
7183 *64-bit*)
7184 case $lt_cv_prog_gnu_ld in
7185 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7187 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7188 LD="${LD-ld} -64"
7191 esac
7193 esac
7195 rm -rf conftest*
7197 esac
7199 need_locks="$enable_libtool_lock"
7202 case $host_os in
7203 rhapsody* | darwin*)
7204 if test -n "$ac_tool_prefix"; then
7205 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7206 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7211 else
7212 if test -n "$DSYMUTIL"; then
7213 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7214 else
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 for as_dir in $PATH
7218 IFS=$as_save_IFS
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7222 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 break 2
7226 done
7227 done
7228 IFS=$as_save_IFS
7232 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7233 if test -n "$DSYMUTIL"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7235 $as_echo "$DSYMUTIL" >&6; }
7236 else
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7243 if test -z "$ac_cv_prog_DSYMUTIL"; then
7244 ac_ct_DSYMUTIL=$DSYMUTIL
7245 # Extract the first word of "dsymutil", so it can be a program name with args.
7246 set dummy dsymutil; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 if test -n "$ac_ct_DSYMUTIL"; then
7253 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7254 else
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 for as_dir in $PATH
7258 IFS=$as_save_IFS
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7273 if test -n "$ac_ct_DSYMUTIL"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7275 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7276 else
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 $as_echo "no" >&6; }
7281 if test "x$ac_ct_DSYMUTIL" = x; then
7282 DSYMUTIL=":"
7283 else
7284 case $cross_compiling:$ac_tool_warned in
7285 yes:)
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7288 ac_tool_warned=yes ;;
7289 esac
7290 DSYMUTIL=$ac_ct_DSYMUTIL
7292 else
7293 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7296 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 if test -n "$NMEDIT"; then
7305 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 NMEDIT=$ac_cv_prog_NMEDIT
7325 if test -n "$NMEDIT"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7327 $as_echo "$NMEDIT" >&6; }
7328 else
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7335 if test -z "$ac_cv_prog_NMEDIT"; then
7336 ac_ct_NMEDIT=$NMEDIT
7337 # Extract the first word of "nmedit", so it can be a program name with args.
7338 set dummy nmedit; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 if test -n "$ac_ct_NMEDIT"; then
7345 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 break 2
7358 done
7359 done
7360 IFS=$as_save_IFS
7364 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7365 if test -n "$ac_ct_NMEDIT"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7367 $as_echo "$ac_ct_NMEDIT" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7373 if test "x$ac_ct_NMEDIT" = x; then
7374 NMEDIT=":"
7375 else
7376 case $cross_compiling:$ac_tool_warned in
7377 yes:)
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7381 esac
7382 NMEDIT=$ac_ct_NMEDIT
7384 else
7385 NMEDIT="$ac_cv_prog_NMEDIT"
7388 if test -n "$ac_tool_prefix"; then
7389 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7390 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_LIPO+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$LIPO"; then
7397 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 LIPO=$ac_cv_prog_LIPO
7417 if test -n "$LIPO"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7419 $as_echo "$LIPO" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7427 if test -z "$ac_cv_prog_LIPO"; then
7428 ac_ct_LIPO=$LIPO
7429 # Extract the first word of "lipo", so it can be a program name with args.
7430 set dummy lipo; ac_word=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 if test -n "$ac_ct_LIPO"; then
7437 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7438 else
7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 for as_dir in $PATH
7442 IFS=$as_save_IFS
7443 test -z "$as_dir" && as_dir=.
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7446 ac_cv_prog_ac_ct_LIPO="lipo"
7447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 break 2
7450 done
7451 done
7452 IFS=$as_save_IFS
7456 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7457 if test -n "$ac_ct_LIPO"; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7459 $as_echo "$ac_ct_LIPO" >&6; }
7460 else
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7465 if test "x$ac_ct_LIPO" = x; then
7466 LIPO=":"
7467 else
7468 case $cross_compiling:$ac_tool_warned in
7469 yes:)
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7472 ac_tool_warned=yes ;;
7473 esac
7474 LIPO=$ac_ct_LIPO
7476 else
7477 LIPO="$ac_cv_prog_LIPO"
7480 if test -n "$ac_tool_prefix"; then
7481 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7482 set dummy ${ac_tool_prefix}otool; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$OTOOL"; then
7489 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7502 done
7503 done
7504 IFS=$as_save_IFS
7508 OTOOL=$ac_cv_prog_OTOOL
7509 if test -n "$OTOOL"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7511 $as_echo "$OTOOL" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7519 if test -z "$ac_cv_prog_OTOOL"; then
7520 ac_ct_OTOOL=$OTOOL
7521 # Extract the first word of "otool", so it can be a program name with args.
7522 set dummy otool; ac_word=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7526 $as_echo_n "(cached) " >&6
7527 else
7528 if test -n "$ac_ct_OTOOL"; then
7529 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7530 else
7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 for as_dir in $PATH
7534 IFS=$as_save_IFS
7535 test -z "$as_dir" && as_dir=.
7536 for ac_exec_ext in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_prog_ac_ct_OTOOL="otool"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 break 2
7542 done
7543 done
7544 IFS=$as_save_IFS
7548 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7549 if test -n "$ac_ct_OTOOL"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7551 $as_echo "$ac_ct_OTOOL" >&6; }
7552 else
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7557 if test "x$ac_ct_OTOOL" = x; then
7558 OTOOL=":"
7559 else
7560 case $cross_compiling:$ac_tool_warned in
7561 yes:)
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564 ac_tool_warned=yes ;;
7565 esac
7566 OTOOL=$ac_ct_OTOOL
7568 else
7569 OTOOL="$ac_cv_prog_OTOOL"
7572 if test -n "$ac_tool_prefix"; then
7573 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7574 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$OTOOL64"; then
7581 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 OTOOL64=$ac_cv_prog_OTOOL64
7601 if test -n "$OTOOL64"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7603 $as_echo "$OTOOL64" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7611 if test -z "$ac_cv_prog_OTOOL64"; then
7612 ac_ct_OTOOL64=$OTOOL64
7613 # Extract the first word of "otool64", so it can be a program name with args.
7614 set dummy otool64; ac_word=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7619 else
7620 if test -n "$ac_ct_OTOOL64"; then
7621 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7622 else
7623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 for as_dir in $PATH
7626 IFS=$as_save_IFS
7627 test -z "$as_dir" && as_dir=.
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630 ac_cv_prog_ac_ct_OTOOL64="otool64"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 break 2
7634 done
7635 done
7636 IFS=$as_save_IFS
7640 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7641 if test -n "$ac_ct_OTOOL64"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7643 $as_echo "$ac_ct_OTOOL64" >&6; }
7644 else
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7649 if test "x$ac_ct_OTOOL64" = x; then
7650 OTOOL64=":"
7651 else
7652 case $cross_compiling:$ac_tool_warned in
7653 yes:)
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656 ac_tool_warned=yes ;;
7657 esac
7658 OTOOL64=$ac_ct_OTOOL64
7660 else
7661 OTOOL64="$ac_cv_prog_OTOOL64"
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7691 $as_echo_n "checking for -single_module linker flag... " >&6; }
7692 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 lt_cv_apple_cc_single_mod=no
7696 if test -z "${LT_MULTI_MODULE}"; then
7697 # By default we will add the -single_module flag. You can override
7698 # by either setting the environment variable LT_MULTI_MODULE
7699 # non-empty at configure time, or by adding -multi_module to the
7700 # link flags.
7701 rm -rf libconftest.dylib*
7702 echo "int foo(void){return 1;}" > conftest.c
7703 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7704 -dynamiclib -Wl,-single_module conftest.c" >&5
7705 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7706 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7707 _lt_result=$?
7708 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7709 lt_cv_apple_cc_single_mod=yes
7710 else
7711 cat conftest.err >&5
7713 rm -rf libconftest.dylib*
7714 rm -f conftest.*
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7718 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7720 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7721 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 lt_cv_ld_exported_symbols_list=no
7725 save_LDFLAGS=$LDFLAGS
7726 echo "_main" > conftest.sym
7727 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7728 if test x$gcc_no_link = xyes; then
7729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7735 main ()
7739 return 0;
7741 _ACEOF
7742 if ac_fn_c_try_link "$LINENO"; then :
7743 lt_cv_ld_exported_symbols_list=yes
7744 else
7745 lt_cv_ld_exported_symbols_list=no
7747 rm -f core conftest.err conftest.$ac_objext \
7748 conftest$ac_exeext conftest.$ac_ext
7749 LDFLAGS="$save_LDFLAGS"
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7753 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7755 $as_echo_n "checking for -force_load linker flag... " >&6; }
7756 if test "${lt_cv_ld_force_load+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_ld_force_load=no
7760 cat > conftest.c << _LT_EOF
7761 int forced_loaded() { return 2;}
7762 _LT_EOF
7763 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7764 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7765 echo "$AR cru libconftest.a conftest.o" >&5
7766 $AR cru libconftest.a conftest.o 2>&5
7767 cat > conftest.c << _LT_EOF
7768 int main() { return 0;}
7769 _LT_EOF
7770 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7771 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7772 _lt_result=$?
7773 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7774 lt_cv_ld_force_load=yes
7775 else
7776 cat conftest.err >&5
7778 rm -f conftest.err libconftest.a conftest conftest.c
7779 rm -rf conftest.dSYM
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7783 $as_echo "$lt_cv_ld_force_load" >&6; }
7784 case $host_os in
7785 rhapsody* | darwin1.[012])
7786 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7787 darwin1.*)
7788 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7789 darwin*) # darwin 5.x on
7790 # if running on 10.5 or later, the deployment target defaults
7791 # to the OS version, if on x86, and 10.4, the deployment
7792 # target defaults to 10.4. Don't you love it?
7793 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7794 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7795 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796 10.[012]*)
7797 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7798 10.*)
7799 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7800 esac
7802 esac
7803 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7804 _lt_dar_single_mod='$single_module'
7806 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7807 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7808 else
7809 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7811 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7812 _lt_dsymutil='~$DSYMUTIL $lib || :'
7813 else
7814 _lt_dsymutil=
7817 esac
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7820 $as_echo_n "checking for ANSI C header files... " >&6; }
7821 if test "${ac_cv_header_stdc+set}" = set; then :
7822 $as_echo_n "(cached) " >&6
7823 else
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7826 #include <stdlib.h>
7827 #include <stdarg.h>
7828 #include <string.h>
7829 #include <float.h>
7832 main ()
7836 return 0;
7838 _ACEOF
7839 if ac_fn_c_try_compile "$LINENO"; then :
7840 ac_cv_header_stdc=yes
7841 else
7842 ac_cv_header_stdc=no
7844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7846 if test $ac_cv_header_stdc = yes; then
7847 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 #include <string.h>
7852 _ACEOF
7853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7854 $EGREP "memchr" >/dev/null 2>&1; then :
7856 else
7857 ac_cv_header_stdc=no
7859 rm -f conftest*
7863 if test $ac_cv_header_stdc = yes; then
7864 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867 #include <stdlib.h>
7869 _ACEOF
7870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7871 $EGREP "free" >/dev/null 2>&1; then :
7873 else
7874 ac_cv_header_stdc=no
7876 rm -f conftest*
7880 if test $ac_cv_header_stdc = yes; then
7881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7882 if test "$cross_compiling" = yes; then :
7884 else
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 #include <ctype.h>
7888 #include <stdlib.h>
7889 #if ((' ' & 0x0FF) == 0x020)
7890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7892 #else
7893 # define ISLOWER(c) \
7894 (('a' <= (c) && (c) <= 'i') \
7895 || ('j' <= (c) && (c) <= 'r') \
7896 || ('s' <= (c) && (c) <= 'z'))
7897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7898 #endif
7900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7902 main ()
7904 int i;
7905 for (i = 0; i < 256; i++)
7906 if (XOR (islower (i), ISLOWER (i))
7907 || toupper (i) != TOUPPER (i))
7908 return 2;
7909 return 0;
7911 _ACEOF
7912 if ac_fn_c_try_run "$LINENO"; then :
7914 else
7915 ac_cv_header_stdc=no
7917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7918 conftest.$ac_objext conftest.beam conftest.$ac_ext
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7924 $as_echo "$ac_cv_header_stdc" >&6; }
7925 if test $ac_cv_header_stdc = yes; then
7927 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7931 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7932 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7933 inttypes.h stdint.h unistd.h
7934 do :
7935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7938 eval as_val=\$$as_ac_Header
7939 if test "x$as_val" = x""yes; then :
7940 cat >>confdefs.h <<_ACEOF
7941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7942 _ACEOF
7946 done
7949 for ac_header in dlfcn.h
7950 do :
7951 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7953 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_DLFCN_H 1
7956 _ACEOF
7960 done
7967 # Set options
7972 enable_win32_dll=no
7975 # Check whether --enable-shared was given.
7976 if test "${enable_shared+set}" = set; then :
7977 enableval=$enable_shared; p=${PACKAGE-default}
7978 case $enableval in
7979 yes) enable_shared=yes ;;
7980 no) enable_shared=no ;;
7982 enable_shared=no
7983 # Look at the argument we got. We use all the common list separators.
7984 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7985 for pkg in $enableval; do
7986 IFS="$lt_save_ifs"
7987 if test "X$pkg" = "X$p"; then
7988 enable_shared=yes
7990 done
7991 IFS="$lt_save_ifs"
7993 esac
7994 else
7995 enable_shared=yes
8006 # Check whether --enable-static was given.
8007 if test "${enable_static+set}" = set; then :
8008 enableval=$enable_static; p=${PACKAGE-default}
8009 case $enableval in
8010 yes) enable_static=yes ;;
8011 no) enable_static=no ;;
8013 enable_static=no
8014 # Look at the argument we got. We use all the common list separators.
8015 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8016 for pkg in $enableval; do
8017 IFS="$lt_save_ifs"
8018 if test "X$pkg" = "X$p"; then
8019 enable_static=yes
8021 done
8022 IFS="$lt_save_ifs"
8024 esac
8025 else
8026 enable_static=yes
8038 # Check whether --with-pic was given.
8039 if test "${with_pic+set}" = set; then :
8040 withval=$with_pic; pic_mode="$withval"
8041 else
8042 pic_mode=default
8046 test -z "$pic_mode" && pic_mode=default
8054 # Check whether --enable-fast-install was given.
8055 if test "${enable_fast_install+set}" = set; then :
8056 enableval=$enable_fast_install; p=${PACKAGE-default}
8057 case $enableval in
8058 yes) enable_fast_install=yes ;;
8059 no) enable_fast_install=no ;;
8061 enable_fast_install=no
8062 # Look at the argument we got. We use all the common list separators.
8063 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8064 for pkg in $enableval; do
8065 IFS="$lt_save_ifs"
8066 if test "X$pkg" = "X$p"; then
8067 enable_fast_install=yes
8069 done
8070 IFS="$lt_save_ifs"
8072 esac
8073 else
8074 enable_fast_install=yes
8087 # This can be used to rebuild libtool when needed
8088 LIBTOOL_DEPS="$ltmain"
8090 # Always use our own libtool.
8091 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8118 test -z "$LN_S" && LN_S="ln -s"
8133 if test -n "${ZSH_VERSION+set}" ; then
8134 setopt NO_GLOB_SUBST
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8138 $as_echo_n "checking for objdir... " >&6; }
8139 if test "${lt_cv_objdir+set}" = set; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 rm -f .libs 2>/dev/null
8143 mkdir .libs 2>/dev/null
8144 if test -d .libs; then
8145 lt_cv_objdir=.libs
8146 else
8147 # MS-DOS does not allow filenames that begin with a dot.
8148 lt_cv_objdir=_libs
8150 rmdir .libs 2>/dev/null
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8153 $as_echo "$lt_cv_objdir" >&6; }
8154 objdir=$lt_cv_objdir
8160 cat >>confdefs.h <<_ACEOF
8161 #define LT_OBJDIR "$lt_cv_objdir/"
8162 _ACEOF
8167 case $host_os in
8168 aix3*)
8169 # AIX sometimes has problems with the GCC collect2 program. For some
8170 # reason, if we set the COLLECT_NAMES environment variable, the problems
8171 # vanish in a puff of smoke.
8172 if test "X${COLLECT_NAMES+set}" != Xset; then
8173 COLLECT_NAMES=
8174 export COLLECT_NAMES
8177 esac
8179 # Global variables:
8180 ofile=libtool
8181 can_build_shared=yes
8183 # All known linkers require a `.a' archive for static linking (except MSVC,
8184 # which needs '.lib').
8185 libext=a
8187 with_gnu_ld="$lt_cv_prog_gnu_ld"
8189 old_CC="$CC"
8190 old_CFLAGS="$CFLAGS"
8192 # Set sane defaults for various variables
8193 test -z "$CC" && CC=cc
8194 test -z "$LTCC" && LTCC=$CC
8195 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8196 test -z "$LD" && LD=ld
8197 test -z "$ac_objext" && ac_objext=o
8199 for cc_temp in $compiler""; do
8200 case $cc_temp in
8201 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8202 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8203 \-*) ;;
8204 *) break;;
8205 esac
8206 done
8207 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8210 # Only perform the check for file, if the check method requires it
8211 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8212 case $deplibs_check_method in
8213 file_magic*)
8214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8216 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 case $MAGIC_CMD in
8221 [\\/*] | ?:[\\/]*)
8222 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8225 lt_save_MAGIC_CMD="$MAGIC_CMD"
8226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8228 for ac_dir in $ac_dummy; do
8229 IFS="$lt_save_ifs"
8230 test -z "$ac_dir" && ac_dir=.
8231 if test -f $ac_dir/${ac_tool_prefix}file; then
8232 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8233 if test -n "$file_magic_test_file"; then
8234 case $deplibs_check_method in
8235 "file_magic "*)
8236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8239 $EGREP "$file_magic_regex" > /dev/null; then
8241 else
8242 cat <<_LT_EOF 1>&2
8244 *** Warning: the command libtool uses to detect shared libraries,
8245 *** $file_magic_cmd, produces output that libtool cannot recognize.
8246 *** The result is that libtool may fail to recognize shared libraries
8247 *** as such. This will affect the creation of libtool libraries that
8248 *** depend on shared libraries, but programs linked with such libtool
8249 *** libraries will work regardless of this problem. Nevertheless, you
8250 *** may want to report the problem to your system manager and/or to
8251 *** bug-libtool@gnu.org
8253 _LT_EOF
8254 fi ;;
8255 esac
8257 break
8259 done
8260 IFS="$lt_save_ifs"
8261 MAGIC_CMD="$lt_save_MAGIC_CMD"
8263 esac
8266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8267 if test -n "$MAGIC_CMD"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8269 $as_echo "$MAGIC_CMD" >&6; }
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8279 if test -z "$lt_cv_path_MAGIC_CMD"; then
8280 if test -n "$ac_tool_prefix"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8282 $as_echo_n "checking for file... " >&6; }
8283 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 case $MAGIC_CMD in
8287 [\\/*] | ?:[\\/]*)
8288 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8291 lt_save_MAGIC_CMD="$MAGIC_CMD"
8292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8294 for ac_dir in $ac_dummy; do
8295 IFS="$lt_save_ifs"
8296 test -z "$ac_dir" && ac_dir=.
8297 if test -f $ac_dir/file; then
8298 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8299 if test -n "$file_magic_test_file"; then
8300 case $deplibs_check_method in
8301 "file_magic "*)
8302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8305 $EGREP "$file_magic_regex" > /dev/null; then
8307 else
8308 cat <<_LT_EOF 1>&2
8310 *** Warning: the command libtool uses to detect shared libraries,
8311 *** $file_magic_cmd, produces output that libtool cannot recognize.
8312 *** The result is that libtool may fail to recognize shared libraries
8313 *** as such. This will affect the creation of libtool libraries that
8314 *** depend on shared libraries, but programs linked with such libtool
8315 *** libraries will work regardless of this problem. Nevertheless, you
8316 *** may want to report the problem to your system manager and/or to
8317 *** bug-libtool@gnu.org
8319 _LT_EOF
8320 fi ;;
8321 esac
8323 break
8325 done
8326 IFS="$lt_save_ifs"
8327 MAGIC_CMD="$lt_save_MAGIC_CMD"
8329 esac
8332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8333 if test -n "$MAGIC_CMD"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8335 $as_echo "$MAGIC_CMD" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8342 else
8343 MAGIC_CMD=:
8349 esac
8351 # Use C for the default configuration in the libtool script
8353 lt_save_CC="$CC"
8354 ac_ext=c
8355 ac_cpp='$CPP $CPPFLAGS'
8356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8361 # Source file extension for C test sources.
8362 ac_ext=c
8364 # Object file extension for compiled C test sources.
8365 objext=o
8366 objext=$objext
8368 # Code to be used in simple compile tests
8369 lt_simple_compile_test_code="int some_variable = 0;"
8371 # Code to be used in simple link tests
8372 lt_simple_link_test_code='int main(){return(0);}'
8380 # If no C compiler was specified, use CC.
8381 LTCC=${LTCC-"$CC"}
8383 # If no C compiler flags were specified, use CFLAGS.
8384 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8386 # Allow CC to be a program name with arguments.
8387 compiler=$CC
8389 # Save the default compiler, since it gets overwritten when the other
8390 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8391 compiler_DEFAULT=$CC
8393 # save warnings/boilerplate of simple test code
8394 ac_outfile=conftest.$ac_objext
8395 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8396 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8397 _lt_compiler_boilerplate=`cat conftest.err`
8398 $RM conftest*
8400 ac_outfile=conftest.$ac_objext
8401 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8402 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8403 _lt_linker_boilerplate=`cat conftest.err`
8404 $RM -r conftest*
8407 ## CAVEAT EMPTOR:
8408 ## There is no encapsulation within the following macros, do not change
8409 ## the running order or otherwise move them around unless you know exactly
8410 ## what you are doing...
8411 if test -n "$compiler"; then
8413 lt_prog_compiler_no_builtin_flag=
8415 if test "$GCC" = yes; then
8416 case $cc_basename in
8417 nvcc*)
8418 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8420 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8421 esac
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8425 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 lt_cv_prog_compiler_rtti_exceptions=no
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8431 lt_compiler_flag="-fno-rtti -fno-exceptions"
8432 # Insert the option either (1) after the last *FLAGS variable, or
8433 # (2) before a word containing "conftest.", or (3) at the end.
8434 # Note that $ac_compile itself does not contain backslashes and begins
8435 # with a dollar sign (not a hyphen), so the echo should work correctly.
8436 # The option is referenced via a variable to avoid confusing sed.
8437 lt_compile=`echo "$ac_compile" | $SED \
8438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440 -e 's:$: $lt_compiler_flag:'`
8441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442 (eval "$lt_compile" 2>conftest.err)
8443 ac_status=$?
8444 cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 if (exit $ac_status) && test -s "$ac_outfile"; then
8447 # The compiler can only warn and ignore the option if not recognized
8448 # So say no if there are warnings other than the usual output.
8449 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8451 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8452 lt_cv_prog_compiler_rtti_exceptions=yes
8455 $RM conftest*
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8461 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8463 else
8474 lt_prog_compiler_wl=
8475 lt_prog_compiler_pic=
8476 lt_prog_compiler_static=
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8479 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8481 if test "$GCC" = yes; then
8482 lt_prog_compiler_wl='-Wl,'
8483 lt_prog_compiler_static='-static'
8485 case $host_os in
8486 aix*)
8487 # All AIX code is PIC.
8488 if test "$host_cpu" = ia64; then
8489 # AIX 5 now supports IA64 processor
8490 lt_prog_compiler_static='-Bstatic'
8494 amigaos*)
8495 case $host_cpu in
8496 powerpc)
8497 # see comment about AmigaOS4 .so support
8498 lt_prog_compiler_pic='-fPIC'
8500 m68k)
8501 # FIXME: we need at least 68020 code to build shared libraries, but
8502 # adding the `-m68020' flag to GCC prevents building anything better,
8503 # like `-m68040'.
8504 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8506 esac
8509 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8510 # PIC is the default for these OSes.
8513 mingw* | cygwin* | pw32* | os2* | cegcc*)
8514 # This hack is so that the source file can tell whether it is being
8515 # built for inclusion in a dll (and should export symbols for example).
8516 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8517 # (--disable-auto-import) libraries
8518 lt_prog_compiler_pic='-DDLL_EXPORT'
8521 darwin* | rhapsody*)
8522 # PIC is the default on this platform
8523 # Common symbols not allowed in MH_DYLIB files
8524 lt_prog_compiler_pic='-fno-common'
8527 haiku*)
8528 # PIC is the default for Haiku.
8529 # The "-static" flag exists, but is broken.
8530 lt_prog_compiler_static=
8533 hpux*)
8534 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8535 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8536 # sets the default TLS model and affects inlining.
8537 case $host_cpu in
8538 hppa*64*)
8539 # +Z the default
8542 lt_prog_compiler_pic='-fPIC'
8544 esac
8547 interix[3-9]*)
8548 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8549 # Instead, we relocate shared libraries at runtime.
8552 msdosdjgpp*)
8553 # Just because we use GCC doesn't mean we suddenly get shared libraries
8554 # on systems that don't support them.
8555 lt_prog_compiler_can_build_shared=no
8556 enable_shared=no
8559 *nto* | *qnx*)
8560 # QNX uses GNU C++, but need to define -shared option too, otherwise
8561 # it will coredump.
8562 lt_prog_compiler_pic='-fPIC -shared'
8565 sysv4*MP*)
8566 if test -d /usr/nec; then
8567 lt_prog_compiler_pic=-Kconform_pic
8572 lt_prog_compiler_pic='-fPIC'
8574 esac
8576 case $cc_basename in
8577 nvcc*) # Cuda Compiler Driver 2.2
8578 lt_prog_compiler_wl='-Xlinker '
8579 lt_prog_compiler_pic='-Xcompiler -fPIC'
8581 esac
8582 else
8583 # PORTME Check for flag to pass linker flags through the system compiler.
8584 case $host_os in
8585 aix*)
8586 lt_prog_compiler_wl='-Wl,'
8587 if test "$host_cpu" = ia64; then
8588 # AIX 5 now supports IA64 processor
8589 lt_prog_compiler_static='-Bstatic'
8590 else
8591 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8595 mingw* | cygwin* | pw32* | os2* | cegcc*)
8596 # This hack is so that the source file can tell whether it is being
8597 # built for inclusion in a dll (and should export symbols for example).
8598 lt_prog_compiler_pic='-DDLL_EXPORT'
8601 hpux9* | hpux10* | hpux11*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8604 # not for PA HP-UX.
8605 case $host_cpu in
8606 hppa*64*|ia64*)
8607 # +Z the default
8610 lt_prog_compiler_pic='+Z'
8612 esac
8613 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8614 lt_prog_compiler_static='${wl}-a ${wl}archive'
8617 irix5* | irix6* | nonstopux*)
8618 lt_prog_compiler_wl='-Wl,'
8619 # PIC (with -KPIC) is the default.
8620 lt_prog_compiler_static='-non_shared'
8623 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8624 case $cc_basename in
8625 # old Intel for x86_64 which still supported -KPIC.
8626 ecc*)
8627 lt_prog_compiler_wl='-Wl,'
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-static'
8631 # icc used to be incompatible with GCC.
8632 # ICC 10 doesn't accept -KPIC any more.
8633 icc* | ifort*)
8634 lt_prog_compiler_wl='-Wl,'
8635 lt_prog_compiler_pic='-fPIC'
8636 lt_prog_compiler_static='-static'
8638 # Lahey Fortran 8.1.
8639 lf95*)
8640 lt_prog_compiler_wl='-Wl,'
8641 lt_prog_compiler_pic='--shared'
8642 lt_prog_compiler_static='--static'
8644 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8645 # Portland Group compilers (*not* the Pentium gcc compiler,
8646 # which looks to be a dead project)
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-fpic'
8649 lt_prog_compiler_static='-Bstatic'
8651 ccc*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # All Alpha code is PIC.
8654 lt_prog_compiler_static='-non_shared'
8656 xl* | bgxl* | bgf* | mpixl*)
8657 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-qpic'
8660 lt_prog_compiler_static='-qstaticlink'
8663 case `$CC -V 2>&1 | sed 5q` in
8664 *Sun\ F* | *Sun*Fortran*)
8665 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8668 lt_prog_compiler_wl=''
8670 *Sun\ C*)
8671 # Sun C 5.9
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8674 lt_prog_compiler_wl='-Wl,'
8676 esac
8678 esac
8681 newsos6)
8682 lt_prog_compiler_pic='-KPIC'
8683 lt_prog_compiler_static='-Bstatic'
8686 *nto* | *qnx*)
8687 # QNX uses GNU C++, but need to define -shared option too, otherwise
8688 # it will coredump.
8689 lt_prog_compiler_pic='-fPIC -shared'
8692 osf3* | osf4* | osf5*)
8693 lt_prog_compiler_wl='-Wl,'
8694 # All OSF/1 code is PIC.
8695 lt_prog_compiler_static='-non_shared'
8698 rdos*)
8699 lt_prog_compiler_static='-non_shared'
8702 solaris*)
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-Bstatic'
8705 case $cc_basename in
8706 f77* | f90* | f95*)
8707 lt_prog_compiler_wl='-Qoption ld ';;
8709 lt_prog_compiler_wl='-Wl,';;
8710 esac
8713 sunos4*)
8714 lt_prog_compiler_wl='-Qoption ld '
8715 lt_prog_compiler_pic='-PIC'
8716 lt_prog_compiler_static='-Bstatic'
8719 sysv4 | sysv4.2uw2* | sysv4.3*)
8720 lt_prog_compiler_wl='-Wl,'
8721 lt_prog_compiler_pic='-KPIC'
8722 lt_prog_compiler_static='-Bstatic'
8725 sysv4*MP*)
8726 if test -d /usr/nec ;then
8727 lt_prog_compiler_pic='-Kconform_pic'
8728 lt_prog_compiler_static='-Bstatic'
8732 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8733 lt_prog_compiler_wl='-Wl,'
8734 lt_prog_compiler_pic='-KPIC'
8735 lt_prog_compiler_static='-Bstatic'
8738 unicos*)
8739 lt_prog_compiler_wl='-Wl,'
8740 lt_prog_compiler_can_build_shared=no
8743 uts4*)
8744 lt_prog_compiler_pic='-pic'
8745 lt_prog_compiler_static='-Bstatic'
8749 lt_prog_compiler_can_build_shared=no
8751 esac
8754 case $host_os in
8755 # For platforms which do not support PIC, -DPIC is meaningless:
8756 *djgpp*)
8757 lt_prog_compiler_pic=
8760 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8762 esac
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8764 $as_echo "$lt_prog_compiler_pic" >&6; }
8772 # Check to make sure the PIC flag actually works.
8774 if test -n "$lt_prog_compiler_pic"; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8776 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8777 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 lt_cv_prog_compiler_pic_works=no
8781 ac_outfile=conftest.$ac_objext
8782 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8783 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8784 # Insert the option either (1) after the last *FLAGS variable, or
8785 # (2) before a word containing "conftest.", or (3) at the end.
8786 # Note that $ac_compile itself does not contain backslashes and begins
8787 # with a dollar sign (not a hyphen), so the echo should work correctly.
8788 # The option is referenced via a variable to avoid confusing sed.
8789 lt_compile=`echo "$ac_compile" | $SED \
8790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8792 -e 's:$: $lt_compiler_flag:'`
8793 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8794 (eval "$lt_compile" 2>conftest.err)
8795 ac_status=$?
8796 cat conftest.err >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 if (exit $ac_status) && test -s "$ac_outfile"; then
8799 # The compiler can only warn and ignore the option if not recognized
8800 # So say no if there are warnings other than the usual output.
8801 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8803 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8804 lt_cv_prog_compiler_pic_works=yes
8807 $RM conftest*
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8811 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8813 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8814 case $lt_prog_compiler_pic in
8815 "" | " "*) ;;
8816 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8817 esac
8818 else
8819 lt_prog_compiler_pic=
8820 lt_prog_compiler_can_build_shared=no
8831 # Check to make sure the static flag actually works.
8833 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8835 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8836 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 lt_cv_prog_compiler_static_works=no
8840 save_LDFLAGS="$LDFLAGS"
8841 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8844 # The linker can only warn and ignore the option if not recognized
8845 # So say no if there are warnings
8846 if test -s conftest.err; then
8847 # Append any errors to the config.log.
8848 cat conftest.err 1>&5
8849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8851 if diff conftest.exp conftest.er2 >/dev/null; then
8852 lt_cv_prog_compiler_static_works=yes
8854 else
8855 lt_cv_prog_compiler_static_works=yes
8858 $RM -r conftest*
8859 LDFLAGS="$save_LDFLAGS"
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8863 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8865 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8867 else
8868 lt_prog_compiler_static=
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8879 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 lt_cv_prog_compiler_c_o=no
8883 $RM -r conftest 2>/dev/null
8884 mkdir conftest
8885 cd conftest
8886 mkdir out
8887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889 lt_compiler_flag="-o out/conftest2.$ac_objext"
8890 # Insert the option either (1) after the last *FLAGS variable, or
8891 # (2) before a word containing "conftest.", or (3) at the end.
8892 # Note that $ac_compile itself does not contain backslashes and begins
8893 # with a dollar sign (not a hyphen), so the echo should work correctly.
8894 lt_compile=`echo "$ac_compile" | $SED \
8895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8897 -e 's:$: $lt_compiler_flag:'`
8898 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8899 (eval "$lt_compile" 2>out/conftest.err)
8900 ac_status=$?
8901 cat out/conftest.err >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8904 then
8905 # The compiler can only warn and ignore the option if not recognized
8906 # So say no if there are warnings
8907 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8908 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8909 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_c_o=yes
8913 chmod u+w . 2>&5
8914 $RM conftest*
8915 # SGI C++ compiler will create directory out/ii_files/ for
8916 # template instantiation
8917 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8918 $RM out/* && rmdir out
8919 cd ..
8920 $RM -r conftest
8921 $RM conftest*
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 lt_cv_prog_compiler_c_o=no
8938 $RM -r conftest 2>/dev/null
8939 mkdir conftest
8940 cd conftest
8941 mkdir out
8942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8944 lt_compiler_flag="-o out/conftest2.$ac_objext"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 lt_compile=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>out/conftest.err)
8955 ac_status=$?
8956 cat out/conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8959 then
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings
8962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8965 lt_cv_prog_compiler_c_o=yes
8968 chmod u+w . 2>&5
8969 $RM conftest*
8970 # SGI C++ compiler will create directory out/ii_files/ for
8971 # template instantiation
8972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8973 $RM out/* && rmdir out
8974 cd ..
8975 $RM -r conftest
8976 $RM conftest*
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8985 hard_links="nottested"
8986 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8987 # do not overwrite the value of need_locks provided by the user
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8989 $as_echo_n "checking if we can lock with hard links... " >&6; }
8990 hard_links=yes
8991 $RM conftest*
8992 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8993 touch conftest.a
8994 ln conftest.a conftest.b 2>&5 || hard_links=no
8995 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8997 $as_echo "$hard_links" >&6; }
8998 if test "$hard_links" = no; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9000 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9001 need_locks=warn
9003 else
9004 need_locks=no
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9015 runpath_var=
9016 allow_undefined_flag=
9017 always_export_symbols=no
9018 archive_cmds=
9019 archive_expsym_cmds=
9020 compiler_needs_object=no
9021 enable_shared_with_static_runtimes=no
9022 export_dynamic_flag_spec=
9023 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9024 hardcode_automatic=no
9025 hardcode_direct=no
9026 hardcode_direct_absolute=no
9027 hardcode_libdir_flag_spec=
9028 hardcode_libdir_flag_spec_ld=
9029 hardcode_libdir_separator=
9030 hardcode_minus_L=no
9031 hardcode_shlibpath_var=unsupported
9032 inherit_rpath=no
9033 link_all_deplibs=unknown
9034 module_cmds=
9035 module_expsym_cmds=
9036 old_archive_from_new_cmds=
9037 old_archive_from_expsyms_cmds=
9038 thread_safe_flag_spec=
9039 whole_archive_flag_spec=
9040 # include_expsyms should be a list of space-separated symbols to be *always*
9041 # included in the symbol list
9042 include_expsyms=
9043 # exclude_expsyms can be an extended regexp of symbols to exclude
9044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9046 # as well as any symbol that contains `d'.
9047 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9049 # platforms (ab)use it in PIC code, but their linkers get confused if
9050 # the symbol is explicitly referenced. Since portable code cannot
9051 # rely on this symbol name, it's probably fine to never include it in
9052 # preloaded symbol tables.
9053 # Exclude shared library initialization/finalization symbols.
9054 extract_expsyms_cmds=
9056 case $host_os in
9057 cygwin* | mingw* | pw32* | cegcc*)
9058 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9059 # When not using gcc, we currently assume that we are using
9060 # Microsoft Visual C++.
9061 if test "$GCC" != yes; then
9062 with_gnu_ld=no
9065 interix*)
9066 # we just hope/assume this is gcc and not c89 (= MSVC++)
9067 with_gnu_ld=yes
9069 openbsd*)
9070 with_gnu_ld=no
9072 esac
9074 ld_shlibs=yes
9076 # On some targets, GNU ld is compatible enough with the native linker
9077 # that we're better off using the native interface for both.
9078 lt_use_gnu_ld_interface=no
9079 if test "$with_gnu_ld" = yes; then
9080 case $host_os in
9081 aix*)
9082 # The AIX port of GNU ld has always aspired to compatibility
9083 # with the native linker. However, as the warning in the GNU ld
9084 # block says, versions before 2.19.5* couldn't really create working
9085 # shared libraries, regardless of the interface used.
9086 case `$LD -v 2>&1` in
9087 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9088 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9089 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9091 lt_use_gnu_ld_interface=yes
9093 esac
9096 lt_use_gnu_ld_interface=yes
9098 esac
9101 if test "$lt_use_gnu_ld_interface" = yes; then
9102 # If archive_cmds runs LD, not CC, wlarc should be empty
9103 wlarc='${wl}'
9105 # Set some defaults for GNU ld with shared library support. These
9106 # are reset later if shared libraries are not supported. Putting them
9107 # here allows them to be overridden if necessary.
9108 runpath_var=LD_RUN_PATH
9109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9110 export_dynamic_flag_spec='${wl}--export-dynamic'
9111 # ancient GNU ld didn't support --whole-archive et. al.
9112 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9113 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9114 else
9115 whole_archive_flag_spec=
9117 supports_anon_versioning=no
9118 case `$LD -v 2>&1` in
9119 *GNU\ gold*) supports_anon_versioning=yes ;;
9120 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9121 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9122 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9123 *\ 2.11.*) ;; # other 2.11 versions
9124 *) supports_anon_versioning=yes ;;
9125 esac
9127 # See if GNU ld supports shared libraries.
9128 case $host_os in
9129 aix[3-9]*)
9130 # On AIX/PPC, the GNU linker is very broken
9131 if test "$host_cpu" != ia64; then
9132 ld_shlibs=no
9133 cat <<_LT_EOF 1>&2
9135 *** Warning: the GNU linker, at least up to release 2.19, is reported
9136 *** to be unable to reliably create shared libraries on AIX.
9137 *** Therefore, libtool is disabling shared libraries support. If you
9138 *** really care for shared libraries, you may want to install binutils
9139 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9140 *** You will then need to restart the configuration process.
9142 _LT_EOF
9146 amigaos*)
9147 case $host_cpu in
9148 powerpc)
9149 # see comment about AmigaOS4 .so support
9150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds=''
9153 m68k)
9154 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)'
9155 hardcode_libdir_flag_spec='-L$libdir'
9156 hardcode_minus_L=yes
9158 esac
9161 beos*)
9162 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9163 allow_undefined_flag=unsupported
9164 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9165 # support --undefined. This deserves some investigation. FIXME
9166 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 else
9168 ld_shlibs=no
9172 cygwin* | mingw* | pw32* | cegcc*)
9173 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9174 # as there is no search path for DLLs.
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 export_dynamic_flag_spec='${wl}--export-all-symbols'
9177 allow_undefined_flag=unsupported
9178 always_export_symbols=no
9179 enable_shared_with_static_runtimes=yes
9180 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9182 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9184 # If the export-symbols file already is a .def file (1st line
9185 # is EXPORTS), use it as is; otherwise, prepend...
9186 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9187 cp $export_symbols $output_objdir/$soname.def;
9188 else
9189 echo EXPORTS > $output_objdir/$soname.def;
9190 cat $export_symbols >> $output_objdir/$soname.def;
9192 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9193 else
9194 ld_shlibs=no
9198 haiku*)
9199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200 link_all_deplibs=yes
9203 interix[3-9]*)
9204 hardcode_direct=no
9205 hardcode_shlibpath_var=no
9206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9207 export_dynamic_flag_spec='${wl}-E'
9208 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9209 # Instead, shared libraries are loaded at an image base (0x10000000 by
9210 # default) and relocated if they conflict, which is a slow very memory
9211 # consuming and fragmenting process. To avoid this, we pick a random,
9212 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9213 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9214 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9215 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'
9218 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9219 tmp_diet=no
9220 if test "$host_os" = linux-dietlibc; then
9221 case $cc_basename in
9222 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9223 esac
9225 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9226 && test "$tmp_diet" = no
9227 then
9228 tmp_addflag=
9229 tmp_sharedflag='-shared'
9230 case $cc_basename,$host_cpu in
9231 pgcc*) # Portland Group C compiler
9232 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'
9233 tmp_addflag=' $pic_flag'
9235 pgf77* | pgf90* | pgf95* | pgfortran*)
9236 # Portland Group f77 and f90 compilers
9237 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'
9238 tmp_addflag=' $pic_flag -Mnomain' ;;
9239 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9240 tmp_addflag=' -i_dynamic' ;;
9241 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9242 tmp_addflag=' -i_dynamic -nofor_main' ;;
9243 ifc* | ifort*) # Intel Fortran compiler
9244 tmp_addflag=' -nofor_main' ;;
9245 lf95*) # Lahey Fortran 8.1
9246 whole_archive_flag_spec=
9247 tmp_sharedflag='--shared' ;;
9248 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9249 tmp_sharedflag='-qmkshrobj'
9250 tmp_addflag= ;;
9251 nvcc*) # Cuda Compiler Driver 2.2
9252 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'
9253 compiler_needs_object=yes
9255 esac
9256 case `$CC -V 2>&1 | sed 5q` in
9257 *Sun\ C*) # Sun C 5.9
9258 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'
9259 compiler_needs_object=yes
9260 tmp_sharedflag='-G' ;;
9261 *Sun\ F*) # Sun Fortran 8.3
9262 tmp_sharedflag='-G' ;;
9263 esac
9264 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9266 if test "x$supports_anon_versioning" = xyes; then
9267 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9268 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9269 echo "local: *; };" >> $output_objdir/$libname.ver~
9270 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9273 case $cc_basename in
9274 xlf* | bgf* | bgxlf* | mpixlf*)
9275 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9276 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9277 hardcode_libdir_flag_spec=
9278 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9279 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9280 if test "x$supports_anon_versioning" = xyes; then
9281 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9282 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9283 echo "local: *; };" >> $output_objdir/$libname.ver~
9284 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9287 esac
9288 else
9289 ld_shlibs=no
9293 netbsd*)
9294 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9295 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9296 wlarc=
9297 else
9298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303 solaris*)
9304 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9305 ld_shlibs=no
9306 cat <<_LT_EOF 1>&2
9308 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9309 *** create shared libraries on Solaris systems. Therefore, libtool
9310 *** is disabling shared libraries support. We urge you to upgrade GNU
9311 *** binutils to release 2.9.1 or newer. Another option is to modify
9312 *** your PATH or compiler configuration so that the native linker is
9313 *** used, and then restart.
9315 _LT_EOF
9316 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 else
9320 ld_shlibs=no
9324 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9325 case `$LD -v 2>&1` in
9326 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9327 ld_shlibs=no
9328 cat <<_LT_EOF 1>&2
9330 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9331 *** reliably create shared libraries on SCO systems. Therefore, libtool
9332 *** is disabling shared libraries support. We urge you to upgrade GNU
9333 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9334 *** your PATH or compiler configuration so that the native linker is
9335 *** used, and then restart.
9337 _LT_EOF
9340 # For security reasons, it is highly recommended that you always
9341 # use absolute paths for naming shared libraries, and exclude the
9342 # DT_RUNPATH tag from executables and libraries. But doing so
9343 # requires that you compile everything twice, which is a pain.
9344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9345 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9346 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9347 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 else
9349 ld_shlibs=no
9352 esac
9355 sunos4*)
9356 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9357 wlarc=
9358 hardcode_direct=yes
9359 hardcode_shlibpath_var=no
9363 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9364 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9366 else
9367 ld_shlibs=no
9370 esac
9372 if test "$ld_shlibs" = no; then
9373 runpath_var=
9374 hardcode_libdir_flag_spec=
9375 export_dynamic_flag_spec=
9376 whole_archive_flag_spec=
9378 else
9379 # PORTME fill in a description of your system's linker (not GNU ld)
9380 case $host_os in
9381 aix3*)
9382 allow_undefined_flag=unsupported
9383 always_export_symbols=yes
9384 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'
9385 # Note: this linker hardcodes the directories in LIBPATH if there
9386 # are no directories specified by -L.
9387 hardcode_minus_L=yes
9388 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9389 # Neither direct hardcoding nor static linking is supported with a
9390 # broken collect2.
9391 hardcode_direct=unsupported
9395 aix[4-9]*)
9396 if test "$host_cpu" = ia64; then
9397 # On IA64, the linker does run time linking by default, so we don't
9398 # have to do anything special.
9399 aix_use_runtimelinking=no
9400 exp_sym_flag='-Bexport'
9401 no_entry_flag=""
9402 else
9403 # If we're using GNU nm, then we don't want the "-C" option.
9404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9405 # Also, AIX nm treats weak defined symbols like other global
9406 # defined symbols, whereas GNU nm marks them as "W".
9407 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9408 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'
9409 else
9410 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'
9412 aix_use_runtimelinking=no
9414 # Test if we are trying to use run time linking or normal
9415 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9416 # need to do runtime linking.
9417 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9418 for ld_flag in $LDFLAGS; do
9419 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9420 aix_use_runtimelinking=yes
9421 break
9423 done
9425 esac
9427 exp_sym_flag='-bexport'
9428 no_entry_flag='-bnoentry'
9431 # When large executables or shared objects are built, AIX ld can
9432 # have problems creating the table of contents. If linking a library
9433 # or program results in "error TOC overflow" add -mminimal-toc to
9434 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9435 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9437 archive_cmds=''
9438 hardcode_direct=yes
9439 hardcode_direct_absolute=yes
9440 hardcode_libdir_separator=':'
9441 link_all_deplibs=yes
9442 file_list_spec='${wl}-f,'
9444 if test "$GCC" = yes; then
9445 case $host_os in aix4.[012]|aix4.[012].*)
9446 # We only want to do this on AIX 4.2 and lower, the check
9447 # below for broken collect2 doesn't work under 4.3+
9448 collect2name=`${CC} -print-prog-name=collect2`
9449 if test -f "$collect2name" &&
9450 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9451 then
9452 # We have reworked collect2
9454 else
9455 # We have old collect2
9456 hardcode_direct=unsupported
9457 # It fails to find uninstalled libraries when the uninstalled
9458 # path is not listed in the libpath. Setting hardcode_minus_L
9459 # to unsupported forces relinking
9460 hardcode_minus_L=yes
9461 hardcode_libdir_flag_spec='-L$libdir'
9462 hardcode_libdir_separator=
9465 esac
9466 shared_flag='-shared'
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag="$shared_flag "'${wl}-G'
9470 else
9471 # not using gcc
9472 if test "$host_cpu" = ia64; then
9473 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9474 # chokes on -Wl,-G. The following line is correct:
9475 shared_flag='-G'
9476 else
9477 if test "$aix_use_runtimelinking" = yes; then
9478 shared_flag='${wl}-G'
9479 else
9480 shared_flag='${wl}-bM:SRE'
9485 export_dynamic_flag_spec='${wl}-bexpall'
9486 # It seems that -bexpall does not export symbols beginning with
9487 # underscore (_), so it is better to generate a list of symbols to export.
9488 always_export_symbols=yes
9489 if test "$aix_use_runtimelinking" = yes; then
9490 # Warning - without using the other runtime loading flags (-brtl),
9491 # -berok will link without error, but may produce a broken library.
9492 allow_undefined_flag='-berok'
9493 # Determine the default libpath from the value encoded in an
9494 # empty executable.
9495 if test x$gcc_no_link = xyes; then
9496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9502 main ()
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9511 lt_aix_libpath_sed='
9512 /Import File Strings/,/^$/ {
9513 /^0/ {
9514 s/^0 *\(.*\)$/\1/
9518 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9519 # Check for a 64-bit object if we didn't find anything.
9520 if test -z "$aix_libpath"; then
9521 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9528 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529 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"
9530 else
9531 if test "$host_cpu" = ia64; then
9532 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9533 allow_undefined_flag="-z nodefs"
9534 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"
9535 else
9536 # Determine the default libpath from the value encoded in an
9537 # empty executable.
9538 if test x$gcc_no_link = xyes; then
9539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9545 main ()
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9554 lt_aix_libpath_sed='
9555 /Import File Strings/,/^$/ {
9556 /^0/ {
9557 s/^0 *\(.*\)$/\1/
9561 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9562 # Check for a 64-bit object if we didn't find anything.
9563 if test -z "$aix_libpath"; then
9564 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9571 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9572 # Warning - without using the other run time loading flags,
9573 # -berok will link without error, but may produce a broken library.
9574 no_undefined_flag=' ${wl}-bernotok'
9575 allow_undefined_flag=' ${wl}-berok'
9576 if test "$with_gnu_ld" = yes; then
9577 # We only use this code for GNU lds that support --whole-archive.
9578 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9579 else
9580 # Exported symbols can be pulled into shared objects from archives
9581 whole_archive_flag_spec='$convenience'
9583 archive_cmds_need_lc=yes
9584 # This is similar to how AIX traditionally builds its shared libraries.
9585 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'
9590 amigaos*)
9591 case $host_cpu in
9592 powerpc)
9593 # see comment about AmigaOS4 .so support
9594 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9595 archive_expsym_cmds=''
9597 m68k)
9598 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)'
9599 hardcode_libdir_flag_spec='-L$libdir'
9600 hardcode_minus_L=yes
9602 esac
9605 bsdi[45]*)
9606 export_dynamic_flag_spec=-rdynamic
9609 cygwin* | mingw* | pw32* | cegcc*)
9610 # When not using gcc, we currently assume that we are using
9611 # Microsoft Visual C++.
9612 # hardcode_libdir_flag_spec is actually meaningless, as there is
9613 # no search path for DLLs.
9614 hardcode_libdir_flag_spec=' '
9615 allow_undefined_flag=unsupported
9616 # Tell ltmain to make .lib files, not .a files.
9617 libext=lib
9618 # Tell ltmain to make .dll files, not .so files.
9619 shrext_cmds=".dll"
9620 # FIXME: Setting linknames here is a bad hack.
9621 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9622 # The linker will automatically build a .lib file if we build a DLL.
9623 old_archive_from_new_cmds='true'
9624 # FIXME: Should let the user specify the lib program.
9625 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9626 fix_srcfile_path='`cygpath -w "$srcfile"`'
9627 enable_shared_with_static_runtimes=yes
9630 darwin* | rhapsody*)
9633 archive_cmds_need_lc=no
9634 hardcode_direct=no
9635 hardcode_automatic=yes
9636 hardcode_shlibpath_var=unsupported
9637 if test "$lt_cv_ld_force_load" = "yes"; then
9638 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\"`'
9639 else
9640 whole_archive_flag_spec=''
9642 link_all_deplibs=yes
9643 allow_undefined_flag="$_lt_dar_allow_undefined"
9644 case $cc_basename in
9645 ifort*) _lt_dar_can_shared=yes ;;
9646 *) _lt_dar_can_shared=$GCC ;;
9647 esac
9648 if test "$_lt_dar_can_shared" = "yes"; then
9649 output_verbose_link_cmd=func_echo_all
9650 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9651 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9652 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}"
9653 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}"
9655 else
9656 ld_shlibs=no
9661 dgux*)
9662 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_shlibpath_var=no
9667 freebsd1*)
9668 ld_shlibs=no
9671 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9672 # support. Future versions do this automatically, but an explicit c++rt0.o
9673 # does not break anything, and helps significantly (at the cost of a little
9674 # extra space).
9675 freebsd2.2*)
9676 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_direct=yes
9679 hardcode_shlibpath_var=no
9682 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9683 freebsd2*)
9684 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_direct=yes
9686 hardcode_minus_L=yes
9687 hardcode_shlibpath_var=no
9690 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9691 freebsd* | dragonfly*)
9692 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9693 hardcode_libdir_flag_spec='-R$libdir'
9694 hardcode_direct=yes
9695 hardcode_shlibpath_var=no
9698 hpux9*)
9699 if test "$GCC" = yes; then
9700 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'
9701 else
9702 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'
9704 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9705 hardcode_libdir_separator=:
9706 hardcode_direct=yes
9708 # hardcode_minus_L: Not really in the search PATH,
9709 # but as the default location of the library.
9710 hardcode_minus_L=yes
9711 export_dynamic_flag_spec='${wl}-E'
9714 hpux10*)
9715 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9716 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9717 else
9718 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9720 if test "$with_gnu_ld" = no; then
9721 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722 hardcode_libdir_flag_spec_ld='+b $libdir'
9723 hardcode_libdir_separator=:
9724 hardcode_direct=yes
9725 hardcode_direct_absolute=yes
9726 export_dynamic_flag_spec='${wl}-E'
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9733 hpux11*)
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 case $host_cpu in
9736 hppa*64*)
9737 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 ia64*)
9740 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9745 esac
9746 else
9747 case $host_cpu in
9748 hppa*64*)
9749 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9751 ia64*)
9752 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9756 # Older versions of the 11.00 compiler do not understand -b yet
9757 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9759 $as_echo_n "checking if $CC understands -b... " >&6; }
9760 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 lt_cv_prog_compiler__b=no
9764 save_LDFLAGS="$LDFLAGS"
9765 LDFLAGS="$LDFLAGS -b"
9766 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9767 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9768 # The linker can only warn and ignore the option if not recognized
9769 # So say no if there are warnings
9770 if test -s conftest.err; then
9771 # Append any errors to the config.log.
9772 cat conftest.err 1>&5
9773 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9775 if diff conftest.exp conftest.er2 >/dev/null; then
9776 lt_cv_prog_compiler__b=yes
9778 else
9779 lt_cv_prog_compiler__b=yes
9782 $RM -r conftest*
9783 LDFLAGS="$save_LDFLAGS"
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9787 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9789 if test x"$lt_cv_prog_compiler__b" = xyes; then
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 else
9792 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796 esac
9798 if test "$with_gnu_ld" = no; then
9799 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800 hardcode_libdir_separator=:
9802 case $host_cpu in
9803 hppa*64*|ia64*)
9804 hardcode_direct=no
9805 hardcode_shlibpath_var=no
9808 hardcode_direct=yes
9809 hardcode_direct_absolute=yes
9810 export_dynamic_flag_spec='${wl}-E'
9812 # hardcode_minus_L: Not really in the search PATH,
9813 # but as the default location of the library.
9814 hardcode_minus_L=yes
9816 esac
9820 irix5* | irix6* | nonstopux*)
9821 if test "$GCC" = yes; then
9822 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'
9823 # Try to use the -exported_symbol ld option, if it does not
9824 # work, assume that -exports_file does not work either and
9825 # implicitly export all symbols.
9826 save_LDFLAGS="$LDFLAGS"
9827 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9828 if test x$gcc_no_link = xyes; then
9829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int foo(void) {}
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 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'
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 LDFLAGS="$save_LDFLAGS"
9842 else
9843 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'
9844 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'
9846 archive_cmds_need_lc='no'
9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848 hardcode_libdir_separator=:
9849 inherit_rpath=yes
9850 link_all_deplibs=yes
9853 netbsd*)
9854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9856 else
9857 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9859 hardcode_libdir_flag_spec='-R$libdir'
9860 hardcode_direct=yes
9861 hardcode_shlibpath_var=no
9864 newsos6)
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_direct=yes
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 hardcode_shlibpath_var=no
9872 *nto* | *qnx*)
9875 openbsd*)
9876 if test -f /usr/libexec/ld.so; then
9877 hardcode_direct=yes
9878 hardcode_shlibpath_var=no
9879 hardcode_direct_absolute=yes
9880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9881 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884 export_dynamic_flag_spec='${wl}-E'
9885 else
9886 case $host_os in
9887 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9888 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-R$libdir'
9892 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9895 esac
9897 else
9898 ld_shlibs=no
9902 os2*)
9903 hardcode_libdir_flag_spec='-L$libdir'
9904 hardcode_minus_L=yes
9905 allow_undefined_flag=unsupported
9906 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'
9907 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9910 osf3*)
9911 if test "$GCC" = yes; then
9912 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913 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'
9914 else
9915 allow_undefined_flag=' -expect_unresolved \*'
9916 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'
9918 archive_cmds_need_lc='no'
9919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 hardcode_libdir_separator=:
9923 osf4* | osf5*) # as osf3* with the addition of -msym flag
9924 if test "$GCC" = yes; then
9925 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9926 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'
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 else
9929 allow_undefined_flag=' -expect_unresolved \*'
9930 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'
9931 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~
9932 $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'
9934 # Both c and cxx compiler support -rpath directly
9935 hardcode_libdir_flag_spec='-rpath $libdir'
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_separator=:
9941 solaris*)
9942 no_undefined_flag=' -z defs'
9943 if test "$GCC" = yes; then
9944 wlarc='${wl}'
9945 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9948 else
9949 case `$CC -V 2>&1` in
9950 *"Compilers 5.0"*)
9951 wlarc=''
9952 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9957 wlarc='${wl}'
9958 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9960 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9962 esac
9964 hardcode_libdir_flag_spec='-R$libdir'
9965 hardcode_shlibpath_var=no
9966 case $host_os in
9967 solaris2.[0-5] | solaris2.[0-5].*) ;;
9969 # The compiler driver will combine and reorder linker options,
9970 # but understands `-z linker_flag'. GCC discards it without `$wl',
9971 # but is careful enough not to reorder.
9972 # Supported since Solaris 2.6 (maybe 2.5.1?)
9973 if test "$GCC" = yes; then
9974 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9975 else
9976 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9979 esac
9980 link_all_deplibs=yes
9983 sunos4*)
9984 if test "x$host_vendor" = xsequent; then
9985 # Use $CC to link under sequent, because it throws in some extra .o
9986 # files that make .init and .fini sections work.
9987 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988 else
9989 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_libdir_flag_spec='-L$libdir'
9992 hardcode_direct=yes
9993 hardcode_minus_L=yes
9994 hardcode_shlibpath_var=no
9997 sysv4)
9998 case $host_vendor in
9999 sni)
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes # is this really true???
10003 siemens)
10004 ## LD is ld it makes a PLAMLIB
10005 ## CC just makes a GrossModule.
10006 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10007 reload_cmds='$CC -r -o $output$reload_objs'
10008 hardcode_direct=no
10010 motorola)
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10014 esac
10015 runpath_var='LD_RUN_PATH'
10016 hardcode_shlibpath_var=no
10019 sysv4.3*)
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_shlibpath_var=no
10022 export_dynamic_flag_spec='-Bexport'
10025 sysv4*MP*)
10026 if test -d /usr/nec; then
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 runpath_var=LD_RUN_PATH
10030 hardcode_runpath_var=yes
10031 ld_shlibs=yes
10035 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10036 no_undefined_flag='${wl}-z,text'
10037 archive_cmds_need_lc=no
10038 hardcode_shlibpath_var=no
10039 runpath_var='LD_RUN_PATH'
10041 if test "$GCC" = yes; then
10042 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 else
10045 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 sysv5* | sco3.2v5* | sco5v6*)
10051 # Note: We can NOT use -z defs as we might desire, because we do not
10052 # link with -lc, and that would cause any symbols used from libc to
10053 # always be unresolved, which means just about no library would
10054 # ever link correctly. If we're not using GNU ld we use -z text
10055 # though, which does catch some bad symbols but isn't as heavy-handed
10056 # as -z defs.
10057 no_undefined_flag='${wl}-z,text'
10058 allow_undefined_flag='${wl}-z,nodefs'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10062 hardcode_libdir_separator=':'
10063 link_all_deplibs=yes
10064 export_dynamic_flag_spec='${wl}-Bexport'
10065 runpath_var='LD_RUN_PATH'
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 else
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 uts4*)
10077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-L$libdir'
10079 hardcode_shlibpath_var=no
10083 ld_shlibs=no
10085 esac
10087 if test x$host_vendor = xsni; then
10088 case $host in
10089 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10090 export_dynamic_flag_spec='${wl}-Blargedynsym'
10092 esac
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10097 $as_echo "$ld_shlibs" >&6; }
10098 test "$ld_shlibs" = no && can_build_shared=no
10100 with_gnu_ld=$with_gnu_ld
10117 # Do we need to explicitly link libc?
10119 case "x$archive_cmds_need_lc" in
10120 x|xyes)
10121 # Assume -lc should be added
10122 archive_cmds_need_lc=yes
10124 if test "$enable_shared" = yes && test "$GCC" = yes; then
10125 case $archive_cmds in
10126 *'~'*)
10127 # FIXME: we may have to deal with multi-command sequences.
10129 '$CC '*)
10130 # Test whether the compiler implicitly links with -lc since on some
10131 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132 # to ld, don't add -lc before -lgcc.
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10135 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 $RM conftest*
10139 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10142 (eval $ac_compile) 2>&5
10143 ac_status=$?
10144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10145 test $ac_status = 0; } 2>conftest.err; then
10146 soname=conftest
10147 lib=conftest
10148 libobjs=conftest.$ac_objext
10149 deplibs=
10150 wl=$lt_prog_compiler_wl
10151 pic_flag=$lt_prog_compiler_pic
10152 compiler_flags=-v
10153 linker_flags=-v
10154 verstring=
10155 output_objdir=.
10156 libname=conftest
10157 lt_save_allow_undefined_flag=$allow_undefined_flag
10158 allow_undefined_flag=
10159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10160 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10161 ac_status=$?
10162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10163 test $ac_status = 0; }
10164 then
10165 lt_cv_archive_cmds_need_lc=no
10166 else
10167 lt_cv_archive_cmds_need_lc=yes
10169 allow_undefined_flag=$lt_save_allow_undefined_flag
10170 else
10171 cat conftest.err 1>&5
10173 $RM conftest*
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10177 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10178 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10180 esac
10183 esac
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10342 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10344 if test "$GCC" = yes; then
10345 case $host_os in
10346 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10347 *) lt_awk_arg="/^libraries:/" ;;
10348 esac
10349 case $host_os in
10350 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10351 *) lt_sed_strip_eq="s,=/,/,g" ;;
10352 esac
10353 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10354 case $lt_search_path_spec in
10355 *\;*)
10356 # if the path contains ";" then we assume it to be the separator
10357 # otherwise default to the standard path separator (i.e. ":") - it is
10358 # assumed that no part of a normal pathname contains ";" but that should
10359 # okay in the real world where ";" in dirpaths is itself problematic.
10360 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10363 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10365 esac
10366 # Ok, now we have the path, separated by spaces, we can step through it
10367 # and add multilib dir if necessary.
10368 lt_tmp_lt_search_path_spec=
10369 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10370 for lt_sys_path in $lt_search_path_spec; do
10371 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10372 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10373 else
10374 test -d "$lt_sys_path" && \
10375 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10377 done
10378 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10379 BEGIN {RS=" "; FS="/|\n";} {
10380 lt_foo="";
10381 lt_count=0;
10382 for (lt_i = NF; lt_i > 0; lt_i--) {
10383 if ($lt_i != "" && $lt_i != ".") {
10384 if ($lt_i == "..") {
10385 lt_count++;
10386 } else {
10387 if (lt_count == 0) {
10388 lt_foo="/" $lt_i lt_foo;
10389 } else {
10390 lt_count--;
10395 if (lt_foo != "") { lt_freq[lt_foo]++; }
10396 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10398 # AWK program above erroneously prepends '/' to C:/dos/paths
10399 # for these hosts.
10400 case $host_os in
10401 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10402 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10403 esac
10404 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10405 else
10406 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10408 library_names_spec=
10409 libname_spec='lib$name'
10410 soname_spec=
10411 shrext_cmds=".so"
10412 postinstall_cmds=
10413 postuninstall_cmds=
10414 finish_cmds=
10415 finish_eval=
10416 shlibpath_var=
10417 shlibpath_overrides_runpath=unknown
10418 version_type=none
10419 dynamic_linker="$host_os ld.so"
10420 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10421 need_lib_prefix=unknown
10422 hardcode_into_libs=no
10424 # when you set need_version to no, make sure it does not cause -set_version
10425 # flags to be left without arguments
10426 need_version=unknown
10428 case $host_os in
10429 aix3*)
10430 version_type=linux
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10432 shlibpath_var=LIBPATH
10434 # AIX 3 has no versioning support, so we append a major version to the name.
10435 soname_spec='${libname}${release}${shared_ext}$major'
10438 aix[4-9]*)
10439 version_type=linux
10440 need_lib_prefix=no
10441 need_version=no
10442 hardcode_into_libs=yes
10443 if test "$host_cpu" = ia64; then
10444 # AIX 5 supports IA64
10445 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10446 shlibpath_var=LD_LIBRARY_PATH
10447 else
10448 # With GCC up to 2.95.x, collect2 would create an import file
10449 # for dependence libraries. The import file would start with
10450 # the line `#! .'. This would cause the generated library to
10451 # depend on `.', always an invalid library. This was fixed in
10452 # development snapshots of GCC prior to 3.0.
10453 case $host_os in
10454 aix4 | aix4.[01] | aix4.[01].*)
10455 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10456 echo ' yes '
10457 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10459 else
10460 can_build_shared=no
10463 esac
10464 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10465 # soname into executable. Probably we can add versioning support to
10466 # collect2, so additional links can be useful in future.
10467 if test "$aix_use_runtimelinking" = yes; then
10468 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10469 # instead of lib<name>.a to let people know that these are not
10470 # typical AIX shared libraries.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 else
10473 # We preserve .a as extension for shared libraries through AIX4.2
10474 # and later when we are not doing run time linking.
10475 library_names_spec='${libname}${release}.a $libname.a'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10478 shlibpath_var=LIBPATH
10482 amigaos*)
10483 case $host_cpu in
10484 powerpc)
10485 # Since July 2007 AmigaOS4 officially supports .so libraries.
10486 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 m68k)
10490 library_names_spec='$libname.ixlibrary $libname.a'
10491 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10492 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'
10494 esac
10497 beos*)
10498 library_names_spec='${libname}${shared_ext}'
10499 dynamic_linker="$host_os ld.so"
10500 shlibpath_var=LIBRARY_PATH
10503 bsdi[45]*)
10504 version_type=linux
10505 need_version=no
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10509 shlibpath_var=LD_LIBRARY_PATH
10510 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10511 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10512 # the default ld.so.conf also contains /usr/contrib/lib and
10513 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10514 # libtool to hard-code these into programs
10517 cygwin* | mingw* | pw32* | cegcc*)
10518 version_type=windows
10519 shrext_cmds=".dll"
10520 need_version=no
10521 need_lib_prefix=no
10523 case $GCC,$host_os in
10524 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10525 library_names_spec='$libname.dll.a'
10526 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10527 postinstall_cmds='base_file=`basename \${file}`~
10528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10529 dldir=$destdir/`dirname \$dlpath`~
10530 test -d \$dldir || mkdir -p \$dldir~
10531 $install_prog $dir/$dlname \$dldir/$dlname~
10532 chmod a+x \$dldir/$dlname~
10533 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10534 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10537 dlpath=$dir/\$dldll~
10538 $RM \$dlpath'
10539 shlibpath_overrides_runpath=yes
10541 case $host_os in
10542 cygwin*)
10543 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10544 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10546 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10548 mingw* | cegcc*)
10549 # MinGW DLLs use traditional 'lib' prefix
10550 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10552 pw32*)
10553 # pw32 DLLs use 'pw' prefix rather than 'lib'
10554 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10556 esac
10560 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10562 esac
10563 dynamic_linker='Win32 ld.exe'
10564 # FIXME: first we should search . and the directory the executable is in
10565 shlibpath_var=PATH
10568 darwin* | rhapsody*)
10569 dynamic_linker="$host_os dyld"
10570 version_type=darwin
10571 need_lib_prefix=no
10572 need_version=no
10573 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10574 soname_spec='${libname}${release}${major}$shared_ext'
10575 shlibpath_overrides_runpath=yes
10576 shlibpath_var=DYLD_LIBRARY_PATH
10577 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10579 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10580 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10583 dgux*)
10584 version_type=linux
10585 need_lib_prefix=no
10586 need_version=no
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10589 shlibpath_var=LD_LIBRARY_PATH
10592 freebsd1*)
10593 dynamic_linker=no
10596 freebsd* | dragonfly*)
10597 # DragonFly does not have aout. When/if they implement a new
10598 # versioning mechanism, adjust this.
10599 if test -x /usr/bin/objformat; then
10600 objformat=`/usr/bin/objformat`
10601 else
10602 case $host_os in
10603 freebsd[123]*) objformat=aout ;;
10604 *) objformat=elf ;;
10605 esac
10607 version_type=freebsd-$objformat
10608 case $version_type in
10609 freebsd-elf*)
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 need_version=no
10612 need_lib_prefix=no
10614 freebsd-*)
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10616 need_version=yes
10618 esac
10619 shlibpath_var=LD_LIBRARY_PATH
10620 case $host_os in
10621 freebsd2*)
10622 shlibpath_overrides_runpath=yes
10624 freebsd3.[01]* | freebsdelf3.[01]*)
10625 shlibpath_overrides_runpath=yes
10626 hardcode_into_libs=yes
10628 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10629 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10630 shlibpath_overrides_runpath=no
10631 hardcode_into_libs=yes
10633 *) # from 4.6 on, and DragonFly
10634 shlibpath_overrides_runpath=yes
10635 hardcode_into_libs=yes
10637 esac
10640 gnu*)
10641 version_type=linux
10642 need_lib_prefix=no
10643 need_version=no
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 hardcode_into_libs=yes
10650 haiku*)
10651 version_type=linux
10652 need_lib_prefix=no
10653 need_version=no
10654 dynamic_linker="$host_os runtime_loader"
10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10656 soname_spec='${libname}${release}${shared_ext}$major'
10657 shlibpath_var=LIBRARY_PATH
10658 shlibpath_overrides_runpath=yes
10659 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10660 hardcode_into_libs=yes
10663 hpux9* | hpux10* | hpux11*)
10664 # Give a soname corresponding to the major version so that dld.sl refuses to
10665 # link against other versions.
10666 version_type=sunos
10667 need_lib_prefix=no
10668 need_version=no
10669 case $host_cpu in
10670 ia64*)
10671 shrext_cmds='.so'
10672 hardcode_into_libs=yes
10673 dynamic_linker="$host_os dld.so"
10674 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 if test "X$HPUX_IA64_MODE" = X32; then
10679 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10680 else
10681 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10683 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10685 hppa*64*)
10686 shrext_cmds='.sl'
10687 hardcode_into_libs=yes
10688 dynamic_linker="$host_os dld.sl"
10689 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10694 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10697 shrext_cmds='.sl'
10698 dynamic_linker="$host_os dld.sl"
10699 shlibpath_var=SHLIB_PATH
10700 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 soname_spec='${libname}${release}${shared_ext}$major'
10704 esac
10705 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10706 postinstall_cmds='chmod 555 $lib'
10707 # or fails outright, so override atomically:
10708 install_override_mode=555
10711 interix[3-9]*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath=no
10720 hardcode_into_libs=yes
10723 irix5* | irix6* | nonstopux*)
10724 case $host_os in
10725 nonstopux*) version_type=nonstopux ;;
10727 if test "$lt_cv_prog_gnu_ld" = yes; then
10728 version_type=linux
10729 else
10730 version_type=irix
10731 fi ;;
10732 esac
10733 need_lib_prefix=no
10734 need_version=no
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 case $host_os in
10738 irix5* | nonstopux*)
10739 libsuff= shlibsuff=
10742 case $LD in # libtool.m4 will add one of these switches to LD
10743 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10744 libsuff= shlibsuff= libmagic=32-bit;;
10745 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10746 libsuff=32 shlibsuff=N32 libmagic=N32;;
10747 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10748 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10749 *) libsuff= shlibsuff= libmagic=never-match;;
10750 esac
10752 esac
10753 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10754 shlibpath_overrides_runpath=no
10755 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10756 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10757 hardcode_into_libs=yes
10760 # No shared lib support for Linux oldld, aout, or coff.
10761 linux*oldld* | linux*aout* | linux*coff*)
10762 dynamic_linker=no
10765 # This must be Linux ELF.
10766 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath=no
10776 # Some binutils ld are patched to set DT_RUNPATH
10777 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 lt_cv_shlibpath_overrides_runpath=no
10781 save_LDFLAGS=$LDFLAGS
10782 save_libdir=$libdir
10783 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10784 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10785 if test x$gcc_no_link = xyes; then
10786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10792 main ()
10796 return 0;
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10800 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10801 lt_cv_shlibpath_overrides_runpath=yes
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LDFLAGS=$save_LDFLAGS
10807 libdir=$save_libdir
10811 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10813 # This implies no fast_install, which is unacceptable.
10814 # Some rework will be needed to allow for fast_install
10815 # before this can be enabled.
10816 hardcode_into_libs=yes
10818 # Append ld.so.conf contents to the search path
10819 if test -f /etc/ld.so.conf; then
10820 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' ' '`
10821 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10824 # We used to test for /lib/ld.so.1 and disable shared libraries on
10825 # powerpc, because MkLinux only supported shared libraries with the
10826 # GNU dynamic linker. Since this was broken with cross compilers,
10827 # most powerpc-linux boxes support dynamic linking these days and
10828 # people can always --disable-shared, the test was removed, and we
10829 # assume the GNU/Linux dynamic linker is in use.
10830 dynamic_linker='GNU/Linux ld.so'
10833 netbsd*)
10834 version_type=sunos
10835 need_lib_prefix=no
10836 need_version=no
10837 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10840 dynamic_linker='NetBSD (a.out) ld.so'
10841 else
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='NetBSD ld.elf_so'
10846 shlibpath_var=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath=yes
10848 hardcode_into_libs=yes
10851 newsos6)
10852 version_type=linux
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=yes
10858 *nto* | *qnx*)
10859 version_type=qnx
10860 need_lib_prefix=no
10861 need_version=no
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=no
10866 hardcode_into_libs=yes
10867 dynamic_linker='ldqnx.so'
10870 openbsd*)
10871 version_type=sunos
10872 sys_lib_dlsearch_path_spec="/usr/lib"
10873 need_lib_prefix=no
10874 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10875 case $host_os in
10876 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10877 *) need_version=no ;;
10878 esac
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10880 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10883 case $host_os in
10884 openbsd2.[89] | openbsd2.[89].*)
10885 shlibpath_overrides_runpath=no
10888 shlibpath_overrides_runpath=yes
10890 esac
10891 else
10892 shlibpath_overrides_runpath=yes
10896 os2*)
10897 libname_spec='$name'
10898 shrext_cmds=".dll"
10899 need_lib_prefix=no
10900 library_names_spec='$libname${shared_ext} $libname.a'
10901 dynamic_linker='OS/2 ld.exe'
10902 shlibpath_var=LIBPATH
10905 osf3* | osf4* | osf5*)
10906 version_type=osf
10907 need_lib_prefix=no
10908 need_version=no
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10913 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10916 rdos*)
10917 dynamic_linker=no
10920 solaris*)
10921 version_type=linux
10922 need_lib_prefix=no
10923 need_version=no
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10928 hardcode_into_libs=yes
10929 # ldd complains unless libraries are executable
10930 postinstall_cmds='chmod +x $lib'
10933 sunos4*)
10934 version_type=sunos
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 shlibpath_overrides_runpath=yes
10939 if test "$with_gnu_ld" = yes; then
10940 need_lib_prefix=no
10942 need_version=yes
10945 sysv4 | sysv4.3*)
10946 version_type=linux
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 shlibpath_var=LD_LIBRARY_PATH
10950 case $host_vendor in
10951 sni)
10952 shlibpath_overrides_runpath=no
10953 need_lib_prefix=no
10954 runpath_var=LD_RUN_PATH
10956 siemens)
10957 need_lib_prefix=no
10959 motorola)
10960 need_lib_prefix=no
10961 need_version=no
10962 shlibpath_overrides_runpath=no
10963 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10965 esac
10968 sysv4*MP*)
10969 if test -d /usr/nec ;then
10970 version_type=linux
10971 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10972 soname_spec='$libname${shared_ext}.$major'
10973 shlibpath_var=LD_LIBRARY_PATH
10977 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10978 version_type=freebsd-elf
10979 need_lib_prefix=no
10980 need_version=no
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10986 if test "$with_gnu_ld" = yes; then
10987 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10988 else
10989 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10990 case $host_os in
10991 sco3.2v5*)
10992 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10994 esac
10996 sys_lib_dlsearch_path_spec='/usr/lib'
10999 tpf*)
11000 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11001 version_type=linux
11002 need_lib_prefix=no
11003 need_version=no
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=no
11007 hardcode_into_libs=yes
11010 uts4*)
11011 version_type=linux
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013 soname_spec='${libname}${release}${shared_ext}$major'
11014 shlibpath_var=LD_LIBRARY_PATH
11018 dynamic_linker=no
11020 esac
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11022 $as_echo "$dynamic_linker" >&6; }
11023 test "$dynamic_linker" = no && can_build_shared=no
11025 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11026 if test "$GCC" = yes; then
11027 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11030 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11031 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11033 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11034 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11129 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11130 hardcode_action=
11131 if test -n "$hardcode_libdir_flag_spec" ||
11132 test -n "$runpath_var" ||
11133 test "X$hardcode_automatic" = "Xyes" ; then
11135 # We can hardcode non-existent directories.
11136 if test "$hardcode_direct" != no &&
11137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11138 # have to relink, otherwise we might link with an installed library
11139 # when we should be linking with a yet-to-be-installed one
11140 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11141 test "$hardcode_minus_L" != no; then
11142 # Linking always hardcodes the temporary library directory.
11143 hardcode_action=relink
11144 else
11145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11146 hardcode_action=immediate
11148 else
11149 # We cannot hardcode anything, or else we can only hardcode existing
11150 # directories.
11151 hardcode_action=unsupported
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11154 $as_echo "$hardcode_action" >&6; }
11156 if test "$hardcode_action" = relink ||
11157 test "$inherit_rpath" = yes; then
11158 # Fast installation is not supported
11159 enable_fast_install=no
11160 elif test "$shlibpath_overrides_runpath" = yes ||
11161 test "$enable_shared" = no; then
11162 # Fast installation is not necessary
11163 enable_fast_install=needless
11171 if test "x$enable_dlopen" != xyes; then
11172 enable_dlopen=unknown
11173 enable_dlopen_self=unknown
11174 enable_dlopen_self_static=unknown
11175 else
11176 lt_cv_dlopen=no
11177 lt_cv_dlopen_libs=
11179 case $host_os in
11180 beos*)
11181 lt_cv_dlopen="load_add_on"
11182 lt_cv_dlopen_libs=
11183 lt_cv_dlopen_self=yes
11186 mingw* | pw32* | cegcc*)
11187 lt_cv_dlopen="LoadLibrary"
11188 lt_cv_dlopen_libs=
11191 cygwin*)
11192 lt_cv_dlopen="dlopen"
11193 lt_cv_dlopen_libs=
11196 darwin*)
11197 # if libdl is installed we need to link against it
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11199 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11200 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_lib_save_LIBS=$LIBS
11204 LIBS="-ldl $LIBS"
11205 if test x$gcc_no_link = xyes; then
11206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char dlopen ();
11219 main ()
11221 return dlopen ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_dl_dlopen=yes
11228 else
11229 ac_cv_lib_dl_dlopen=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11236 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11237 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11238 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11239 else
11241 lt_cv_dlopen="dyld"
11242 lt_cv_dlopen_libs=
11243 lt_cv_dlopen_self=yes
11250 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11251 if test "x$ac_cv_func_shl_load" = x""yes; then :
11252 lt_cv_dlopen="shl_load"
11253 else
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11255 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11256 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldld $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char shl_load ();
11275 main ()
11277 return shl_load ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dld_shl_load=yes
11284 else
11285 ac_cv_lib_dld_shl_load=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11292 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11293 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11294 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11295 else
11296 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11297 if test "x$ac_cv_func_dlopen" = x""yes; then :
11298 lt_cv_dlopen="dlopen"
11299 else
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11301 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11302 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-ldl $LIBS"
11307 if test x$gcc_no_link = xyes; then
11308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char dlopen ();
11321 main ()
11323 return dlopen ();
11325 return 0;
11327 _ACEOF
11328 if ac_fn_c_try_link "$LINENO"; then :
11329 ac_cv_lib_dl_dlopen=yes
11330 else
11331 ac_cv_lib_dl_dlopen=no
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_lib_save_LIBS
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11338 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11339 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11340 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11343 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11344 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lsvld $LIBS"
11349 if test x$gcc_no_link = xyes; then
11350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char dlopen ();
11363 main ()
11365 return dlopen ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_svld_dlopen=yes
11372 else
11373 ac_cv_lib_svld_dlopen=no
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11380 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11381 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11382 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11385 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11386 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-ldld $LIBS"
11391 if test x$gcc_no_link = xyes; then
11392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char dld_link ();
11405 main ()
11407 return dld_link ();
11409 return 0;
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_dld_dld_link=yes
11414 else
11415 ac_cv_lib_dld_dld_link=no
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11422 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11423 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11424 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11443 esac
11445 if test "x$lt_cv_dlopen" != xno; then
11446 enable_dlopen=yes
11447 else
11448 enable_dlopen=no
11451 case $lt_cv_dlopen in
11452 dlopen)
11453 save_CPPFLAGS="$CPPFLAGS"
11454 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11456 save_LDFLAGS="$LDFLAGS"
11457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11459 save_LIBS="$LIBS"
11460 LIBS="$lt_cv_dlopen_libs $LIBS"
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11463 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11464 if test "${lt_cv_dlopen_self+set}" = set; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 if test "$cross_compiling" = yes; then :
11468 lt_cv_dlopen_self=cross
11469 else
11470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471 lt_status=$lt_dlunknown
11472 cat > conftest.$ac_ext <<_LT_EOF
11473 #line 11473 "configure"
11474 #include "confdefs.h"
11476 #if HAVE_DLFCN_H
11477 #include <dlfcn.h>
11478 #endif
11480 #include <stdio.h>
11482 #ifdef RTLD_GLOBAL
11483 # define LT_DLGLOBAL RTLD_GLOBAL
11484 #else
11485 # ifdef DL_GLOBAL
11486 # define LT_DLGLOBAL DL_GLOBAL
11487 # else
11488 # define LT_DLGLOBAL 0
11489 # endif
11490 #endif
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493 find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11495 # ifdef RTLD_LAZY
11496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11497 # else
11498 # ifdef DL_LAZY
11499 # define LT_DLLAZY_OR_NOW DL_LAZY
11500 # else
11501 # ifdef RTLD_NOW
11502 # define LT_DLLAZY_OR_NOW RTLD_NOW
11503 # else
11504 # ifdef DL_NOW
11505 # define LT_DLLAZY_OR_NOW DL_NOW
11506 # else
11507 # define LT_DLLAZY_OR_NOW 0
11508 # endif
11509 # endif
11510 # endif
11511 # endif
11512 #endif
11514 /* When -fvisbility=hidden is used, assume the code has been annotated
11515 correspondingly for the symbols needed. */
11516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11517 void fnord () __attribute__((visibility("default")));
11518 #endif
11520 void fnord () { int i=42; }
11521 int main ()
11523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11524 int status = $lt_dlunknown;
11526 if (self)
11528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11529 else
11531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11532 else puts (dlerror ());
11534 /* dlclose (self); */
11536 else
11537 puts (dlerror ());
11539 return status;
11541 _LT_EOF
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543 (eval $ac_link) 2>&5
11544 ac_status=$?
11545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547 (./conftest; exit; ) >&5 2>/dev/null
11548 lt_status=$?
11549 case x$lt_status in
11550 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11551 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11552 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11553 esac
11554 else :
11555 # compilation failed
11556 lt_cv_dlopen_self=no
11559 rm -fr conftest*
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564 $as_echo "$lt_cv_dlopen_self" >&6; }
11566 if test "x$lt_cv_dlopen_self" = xyes; then
11567 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 if test "$cross_compiling" = yes; then :
11574 lt_cv_dlopen_self_static=cross
11575 else
11576 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11577 lt_status=$lt_dlunknown
11578 cat > conftest.$ac_ext <<_LT_EOF
11579 #line 11579 "configure"
11580 #include "confdefs.h"
11582 #if HAVE_DLFCN_H
11583 #include <dlfcn.h>
11584 #endif
11586 #include <stdio.h>
11588 #ifdef RTLD_GLOBAL
11589 # define LT_DLGLOBAL RTLD_GLOBAL
11590 #else
11591 # ifdef DL_GLOBAL
11592 # define LT_DLGLOBAL DL_GLOBAL
11593 # else
11594 # define LT_DLGLOBAL 0
11595 # endif
11596 #endif
11598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599 find out it does not work in some platform. */
11600 #ifndef LT_DLLAZY_OR_NOW
11601 # ifdef RTLD_LAZY
11602 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11603 # else
11604 # ifdef DL_LAZY
11605 # define LT_DLLAZY_OR_NOW DL_LAZY
11606 # else
11607 # ifdef RTLD_NOW
11608 # define LT_DLLAZY_OR_NOW RTLD_NOW
11609 # else
11610 # ifdef DL_NOW
11611 # define LT_DLLAZY_OR_NOW DL_NOW
11612 # else
11613 # define LT_DLLAZY_OR_NOW 0
11614 # endif
11615 # endif
11616 # endif
11617 # endif
11618 #endif
11620 /* When -fvisbility=hidden is used, assume the code has been annotated
11621 correspondingly for the symbols needed. */
11622 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11623 void fnord () __attribute__((visibility("default")));
11624 #endif
11626 void fnord () { int i=42; }
11627 int main ()
11629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11630 int status = $lt_dlunknown;
11632 if (self)
11634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11635 else
11637 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11638 else puts (dlerror ());
11640 /* dlclose (self); */
11642 else
11643 puts (dlerror ());
11645 return status;
11647 _LT_EOF
11648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11649 (eval $ac_link) 2>&5
11650 ac_status=$?
11651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11652 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11653 (./conftest; exit; ) >&5 2>/dev/null
11654 lt_status=$?
11655 case x$lt_status in
11656 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11657 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11658 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11659 esac
11660 else :
11661 # compilation failed
11662 lt_cv_dlopen_self_static=no
11665 rm -fr conftest*
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11670 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11673 CPPFLAGS="$save_CPPFLAGS"
11674 LDFLAGS="$save_LDFLAGS"
11675 LIBS="$save_LIBS"
11677 esac
11679 case $lt_cv_dlopen_self in
11680 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11681 *) enable_dlopen_self=unknown ;;
11682 esac
11684 case $lt_cv_dlopen_self_static in
11685 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11686 *) enable_dlopen_self_static=unknown ;;
11687 esac
11706 striplib=
11707 old_striplib=
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11709 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11710 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11711 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11712 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11714 $as_echo "yes" >&6; }
11715 else
11716 # FIXME - insert some real tests, host_os isn't really good enough
11717 case $host_os in
11718 darwin*)
11719 if test -n "$STRIP" ; then
11720 striplib="$STRIP -x"
11721 old_striplib="$STRIP -S"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11723 $as_echo "yes" >&6; }
11724 else
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11731 $as_echo "no" >&6; }
11733 esac
11747 # Report which library types will actually be built
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11749 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11751 $as_echo "$can_build_shared" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11754 $as_echo_n "checking whether to build shared libraries... " >&6; }
11755 test "$can_build_shared" = "no" && enable_shared=no
11757 # On AIX, shared libraries and static libraries use the same namespace, and
11758 # are all built from PIC.
11759 case $host_os in
11760 aix3*)
11761 test "$enable_shared" = yes && enable_static=no
11762 if test -n "$RANLIB"; then
11763 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11764 postinstall_cmds='$RANLIB $lib'
11768 aix[4-9]*)
11769 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11770 test "$enable_shared" = yes && enable_static=no
11773 esac
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11775 $as_echo "$enable_shared" >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11778 $as_echo_n "checking whether to build static libraries... " >&6; }
11779 # Make sure either enable_shared or enable_static is yes.
11780 test "$enable_shared" = yes || enable_static=yes
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11782 $as_echo "$enable_static" >&6; }
11788 ac_ext=c
11789 ac_cpp='$CPP $CPPFLAGS'
11790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11794 CC="$lt_save_CC"
11796 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11797 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11798 (test "X$CXX" != "Xg++"))) ; then
11799 ac_ext=cpp
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11805 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11806 if test -z "$CXXCPP"; then
11807 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 # Double quotes because CXXCPP needs to be expanded
11811 for CXXCPP in "$CXX -E" "/lib/cpp"
11813 ac_preproc_ok=false
11814 for ac_cxx_preproc_warn_flag in '' yes
11816 # Use a header file that comes with gcc, so configuring glibc
11817 # with a fresh cross-compiler works.
11818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11819 # <limits.h> exists even on freestanding compilers.
11820 # On the NeXT, cc -E runs the code through the compiler's parser,
11821 # not just through cpp. "Syntax error" is here to catch this case.
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11824 #ifdef __STDC__
11825 # include <limits.h>
11826 #else
11827 # include <assert.h>
11828 #endif
11829 Syntax error
11830 _ACEOF
11831 if ac_fn_cxx_try_cpp "$LINENO"; then :
11833 else
11834 # Broken: fails on valid input.
11835 continue
11837 rm -f conftest.err conftest.$ac_ext
11839 # OK, works on sane cases. Now check whether nonexistent headers
11840 # can be detected and how.
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11843 #include <ac_nonexistent.h>
11844 _ACEOF
11845 if ac_fn_cxx_try_cpp "$LINENO"; then :
11846 # Broken: success on invalid input.
11847 continue
11848 else
11849 # Passes both tests.
11850 ac_preproc_ok=:
11851 break
11853 rm -f conftest.err conftest.$ac_ext
11855 done
11856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11857 rm -f conftest.err conftest.$ac_ext
11858 if $ac_preproc_ok; then :
11859 break
11862 done
11863 ac_cv_prog_CXXCPP=$CXXCPP
11866 CXXCPP=$ac_cv_prog_CXXCPP
11867 else
11868 ac_cv_prog_CXXCPP=$CXXCPP
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11871 $as_echo "$CXXCPP" >&6; }
11872 ac_preproc_ok=false
11873 for ac_cxx_preproc_warn_flag in '' yes
11875 # Use a header file that comes with gcc, so configuring glibc
11876 # with a fresh cross-compiler works.
11877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11878 # <limits.h> exists even on freestanding compilers.
11879 # On the NeXT, cc -E runs the code through the compiler's parser,
11880 # not just through cpp. "Syntax error" is here to catch this case.
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 #ifdef __STDC__
11884 # include <limits.h>
11885 #else
11886 # include <assert.h>
11887 #endif
11888 Syntax error
11889 _ACEOF
11890 if ac_fn_cxx_try_cpp "$LINENO"; then :
11892 else
11893 # Broken: fails on valid input.
11894 continue
11896 rm -f conftest.err conftest.$ac_ext
11898 # OK, works on sane cases. Now check whether nonexistent headers
11899 # can be detected and how.
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 #include <ac_nonexistent.h>
11903 _ACEOF
11904 if ac_fn_cxx_try_cpp "$LINENO"; then :
11905 # Broken: success on invalid input.
11906 continue
11907 else
11908 # Passes both tests.
11909 ac_preproc_ok=:
11910 break
11912 rm -f conftest.err conftest.$ac_ext
11914 done
11915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11916 rm -f conftest.err conftest.$ac_ext
11917 if $ac_preproc_ok; then :
11919 else
11920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11922 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11923 See \`config.log' for more details." "$LINENO" 5; }
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11932 else
11933 _lt_caught_CXX_error=yes
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11942 archive_cmds_need_lc_CXX=no
11943 allow_undefined_flag_CXX=
11944 always_export_symbols_CXX=no
11945 archive_expsym_cmds_CXX=
11946 compiler_needs_object_CXX=no
11947 export_dynamic_flag_spec_CXX=
11948 hardcode_direct_CXX=no
11949 hardcode_direct_absolute_CXX=no
11950 hardcode_libdir_flag_spec_CXX=
11951 hardcode_libdir_flag_spec_ld_CXX=
11952 hardcode_libdir_separator_CXX=
11953 hardcode_minus_L_CXX=no
11954 hardcode_shlibpath_var_CXX=unsupported
11955 hardcode_automatic_CXX=no
11956 inherit_rpath_CXX=no
11957 module_cmds_CXX=
11958 module_expsym_cmds_CXX=
11959 link_all_deplibs_CXX=unknown
11960 old_archive_cmds_CXX=$old_archive_cmds
11961 reload_flag_CXX=$reload_flag
11962 reload_cmds_CXX=$reload_cmds
11963 no_undefined_flag_CXX=
11964 whole_archive_flag_spec_CXX=
11965 enable_shared_with_static_runtimes_CXX=no
11967 # Source file extension for C++ test sources.
11968 ac_ext=cpp
11970 # Object file extension for compiled C++ test sources.
11971 objext=o
11972 objext_CXX=$objext
11974 # No sense in running all these tests if we already determined that
11975 # the CXX compiler isn't working. Some variables (like enable_shared)
11976 # are currently assumed to apply to all compilers on this platform,
11977 # and will be corrupted by setting them based on a non-working compiler.
11978 if test "$_lt_caught_CXX_error" != yes; then
11979 # Code to be used in simple compile tests
11980 lt_simple_compile_test_code="int some_variable = 0;"
11982 # Code to be used in simple link tests
11983 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11992 # If no C compiler was specified, use CC.
11993 LTCC=${LTCC-"$CC"}
11995 # If no C compiler flags were specified, use CFLAGS.
11996 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11998 # Allow CC to be a program name with arguments.
11999 compiler=$CC
12002 # save warnings/boilerplate of simple test code
12003 ac_outfile=conftest.$ac_objext
12004 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12005 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12006 _lt_compiler_boilerplate=`cat conftest.err`
12007 $RM conftest*
12009 ac_outfile=conftest.$ac_objext
12010 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12011 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12012 _lt_linker_boilerplate=`cat conftest.err`
12013 $RM -r conftest*
12016 # Allow CC to be a program name with arguments.
12017 lt_save_CC=$CC
12018 lt_save_LD=$LD
12019 lt_save_GCC=$GCC
12020 GCC=$GXX
12021 lt_save_with_gnu_ld=$with_gnu_ld
12022 lt_save_path_LD=$lt_cv_path_LD
12023 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12024 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12025 else
12026 $as_unset lt_cv_prog_gnu_ld
12028 if test -n "${lt_cv_path_LDCXX+set}"; then
12029 lt_cv_path_LD=$lt_cv_path_LDCXX
12030 else
12031 $as_unset lt_cv_path_LD
12033 test -z "${LDCXX+set}" || LD=$LDCXX
12034 CC=${CXX-"c++"}
12035 compiler=$CC
12036 compiler_CXX=$CC
12037 for cc_temp in $compiler""; do
12038 case $cc_temp in
12039 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12040 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12041 \-*) ;;
12042 *) break;;
12043 esac
12044 done
12045 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12048 if test -n "$compiler"; then
12049 # We don't want -fno-exception when compiling C++ code, so set the
12050 # no_builtin_flag separately
12051 if test "$GXX" = yes; then
12052 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12053 else
12054 lt_prog_compiler_no_builtin_flag_CXX=
12057 if test "$GXX" = yes; then
12058 # Set up default GNU C++ configuration
12062 # Check whether --with-gnu-ld was given.
12063 if test "${with_gnu_ld+set}" = set; then :
12064 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12065 else
12066 with_gnu_ld=no
12069 ac_prog=ld
12070 if test "$GCC" = yes; then
12071 # Check if gcc -print-prog-name=ld gives a path.
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12073 $as_echo_n "checking for ld used by $CC... " >&6; }
12074 case $host in
12075 *-*-mingw*)
12076 # gcc leaves a trailing carriage return which upsets mingw
12077 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12079 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12080 esac
12081 case $ac_prog in
12082 # Accept absolute paths.
12083 [\\/]* | ?:[\\/]*)
12084 re_direlt='/[^/][^/]*/\.\./'
12085 # Canonicalize the pathname of ld
12086 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12087 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12088 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12089 done
12090 test -z "$LD" && LD="$ac_prog"
12093 # If it fails, then pretend we aren't using GCC.
12094 ac_prog=ld
12097 # If it is relative, then search for the first ld in PATH.
12098 with_gnu_ld=unknown
12100 esac
12101 elif test "$with_gnu_ld" = yes; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12103 $as_echo_n "checking for GNU ld... " >&6; }
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12106 $as_echo_n "checking for non-GNU ld... " >&6; }
12108 if test "${lt_cv_path_LD+set}" = set; then :
12109 $as_echo_n "(cached) " >&6
12110 else
12111 if test -z "$LD"; then
12112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12113 for ac_dir in $PATH; do
12114 IFS="$lt_save_ifs"
12115 test -z "$ac_dir" && ac_dir=.
12116 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12117 lt_cv_path_LD="$ac_dir/$ac_prog"
12118 # Check to see if the program is GNU ld. I'd rather use --version,
12119 # but apparently some variants of GNU ld only accept -v.
12120 # Break only if it was the GNU/non-GNU ld that we prefer.
12121 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12122 *GNU* | *'with BFD'*)
12123 test "$with_gnu_ld" != no && break
12126 test "$with_gnu_ld" != yes && break
12128 esac
12130 done
12131 IFS="$lt_save_ifs"
12132 else
12133 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12137 LD="$lt_cv_path_LD"
12138 if test -n "$LD"; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12140 $as_echo "$LD" >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12143 $as_echo "no" >&6; }
12145 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12147 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12148 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12152 case `$LD -v 2>&1 </dev/null` in
12153 *GNU* | *'with BFD'*)
12154 lt_cv_prog_gnu_ld=yes
12157 lt_cv_prog_gnu_ld=no
12159 esac
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12162 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12163 with_gnu_ld=$lt_cv_prog_gnu_ld
12171 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12172 # archiving commands below assume that GNU ld is being used.
12173 if test "$with_gnu_ld" = yes; then
12174 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12175 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'
12177 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12178 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12180 # If archive_cmds runs LD, not CC, wlarc should be empty
12181 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12182 # investigate it a little bit more. (MM)
12183 wlarc='${wl}'
12185 # ancient GNU ld didn't support --whole-archive et. al.
12186 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12187 $GREP 'no-whole-archive' > /dev/null; then
12188 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12189 else
12190 whole_archive_flag_spec_CXX=
12192 else
12193 with_gnu_ld=no
12194 wlarc=
12196 # A generic and very simple default shared library creation
12197 # command for GNU C++ for the case where it uses the native
12198 # linker, instead of GNU ld. If possible, this setting should
12199 # overridden to take advantage of the native linker features on
12200 # the platform it is being used on.
12201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12204 # Commands to make compiler produce verbose output that lists
12205 # what "hidden" libraries, object files and flags are used when
12206 # linking a shared library.
12207 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12209 else
12210 GXX=no
12211 with_gnu_ld=no
12212 wlarc=
12215 # PORTME: fill in a description of your system's C++ link characteristics
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12217 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12218 ld_shlibs_CXX=yes
12219 case $host_os in
12220 aix3*)
12221 # FIXME: insert proper C++ library support
12222 ld_shlibs_CXX=no
12224 aix[4-9]*)
12225 if test "$host_cpu" = ia64; then
12226 # On IA64, the linker does run time linking by default, so we don't
12227 # have to do anything special.
12228 aix_use_runtimelinking=no
12229 exp_sym_flag='-Bexport'
12230 no_entry_flag=""
12231 else
12232 aix_use_runtimelinking=no
12234 # Test if we are trying to use run time linking or normal
12235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12236 # need to do runtime linking.
12237 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12238 for ld_flag in $LDFLAGS; do
12239 case $ld_flag in
12240 *-brtl*)
12241 aix_use_runtimelinking=yes
12242 break
12244 esac
12245 done
12247 esac
12249 exp_sym_flag='-bexport'
12250 no_entry_flag='-bnoentry'
12253 # When large executables or shared objects are built, AIX ld can
12254 # have problems creating the table of contents. If linking a library
12255 # or program results in "error TOC overflow" add -mminimal-toc to
12256 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12257 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12259 archive_cmds_CXX=''
12260 hardcode_direct_CXX=yes
12261 hardcode_direct_absolute_CXX=yes
12262 hardcode_libdir_separator_CXX=':'
12263 link_all_deplibs_CXX=yes
12264 file_list_spec_CXX='${wl}-f,'
12266 if test "$GXX" = yes; then
12267 case $host_os in aix4.[012]|aix4.[012].*)
12268 # We only want to do this on AIX 4.2 and lower, the check
12269 # below for broken collect2 doesn't work under 4.3+
12270 collect2name=`${CC} -print-prog-name=collect2`
12271 if test -f "$collect2name" &&
12272 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12273 then
12274 # We have reworked collect2
12276 else
12277 # We have old collect2
12278 hardcode_direct_CXX=unsupported
12279 # It fails to find uninstalled libraries when the uninstalled
12280 # path is not listed in the libpath. Setting hardcode_minus_L
12281 # to unsupported forces relinking
12282 hardcode_minus_L_CXX=yes
12283 hardcode_libdir_flag_spec_CXX='-L$libdir'
12284 hardcode_libdir_separator_CXX=
12286 esac
12287 shared_flag='-shared'
12288 if test "$aix_use_runtimelinking" = yes; then
12289 shared_flag="$shared_flag "'${wl}-G'
12291 else
12292 # not using gcc
12293 if test "$host_cpu" = ia64; then
12294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12295 # chokes on -Wl,-G. The following line is correct:
12296 shared_flag='-G'
12297 else
12298 if test "$aix_use_runtimelinking" = yes; then
12299 shared_flag='${wl}-G'
12300 else
12301 shared_flag='${wl}-bM:SRE'
12306 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12307 # It seems that -bexpall does not export symbols beginning with
12308 # underscore (_), so it is better to generate a list of symbols to
12309 # export.
12310 always_export_symbols_CXX=yes
12311 if test "$aix_use_runtimelinking" = yes; then
12312 # Warning - without using the other runtime loading flags (-brtl),
12313 # -berok will link without error, but may produce a broken library.
12314 allow_undefined_flag_CXX='-berok'
12315 # Determine the default libpath from the value encoded in an empty
12316 # executable.
12317 if test x$gcc_no_link = xyes; then
12318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12324 main ()
12328 return 0;
12330 _ACEOF
12331 if ac_fn_cxx_try_link "$LINENO"; then :
12333 lt_aix_libpath_sed='
12334 /Import File Strings/,/^$/ {
12335 /^0/ {
12336 s/^0 *\(.*\)$/\1/
12340 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12341 # Check for a 64-bit object if we didn't find anything.
12342 if test -z "$aix_libpath"; then
12343 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12350 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12352 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"
12353 else
12354 if test "$host_cpu" = ia64; then
12355 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12356 allow_undefined_flag_CXX="-z nodefs"
12357 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"
12358 else
12359 # Determine the default libpath from the value encoded in an
12360 # empty executable.
12361 if test x$gcc_no_link = xyes; then
12362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12368 main ()
12372 return 0;
12374 _ACEOF
12375 if ac_fn_cxx_try_link "$LINENO"; then :
12377 lt_aix_libpath_sed='
12378 /Import File Strings/,/^$/ {
12379 /^0/ {
12380 s/^0 *\(.*\)$/\1/
12384 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12385 # Check for a 64-bit object if we didn't find anything.
12386 if test -z "$aix_libpath"; then
12387 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12394 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 # Warning - without using the other run time loading flags,
12396 # -berok will link without error, but may produce a broken library.
12397 no_undefined_flag_CXX=' ${wl}-bernotok'
12398 allow_undefined_flag_CXX=' ${wl}-berok'
12399 if test "$with_gnu_ld" = yes; then
12400 # We only use this code for GNU lds that support --whole-archive.
12401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12402 else
12403 # Exported symbols can be pulled into shared objects from archives
12404 whole_archive_flag_spec_CXX='$convenience'
12406 archive_cmds_need_lc_CXX=yes
12407 # This is similar to how AIX traditionally builds its shared
12408 # libraries.
12409 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'
12414 beos*)
12415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12416 allow_undefined_flag_CXX=unsupported
12417 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12418 # support --undefined. This deserves some investigation. FIXME
12419 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12420 else
12421 ld_shlibs_CXX=no
12425 chorus*)
12426 case $cc_basename in
12428 # FIXME: insert proper C++ library support
12429 ld_shlibs_CXX=no
12431 esac
12434 cygwin* | mingw* | pw32* | cegcc*)
12435 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12436 # as there is no search path for DLLs.
12437 hardcode_libdir_flag_spec_CXX='-L$libdir'
12438 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12439 allow_undefined_flag_CXX=unsupported
12440 always_export_symbols_CXX=no
12441 enable_shared_with_static_runtimes_CXX=yes
12443 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12444 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'
12445 # If the export-symbols file already is a .def file (1st line
12446 # is EXPORTS), use it as is; otherwise, prepend...
12447 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12448 cp $export_symbols $output_objdir/$soname.def;
12449 else
12450 echo EXPORTS > $output_objdir/$soname.def;
12451 cat $export_symbols >> $output_objdir/$soname.def;
12453 $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'
12454 else
12455 ld_shlibs_CXX=no
12458 darwin* | rhapsody*)
12461 archive_cmds_need_lc_CXX=no
12462 hardcode_direct_CXX=no
12463 hardcode_automatic_CXX=yes
12464 hardcode_shlibpath_var_CXX=unsupported
12465 if test "$lt_cv_ld_force_load" = "yes"; then
12466 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\"`'
12467 else
12468 whole_archive_flag_spec_CXX=''
12470 link_all_deplibs_CXX=yes
12471 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12472 case $cc_basename in
12473 ifort*) _lt_dar_can_shared=yes ;;
12474 *) _lt_dar_can_shared=$GCC ;;
12475 esac
12476 if test "$_lt_dar_can_shared" = "yes"; then
12477 output_verbose_link_cmd=func_echo_all
12478 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}"
12479 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12480 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}"
12481 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}"
12482 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12483 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}"
12484 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}"
12487 else
12488 ld_shlibs_CXX=no
12493 dgux*)
12494 case $cc_basename in
12495 ec++*)
12496 # FIXME: insert proper C++ library support
12497 ld_shlibs_CXX=no
12499 ghcx*)
12500 # Green Hills C++ Compiler
12501 # FIXME: insert proper C++ library support
12502 ld_shlibs_CXX=no
12505 # FIXME: insert proper C++ library support
12506 ld_shlibs_CXX=no
12508 esac
12511 freebsd[12]*)
12512 # C++ shared libraries reported to be fairly broken before
12513 # switch to ELF
12514 ld_shlibs_CXX=no
12517 freebsd-elf*)
12518 archive_cmds_need_lc_CXX=no
12521 freebsd* | dragonfly*)
12522 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12523 # conventions
12524 ld_shlibs_CXX=yes
12527 gnu*)
12530 haiku*)
12531 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12532 link_all_deplibs_CXX=yes
12535 hpux9*)
12536 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12537 hardcode_libdir_separator_CXX=:
12538 export_dynamic_flag_spec_CXX='${wl}-E'
12539 hardcode_direct_CXX=yes
12540 hardcode_minus_L_CXX=yes # Not in the search PATH,
12541 # but as the default
12542 # location of the library.
12544 case $cc_basename in
12545 CC*)
12546 # FIXME: insert proper C++ library support
12547 ld_shlibs_CXX=no
12549 aCC*)
12550 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'
12551 # Commands to make compiler produce verbose output that lists
12552 # what "hidden" libraries, object files and flags are used when
12553 # linking a shared library.
12555 # There doesn't appear to be a way to prevent this compiler from
12556 # explicitly linking system object files so we need to strip them
12557 # from the output so that they don't get included in the library
12558 # dependencies.
12559 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"'
12562 if test "$GXX" = yes; then
12563 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'
12564 else
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12569 esac
12572 hpux10*|hpux11*)
12573 if test $with_gnu_ld = no; then
12574 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12575 hardcode_libdir_separator_CXX=:
12577 case $host_cpu in
12578 hppa*64*|ia64*)
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12583 esac
12585 case $host_cpu in
12586 hppa*64*|ia64*)
12587 hardcode_direct_CXX=no
12588 hardcode_shlibpath_var_CXX=no
12591 hardcode_direct_CXX=yes
12592 hardcode_direct_absolute_CXX=yes
12593 hardcode_minus_L_CXX=yes # Not in the search PATH,
12594 # but as the default
12595 # location of the library.
12597 esac
12599 case $cc_basename in
12600 CC*)
12601 # FIXME: insert proper C++ library support
12602 ld_shlibs_CXX=no
12604 aCC*)
12605 case $host_cpu in
12606 hppa*64*)
12607 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12609 ia64*)
12610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12613 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12615 esac
12616 # Commands to make compiler produce verbose output that lists
12617 # what "hidden" libraries, object files and flags are used when
12618 # linking a shared library.
12620 # There doesn't appear to be a way to prevent this compiler from
12621 # explicitly linking system object files so we need to strip them
12622 # from the output so that they don't get included in the library
12623 # dependencies.
12624 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"'
12627 if test "$GXX" = yes; then
12628 if test $with_gnu_ld = no; then
12629 case $host_cpu in
12630 hppa*64*)
12631 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 ia64*)
12634 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12637 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'
12639 esac
12641 else
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12646 esac
12649 interix[3-9]*)
12650 hardcode_direct_CXX=no
12651 hardcode_shlibpath_var_CXX=no
12652 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12653 export_dynamic_flag_spec_CXX='${wl}-E'
12654 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12655 # Instead, shared libraries are loaded at an image base (0x10000000 by
12656 # default) and relocated if they conflict, which is a slow very memory
12657 # consuming and fragmenting process. To avoid this, we pick a random,
12658 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12659 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12660 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'
12661 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'
12663 irix5* | irix6*)
12664 case $cc_basename in
12665 CC*)
12666 # SGI C++
12667 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'
12669 # Archives containing C++ object files must be created using
12670 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12671 # necessary to make sure instantiated templates are included
12672 # in the archive.
12673 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12676 if test "$GXX" = yes; then
12677 if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12679 else
12680 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'
12683 link_all_deplibs_CXX=yes
12685 esac
12686 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12687 hardcode_libdir_separator_CXX=:
12688 inherit_rpath_CXX=yes
12691 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12692 case $cc_basename in
12693 KCC*)
12694 # Kuck and Associates, Inc. (KAI) C++ Compiler
12696 # KCC will only create a shared library if the output file
12697 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12698 # to its proper name (with version) after linking.
12699 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'
12700 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'
12701 # Commands to make compiler produce verbose output that lists
12702 # what "hidden" libraries, object files and flags are used when
12703 # linking a shared library.
12705 # There doesn't appear to be a way to prevent this compiler from
12706 # explicitly linking system object files so we need to strip them
12707 # from the output so that they don't get included in the library
12708 # dependencies.
12709 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"'
12711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12714 # Archives containing C++ object files must be created using
12715 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12716 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12718 icpc* | ecpc* )
12719 # Intel C++
12720 with_gnu_ld=yes
12721 # version 8.0 and above of icpc choke on multiply defined symbols
12722 # if we add $predep_objects and $postdep_objects, however 7.1 and
12723 # earlier do not add the objects themselves.
12724 case `$CC -V 2>&1` in
12725 *"Version 7."*)
12726 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12727 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'
12729 *) # Version 8.0 or newer
12730 tmp_idyn=
12731 case $host_cpu in
12732 ia64*) tmp_idyn=' -i_dynamic';;
12733 esac
12734 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12735 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'
12737 esac
12738 archive_cmds_need_lc_CXX=no
12739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12740 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12741 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12743 pgCC* | pgcpp*)
12744 # Portland Group C++ compiler
12745 case `$CC -V` in
12746 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12747 prelink_cmds_CXX='tpldir=Template.dir~
12748 rm -rf $tpldir~
12749 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12750 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12751 old_archive_cmds_CXX='tpldir=Template.dir~
12752 rm -rf $tpldir~
12753 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12754 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12755 $RANLIB $oldlib'
12756 archive_cmds_CXX='tpldir=Template.dir~
12757 rm -rf $tpldir~
12758 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12759 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12760 archive_expsym_cmds_CXX='tpldir=Template.dir~
12761 rm -rf $tpldir~
12762 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12763 $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'
12765 *) # Version 6 and above use weak symbols
12766 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12767 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'
12769 esac
12771 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12772 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12773 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'
12775 cxx*)
12776 # Compaq C++
12777 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12780 runpath_var=LD_RUN_PATH
12781 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12782 hardcode_libdir_separator_CXX=:
12784 # Commands to make compiler produce verbose output that lists
12785 # what "hidden" libraries, object files and flags are used when
12786 # linking a shared library.
12788 # There doesn't appear to be a way to prevent this compiler from
12789 # explicitly linking system object files so we need to strip them
12790 # from the output so that they don't get included in the library
12791 # dependencies.
12792 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'
12794 xl* | mpixl* | bgxl*)
12795 # IBM XL 8.0 on PPC, with GNU ld
12796 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12797 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12798 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 if test "x$supports_anon_versioning" = xyes; then
12800 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12801 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12802 echo "local: *; };" >> $output_objdir/$libname.ver~
12803 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12807 case `$CC -V 2>&1 | sed 5q` in
12808 *Sun\ C*)
12809 # Sun C++ 5.9
12810 no_undefined_flag_CXX=' -zdefs'
12811 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12812 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'
12813 hardcode_libdir_flag_spec_CXX='-R$libdir'
12814 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'
12815 compiler_needs_object_CXX=yes
12817 # Not sure whether something based on
12818 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12819 # would be better.
12820 output_verbose_link_cmd='func_echo_all'
12822 # Archives containing C++ object files must be created using
12823 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12824 # necessary to make sure instantiated templates are included
12825 # in the archive.
12826 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12828 esac
12830 esac
12833 lynxos*)
12834 # FIXME: insert proper C++ library support
12835 ld_shlibs_CXX=no
12838 m88k*)
12839 # FIXME: insert proper C++ library support
12840 ld_shlibs_CXX=no
12843 mvs*)
12844 case $cc_basename in
12845 cxx*)
12846 # FIXME: insert proper C++ library support
12847 ld_shlibs_CXX=no
12850 # FIXME: insert proper C++ library support
12851 ld_shlibs_CXX=no
12853 esac
12856 netbsd*)
12857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12858 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12859 wlarc=
12860 hardcode_libdir_flag_spec_CXX='-R$libdir'
12861 hardcode_direct_CXX=yes
12862 hardcode_shlibpath_var_CXX=no
12864 # Workaround some broken pre-1.5 toolchains
12865 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12868 *nto* | *qnx*)
12869 ld_shlibs_CXX=yes
12872 openbsd2*)
12873 # C++ shared libraries are fairly broken
12874 ld_shlibs_CXX=no
12877 openbsd*)
12878 if test -f /usr/libexec/ld.so; then
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12881 hardcode_direct_absolute_CXX=yes
12882 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12884 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12885 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12886 export_dynamic_flag_spec_CXX='${wl}-E'
12887 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12889 output_verbose_link_cmd=func_echo_all
12890 else
12891 ld_shlibs_CXX=no
12895 osf3* | osf4* | osf5*)
12896 case $cc_basename in
12897 KCC*)
12898 # Kuck and Associates, Inc. (KAI) C++ Compiler
12900 # KCC will only create a shared library if the output file
12901 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12902 # to its proper name (with version) after linking.
12903 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'
12905 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12906 hardcode_libdir_separator_CXX=:
12908 # Archives containing C++ object files must be created using
12909 # the KAI C++ compiler.
12910 case $host in
12911 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12912 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12913 esac
12915 RCC*)
12916 # Rational C++ 2.4.1
12917 # FIXME: insert proper C++ library support
12918 ld_shlibs_CXX=no
12920 cxx*)
12921 case $host in
12922 osf3*)
12923 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12924 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'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12928 allow_undefined_flag_CXX=' -expect_unresolved \*'
12929 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'
12930 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12931 echo "-hidden">> $lib.exp~
12932 $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~
12933 $RM $lib.exp'
12934 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12936 esac
12938 hardcode_libdir_separator_CXX=:
12940 # Commands to make compiler produce verbose output that lists
12941 # what "hidden" libraries, object files and flags are used when
12942 # linking a shared library.
12944 # There doesn't appear to be a way to prevent this compiler from
12945 # explicitly linking system object files so we need to strip them
12946 # from the output so that they don't get included in the library
12947 # dependencies.
12948 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"'
12951 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12952 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12953 case $host in
12954 osf3*)
12955 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'
12958 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'
12960 esac
12962 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12963 hardcode_libdir_separator_CXX=:
12965 # Commands to make compiler produce verbose output that lists
12966 # what "hidden" libraries, object files and flags are used when
12967 # linking a shared library.
12968 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12970 else
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12975 esac
12978 psos*)
12979 # FIXME: insert proper C++ library support
12980 ld_shlibs_CXX=no
12983 sunos4*)
12984 case $cc_basename in
12985 CC*)
12986 # Sun C++ 4.x
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12990 lcc*)
12991 # Lucid
12992 # FIXME: insert proper C++ library support
12993 ld_shlibs_CXX=no
12996 # FIXME: insert proper C++ library support
12997 ld_shlibs_CXX=no
12999 esac
13002 solaris*)
13003 case $cc_basename in
13004 CC*)
13005 # Sun C++ 4.2, 5.x and Centerline C++
13006 archive_cmds_need_lc_CXX=yes
13007 no_undefined_flag_CXX=' -zdefs'
13008 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13009 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13010 $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'
13012 hardcode_libdir_flag_spec_CXX='-R$libdir'
13013 hardcode_shlibpath_var_CXX=no
13014 case $host_os in
13015 solaris2.[0-5] | solaris2.[0-5].*) ;;
13017 # The compiler driver will combine and reorder linker options,
13018 # but understands `-z linker_flag'.
13019 # Supported since Solaris 2.6 (maybe 2.5.1?)
13020 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13022 esac
13023 link_all_deplibs_CXX=yes
13025 output_verbose_link_cmd='func_echo_all'
13027 # Archives containing C++ object files must be created using
13028 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13029 # necessary to make sure instantiated templates are included
13030 # in the archive.
13031 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13033 gcx*)
13034 # Green Hills C++ Compiler
13035 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13037 # The C++ compiler must be used to create the archive.
13038 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13041 # GNU C++ compiler with Solaris linker
13042 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13043 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13044 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13045 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13047 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13049 # Commands to make compiler produce verbose output that lists
13050 # what "hidden" libraries, object files and flags are used when
13051 # linking a shared library.
13052 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13053 else
13054 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13055 # platform.
13056 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13057 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13058 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13060 # Commands to make compiler produce verbose output that lists
13061 # what "hidden" libraries, object files and flags are used when
13062 # linking a shared library.
13063 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13066 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13067 case $host_os in
13068 solaris2.[0-5] | solaris2.[0-5].*) ;;
13070 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13072 esac
13075 esac
13078 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13079 no_undefined_flag_CXX='${wl}-z,text'
13080 archive_cmds_need_lc_CXX=no
13081 hardcode_shlibpath_var_CXX=no
13082 runpath_var='LD_RUN_PATH'
13084 case $cc_basename in
13085 CC*)
13086 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13091 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13093 esac
13096 sysv5* | sco3.2v5* | sco5v6*)
13097 # Note: We can NOT use -z defs as we might desire, because we do not
13098 # link with -lc, and that would cause any symbols used from libc to
13099 # always be unresolved, which means just about no library would
13100 # ever link correctly. If we're not using GNU ld we use -z text
13101 # though, which does catch some bad symbols but isn't as heavy-handed
13102 # as -z defs.
13103 no_undefined_flag_CXX='${wl}-z,text'
13104 allow_undefined_flag_CXX='${wl}-z,nodefs'
13105 archive_cmds_need_lc_CXX=no
13106 hardcode_shlibpath_var_CXX=no
13107 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13108 hardcode_libdir_separator_CXX=':'
13109 link_all_deplibs_CXX=yes
13110 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13111 runpath_var='LD_RUN_PATH'
13113 case $cc_basename in
13114 CC*)
13115 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13118 '"$old_archive_cmds_CXX"
13119 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13120 '"$reload_cmds_CXX"
13123 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 esac
13129 tandem*)
13130 case $cc_basename in
13131 NCC*)
13132 # NonStop-UX NCC 3.20
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13137 # FIXME: insert proper C++ library support
13138 ld_shlibs_CXX=no
13140 esac
13143 vxworks*)
13144 # FIXME: insert proper C++ library support
13145 ld_shlibs_CXX=no
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 esac
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13155 $as_echo "$ld_shlibs_CXX" >&6; }
13156 test "$ld_shlibs_CXX" = no && can_build_shared=no
13158 GCC_CXX="$GXX"
13159 LD_CXX="$LD"
13161 ## CAVEAT EMPTOR:
13162 ## There is no encapsulation within the following macros, do not change
13163 ## the running order or otherwise move them around unless you know exactly
13164 ## what you are doing...
13165 # Dependencies to place before and after the object being linked:
13166 predep_objects_CXX=
13167 postdep_objects_CXX=
13168 predeps_CXX=
13169 postdeps_CXX=
13170 compiler_lib_search_path_CXX=
13172 cat > conftest.$ac_ext <<_LT_EOF
13173 class Foo
13175 public:
13176 Foo (void) { a = 0; }
13177 private:
13178 int a;
13180 _LT_EOF
13182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13183 (eval $ac_compile) 2>&5
13184 ac_status=$?
13185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13186 test $ac_status = 0; }; then
13187 # Parse the compiler output and extract the necessary
13188 # objects, libraries and library flags.
13190 # Sentinel used to keep track of whether or not we are before
13191 # the conftest object file.
13192 pre_test_object_deps_done=no
13194 for p in `eval "$output_verbose_link_cmd"`; do
13195 case $p in
13197 -L* | -R* | -l*)
13198 # Some compilers place space between "-{L,R}" and the path.
13199 # Remove the space.
13200 if test $p = "-L" ||
13201 test $p = "-R"; then
13202 prev=$p
13203 continue
13204 else
13205 prev=
13208 if test "$pre_test_object_deps_done" = no; then
13209 case $p in
13210 -L* | -R*)
13211 # Internal compiler library paths should come after those
13212 # provided the user. The postdeps already come after the
13213 # user supplied libs so there is no need to process them.
13214 if test -z "$compiler_lib_search_path_CXX"; then
13215 compiler_lib_search_path_CXX="${prev}${p}"
13216 else
13217 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13220 # The "-l" case would never come before the object being
13221 # linked, so don't bother handling this case.
13222 esac
13223 else
13224 if test -z "$postdeps_CXX"; then
13225 postdeps_CXX="${prev}${p}"
13226 else
13227 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13232 *.$objext)
13233 # This assumes that the test object file only shows up
13234 # once in the compiler output.
13235 if test "$p" = "conftest.$objext"; then
13236 pre_test_object_deps_done=yes
13237 continue
13240 if test "$pre_test_object_deps_done" = no; then
13241 if test -z "$predep_objects_CXX"; then
13242 predep_objects_CXX="$p"
13243 else
13244 predep_objects_CXX="$predep_objects_CXX $p"
13246 else
13247 if test -z "$postdep_objects_CXX"; then
13248 postdep_objects_CXX="$p"
13249 else
13250 postdep_objects_CXX="$postdep_objects_CXX $p"
13255 *) ;; # Ignore the rest.
13257 esac
13258 done
13260 # Clean up.
13261 rm -f a.out a.exe
13262 else
13263 echo "libtool.m4: error: problem compiling CXX test program"
13266 $RM -f confest.$objext
13268 # PORTME: override above test on systems where it is broken
13269 case $host_os in
13270 interix[3-9]*)
13271 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13272 # hack all around it, let's just trust "g++" to DTRT.
13273 predep_objects_CXX=
13274 postdep_objects_CXX=
13275 postdeps_CXX=
13278 linux*)
13279 case `$CC -V 2>&1 | sed 5q` in
13280 *Sun\ C*)
13281 # Sun C++ 5.9
13283 # The more standards-conforming stlport4 library is
13284 # incompatible with the Cstd library. Avoid specifying
13285 # it if it's in CXXFLAGS. Ignore libCrun as
13286 # -library=stlport4 depends on it.
13287 case " $CXX $CXXFLAGS " in
13288 *" -library=stlport4 "*)
13289 solaris_use_stlport4=yes
13291 esac
13293 if test "$solaris_use_stlport4" != yes; then
13294 postdeps_CXX='-library=Cstd -library=Crun'
13297 esac
13300 solaris*)
13301 case $cc_basename in
13302 CC*)
13303 # The more standards-conforming stlport4 library is
13304 # incompatible with the Cstd library. Avoid specifying
13305 # it if it's in CXXFLAGS. Ignore libCrun as
13306 # -library=stlport4 depends on it.
13307 case " $CXX $CXXFLAGS " in
13308 *" -library=stlport4 "*)
13309 solaris_use_stlport4=yes
13311 esac
13313 # Adding this requires a known-good setup of shared libraries for
13314 # Sun compiler versions before 5.6, else PIC objects from an old
13315 # archive will be linked into the output, leading to subtle bugs.
13316 if test "$solaris_use_stlport4" != yes; then
13317 postdeps_CXX='-library=Cstd -library=Crun'
13320 esac
13322 esac
13325 case " $postdeps_CXX " in
13326 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13327 esac
13328 compiler_lib_search_dirs_CXX=
13329 if test -n "${compiler_lib_search_path_CXX}"; then
13330 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13363 lt_prog_compiler_wl_CXX=
13364 lt_prog_compiler_pic_CXX=
13365 lt_prog_compiler_static_CXX=
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13368 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13370 # C++ specific cases for pic, static, wl, etc.
13371 if test "$GXX" = yes; then
13372 lt_prog_compiler_wl_CXX='-Wl,'
13373 lt_prog_compiler_static_CXX='-static'
13375 case $host_os in
13376 aix*)
13377 # All AIX code is PIC.
13378 if test "$host_cpu" = ia64; then
13379 # AIX 5 now supports IA64 processor
13380 lt_prog_compiler_static_CXX='-Bstatic'
13384 amigaos*)
13385 case $host_cpu in
13386 powerpc)
13387 # see comment about AmigaOS4 .so support
13388 lt_prog_compiler_pic_CXX='-fPIC'
13390 m68k)
13391 # FIXME: we need at least 68020 code to build shared libraries, but
13392 # adding the `-m68020' flag to GCC prevents building anything better,
13393 # like `-m68040'.
13394 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13396 esac
13399 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13400 # PIC is the default for these OSes.
13402 mingw* | cygwin* | os2* | pw32* | cegcc*)
13403 # This hack is so that the source file can tell whether it is being
13404 # built for inclusion in a dll (and should export symbols for example).
13405 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13406 # (--disable-auto-import) libraries
13407 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13409 darwin* | rhapsody*)
13410 # PIC is the default on this platform
13411 # Common symbols not allowed in MH_DYLIB files
13412 lt_prog_compiler_pic_CXX='-fno-common'
13414 *djgpp*)
13415 # DJGPP does not support shared libraries at all
13416 lt_prog_compiler_pic_CXX=
13418 haiku*)
13419 # PIC is the default for Haiku.
13420 # The "-static" flag exists, but is broken.
13421 lt_prog_compiler_static_CXX=
13423 interix[3-9]*)
13424 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13425 # Instead, we relocate shared libraries at runtime.
13427 sysv4*MP*)
13428 if test -d /usr/nec; then
13429 lt_prog_compiler_pic_CXX=-Kconform_pic
13432 hpux*)
13433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13435 # sets the default TLS model and affects inlining.
13436 case $host_cpu in
13437 hppa*64*)
13440 lt_prog_compiler_pic_CXX='-fPIC'
13442 esac
13444 *qnx* | *nto*)
13445 # QNX uses GNU C++, but need to define -shared option too, otherwise
13446 # it will coredump.
13447 lt_prog_compiler_pic_CXX='-fPIC -shared'
13450 lt_prog_compiler_pic_CXX='-fPIC'
13452 esac
13453 else
13454 case $host_os in
13455 aix[4-9]*)
13456 # All AIX code is PIC.
13457 if test "$host_cpu" = ia64; then
13458 # AIX 5 now supports IA64 processor
13459 lt_prog_compiler_static_CXX='-Bstatic'
13460 else
13461 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13464 chorus*)
13465 case $cc_basename in
13466 cxch68*)
13467 # Green Hills C++ Compiler
13468 # _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"
13470 esac
13472 dgux*)
13473 case $cc_basename in
13474 ec++*)
13475 lt_prog_compiler_pic_CXX='-KPIC'
13477 ghcx*)
13478 # Green Hills C++ Compiler
13479 lt_prog_compiler_pic_CXX='-pic'
13483 esac
13485 freebsd* | dragonfly*)
13486 # FreeBSD uses GNU C++
13488 hpux9* | hpux10* | hpux11*)
13489 case $cc_basename in
13490 CC*)
13491 lt_prog_compiler_wl_CXX='-Wl,'
13492 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13493 if test "$host_cpu" != ia64; then
13494 lt_prog_compiler_pic_CXX='+Z'
13497 aCC*)
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13500 case $host_cpu in
13501 hppa*64*|ia64*)
13502 # +Z the default
13505 lt_prog_compiler_pic_CXX='+Z'
13507 esac
13511 esac
13513 interix*)
13514 # This is c89, which is MS Visual C++ (no shared libs)
13515 # Anyone wants to do a port?
13517 irix5* | irix6* | nonstopux*)
13518 case $cc_basename in
13519 CC*)
13520 lt_prog_compiler_wl_CXX='-Wl,'
13521 lt_prog_compiler_static_CXX='-non_shared'
13522 # CC pic flag -KPIC is the default.
13526 esac
13528 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13529 case $cc_basename in
13530 KCC*)
13531 # KAI C++ Compiler
13532 lt_prog_compiler_wl_CXX='--backend -Wl,'
13533 lt_prog_compiler_pic_CXX='-fPIC'
13535 ecpc* )
13536 # old Intel C++ for x86_64 which still supported -KPIC.
13537 lt_prog_compiler_wl_CXX='-Wl,'
13538 lt_prog_compiler_pic_CXX='-KPIC'
13539 lt_prog_compiler_static_CXX='-static'
13541 icpc* )
13542 # Intel C++, used to be incompatible with GCC.
13543 # ICC 10 doesn't accept -KPIC any more.
13544 lt_prog_compiler_wl_CXX='-Wl,'
13545 lt_prog_compiler_pic_CXX='-fPIC'
13546 lt_prog_compiler_static_CXX='-static'
13548 pgCC* | pgcpp*)
13549 # Portland Group C++ compiler
13550 lt_prog_compiler_wl_CXX='-Wl,'
13551 lt_prog_compiler_pic_CXX='-fpic'
13552 lt_prog_compiler_static_CXX='-Bstatic'
13554 cxx*)
13555 # Compaq C++
13556 # Make sure the PIC flag is empty. It appears that all Alpha
13557 # Linux and Compaq Tru64 Unix objects are PIC.
13558 lt_prog_compiler_pic_CXX=
13559 lt_prog_compiler_static_CXX='-non_shared'
13561 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13562 # IBM XL 8.0, 9.0 on PPC and BlueGene
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_pic_CXX='-qpic'
13565 lt_prog_compiler_static_CXX='-qstaticlink'
13568 case `$CC -V 2>&1 | sed 5q` in
13569 *Sun\ C*)
13570 # Sun C++ 5.9
13571 lt_prog_compiler_pic_CXX='-KPIC'
13572 lt_prog_compiler_static_CXX='-Bstatic'
13573 lt_prog_compiler_wl_CXX='-Qoption ld '
13575 esac
13577 esac
13579 lynxos*)
13581 m88k*)
13583 mvs*)
13584 case $cc_basename in
13585 cxx*)
13586 lt_prog_compiler_pic_CXX='-W c,exportall'
13590 esac
13592 netbsd*)
13594 *qnx* | *nto*)
13595 # QNX uses GNU C++, but need to define -shared option too, otherwise
13596 # it will coredump.
13597 lt_prog_compiler_pic_CXX='-fPIC -shared'
13599 osf3* | osf4* | osf5*)
13600 case $cc_basename in
13601 KCC*)
13602 lt_prog_compiler_wl_CXX='--backend -Wl,'
13604 RCC*)
13605 # Rational C++ 2.4.1
13606 lt_prog_compiler_pic_CXX='-pic'
13608 cxx*)
13609 # Digital/Compaq C++
13610 lt_prog_compiler_wl_CXX='-Wl,'
13611 # Make sure the PIC flag is empty. It appears that all Alpha
13612 # Linux and Compaq Tru64 Unix objects are PIC.
13613 lt_prog_compiler_pic_CXX=
13614 lt_prog_compiler_static_CXX='-non_shared'
13618 esac
13620 psos*)
13622 solaris*)
13623 case $cc_basename in
13624 CC*)
13625 # Sun C++ 4.2, 5.x and Centerline C++
13626 lt_prog_compiler_pic_CXX='-KPIC'
13627 lt_prog_compiler_static_CXX='-Bstatic'
13628 lt_prog_compiler_wl_CXX='-Qoption ld '
13630 gcx*)
13631 # Green Hills C++ Compiler
13632 lt_prog_compiler_pic_CXX='-PIC'
13636 esac
13638 sunos4*)
13639 case $cc_basename in
13640 CC*)
13641 # Sun C++ 4.x
13642 lt_prog_compiler_pic_CXX='-pic'
13643 lt_prog_compiler_static_CXX='-Bstatic'
13645 lcc*)
13646 # Lucid
13647 lt_prog_compiler_pic_CXX='-pic'
13651 esac
13653 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13654 case $cc_basename in
13655 CC*)
13656 lt_prog_compiler_wl_CXX='-Wl,'
13657 lt_prog_compiler_pic_CXX='-KPIC'
13658 lt_prog_compiler_static_CXX='-Bstatic'
13660 esac
13662 tandem*)
13663 case $cc_basename in
13664 NCC*)
13665 # NonStop-UX NCC 3.20
13666 lt_prog_compiler_pic_CXX='-KPIC'
13670 esac
13672 vxworks*)
13675 lt_prog_compiler_can_build_shared_CXX=no
13677 esac
13680 case $host_os in
13681 # For platforms which do not support PIC, -DPIC is meaningless:
13682 *djgpp*)
13683 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13688 esac
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13690 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13695 # Check to make sure the PIC flag actually works.
13697 if test -n "$lt_prog_compiler_pic_CXX"; then
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13699 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13700 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 lt_cv_prog_compiler_pic_works_CXX=no
13704 ac_outfile=conftest.$ac_objext
13705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13706 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13707 # Insert the option either (1) after the last *FLAGS variable, or
13708 # (2) before a word containing "conftest.", or (3) at the end.
13709 # Note that $ac_compile itself does not contain backslashes and begins
13710 # with a dollar sign (not a hyphen), so the echo should work correctly.
13711 # The option is referenced via a variable to avoid confusing sed.
13712 lt_compile=`echo "$ac_compile" | $SED \
13713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13715 -e 's:$: $lt_compiler_flag:'`
13716 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13717 (eval "$lt_compile" 2>conftest.err)
13718 ac_status=$?
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 if (exit $ac_status) && test -s "$ac_outfile"; then
13722 # The compiler can only warn and ignore the option if not recognized
13723 # So say no if there are warnings other than the usual output.
13724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13726 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13727 lt_cv_prog_compiler_pic_works_CXX=yes
13730 $RM conftest*
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13734 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13736 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13737 case $lt_prog_compiler_pic_CXX in
13738 "" | " "*) ;;
13739 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13740 esac
13741 else
13742 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_can_build_shared_CXX=no
13751 # Check to make sure the static flag actually works.
13753 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13755 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13756 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 lt_cv_prog_compiler_static_works_CXX=no
13760 save_LDFLAGS="$LDFLAGS"
13761 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13762 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13763 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13764 # The linker can only warn and ignore the option if not recognized
13765 # So say no if there are warnings
13766 if test -s conftest.err; then
13767 # Append any errors to the config.log.
13768 cat conftest.err 1>&5
13769 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13771 if diff conftest.exp conftest.er2 >/dev/null; then
13772 lt_cv_prog_compiler_static_works_CXX=yes
13774 else
13775 lt_cv_prog_compiler_static_works_CXX=yes
13778 $RM -r conftest*
13779 LDFLAGS="$save_LDFLAGS"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13783 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13785 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13787 else
13788 lt_prog_compiler_static_CXX=
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13795 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13796 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13797 $as_echo_n "(cached) " >&6
13798 else
13799 lt_cv_prog_compiler_c_o_CXX=no
13800 $RM -r conftest 2>/dev/null
13801 mkdir conftest
13802 cd conftest
13803 mkdir out
13804 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13806 lt_compiler_flag="-o out/conftest2.$ac_objext"
13807 # Insert the option either (1) after the last *FLAGS variable, or
13808 # (2) before a word containing "conftest.", or (3) at the end.
13809 # Note that $ac_compile itself does not contain backslashes and begins
13810 # with a dollar sign (not a hyphen), so the echo should work correctly.
13811 lt_compile=`echo "$ac_compile" | $SED \
13812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13814 -e 's:$: $lt_compiler_flag:'`
13815 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13816 (eval "$lt_compile" 2>out/conftest.err)
13817 ac_status=$?
13818 cat out/conftest.err >&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13821 then
13822 # The compiler can only warn and ignore the option if not recognized
13823 # So say no if there are warnings
13824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13825 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13826 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13827 lt_cv_prog_compiler_c_o_CXX=yes
13830 chmod u+w . 2>&5
13831 $RM conftest*
13832 # SGI C++ compiler will create directory out/ii_files/ for
13833 # template instantiation
13834 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13835 $RM out/* && rmdir out
13836 cd ..
13837 $RM -r conftest
13838 $RM conftest*
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13847 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13848 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 lt_cv_prog_compiler_c_o_CXX=no
13852 $RM -r conftest 2>/dev/null
13853 mkdir conftest
13854 cd conftest
13855 mkdir out
13856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13858 lt_compiler_flag="-o out/conftest2.$ac_objext"
13859 # Insert the option either (1) after the last *FLAGS variable, or
13860 # (2) before a word containing "conftest.", or (3) at the end.
13861 # Note that $ac_compile itself does not contain backslashes and begins
13862 # with a dollar sign (not a hyphen), so the echo should work correctly.
13863 lt_compile=`echo "$ac_compile" | $SED \
13864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13866 -e 's:$: $lt_compiler_flag:'`
13867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13868 (eval "$lt_compile" 2>out/conftest.err)
13869 ac_status=$?
13870 cat out/conftest.err >&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13873 then
13874 # The compiler can only warn and ignore the option if not recognized
13875 # So say no if there are warnings
13876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13877 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13878 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13879 lt_cv_prog_compiler_c_o_CXX=yes
13882 chmod u+w . 2>&5
13883 $RM conftest*
13884 # SGI C++ compiler will create directory out/ii_files/ for
13885 # template instantiation
13886 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13887 $RM out/* && rmdir out
13888 cd ..
13889 $RM -r conftest
13890 $RM conftest*
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13894 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13899 hard_links="nottested"
13900 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13901 # do not overwrite the value of need_locks provided by the user
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13903 $as_echo_n "checking if we can lock with hard links... " >&6; }
13904 hard_links=yes
13905 $RM conftest*
13906 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13907 touch conftest.a
13908 ln conftest.a conftest.b 2>&5 || hard_links=no
13909 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13911 $as_echo "$hard_links" >&6; }
13912 if test "$hard_links" = no; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13914 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13915 need_locks=warn
13917 else
13918 need_locks=no
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13924 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13927 case $host_os in
13928 aix[4-9]*)
13929 # If we're using GNU nm, then we don't want the "-C" option.
13930 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13931 # Also, AIX nm treats weak defined symbols like other global defined
13932 # symbols, whereas GNU nm marks them as "W".
13933 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13934 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'
13935 else
13936 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'
13939 pw32*)
13940 export_symbols_cmds_CXX="$ltdll_cmds"
13942 cygwin* | mingw* | cegcc*)
13943 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'
13946 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13948 esac
13949 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13952 $as_echo "$ld_shlibs_CXX" >&6; }
13953 test "$ld_shlibs_CXX" = no && can_build_shared=no
13955 with_gnu_ld_CXX=$with_gnu_ld
13963 # Do we need to explicitly link libc?
13965 case "x$archive_cmds_need_lc_CXX" in
13966 x|xyes)
13967 # Assume -lc should be added
13968 archive_cmds_need_lc_CXX=yes
13970 if test "$enable_shared" = yes && test "$GCC" = yes; then
13971 case $archive_cmds_CXX in
13972 *'~'*)
13973 # FIXME: we may have to deal with multi-command sequences.
13975 '$CC '*)
13976 # Test whether the compiler implicitly links with -lc since on some
13977 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13978 # to ld, don't add -lc before -lgcc.
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13980 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13981 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 $RM conftest*
13985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13988 (eval $ac_compile) 2>&5
13989 ac_status=$?
13990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991 test $ac_status = 0; } 2>conftest.err; then
13992 soname=conftest
13993 lib=conftest
13994 libobjs=conftest.$ac_objext
13995 deplibs=
13996 wl=$lt_prog_compiler_wl_CXX
13997 pic_flag=$lt_prog_compiler_pic_CXX
13998 compiler_flags=-v
13999 linker_flags=-v
14000 verstring=
14001 output_objdir=.
14002 libname=conftest
14003 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14004 allow_undefined_flag_CXX=
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14006 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; }
14010 then
14011 lt_cv_archive_cmds_need_lc_CXX=no
14012 else
14013 lt_cv_archive_cmds_need_lc_CXX=yes
14015 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14016 else
14017 cat conftest.err 1>&5
14019 $RM conftest*
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14023 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14024 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14026 esac
14029 esac
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14095 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14097 library_names_spec=
14098 libname_spec='lib$name'
14099 soname_spec=
14100 shrext_cmds=".so"
14101 postinstall_cmds=
14102 postuninstall_cmds=
14103 finish_cmds=
14104 finish_eval=
14105 shlibpath_var=
14106 shlibpath_overrides_runpath=unknown
14107 version_type=none
14108 dynamic_linker="$host_os ld.so"
14109 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14110 need_lib_prefix=unknown
14111 hardcode_into_libs=no
14113 # when you set need_version to no, make sure it does not cause -set_version
14114 # flags to be left without arguments
14115 need_version=unknown
14117 case $host_os in
14118 aix3*)
14119 version_type=linux
14120 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14121 shlibpath_var=LIBPATH
14123 # AIX 3 has no versioning support, so we append a major version to the name.
14124 soname_spec='${libname}${release}${shared_ext}$major'
14127 aix[4-9]*)
14128 version_type=linux
14129 need_lib_prefix=no
14130 need_version=no
14131 hardcode_into_libs=yes
14132 if test "$host_cpu" = ia64; then
14133 # AIX 5 supports IA64
14134 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14135 shlibpath_var=LD_LIBRARY_PATH
14136 else
14137 # With GCC up to 2.95.x, collect2 would create an import file
14138 # for dependence libraries. The import file would start with
14139 # the line `#! .'. This would cause the generated library to
14140 # depend on `.', always an invalid library. This was fixed in
14141 # development snapshots of GCC prior to 3.0.
14142 case $host_os in
14143 aix4 | aix4.[01] | aix4.[01].*)
14144 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14145 echo ' yes '
14146 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14148 else
14149 can_build_shared=no
14152 esac
14153 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14154 # soname into executable. Probably we can add versioning support to
14155 # collect2, so additional links can be useful in future.
14156 if test "$aix_use_runtimelinking" = yes; then
14157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14158 # instead of lib<name>.a to let people know that these are not
14159 # typical AIX shared libraries.
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 else
14162 # We preserve .a as extension for shared libraries through AIX4.2
14163 # and later when we are not doing run time linking.
14164 library_names_spec='${libname}${release}.a $libname.a'
14165 soname_spec='${libname}${release}${shared_ext}$major'
14167 shlibpath_var=LIBPATH
14171 amigaos*)
14172 case $host_cpu in
14173 powerpc)
14174 # Since July 2007 AmigaOS4 officially supports .so libraries.
14175 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178 m68k)
14179 library_names_spec='$libname.ixlibrary $libname.a'
14180 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14181 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'
14183 esac
14186 beos*)
14187 library_names_spec='${libname}${shared_ext}'
14188 dynamic_linker="$host_os ld.so"
14189 shlibpath_var=LIBRARY_PATH
14192 bsdi[45]*)
14193 version_type=linux
14194 need_version=no
14195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 soname_spec='${libname}${release}${shared_ext}$major'
14197 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14198 shlibpath_var=LD_LIBRARY_PATH
14199 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14200 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14201 # the default ld.so.conf also contains /usr/contrib/lib and
14202 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14203 # libtool to hard-code these into programs
14206 cygwin* | mingw* | pw32* | cegcc*)
14207 version_type=windows
14208 shrext_cmds=".dll"
14209 need_version=no
14210 need_lib_prefix=no
14212 case $GCC,$host_os in
14213 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14214 library_names_spec='$libname.dll.a'
14215 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14216 postinstall_cmds='base_file=`basename \${file}`~
14217 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14218 dldir=$destdir/`dirname \$dlpath`~
14219 test -d \$dldir || mkdir -p \$dldir~
14220 $install_prog $dir/$dlname \$dldir/$dlname~
14221 chmod a+x \$dldir/$dlname~
14222 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14223 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14225 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14226 dlpath=$dir/\$dldll~
14227 $RM \$dlpath'
14228 shlibpath_overrides_runpath=yes
14230 case $host_os in
14231 cygwin*)
14232 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14233 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14236 mingw* | cegcc*)
14237 # MinGW DLLs use traditional 'lib' prefix
14238 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14240 pw32*)
14241 # pw32 DLLs use 'pw' prefix rather than 'lib'
14242 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14244 esac
14248 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14250 esac
14251 dynamic_linker='Win32 ld.exe'
14252 # FIXME: first we should search . and the directory the executable is in
14253 shlibpath_var=PATH
14256 darwin* | rhapsody*)
14257 dynamic_linker="$host_os dyld"
14258 version_type=darwin
14259 need_lib_prefix=no
14260 need_version=no
14261 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14262 soname_spec='${libname}${release}${major}$shared_ext'
14263 shlibpath_overrides_runpath=yes
14264 shlibpath_var=DYLD_LIBRARY_PATH
14265 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14267 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14270 dgux*)
14271 version_type=linux
14272 need_lib_prefix=no
14273 need_version=no
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14275 soname_spec='${libname}${release}${shared_ext}$major'
14276 shlibpath_var=LD_LIBRARY_PATH
14279 freebsd1*)
14280 dynamic_linker=no
14283 freebsd* | dragonfly*)
14284 # DragonFly does not have aout. When/if they implement a new
14285 # versioning mechanism, adjust this.
14286 if test -x /usr/bin/objformat; then
14287 objformat=`/usr/bin/objformat`
14288 else
14289 case $host_os in
14290 freebsd[123]*) objformat=aout ;;
14291 *) objformat=elf ;;
14292 esac
14294 version_type=freebsd-$objformat
14295 case $version_type in
14296 freebsd-elf*)
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14298 need_version=no
14299 need_lib_prefix=no
14301 freebsd-*)
14302 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14303 need_version=yes
14305 esac
14306 shlibpath_var=LD_LIBRARY_PATH
14307 case $host_os in
14308 freebsd2*)
14309 shlibpath_overrides_runpath=yes
14311 freebsd3.[01]* | freebsdelf3.[01]*)
14312 shlibpath_overrides_runpath=yes
14313 hardcode_into_libs=yes
14315 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14316 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14317 shlibpath_overrides_runpath=no
14318 hardcode_into_libs=yes
14320 *) # from 4.6 on, and DragonFly
14321 shlibpath_overrides_runpath=yes
14322 hardcode_into_libs=yes
14324 esac
14327 gnu*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14334 hardcode_into_libs=yes
14337 haiku*)
14338 version_type=linux
14339 need_lib_prefix=no
14340 need_version=no
14341 dynamic_linker="$host_os runtime_loader"
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LIBRARY_PATH
14345 shlibpath_overrides_runpath=yes
14346 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14347 hardcode_into_libs=yes
14350 hpux9* | hpux10* | hpux11*)
14351 # Give a soname corresponding to the major version so that dld.sl refuses to
14352 # link against other versions.
14353 version_type=sunos
14354 need_lib_prefix=no
14355 need_version=no
14356 case $host_cpu in
14357 ia64*)
14358 shrext_cmds='.so'
14359 hardcode_into_libs=yes
14360 dynamic_linker="$host_os dld.so"
14361 shlibpath_var=LD_LIBRARY_PATH
14362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 if test "X$HPUX_IA64_MODE" = X32; then
14366 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14367 else
14368 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14372 hppa*64*)
14373 shrext_cmds='.sl'
14374 hardcode_into_libs=yes
14375 dynamic_linker="$host_os dld.sl"
14376 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14384 shrext_cmds='.sl'
14385 dynamic_linker="$host_os dld.sl"
14386 shlibpath_var=SHLIB_PATH
14387 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14389 soname_spec='${libname}${release}${shared_ext}$major'
14391 esac
14392 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14393 postinstall_cmds='chmod 555 $lib'
14394 # or fails outright, so override atomically:
14395 install_override_mode=555
14398 interix[3-9]*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14405 shlibpath_var=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath=no
14407 hardcode_into_libs=yes
14410 irix5* | irix6* | nonstopux*)
14411 case $host_os in
14412 nonstopux*) version_type=nonstopux ;;
14414 if test "$lt_cv_prog_gnu_ld" = yes; then
14415 version_type=linux
14416 else
14417 version_type=irix
14418 fi ;;
14419 esac
14420 need_lib_prefix=no
14421 need_version=no
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14424 case $host_os in
14425 irix5* | nonstopux*)
14426 libsuff= shlibsuff=
14429 case $LD in # libtool.m4 will add one of these switches to LD
14430 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14431 libsuff= shlibsuff= libmagic=32-bit;;
14432 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14433 libsuff=32 shlibsuff=N32 libmagic=N32;;
14434 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14435 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14436 *) libsuff= shlibsuff= libmagic=never-match;;
14437 esac
14439 esac
14440 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14441 shlibpath_overrides_runpath=no
14442 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14443 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14444 hardcode_into_libs=yes
14447 # No shared lib support for Linux oldld, aout, or coff.
14448 linux*oldld* | linux*aout* | linux*coff*)
14449 dynamic_linker=no
14452 # This must be Linux ELF.
14453 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14454 version_type=linux
14455 need_lib_prefix=no
14456 need_version=no
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14460 shlibpath_var=LD_LIBRARY_PATH
14461 shlibpath_overrides_runpath=no
14463 # Some binutils ld are patched to set DT_RUNPATH
14464 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 lt_cv_shlibpath_overrides_runpath=no
14468 save_LDFLAGS=$LDFLAGS
14469 save_libdir=$libdir
14470 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14471 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14472 if test x$gcc_no_link = xyes; then
14473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14479 main ()
14483 return 0;
14485 _ACEOF
14486 if ac_fn_cxx_try_link "$LINENO"; then :
14487 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14488 lt_cv_shlibpath_overrides_runpath=yes
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LDFLAGS=$save_LDFLAGS
14494 libdir=$save_libdir
14498 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14500 # This implies no fast_install, which is unacceptable.
14501 # Some rework will be needed to allow for fast_install
14502 # before this can be enabled.
14503 hardcode_into_libs=yes
14505 # Append ld.so.conf contents to the search path
14506 if test -f /etc/ld.so.conf; then
14507 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' ' '`
14508 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14511 # We used to test for /lib/ld.so.1 and disable shared libraries on
14512 # powerpc, because MkLinux only supported shared libraries with the
14513 # GNU dynamic linker. Since this was broken with cross compilers,
14514 # most powerpc-linux boxes support dynamic linking these days and
14515 # people can always --disable-shared, the test was removed, and we
14516 # assume the GNU/Linux dynamic linker is in use.
14517 dynamic_linker='GNU/Linux ld.so'
14520 netbsd*)
14521 version_type=sunos
14522 need_lib_prefix=no
14523 need_version=no
14524 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14526 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14527 dynamic_linker='NetBSD (a.out) ld.so'
14528 else
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14530 soname_spec='${libname}${release}${shared_ext}$major'
14531 dynamic_linker='NetBSD ld.elf_so'
14533 shlibpath_var=LD_LIBRARY_PATH
14534 shlibpath_overrides_runpath=yes
14535 hardcode_into_libs=yes
14538 newsos6)
14539 version_type=linux
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=yes
14545 *nto* | *qnx*)
14546 version_type=qnx
14547 need_lib_prefix=no
14548 need_version=no
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 shlibpath_overrides_runpath=no
14553 hardcode_into_libs=yes
14554 dynamic_linker='ldqnx.so'
14557 openbsd*)
14558 version_type=sunos
14559 sys_lib_dlsearch_path_spec="/usr/lib"
14560 need_lib_prefix=no
14561 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14562 case $host_os in
14563 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14564 *) need_version=no ;;
14565 esac
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14568 shlibpath_var=LD_LIBRARY_PATH
14569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14570 case $host_os in
14571 openbsd2.[89] | openbsd2.[89].*)
14572 shlibpath_overrides_runpath=no
14575 shlibpath_overrides_runpath=yes
14577 esac
14578 else
14579 shlibpath_overrides_runpath=yes
14583 os2*)
14584 libname_spec='$name'
14585 shrext_cmds=".dll"
14586 need_lib_prefix=no
14587 library_names_spec='$libname${shared_ext} $libname.a'
14588 dynamic_linker='OS/2 ld.exe'
14589 shlibpath_var=LIBPATH
14592 osf3* | osf4* | osf5*)
14593 version_type=osf
14594 need_lib_prefix=no
14595 need_version=no
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14600 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14603 rdos*)
14604 dynamic_linker=no
14607 solaris*)
14608 version_type=linux
14609 need_lib_prefix=no
14610 need_version=no
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec='${libname}${release}${shared_ext}$major'
14613 shlibpath_var=LD_LIBRARY_PATH
14614 shlibpath_overrides_runpath=yes
14615 hardcode_into_libs=yes
14616 # ldd complains unless libraries are executable
14617 postinstall_cmds='chmod +x $lib'
14620 sunos4*)
14621 version_type=sunos
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14623 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 if test "$with_gnu_ld" = yes; then
14627 need_lib_prefix=no
14629 need_version=yes
14632 sysv4 | sysv4.3*)
14633 version_type=linux
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 case $host_vendor in
14638 sni)
14639 shlibpath_overrides_runpath=no
14640 need_lib_prefix=no
14641 runpath_var=LD_RUN_PATH
14643 siemens)
14644 need_lib_prefix=no
14646 motorola)
14647 need_lib_prefix=no
14648 need_version=no
14649 shlibpath_overrides_runpath=no
14650 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14652 esac
14655 sysv4*MP*)
14656 if test -d /usr/nec ;then
14657 version_type=linux
14658 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14659 soname_spec='$libname${shared_ext}.$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14665 version_type=freebsd-elf
14666 need_lib_prefix=no
14667 need_version=no
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14669 soname_spec='${libname}${release}${shared_ext}$major'
14670 shlibpath_var=LD_LIBRARY_PATH
14671 shlibpath_overrides_runpath=yes
14672 hardcode_into_libs=yes
14673 if test "$with_gnu_ld" = yes; then
14674 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14675 else
14676 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14677 case $host_os in
14678 sco3.2v5*)
14679 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14681 esac
14683 sys_lib_dlsearch_path_spec='/usr/lib'
14686 tpf*)
14687 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14688 version_type=linux
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 shlibpath_overrides_runpath=no
14694 hardcode_into_libs=yes
14697 uts4*)
14698 version_type=linux
14699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14700 soname_spec='${libname}${release}${shared_ext}$major'
14701 shlibpath_var=LD_LIBRARY_PATH
14705 dynamic_linker=no
14707 esac
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14709 $as_echo "$dynamic_linker" >&6; }
14710 test "$dynamic_linker" = no && can_build_shared=no
14712 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14713 if test "$GCC" = yes; then
14714 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14717 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14718 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14720 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14721 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14762 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14763 hardcode_action_CXX=
14764 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14765 test -n "$runpath_var_CXX" ||
14766 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14768 # We can hardcode non-existent directories.
14769 if test "$hardcode_direct_CXX" != no &&
14770 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14771 # have to relink, otherwise we might link with an installed library
14772 # when we should be linking with a yet-to-be-installed one
14773 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14774 test "$hardcode_minus_L_CXX" != no; then
14775 # Linking always hardcodes the temporary library directory.
14776 hardcode_action_CXX=relink
14777 else
14778 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14779 hardcode_action_CXX=immediate
14781 else
14782 # We cannot hardcode anything, or else we can only hardcode existing
14783 # directories.
14784 hardcode_action_CXX=unsupported
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14787 $as_echo "$hardcode_action_CXX" >&6; }
14789 if test "$hardcode_action_CXX" = relink ||
14790 test "$inherit_rpath_CXX" = yes; then
14791 # Fast installation is not supported
14792 enable_fast_install=no
14793 elif test "$shlibpath_overrides_runpath" = yes ||
14794 test "$enable_shared" = no; then
14795 # Fast installation is not necessary
14796 enable_fast_install=needless
14805 fi # test -n "$compiler"
14807 CC=$lt_save_CC
14808 LDCXX=$LD
14809 LD=$lt_save_LD
14810 GCC=$lt_save_GCC
14811 with_gnu_ld=$lt_save_with_gnu_ld
14812 lt_cv_path_LDCXX=$lt_cv_path_LD
14813 lt_cv_path_LD=$lt_save_path_LD
14814 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14815 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14816 fi # test "$_lt_caught_CXX_error" != yes
14818 ac_ext=c
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14836 ac_config_commands="$ac_config_commands libtool"
14841 # Only expand once:
14847 case $host in
14848 *-cygwin* | *-mingw*)
14849 # 'host' will be top-level target in the case of a target lib,
14850 # we must compare to with_cross_host to decide if this is a native
14851 # or cross-compiler and select where to install dlls appropriately.
14852 if test -n "$with_cross_host" &&
14853 test x"$with_cross_host" != x"no"; then
14854 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14855 else
14856 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14860 lt_host_flags=
14862 esac
14869 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14870 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14872 # Possibly disable most of the library.
14873 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14874 ## than just ignoring the results. Faster /and/ more correct, win win.
14876 # Check whether --enable-hosted-libstdcxx was given.
14877 if test "${enable_hosted_libstdcxx+set}" = set; then :
14878 enableval=$enable_hosted_libstdcxx;
14879 else
14880 case "$host" in
14881 arm*-*-symbianelf*)
14882 enable_hosted_libstdcxx=no
14885 enable_hosted_libstdcxx=yes
14887 esac
14890 if test "$enable_hosted_libstdcxx" = no; then
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14892 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14893 is_hosted=no
14894 hosted_define=0
14895 enable_abi_check=no
14896 enable_libstdcxx_pch=no
14897 else
14898 is_hosted=yes
14899 hosted_define=1
14903 cat >>confdefs.h <<_ACEOF
14904 #define _GLIBCXX_HOSTED $hosted_define
14905 _ACEOF
14909 # Enable compiler support that doesn't require linking.
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14912 $as_echo_n "checking for exception model to use... " >&6; }
14914 ac_ext=cpp
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14920 # Check whether --enable-sjlj-exceptions was given.
14921 if test "${enable_sjlj_exceptions+set}" = set; then :
14922 enableval=$enable_sjlj_exceptions;
14923 case "$enableval" in
14924 yes|no|auto) ;;
14925 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14926 esac
14928 else
14929 enable_sjlj_exceptions=auto
14934 if test $enable_sjlj_exceptions = auto; then
14935 # Botheration. Now we've got to detect the exception model. Link tests
14936 # against libgcc.a are problematic since we've not been given proper -L
14937 # bits for single-tree newlib and libgloss.
14939 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14940 cat > conftest.$ac_ext << EOF
14941 #line 14941 "configure"
14942 struct S { ~S(); };
14943 void bar();
14944 void foo()
14946 S s;
14947 bar();
14950 old_CXXFLAGS="$CXXFLAGS"
14951 CXXFLAGS=-S
14952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14953 (eval $ac_compile) 2>&5
14954 ac_status=$?
14955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14956 test $ac_status = 0; }; then
14957 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14958 enable_sjlj_exceptions=yes
14959 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14960 enable_sjlj_exceptions=no
14961 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14962 enable_sjlj_exceptions=no
14965 CXXFLAGS="$old_CXXFLAGS"
14966 rm -f conftest*
14969 # This is a tad weird, for hysterical raisins. We have to map
14970 # enable/disable to two different models.
14971 case $enable_sjlj_exceptions in
14972 yes)
14974 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14976 ac_exception_model_name=sjlj
14979 ac_exception_model_name="call frame"
14982 as_fn_error "unable to detect exception model" "$LINENO" 5
14984 esac
14985 ac_ext=c
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14992 $as_echo "$ac_exception_model_name" >&6; }
14995 # Check whether --enable-libstdcxx-pch was given.
14996 if test "${enable_libstdcxx_pch+set}" = set; then :
14997 enableval=$enable_libstdcxx_pch;
14998 case "$enableval" in
14999 yes|no) ;;
15000 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15001 esac
15003 else
15004 enable_libstdcxx_pch=$is_hosted
15008 if test $enable_libstdcxx_pch = yes; then
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15010 $as_echo_n "checking for compiler with PCH support... " >&6; }
15011 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 ac_save_CXXFLAGS="$CXXFLAGS"
15015 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15017 ac_ext=cpp
15018 ac_cpp='$CXXCPP $CPPFLAGS'
15019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15023 echo '#include <math.h>' > conftest.h
15024 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15025 -o conftest.h.gch 1>&5 2>&1 &&
15026 echo '#error "pch failed"' > conftest.h &&
15027 echo '#include "conftest.h"' > conftest.cc &&
15028 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15029 then
15030 glibcxx_cv_prog_CXX_pch=yes
15031 else
15032 glibcxx_cv_prog_CXX_pch=no
15034 rm -f conftest*
15035 CXXFLAGS=$ac_save_CXXFLAGS
15036 ac_ext=c
15037 ac_cpp='$CPP $CPPFLAGS'
15038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15045 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15046 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15050 $as_echo_n "checking for enabled PCH... " >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15052 $as_echo "$enable_libstdcxx_pch" >&6; }
15055 if test $enable_libstdcxx_pch = yes; then
15056 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15057 else
15058 glibcxx_PCHFLAGS=""
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15064 $as_echo_n "checking for thread model used by GCC... " >&6; }
15065 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15067 $as_echo "$target_thread_file" >&6; }
15069 if test $target_thread_file != single; then
15071 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15075 glibcxx_thread_h=gthr-$target_thread_file.h
15077 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15078 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15079 enable_thread=yes
15080 else
15081 enable_thread=no
15088 ac_ext=cpp
15089 ac_cpp='$CXXCPP $CPPFLAGS'
15090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15094 old_CXXFLAGS="$CXXFLAGS"
15096 # Do link tests if possible, instead asm tests, limited to some platforms
15097 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15098 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15099 atomic_builtins_link_tests=no
15100 if test x$gcc_no_link != xyes; then
15101 # Can do link tests. Limit to some tested platforms
15102 case "$host" in
15103 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15104 atomic_builtins_link_tests=yes
15106 esac
15109 if test x$atomic_builtins_link_tests = xyes; then
15111 # Do link tests.
15113 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15116 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15117 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15121 if test x$gcc_no_link = xyes; then
15122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15128 main ()
15130 typedef bool atomic_type;
15131 atomic_type c1;
15132 atomic_type c2;
15133 const atomic_type c3(0);
15134 __sync_fetch_and_add(&c1, c2);
15135 __sync_val_compare_and_swap(&c1, c3, c2);
15136 __sync_lock_test_and_set(&c1, c3);
15137 __sync_lock_release(&c1);
15138 __sync_synchronize();
15140 return 0;
15142 _ACEOF
15143 if ac_fn_cxx_try_link "$LINENO"; then :
15144 glibcxx_cv_atomic_bool=yes
15145 else
15146 glibcxx_cv_atomic_bool=no
15148 rm -f core conftest.err conftest.$ac_objext \
15149 conftest$ac_exeext conftest.$ac_ext
15153 if test $glibcxx_cv_atomic_bool = yes; then
15155 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15159 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15162 $as_echo_n "checking for atomic builtins for short... " >&6; }
15163 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15167 if test x$gcc_no_link = xyes; then
15168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15174 main ()
15176 typedef short atomic_type;
15177 atomic_type c1;
15178 atomic_type c2;
15179 const atomic_type c3(0);
15180 __sync_fetch_and_add(&c1, c2);
15181 __sync_val_compare_and_swap(&c1, c3, c2);
15182 __sync_lock_test_and_set(&c1, c3);
15183 __sync_lock_release(&c1);
15184 __sync_synchronize();
15186 return 0;
15188 _ACEOF
15189 if ac_fn_cxx_try_link "$LINENO"; then :
15190 glibcxx_cv_atomic_short=yes
15191 else
15192 glibcxx_cv_atomic_short=no
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15199 if test $glibcxx_cv_atomic_short = yes; then
15201 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15205 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15208 $as_echo_n "checking for atomic builtins for int... " >&6; }
15209 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15213 if test x$gcc_no_link = xyes; then
15214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15220 main ()
15222 typedef int atomic_type;
15223 atomic_type c1;
15224 atomic_type c2;
15225 const atomic_type c3(0);
15226 __sync_fetch_and_add(&c1, c2);
15227 __sync_val_compare_and_swap(&c1, c3, c2);
15228 __sync_lock_test_and_set(&c1, c3);
15229 __sync_lock_release(&c1);
15230 __sync_synchronize();
15232 return 0;
15234 _ACEOF
15235 if ac_fn_cxx_try_link "$LINENO"; then :
15236 glibcxx_cv_atomic_int=yes
15237 else
15238 glibcxx_cv_atomic_int=no
15240 rm -f core conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15245 if test $glibcxx_cv_atomic_int = yes; then
15247 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15251 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15254 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15255 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15266 main ()
15268 typedef long long atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 const atomic_type c3(0);
15272 __sync_fetch_and_add(&c1, c2);
15273 __sync_val_compare_and_swap(&c1, c3, c2);
15274 __sync_lock_test_and_set(&c1, c3);
15275 __sync_lock_release(&c1);
15276 __sync_synchronize();
15278 return 0;
15280 _ACEOF
15281 if ac_fn_cxx_try_link "$LINENO"; then :
15282 glibcxx_cv_atomic_long_long=yes
15283 else
15284 glibcxx_cv_atomic_long_long=no
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15291 if test $glibcxx_cv_atomic_long_long = yes; then
15293 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15297 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15299 else
15301 # Do asm tests.
15303 # Compile unoptimized.
15304 CXXFLAGS='-O0 -S'
15306 # Fake what AC_TRY_COMPILE does.
15308 cat > conftest.$ac_ext << EOF
15309 #line 15309 "configure"
15310 int main()
15312 typedef bool atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 const atomic_type c3(0);
15316 __sync_fetch_and_add(&c1, c2);
15317 __sync_val_compare_and_swap(&c1, c3, c2);
15318 __sync_lock_test_and_set(&c1, c3);
15319 __sync_lock_release(&c1);
15320 __sync_synchronize();
15321 return 0;
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15326 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15328 (eval $ac_compile) 2>&5
15329 ac_status=$?
15330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15331 test $ac_status = 0; }; then
15332 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15333 glibcxx_cv_atomic_bool=no
15334 else
15336 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15338 glibcxx_cv_atomic_bool=yes
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15342 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15343 rm -f conftest*
15345 cat > conftest.$ac_ext << EOF
15346 #line 15346 "configure"
15347 int main()
15349 typedef short atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 const atomic_type c3(0);
15353 __sync_fetch_and_add(&c1, c2);
15354 __sync_val_compare_and_swap(&c1, c3, c2);
15355 __sync_lock_test_and_set(&c1, c3);
15356 __sync_lock_release(&c1);
15357 __sync_synchronize();
15358 return 0;
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15363 $as_echo_n "checking for atomic builtins for short... " >&6; }
15364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15365 (eval $ac_compile) 2>&5
15366 ac_status=$?
15367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15368 test $ac_status = 0; }; then
15369 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15370 glibcxx_cv_atomic_short=no
15371 else
15373 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15375 glibcxx_cv_atomic_short=yes
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15379 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15380 rm -f conftest*
15382 cat > conftest.$ac_ext << EOF
15383 #line 15383 "configure"
15384 int main()
15386 // NB: _Atomic_word not necessarily int.
15387 typedef int atomic_type;
15388 atomic_type c1;
15389 atomic_type c2;
15390 const atomic_type c3(0);
15391 __sync_fetch_and_add(&c1, c2);
15392 __sync_val_compare_and_swap(&c1, c3, c2);
15393 __sync_lock_test_and_set(&c1, c3);
15394 __sync_lock_release(&c1);
15395 __sync_synchronize();
15396 return 0;
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15401 $as_echo_n "checking for atomic builtins for int... " >&6; }
15402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15403 (eval $ac_compile) 2>&5
15404 ac_status=$?
15405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15406 test $ac_status = 0; }; then
15407 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15408 glibcxx_cv_atomic_int=no
15409 else
15411 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15413 glibcxx_cv_atomic_int=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15417 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15418 rm -f conftest*
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15424 typedef long long atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 const atomic_type c3(0);
15428 __sync_fetch_and_add(&c1, c2);
15429 __sync_val_compare_and_swap(&c1, c3, c2);
15430 __sync_lock_test_and_set(&c1, c3);
15431 __sync_lock_release(&c1);
15432 __sync_synchronize();
15433 return 0;
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15438 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15440 (eval $ac_compile) 2>&5
15441 ac_status=$?
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15445 glibcxx_cv_atomic_long_long=no
15446 else
15448 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15450 glibcxx_cv_atomic_long_long=yes
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15454 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15455 rm -f conftest*
15459 CXXFLAGS="$old_CXXFLAGS"
15460 ac_ext=c
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15467 # Set atomicity_dir to builtins if either of above tests pass.
15468 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15469 atomicity_dir=cpu/generic/atomicity_builtins
15472 # If still generic, set to mutex.
15473 if test $atomicity_dir = "cpu/generic" ; then
15474 atomicity_dir=cpu/generic/atomicity_mutex
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15476 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15477 if test "x$target_thread_file" = xsingle; then
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15479 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15481 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15482 else
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15484 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15486 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15493 # Fake what AC_TRY_COMPILE does, without linking as this is
15494 # unnecessary for this test.
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 _Decimal32 d1;
15501 _Decimal64 d2;
15502 _Decimal128 d3;
15503 return 0;
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15508 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15510 (eval $ac_compile) 2>&5
15511 ac_status=$?
15512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15513 test $ac_status = 0; }; then
15515 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15517 enable_dfp=yes
15518 else
15519 enable_dfp=no
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15522 $as_echo "$enable_dfp" >&6; }
15523 rm -f conftest*
15526 # Checks for compiler support that doesn't require linking.
15528 # All these tests are for C++; save the language and the compiler flags.
15529 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15530 # found in GLIBCXX_CONFIGURE.
15532 ac_ext=cpp
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15538 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15539 ac_save_CXXFLAGS="$CXXFLAGS"
15541 # Check for maintainer-mode bits.
15542 if test x"$USE_MAINTAINER_MODE" = xno; then
15543 WERROR=''
15544 else
15545 WERROR='-Werror'
15548 # Check for -ffunction-sections -fdata-sections
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15550 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15551 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 int foo; void bar() { };
15556 main ()
15560 return 0;
15562 _ACEOF
15563 if ac_fn_cxx_try_compile "$LINENO"; then :
15564 ac_fdsections=yes
15565 else
15566 ac_fdsections=no
15568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 if test "$ac_test_CXXFLAGS" = set; then
15570 CXXFLAGS="$ac_save_CXXFLAGS"
15571 else
15572 # this is the suspicious part
15573 CXXFLAGS=''
15575 if test x"$ac_fdsections" = x"yes"; then
15576 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15579 $as_echo "$ac_fdsections" >&6; }
15581 ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15591 # Enable all the variable C++ runtime options that don't require linking.
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15594 $as_echo_n "checking for underlying I/O to use... " >&6; }
15595 # Check whether --enable-cstdio was given.
15596 if test "${enable_cstdio+set}" = set; then :
15597 enableval=$enable_cstdio;
15598 case "$enableval" in
15599 stdio) ;;
15600 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15601 esac
15603 else
15604 enable_cstdio=stdio
15609 # Now that libio has been removed, you can have any color you want as long
15610 # as it's black. This is one big no-op until other packages are added, but
15611 # showing the framework never hurts.
15612 case ${enable_cstdio} in
15613 stdio)
15614 CSTDIO_H=config/io/c_io_stdio.h
15615 BASIC_FILE_H=config/io/basic_file_stdio.h
15616 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15618 $as_echo "stdio" >&6; }
15620 esac
15627 # Check whether --enable-clocale was given.
15628 if test "${enable_clocale+set}" = set; then :
15629 enableval=$enable_clocale;
15630 case "$enableval" in
15631 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15632 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15633 esac
15635 else
15636 enable_clocale=auto
15641 # Deal with gettext issues. Default to not using it (=no) until we detect
15642 # support for it later. Let the user turn it off via --e/d, but let that
15643 # default to on for easier handling.
15644 USE_NLS=no
15645 # Check whether --enable-nls was given.
15646 if test "${enable_nls+set}" = set; then :
15647 enableval=$enable_nls;
15648 else
15649 enable_nls=yes
15653 # Either a known packaage, or "auto"
15654 if test $enable_clocale = no || test $enable_clocale = yes; then
15655 enable_clocale=auto
15657 enable_clocale_flag=$enable_clocale
15659 # Probe for locale model to use if none specified.
15660 # Default to "generic".
15661 if test $enable_clocale_flag = auto; then
15662 case ${target_os} in
15663 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15664 enable_clocale_flag=gnu
15666 darwin* | freebsd*)
15667 enable_clocale_flag=darwin
15670 enable_clocale_flag=generic
15672 esac
15675 # Sanity check model, and test for special functionality.
15676 if test $enable_clocale_flag = gnu; then
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 #include <features.h>
15681 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15682 _GLIBCXX_ok
15683 #endif
15685 _ACEOF
15686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15687 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15688 enable_clocale_flag=gnu
15689 else
15690 enable_clocale_flag=generic
15692 rm -f conftest*
15695 # Set it to scream when it hurts.
15696 ac_save_CFLAGS="$CFLAGS"
15697 CFLAGS="-Wimplicit-function-declaration -Werror"
15699 # Use strxfrm_l if available.
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 #define _GNU_SOURCE 1
15703 #include <string.h>
15704 #include <locale.h>
15706 main ()
15708 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_compile "$LINENO"; then :
15715 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15720 # Use strerror_l if available.
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15723 #define _GNU_SOURCE 1
15724 #include <string.h>
15725 #include <locale.h>
15727 main ()
15729 __locale_t loc; strerror_l(5, loc);
15731 return 0;
15733 _ACEOF
15734 if ac_fn_c_try_compile "$LINENO"; then :
15736 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 CFLAGS="$ac_save_CFLAGS"
15744 # Perhaps use strerror_r if available, and strerror_l isn't.
15745 ac_save_CFLAGS="$CFLAGS"
15746 CFLAGS="-Wimplicit-function-declaration -Werror"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15749 #define _GNU_SOURCE 1
15750 #include <string.h>
15751 #include <locale.h>
15753 main ()
15755 char s[128]; strerror_r(5, s, 128);
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_compile "$LINENO"; then :
15762 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 CFLAGS="$ac_save_CFLAGS"
15768 # Set configure bits for specified locale package
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15770 $as_echo_n "checking for C locale to use... " >&6; }
15771 case ${enable_clocale_flag} in
15772 generic)
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15774 $as_echo "generic" >&6; }
15776 CLOCALE_H=config/locale/generic/c_locale.h
15777 CLOCALE_CC=config/locale/generic/c_locale.cc
15778 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15779 CCOLLATE_CC=config/locale/generic/collate_members.cc
15780 CCTYPE_CC=config/locale/generic/ctype_members.cc
15781 CMESSAGES_H=config/locale/generic/messages_members.h
15782 CMESSAGES_CC=config/locale/generic/messages_members.cc
15783 CMONEY_CC=config/locale/generic/monetary_members.cc
15784 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15785 CTIME_H=config/locale/generic/time_members.h
15786 CTIME_CC=config/locale/generic/time_members.cc
15787 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15789 darwin)
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15791 $as_echo "darwin or freebsd" >&6; }
15793 CLOCALE_H=config/locale/generic/c_locale.h
15794 CLOCALE_CC=config/locale/generic/c_locale.cc
15795 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15796 CCOLLATE_CC=config/locale/generic/collate_members.cc
15797 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15798 CMESSAGES_H=config/locale/generic/messages_members.h
15799 CMESSAGES_CC=config/locale/generic/messages_members.cc
15800 CMONEY_CC=config/locale/generic/monetary_members.cc
15801 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15802 CTIME_H=config/locale/generic/time_members.h
15803 CTIME_CC=config/locale/generic/time_members.cc
15804 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15807 gnu)
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15809 $as_echo "gnu" >&6; }
15811 # Declare intention to use gettext, and add support for specific
15812 # languages.
15813 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15814 ALL_LINGUAS="de fr"
15816 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15817 # Extract the first word of "msgfmt", so it can be a program name with args.
15818 set dummy msgfmt; ac_word=$2
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15820 $as_echo_n "checking for $ac_word... " >&6; }
15821 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15822 $as_echo_n "(cached) " >&6
15823 else
15824 if test -n "$check_msgfmt"; then
15825 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15826 else
15827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15828 for as_dir in $PATH
15830 IFS=$as_save_IFS
15831 test -z "$as_dir" && as_dir=.
15832 for ac_exec_ext in '' $ac_executable_extensions; do
15833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15834 ac_cv_prog_check_msgfmt="yes"
15835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15836 break 2
15838 done
15839 done
15840 IFS=$as_save_IFS
15842 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15845 check_msgfmt=$ac_cv_prog_check_msgfmt
15846 if test -n "$check_msgfmt"; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15848 $as_echo "$check_msgfmt" >&6; }
15849 else
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15851 $as_echo "no" >&6; }
15855 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15856 USE_NLS=yes
15858 # Export the build objects.
15859 for ling in $ALL_LINGUAS; do \
15860 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15861 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15862 done
15866 CLOCALE_H=config/locale/gnu/c_locale.h
15867 CLOCALE_CC=config/locale/gnu/c_locale.cc
15868 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15869 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15870 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15871 CMESSAGES_H=config/locale/gnu/messages_members.h
15872 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15873 CMONEY_CC=config/locale/gnu/monetary_members.cc
15874 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15875 CTIME_H=config/locale/gnu/time_members.h
15876 CTIME_CC=config/locale/gnu/time_members.cc
15877 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15879 ieee_1003.1-2001)
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15881 $as_echo "IEEE 1003.1" >&6; }
15883 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15884 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15885 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15886 CCOLLATE_CC=config/locale/generic/collate_members.cc
15887 CCTYPE_CC=config/locale/generic/ctype_members.cc
15888 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15889 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15890 CMONEY_CC=config/locale/generic/monetary_members.cc
15891 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15892 CTIME_H=config/locale/generic/time_members.h
15893 CTIME_CC=config/locale/generic/time_members.cc
15894 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15896 esac
15898 # This is where the testsuite looks for locale catalogs, using the
15899 # -DLOCALEDIR define during testsuite compilation.
15900 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15903 # A standalone libintl (e.g., GNU libintl) may be in use.
15904 if test $USE_NLS = yes; then
15905 for ac_header in libintl.h
15906 do :
15907 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15908 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_LIBINTL_H 1
15911 _ACEOF
15913 else
15914 USE_NLS=no
15917 done
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15920 $as_echo_n "checking for library containing gettext... " >&6; }
15921 if test "${ac_cv_search_gettext+set}" = set; then :
15922 $as_echo_n "(cached) " >&6
15923 else
15924 ac_func_search_save_LIBS=$LIBS
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15928 /* Override any GCC internal prototype to avoid an error.
15929 Use char because int might match the return type of a GCC
15930 builtin and then its argument prototype would still apply. */
15931 #ifdef __cplusplus
15932 extern "C"
15933 #endif
15934 char gettext ();
15936 main ()
15938 return gettext ();
15940 return 0;
15942 _ACEOF
15943 for ac_lib in '' intl; do
15944 if test -z "$ac_lib"; then
15945 ac_res="none required"
15946 else
15947 ac_res=-l$ac_lib
15948 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15950 if test x$gcc_no_link = xyes; then
15951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_search_gettext=$ac_res
15956 rm -f core conftest.err conftest.$ac_objext \
15957 conftest$ac_exeext
15958 if test "${ac_cv_search_gettext+set}" = set; then :
15959 break
15961 done
15962 if test "${ac_cv_search_gettext+set}" = set; then :
15964 else
15965 ac_cv_search_gettext=no
15967 rm conftest.$ac_ext
15968 LIBS=$ac_func_search_save_LIBS
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15971 $as_echo "$ac_cv_search_gettext" >&6; }
15972 ac_res=$ac_cv_search_gettext
15973 if test "$ac_res" != no; then :
15974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15976 else
15977 USE_NLS=no
15981 if test $USE_NLS = yes; then
15983 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16003 $as_echo_n "checking for std::allocator base class... " >&6; }
16004 # Check whether --enable-libstdcxx-allocator was given.
16005 if test "${enable_libstdcxx_allocator+set}" = set; then :
16006 enableval=$enable_libstdcxx_allocator;
16007 case "$enableval" in
16008 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16009 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16010 esac
16012 else
16013 enable_libstdcxx_allocator=auto
16018 # If they didn't use this option switch, or if they specified --enable
16019 # with no specific model, we'll have to look for one. If they
16020 # specified --disable (???), do likewise.
16021 if test $enable_libstdcxx_allocator = no ||
16022 test $enable_libstdcxx_allocator = yes;
16023 then
16024 enable_libstdcxx_allocator=auto
16027 # Either a known package, or "auto". Auto implies the default choice
16028 # for a particular platform.
16029 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16031 # Probe for host-specific support if no specific model is specified.
16032 # Default to "new".
16033 if test $enable_libstdcxx_allocator_flag = auto; then
16034 case ${target_os} in
16035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16036 enable_libstdcxx_allocator_flag=new
16039 enable_libstdcxx_allocator_flag=new
16041 esac
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16044 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16047 # Set configure bits for specified locale package
16048 case ${enable_libstdcxx_allocator_flag} in
16049 bitmap)
16050 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16051 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16053 malloc)
16054 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16055 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16058 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16059 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16061 new)
16062 ALLOCATOR_H=config/allocator/new_allocator_base.h
16063 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16065 pool)
16066 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16067 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16069 esac
16075 # Check whether --enable-cheaders was given.
16076 if test "${enable_cheaders+set}" = set; then :
16077 enableval=$enable_cheaders;
16078 case "$enableval" in
16079 c|c_std|c_global) ;;
16080 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16081 esac
16083 else
16084 enable_cheaders=$c_model
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16089 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16091 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16093 # Allow overrides to configure.host here.
16094 if test $enable_cheaders = c_global; then
16095 c_compatibility=yes
16104 # Check whether --enable-long-long was given.
16105 if test "${enable_long_long+set}" = set; then :
16106 enableval=$enable_long_long;
16107 case "$enableval" in
16108 yes|no) ;;
16109 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16110 esac
16112 else
16113 enable_long_long=yes
16117 if test $enable_long_long = yes; then
16119 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16123 $as_echo_n "checking for enabled long long specializations... " >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16125 $as_echo "$enable_long_long" >&6; }
16128 # Check whether --enable-wchar_t was given.
16129 if test "${enable_wchar_t+set}" = set; then :
16130 enableval=$enable_wchar_t;
16131 case "$enableval" in
16132 yes|no) ;;
16133 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16134 esac
16136 else
16137 enable_wchar_t=yes
16142 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16143 for ac_header in wchar.h
16144 do :
16145 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16146 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_WCHAR_H 1
16149 _ACEOF
16150 ac_has_wchar_h=yes
16151 else
16152 ac_has_wchar_h=no
16155 done
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16158 $as_echo_n "checking for mbstate_t... " >&6; }
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <wchar.h>
16163 main ()
16165 mbstate_t teststate;
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_compile "$LINENO"; then :
16171 have_mbstate_t=yes
16172 else
16173 have_mbstate_t=no
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16177 $as_echo "$have_mbstate_t" >&6; }
16178 if test x"$have_mbstate_t" = xyes; then
16180 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16184 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16185 # ac_has_wchar_h.
16186 for ac_header in wctype.h
16187 do :
16188 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16189 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_WCTYPE_H 1
16192 _ACEOF
16193 ac_has_wctype_h=yes
16194 else
16195 ac_has_wctype_h=no
16198 done
16201 if test x"$enable_wchar_t" = x"yes"; then
16204 ac_ext=cpp
16205 ac_cpp='$CXXCPP $CPPFLAGS'
16206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16211 if test x"$ac_has_wchar_h" = xyes &&
16212 test x"$ac_has_wctype_h" = xyes; then
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 #include <wchar.h>
16216 #include <stddef.h>
16217 wint_t i;
16218 long l = WEOF;
16219 long j = WCHAR_MIN;
16220 long k = WCHAR_MAX;
16221 namespace test
16223 using ::btowc;
16224 using ::fgetwc;
16225 using ::fgetws;
16226 using ::fputwc;
16227 using ::fputws;
16228 using ::fwide;
16229 using ::fwprintf;
16230 using ::fwscanf;
16231 using ::getwc;
16232 using ::getwchar;
16233 using ::mbrlen;
16234 using ::mbrtowc;
16235 using ::mbsinit;
16236 using ::mbsrtowcs;
16237 using ::putwc;
16238 using ::putwchar;
16239 using ::swprintf;
16240 using ::swscanf;
16241 using ::ungetwc;
16242 using ::vfwprintf;
16243 using ::vswprintf;
16244 using ::vwprintf;
16245 using ::wcrtomb;
16246 using ::wcscat;
16247 using ::wcschr;
16248 using ::wcscmp;
16249 using ::wcscoll;
16250 using ::wcscpy;
16251 using ::wcscspn;
16252 using ::wcsftime;
16253 using ::wcslen;
16254 using ::wcsncat;
16255 using ::wcsncmp;
16256 using ::wcsncpy;
16257 using ::wcspbrk;
16258 using ::wcsrchr;
16259 using ::wcsrtombs;
16260 using ::wcsspn;
16261 using ::wcsstr;
16262 using ::wcstod;
16263 using ::wcstok;
16264 using ::wcstol;
16265 using ::wcstoul;
16266 using ::wcsxfrm;
16267 using ::wctob;
16268 using ::wmemchr;
16269 using ::wmemcmp;
16270 using ::wmemcpy;
16271 using ::wmemmove;
16272 using ::wmemset;
16273 using ::wprintf;
16274 using ::wscanf;
16278 main ()
16282 return 0;
16284 _ACEOF
16285 if ac_fn_cxx_try_compile "$LINENO"; then :
16287 else
16288 enable_wchar_t=no
16290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16291 else
16292 enable_wchar_t=no
16295 ac_ext=c
16296 ac_cpp='$CPP $CPPFLAGS'
16297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16303 if test x"$enable_wchar_t" = x"yes"; then
16305 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16310 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16312 $as_echo "$enable_wchar_t" >&6; }
16316 # Check whether --enable-c99 was given.
16317 if test "${enable_c99+set}" = set; then :
16318 enableval=$enable_c99;
16319 case "$enableval" in
16320 yes|no) ;;
16321 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16322 esac
16324 else
16325 enable_c99=yes
16330 if test x"$enable_c99" = x"yes"; then
16333 ac_ext=cpp
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16340 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16341 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16342 # spuriously enabled.
16343 # Long term, -std=c++0x could be even better, could manage to explicitely
16344 # request C99 facilities to the underlying C headers.
16345 ac_save_CXXFLAGS="$CXXFLAGS"
16346 CXXFLAGS="$CXXFLAGS -std=c++98"
16347 ac_save_LIBS="$LIBS"
16348 ac_save_gcc_no_link="$gcc_no_link"
16350 if test x$gcc_no_link != xyes; then
16351 # Use -fno-exceptions to that the C driver can link these tests without
16352 # hitting undefined references to personality routines.
16353 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16355 $as_echo_n "checking for sin in -lm... " >&6; }
16356 if test "${ac_cv_lib_m_sin+set}" = set; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 ac_check_lib_save_LIBS=$LIBS
16360 LIBS="-lm $LIBS"
16361 if test x$gcc_no_link = xyes; then
16362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 #ifdef __cplusplus
16371 extern "C"
16372 #endif
16373 char sin ();
16375 main ()
16377 return sin ();
16379 return 0;
16381 _ACEOF
16382 if ac_fn_cxx_try_link "$LINENO"; then :
16383 ac_cv_lib_m_sin=yes
16384 else
16385 ac_cv_lib_m_sin=no
16387 rm -f core conftest.err conftest.$ac_objext \
16388 conftest$ac_exeext conftest.$ac_ext
16389 LIBS=$ac_check_lib_save_LIBS
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16392 $as_echo "$ac_cv_lib_m_sin" >&6; }
16393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16395 LIBS="$LIBS -lm"
16397 else
16399 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16400 gcc_no_link=yes
16406 # Check for the existence of <math.h> functions used if C99 is enabled.
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16408 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16409 if test "${glibcxx_cv_c99_math+set}" = set; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16413 if test x$gcc_no_link = xyes; then
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <math.h>
16417 volatile double d1, d2;
16418 volatile int i;
16420 main ()
16422 i = fpclassify(d1);
16423 i = isfinite(d1);
16424 i = isinf(d1);
16425 i = isnan(d1);
16426 i = isnormal(d1);
16427 i = signbit(d1);
16428 i = isgreater(d1, d2);
16429 i = isgreaterequal(d1, d2);
16430 i = isless(d1, d2);
16431 i = islessequal(d1, d2);
16432 i = islessgreater(d1, d2);
16433 i = islessgreater(d1, d2);
16434 i = isunordered(d1, d2);
16437 return 0;
16439 _ACEOF
16440 if ac_fn_cxx_try_compile "$LINENO"; then :
16441 glibcxx_cv_c99_math=yes
16442 else
16443 glibcxx_cv_c99_math=no
16445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16446 else
16447 if test x$gcc_no_link = xyes; then
16448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #include <math.h>
16453 volatile double d1, d2;
16454 volatile int i;
16456 main ()
16458 i = fpclassify(d1);
16459 i = isfinite(d1);
16460 i = isinf(d1);
16461 i = isnan(d1);
16462 i = isnormal(d1);
16463 i = signbit(d1);
16464 i = isgreater(d1, d2);
16465 i = isgreaterequal(d1, d2);
16466 i = isless(d1, d2);
16467 i = islessequal(d1, d2);
16468 i = islessgreater(d1, d2);
16469 i = islessgreater(d1, d2);
16470 i = isunordered(d1, d2);
16473 return 0;
16475 _ACEOF
16476 if ac_fn_cxx_try_link "$LINENO"; then :
16477 glibcxx_cv_c99_math=yes
16478 else
16479 glibcxx_cv_c99_math=no
16481 rm -f core conftest.err conftest.$ac_objext \
16482 conftest$ac_exeext conftest.$ac_ext
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16488 $as_echo "$glibcxx_cv_c99_math" >&6; }
16489 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16491 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16495 # Check for the existence of <complex.h> complex math functions.
16496 # This is necessary even though libstdc++ uses the builtin versions
16497 # of these functions, because if the builtin cannot be used, a reference
16498 # to the library function is emitted.
16499 for ac_header in tgmath.h
16500 do :
16501 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16502 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_TGMATH_H 1
16505 _ACEOF
16506 ac_has_tgmath_h=yes
16507 else
16508 ac_has_tgmath_h=no
16511 done
16513 for ac_header in complex.h
16514 do :
16515 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_complex_h" = x""yes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_COMPLEX_H 1
16519 _ACEOF
16520 ac_has_complex_h=yes
16521 else
16522 ac_has_complex_h=no
16525 done
16527 glibcxx_cv_c99_complex=no;
16528 if test x"$ac_has_complex_h" = x"yes"; then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16530 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16531 if test x$gcc_no_link = xyes; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16534 #include <complex.h>
16535 typedef __complex__ float float_type;
16536 typedef __complex__ double double_type;
16537 typedef __complex__ long double ld_type;
16538 volatile float_type tmpf;
16539 volatile double_type tmpd;
16540 volatile ld_type tmpld;
16541 volatile float f;
16542 volatile double d;
16543 volatile long double ld;
16545 main ()
16547 f = cabsf(tmpf);
16548 f = cargf(tmpf);
16549 tmpf = ccosf(tmpf);
16550 tmpf = ccoshf(tmpf);
16551 tmpf = cexpf(tmpf);
16552 tmpf = clogf(tmpf);
16553 tmpf = csinf(tmpf);
16554 tmpf = csinhf(tmpf);
16555 tmpf = csqrtf(tmpf);
16556 tmpf = ctanf(tmpf);
16557 tmpf = ctanhf(tmpf);
16558 tmpf = cpowf(tmpf, tmpf);
16559 tmpf = cprojf(tmpf);
16560 d = cabs(tmpd);
16561 d = carg(tmpd);
16562 tmpd = ccos(tmpd);
16563 tmpd = ccosh(tmpd);
16564 tmpd = cexp(tmpd);
16565 tmpd = clog(tmpd);
16566 tmpd = csin(tmpd);
16567 tmpd = csinh(tmpd);
16568 tmpd = csqrt(tmpd);
16569 tmpd = ctan(tmpd);
16570 tmpd = ctanh(tmpd);
16571 tmpd = cpow(tmpd, tmpd);
16572 tmpd = cproj(tmpd);
16573 ld = cabsl(tmpld);
16574 ld = cargl(tmpld);
16575 tmpld = ccosl(tmpld);
16576 tmpld = ccoshl(tmpld);
16577 tmpld = cexpl(tmpld);
16578 tmpld = clogl(tmpld);
16579 tmpld = csinl(tmpld);
16580 tmpld = csinhl(tmpld);
16581 tmpld = csqrtl(tmpld);
16582 tmpld = ctanl(tmpld);
16583 tmpld = ctanhl(tmpld);
16584 tmpld = cpowl(tmpld, tmpld);
16585 tmpld = cprojl(tmpld);
16588 return 0;
16590 _ACEOF
16591 if ac_fn_cxx_try_compile "$LINENO"; then :
16592 glibcxx_cv_c99_complex=yes
16593 else
16594 glibcxx_cv_c99_complex=no
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 else
16598 if test x$gcc_no_link = xyes; then
16599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 #include <complex.h>
16604 typedef __complex__ float float_type;
16605 typedef __complex__ double double_type;
16606 typedef __complex__ long double ld_type;
16607 volatile float_type tmpf;
16608 volatile double_type tmpd;
16609 volatile ld_type tmpld;
16610 volatile float f;
16611 volatile double d;
16612 volatile long double ld;
16614 main ()
16616 f = cabsf(tmpf);
16617 f = cargf(tmpf);
16618 tmpf = ccosf(tmpf);
16619 tmpf = ccoshf(tmpf);
16620 tmpf = cexpf(tmpf);
16621 tmpf = clogf(tmpf);
16622 tmpf = csinf(tmpf);
16623 tmpf = csinhf(tmpf);
16624 tmpf = csqrtf(tmpf);
16625 tmpf = ctanf(tmpf);
16626 tmpf = ctanhf(tmpf);
16627 tmpf = cpowf(tmpf, tmpf);
16628 tmpf = cprojf(tmpf);
16629 d = cabs(tmpd);
16630 d = carg(tmpd);
16631 tmpd = ccos(tmpd);
16632 tmpd = ccosh(tmpd);
16633 tmpd = cexp(tmpd);
16634 tmpd = clog(tmpd);
16635 tmpd = csin(tmpd);
16636 tmpd = csinh(tmpd);
16637 tmpd = csqrt(tmpd);
16638 tmpd = ctan(tmpd);
16639 tmpd = ctanh(tmpd);
16640 tmpd = cpow(tmpd, tmpd);
16641 tmpd = cproj(tmpd);
16642 ld = cabsl(tmpld);
16643 ld = cargl(tmpld);
16644 tmpld = ccosl(tmpld);
16645 tmpld = ccoshl(tmpld);
16646 tmpld = cexpl(tmpld);
16647 tmpld = clogl(tmpld);
16648 tmpld = csinl(tmpld);
16649 tmpld = csinhl(tmpld);
16650 tmpld = csqrtl(tmpld);
16651 tmpld = ctanl(tmpld);
16652 tmpld = ctanhl(tmpld);
16653 tmpld = cpowl(tmpld, tmpld);
16654 tmpld = cprojl(tmpld);
16657 return 0;
16659 _ACEOF
16660 if ac_fn_cxx_try_link "$LINENO"; then :
16661 glibcxx_cv_c99_complex=yes
16662 else
16663 glibcxx_cv_c99_complex=no
16665 rm -f core conftest.err conftest.$ac_objext \
16666 conftest$ac_exeext conftest.$ac_ext
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16670 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16671 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16673 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16677 # Check for the existence in <stdio.h> of vscanf, et. al.
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16679 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16680 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16684 if test x$gcc_no_link = xyes; then
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16687 #include <stdio.h>
16688 #include <stdarg.h>
16689 void foo(char* fmt, ...)
16691 va_list args; va_start(args, fmt);
16692 vfscanf(stderr, "%i", args);
16693 vscanf("%i", args);
16694 vsnprintf(fmt, 0, "%i", args);
16695 vsscanf(fmt, "%i", args);
16698 main ()
16700 snprintf("12", 0, "%i");
16702 return 0;
16704 _ACEOF
16705 if ac_fn_cxx_try_compile "$LINENO"; then :
16706 glibcxx_cv_c99_stdio=yes
16707 else
16708 glibcxx_cv_c99_stdio=no
16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16711 else
16712 if test x$gcc_no_link = xyes; then
16713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #include <stdio.h>
16718 #include <stdarg.h>
16719 void foo(char* fmt, ...)
16721 va_list args; va_start(args, fmt);
16722 vfscanf(stderr, "%i", args);
16723 vscanf("%i", args);
16724 vsnprintf(fmt, 0, "%i", args);
16725 vsscanf(fmt, "%i", args);
16728 main ()
16730 snprintf("12", 0, "%i");
16732 return 0;
16734 _ACEOF
16735 if ac_fn_cxx_try_link "$LINENO"; then :
16736 glibcxx_cv_c99_stdio=yes
16737 else
16738 glibcxx_cv_c99_stdio=no
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16747 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16749 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16751 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16752 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16756 if test x$gcc_no_link = xyes; then
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #include <stdlib.h>
16760 volatile float f;
16761 volatile long double ld;
16762 volatile unsigned long long ll;
16763 lldiv_t mydivt;
16765 main ()
16767 char* tmp;
16768 f = strtof("gnu", &tmp);
16769 ld = strtold("gnu", &tmp);
16770 ll = strtoll("gnu", &tmp, 10);
16771 ll = strtoull("gnu", &tmp, 10);
16772 ll = llabs(10);
16773 mydivt = lldiv(10,1);
16774 ll = mydivt.quot;
16775 ll = mydivt.rem;
16776 ll = atoll("10");
16777 _Exit(0);
16780 return 0;
16782 _ACEOF
16783 if ac_fn_cxx_try_compile "$LINENO"; then :
16784 glibcxx_cv_c99_stdlib=yes
16785 else
16786 glibcxx_cv_c99_stdlib=no
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16789 else
16790 if test x$gcc_no_link = xyes; then
16791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <stdlib.h>
16796 volatile float f;
16797 volatile long double ld;
16798 volatile unsigned long long ll;
16799 lldiv_t mydivt;
16801 main ()
16803 char* tmp;
16804 f = strtof("gnu", &tmp);
16805 ld = strtold("gnu", &tmp);
16806 ll = strtoll("gnu", &tmp, 10);
16807 ll = strtoull("gnu", &tmp, 10);
16808 ll = llabs(10);
16809 mydivt = lldiv(10,1);
16810 ll = mydivt.quot;
16811 ll = mydivt.rem;
16812 ll = atoll("10");
16813 _Exit(0);
16816 return 0;
16818 _ACEOF
16819 if ac_fn_cxx_try_link "$LINENO"; then :
16820 glibcxx_cv_c99_stdlib=yes
16821 else
16822 glibcxx_cv_c99_stdlib=no
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16831 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16833 # Check for the existence in <wchar.h> of wcstold, etc.
16834 glibcxx_cv_c99_wchar=no;
16835 if test x"$ac_has_wchar_h" = xyes &&
16836 test x"$ac_has_wctype_h" = xyes; then
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16838 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 #include <wchar.h>
16842 namespace test
16844 using ::wcstold;
16845 using ::wcstoll;
16846 using ::wcstoull;
16850 main ()
16854 return 0;
16856 _ACEOF
16857 if ac_fn_cxx_try_compile "$LINENO"; then :
16858 glibcxx_cv_c99_wchar=yes
16859 else
16860 glibcxx_cv_c99_wchar=no
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16864 # Checks for wide character functions that may not be present.
16865 # Injection of these is wrapped with guard macros.
16866 # NB: only put functions here, instead of immediately above, if
16867 # absolutely necessary.
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <wchar.h>
16871 namespace test { using ::vfwscanf; }
16873 main ()
16877 return 0;
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16882 $as_echo "#define HAVE_VFWSCANF 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 ::vswscanf; }
16892 main ()
16896 return 0;
16898 _ACEOF
16899 if ac_fn_cxx_try_compile "$LINENO"; then :
16901 $as_echo "#define HAVE_VSWSCANF 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 ::vwscanf; }
16911 main ()
16915 return 0;
16917 _ACEOF
16918 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 $as_echo "#define HAVE_VWSCANF 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 <wchar.h>
16928 namespace test { using ::wcstof; }
16930 main ()
16934 return 0;
16936 _ACEOF
16937 if ac_fn_cxx_try_compile "$LINENO"; then :
16939 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <wctype.h>
16948 main ()
16950 wint_t t; int i = iswblank(t);
16952 return 0;
16954 _ACEOF
16955 if ac_fn_cxx_try_compile "$LINENO"; then :
16957 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16963 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16966 # Option parsed, now set things appropriately.
16967 if test x"$glibcxx_cv_c99_math" = x"no" ||
16968 test x"$glibcxx_cv_c99_complex" = x"no" ||
16969 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16970 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16971 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16972 enable_c99=no;
16973 else
16975 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16979 gcc_no_link="$ac_save_gcc_no_link"
16980 LIBS="$ac_save_LIBS"
16981 CXXFLAGS="$ac_save_CXXFLAGS"
16982 ac_ext=c
16983 ac_cpp='$CPP $CPPFLAGS'
16984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16991 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16993 $as_echo "$enable_c99" >&6; }
16996 # Check whether --enable-concept-checks was given.
16997 if test "${enable_concept_checks+set}" = set; then :
16998 enableval=$enable_concept_checks;
16999 case "$enableval" in
17000 yes|no) ;;
17001 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17002 esac
17004 else
17005 enable_concept_checks=no
17009 if test $enable_concept_checks = yes; then
17011 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17016 # Check whether --enable-libstdcxx-debug-flags was given.
17017 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17018 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17019 xno | x) enable_libstdcxx_debug_flags= ;;
17020 x-*) ;;
17021 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17022 esac
17023 else
17024 enable_libstdcxx_debug_flags="-g3 -O0"
17029 # Option parsed, now set things appropriately
17030 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17034 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17038 $as_echo_n "checking for additional debug build... " >&6; }
17039 # Check whether --enable-libstdcxx-debug was given.
17040 if test "${enable_libstdcxx_debug+set}" = set; then :
17041 enableval=$enable_libstdcxx_debug;
17042 case "$enableval" in
17043 yes|no) ;;
17044 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17045 esac
17047 else
17048 enable_libstdcxx_debug=no
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17053 $as_echo "$enable_libstdcxx_debug" >&6; }
17058 enable_parallel=no;
17060 # See if configured libgomp/omp.h exists. (libgomp may be in
17061 # noconfigdirs but not explicitly disabled.)
17062 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17063 enable_parallel=yes;
17064 else
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17066 $as_echo "$as_me: target-libgomp not built" >&6;}
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17070 $as_echo_n "checking for parallel mode support... " >&6; }
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17072 $as_echo "$enable_parallel" >&6; }
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17076 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17077 # Check whether --enable-cxx-flags was given.
17078 if test "${enable_cxx_flags+set}" = set; then :
17079 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17080 xno | x) enable_cxx_flags= ;;
17081 x-*) ;;
17082 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17083 esac
17084 else
17085 enable_cxx_flags=
17090 # Run through flags (either default or command-line) and set anything
17091 # extra (e.g., #defines) that must accompany particular g++ options.
17092 if test -n "$enable_cxx_flags"; then
17093 for f in $enable_cxx_flags; do
17094 case "$f" in
17095 -fhonor-std) ;;
17096 -*) ;;
17097 *) # and we're trying to pass /what/ exactly?
17098 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17099 esac
17100 done
17103 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17105 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17109 # Check whether --enable-fully-dynamic-string was given.
17110 if test "${enable_fully_dynamic_string+set}" = set; then :
17111 enableval=$enable_fully_dynamic_string;
17112 case "$enableval" in
17113 yes|no) ;;
17114 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17115 esac
17117 else
17118 enable_fully_dynamic_string=no
17122 if test $enable_fully_dynamic_string = yes; then
17124 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17129 # Checks for operating systems support that doesn't require linking.
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17133 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17134 if test "${glibcxx_cv_system_error1+set}" = set; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #include <errno.h>
17142 main ()
17144 int i = EOWNERDEAD;
17146 return 0;
17148 _ACEOF
17149 if ac_fn_c_try_compile "$LINENO"; then :
17150 glibcxx_cv_system_error1=yes
17151 else
17152 glibcxx_cv_system_error1=no
17154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17159 $as_echo "$glibcxx_cv_system_error1" >&6; }
17160 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17162 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17166 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17167 if test "${glibcxx_cv_system_error2+set}" = set; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <errno.h>
17175 main ()
17177 int i = ENOTRECOVERABLE;
17179 return 0;
17181 _ACEOF
17182 if ac_fn_c_try_compile "$LINENO"; then :
17183 glibcxx_cv_system_error2=yes
17184 else
17185 glibcxx_cv_system_error2=no
17187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17192 $as_echo "$glibcxx_cv_system_error2" >&6; }
17193 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17195 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17199 $as_echo_n "checking for ENOLINK... " >&6; }
17200 if test "${glibcxx_cv_system_error3+set}" = set; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 #include <errno.h>
17208 main ()
17210 int i = ENOLINK;
17212 return 0;
17214 _ACEOF
17215 if ac_fn_c_try_compile "$LINENO"; then :
17216 glibcxx_cv_system_error3=yes
17217 else
17218 glibcxx_cv_system_error3=no
17220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17225 $as_echo "$glibcxx_cv_system_error3" >&6; }
17226 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17228 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17232 $as_echo_n "checking for EPROTO... " >&6; }
17233 if test "${glibcxx_cv_system_error4+set}" = set; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <errno.h>
17241 main ()
17243 int i = EPROTO;
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_compile "$LINENO"; then :
17249 glibcxx_cv_system_error4=yes
17250 else
17251 glibcxx_cv_system_error4=no
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17258 $as_echo "$glibcxx_cv_system_error4" >&6; }
17259 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17261 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17265 $as_echo_n "checking for ENODATA... " >&6; }
17266 if test "${glibcxx_cv_system_error5+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #include <errno.h>
17274 main ()
17276 int i = ENODATA;
17278 return 0;
17280 _ACEOF
17281 if ac_fn_c_try_compile "$LINENO"; then :
17282 glibcxx_cv_system_error5=yes
17283 else
17284 glibcxx_cv_system_error5=no
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17291 $as_echo "$glibcxx_cv_system_error5" >&6; }
17292 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17294 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17298 $as_echo_n "checking for ENOSR... " >&6; }
17299 if test "${glibcxx_cv_system_error6+set}" = set; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #include <errno.h>
17307 main ()
17309 int i = ENOSR;
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_compile "$LINENO"; then :
17315 glibcxx_cv_system_error6=yes
17316 else
17317 glibcxx_cv_system_error6=no
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17324 $as_echo "$glibcxx_cv_system_error6" >&6; }
17325 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17327 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17331 $as_echo_n "checking for ENOSTR... " >&6; }
17332 if test "${glibcxx_cv_system_error7+set}" = set; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 #include <errno.h>
17340 main ()
17342 int i = ENOSTR;
17344 return 0;
17346 _ACEOF
17347 if ac_fn_c_try_compile "$LINENO"; then :
17348 glibcxx_cv_system_error7=yes
17349 else
17350 glibcxx_cv_system_error7=no
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17357 $as_echo "$glibcxx_cv_system_error7" >&6; }
17358 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17360 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17364 $as_echo_n "checking for ETIME... " >&6; }
17365 if test "${glibcxx_cv_system_error8+set}" = set; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #include <errno.h>
17373 main ()
17375 int i = ETIME;
17377 return 0;
17379 _ACEOF
17380 if ac_fn_c_try_compile "$LINENO"; then :
17381 glibcxx_cv_system_error8=yes
17382 else
17383 glibcxx_cv_system_error8=no
17385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17390 $as_echo "$glibcxx_cv_system_error8" >&6; }
17391 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17393 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17397 $as_echo_n "checking for EBADMSG... " >&6; }
17398 if test "${glibcxx_cv_system_error9+set}" = set; then :
17399 $as_echo_n "(cached) " >&6
17400 else
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 #include <errno.h>
17406 main ()
17408 int i = EBADMSG;
17410 return 0;
17412 _ACEOF
17413 if ac_fn_c_try_compile "$LINENO"; then :
17414 glibcxx_cv_system_error9=yes
17415 else
17416 glibcxx_cv_system_error9=no
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17423 $as_echo "$glibcxx_cv_system_error9" >&6; }
17424 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17426 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17430 $as_echo_n "checking for ECANCELED... " >&6; }
17431 if test "${glibcxx_cv_system_error10+set}" = set; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <errno.h>
17439 main ()
17441 int i = ECANCELED;
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_compile "$LINENO"; then :
17447 glibcxx_cv_system_error10=yes
17448 else
17449 glibcxx_cv_system_error10=no
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17456 $as_echo "$glibcxx_cv_system_error10" >&6; }
17457 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17459 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17463 $as_echo_n "checking for EOVERFLOW... " >&6; }
17464 if test "${glibcxx_cv_system_error11+set}" = set; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 #include <errno.h>
17472 main ()
17474 int i = EOVERFLOW;
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_compile "$LINENO"; then :
17480 glibcxx_cv_system_error11=yes
17481 else
17482 glibcxx_cv_system_error11=no
17484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17489 $as_echo "$glibcxx_cv_system_error11" >&6; }
17490 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17492 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17496 $as_echo_n "checking for ENOTSUP... " >&6; }
17497 if test "${glibcxx_cv_system_error12+set}" = set; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #include <errno.h>
17505 main ()
17507 int i = ENOTSUP;
17509 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_compile "$LINENO"; then :
17513 glibcxx_cv_system_error12=yes
17514 else
17515 glibcxx_cv_system_error12=no
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17522 $as_echo "$glibcxx_cv_system_error12" >&6; }
17523 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17525 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17529 $as_echo_n "checking for EIDRM... " >&6; }
17530 if test "${glibcxx_cv_system_error13+set}" = set; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 #include <errno.h>
17538 main ()
17540 int i = EIDRM;
17542 return 0;
17544 _ACEOF
17545 if ac_fn_c_try_compile "$LINENO"; then :
17546 glibcxx_cv_system_error13=yes
17547 else
17548 glibcxx_cv_system_error13=no
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17555 $as_echo "$glibcxx_cv_system_error13" >&6; }
17556 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17558 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17562 $as_echo_n "checking for ETXTBSY... " >&6; }
17563 if test "${glibcxx_cv_system_error14+set}" = set; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #include <errno.h>
17571 main ()
17573 int i = ETXTBSY;
17575 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 glibcxx_cv_system_error14=yes
17580 else
17581 glibcxx_cv_system_error14=no
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17588 $as_echo "$glibcxx_cv_system_error14" >&6; }
17589 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17591 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17597 # For the streamoff typedef.
17601 ac_ext=cpp
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17609 $as_echo_n "checking for int64_t... " >&6; }
17610 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdint.h>
17618 main ()
17620 int64_t var;
17622 return 0;
17624 _ACEOF
17625 if ac_fn_cxx_try_compile "$LINENO"; then :
17626 glibcxx_cv_INT64_T=yes
17627 else
17628 glibcxx_cv_INT64_T=no
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17635 if test $glibcxx_cv_INT64_T = yes; then
17637 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17640 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17643 $as_echo_n "checking for int64_t as long... " >&6; }
17644 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17645 $as_echo_n "(cached) " >&6
17646 else
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17650 #include <stdint.h>
17651 template<typename, typename> struct same { enum { value = -1 }; };
17652 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17653 int array[same<int64_t, long>::value];
17655 main ()
17659 return 0;
17661 _ACEOF
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 glibcxx_cv_int64_t_long=yes
17664 else
17665 glibcxx_cv_int64_t_long=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 if test $glibcxx_cv_int64_t_long = yes; then
17674 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17677 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17681 $as_echo_n "checking for int64_t as long long... " >&6; }
17682 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <stdint.h>
17689 template<typename, typename> struct same { enum { value = -1 }; };
17690 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17691 int array[same<int64_t, long long>::value];
17693 main ()
17697 return 0;
17699 _ACEOF
17700 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 glibcxx_cv_int64_t_long_long=yes
17702 else
17703 glibcxx_cv_int64_t_long_long=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710 if test $glibcxx_cv_int64_t_long_long = yes; then
17712 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17715 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17719 ac_ext=c
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727 # For LFS support.
17730 ac_ext=cpp
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17736 ac_save_CXXFLAGS="$CXXFLAGS"
17737 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17739 $as_echo_n "checking for LFS support... " >&6; }
17740 if test "${glibcxx_cv_LFS+set}" = set; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17744 if test x$gcc_no_link = xyes; then
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <unistd.h>
17748 #include <stdio.h>
17749 #include <sys/stat.h>
17752 main ()
17754 FILE* fp;
17755 fopen64("t", "w");
17756 fseeko64(fp, 0, SEEK_CUR);
17757 ftello64(fp);
17758 lseek64(1, 0, SEEK_CUR);
17759 struct stat64 buf;
17760 fstat64(1, &buf);
17762 return 0;
17764 _ACEOF
17765 if ac_fn_cxx_try_compile "$LINENO"; then :
17766 glibcxx_cv_LFS=yes
17767 else
17768 glibcxx_cv_LFS=no
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 else
17772 if test x$gcc_no_link = xyes; then
17773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 #include <unistd.h>
17778 #include <stdio.h>
17779 #include <sys/stat.h>
17782 main ()
17784 FILE* fp;
17785 fopen64("t", "w");
17786 fseeko64(fp, 0, SEEK_CUR);
17787 ftello64(fp);
17788 lseek64(1, 0, SEEK_CUR);
17789 struct stat64 buf;
17790 fstat64(1, &buf);
17792 return 0;
17794 _ACEOF
17795 if ac_fn_cxx_try_link "$LINENO"; then :
17796 glibcxx_cv_LFS=yes
17797 else
17798 glibcxx_cv_LFS=no
17800 rm -f core conftest.err conftest.$ac_objext \
17801 conftest$ac_exeext conftest.$ac_ext
17806 if test $glibcxx_cv_LFS = yes; then
17808 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17812 $as_echo "$glibcxx_cv_LFS" >&6; }
17813 CXXFLAGS="$ac_save_CXXFLAGS"
17814 ac_ext=c
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17822 # For showmanyc_helper().
17823 for ac_header in sys/ioctl.h sys/filio.h
17824 do :
17825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17826 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17827 eval as_val=\$$as_ac_Header
17828 if test "x$as_val" = x""yes; then :
17829 cat >>confdefs.h <<_ACEOF
17830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17831 _ACEOF
17835 done
17840 ac_ext=cpp
17841 ac_cpp='$CXXCPP $CPPFLAGS'
17842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17846 ac_save_CXXFLAGS="$CXXFLAGS"
17847 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17850 $as_echo_n "checking for poll... " >&6; }
17851 if test "${glibcxx_cv_POLL+set}" = set; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17855 if test x$gcc_no_link = xyes; then
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <poll.h>
17860 main ()
17862 struct pollfd pfd[1];
17863 pfd[0].events = POLLIN;
17864 poll(pfd, 1, 0);
17866 return 0;
17868 _ACEOF
17869 if ac_fn_cxx_try_compile "$LINENO"; then :
17870 glibcxx_cv_POLL=yes
17871 else
17872 glibcxx_cv_POLL=no
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875 else
17876 if test x$gcc_no_link = xyes; then
17877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #include <poll.h>
17883 main ()
17885 struct pollfd pfd[1];
17886 pfd[0].events = POLLIN;
17887 poll(pfd, 1, 0);
17889 return 0;
17891 _ACEOF
17892 if ac_fn_cxx_try_link "$LINENO"; then :
17893 glibcxx_cv_POLL=yes
17894 else
17895 glibcxx_cv_POLL=no
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17903 if test $glibcxx_cv_POLL = yes; then
17905 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17909 $as_echo "$glibcxx_cv_POLL" >&6; }
17911 CXXFLAGS="$ac_save_CXXFLAGS"
17912 ac_ext=c
17913 ac_cpp='$CPP $CPPFLAGS'
17914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17922 ac_ext=cpp
17923 ac_cpp='$CXXCPP $CPPFLAGS'
17924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17928 ac_save_CXXFLAGS="$CXXFLAGS"
17929 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17932 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17933 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17937 if test x$gcc_no_link = xyes; then
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <sys/stat.h>
17942 main ()
17944 struct stat buffer;
17945 fstat(0, &buffer);
17946 S_ISREG(buffer.st_mode);
17948 return 0;
17950 _ACEOF
17951 if ac_fn_cxx_try_compile "$LINENO"; then :
17952 glibcxx_cv_S_ISREG=yes
17953 else
17954 glibcxx_cv_S_ISREG=no
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 else
17958 if test x$gcc_no_link = xyes; then
17959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <sys/stat.h>
17965 main ()
17967 struct stat buffer;
17968 fstat(0, &buffer);
17969 S_ISREG(buffer.st_mode);
17971 return 0;
17973 _ACEOF
17974 if ac_fn_cxx_try_link "$LINENO"; then :
17975 glibcxx_cv_S_ISREG=yes
17976 else
17977 glibcxx_cv_S_ISREG=no
17979 rm -f core conftest.err conftest.$ac_objext \
17980 conftest$ac_exeext conftest.$ac_ext
17985 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17989 if test x$gcc_no_link = xyes; then
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <sys/stat.h>
17994 main ()
17996 struct stat buffer;
17997 fstat(0, &buffer);
17998 S_IFREG & buffer.st_mode;
18000 return 0;
18002 _ACEOF
18003 if ac_fn_cxx_try_compile "$LINENO"; then :
18004 glibcxx_cv_S_IFREG=yes
18005 else
18006 glibcxx_cv_S_IFREG=no
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 else
18010 if test x$gcc_no_link = xyes; then
18011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014 /* end confdefs.h. */
18015 #include <sys/stat.h>
18017 main ()
18019 struct stat buffer;
18020 fstat(0, &buffer);
18021 S_IFREG & buffer.st_mode;
18023 return 0;
18025 _ACEOF
18026 if ac_fn_cxx_try_link "$LINENO"; then :
18027 glibcxx_cv_S_IFREG=yes
18028 else
18029 glibcxx_cv_S_IFREG=no
18031 rm -f core conftest.err conftest.$ac_objext \
18032 conftest$ac_exeext conftest.$ac_ext
18037 res=no
18038 if test $glibcxx_cv_S_ISREG = yes; then
18040 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18042 res=S_ISREG
18043 elif test $glibcxx_cv_S_IFREG = yes; then
18045 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18047 res=S_IFREG
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18050 $as_echo "$res" >&6; }
18052 CXXFLAGS="$ac_save_CXXFLAGS"
18053 ac_ext=c
18054 ac_cpp='$CPP $CPPFLAGS'
18055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18061 # For xsputn_2().
18062 for ac_header in sys/uio.h
18063 do :
18064 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18065 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_SYS_UIO_H 1
18068 _ACEOF
18072 done
18077 ac_ext=cpp
18078 ac_cpp='$CXXCPP $CPPFLAGS'
18079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18083 ac_save_CXXFLAGS="$CXXFLAGS"
18084 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18087 $as_echo_n "checking for writev... " >&6; }
18088 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18092 if test x$gcc_no_link = xyes; then
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18095 #include <sys/uio.h>
18097 main ()
18099 struct iovec iov[2];
18100 writev(0, iov, 0);
18102 return 0;
18104 _ACEOF
18105 if ac_fn_cxx_try_compile "$LINENO"; then :
18106 glibcxx_cv_WRITEV=yes
18107 else
18108 glibcxx_cv_WRITEV=no
18110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18111 else
18112 if test x$gcc_no_link = xyes; then
18113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <sys/uio.h>
18119 main ()
18121 struct iovec iov[2];
18122 writev(0, iov, 0);
18124 return 0;
18126 _ACEOF
18127 if ac_fn_cxx_try_link "$LINENO"; then :
18128 glibcxx_cv_WRITEV=yes
18129 else
18130 glibcxx_cv_WRITEV=no
18132 rm -f core conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext conftest.$ac_ext
18138 if test $glibcxx_cv_WRITEV = yes; then
18140 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18144 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18146 CXXFLAGS="$ac_save_CXXFLAGS"
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18155 # For C99 support to TR1.
18159 ac_ext=cpp
18160 ac_cpp='$CXXCPP $CPPFLAGS'
18161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18166 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18167 # undefined and fake C99 facilities may be spuriously enabled.
18168 ac_save_CXXFLAGS="$CXXFLAGS"
18169 CXXFLAGS="$CXXFLAGS -std=c++98"
18171 # Check for the existence of <complex.h> complex math functions used
18172 # by tr1/complex.
18173 for ac_header in complex.h
18174 do :
18175 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18176 if test "x$ac_cv_header_complex_h" = x""yes; then :
18177 cat >>confdefs.h <<_ACEOF
18178 #define HAVE_COMPLEX_H 1
18179 _ACEOF
18180 ac_has_complex_h=yes
18181 else
18182 ac_has_complex_h=no
18185 done
18187 ac_c99_complex_tr1=no;
18188 if test x"$ac_has_complex_h" = x"yes"; then
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18190 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <complex.h>
18195 main ()
18197 typedef __complex__ float float_type; float_type tmpf;
18198 cacosf(tmpf);
18199 casinf(tmpf);
18200 catanf(tmpf);
18201 cacoshf(tmpf);
18202 casinhf(tmpf);
18203 catanhf(tmpf);
18204 typedef __complex__ double double_type; double_type tmpd;
18205 cacos(tmpd);
18206 casin(tmpd);
18207 catan(tmpd);
18208 cacosh(tmpd);
18209 casinh(tmpd);
18210 catanh(tmpd);
18211 typedef __complex__ long double ld_type; ld_type tmpld;
18212 cacosl(tmpld);
18213 casinl(tmpld);
18214 catanl(tmpld);
18215 cacoshl(tmpld);
18216 casinhl(tmpld);
18217 catanhl(tmpld);
18220 return 0;
18222 _ACEOF
18223 if ac_fn_cxx_try_compile "$LINENO"; then :
18224 ac_c99_complex_tr1=yes
18225 else
18226 ac_c99_complex_tr1=no
18228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18231 $as_echo "$ac_c99_complex_tr1" >&6; }
18232 if test x"$ac_c99_complex_tr1" = x"yes"; then
18234 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18238 # Check for the existence of <ctype.h> functions.
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18240 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18241 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18242 $as_echo_n "(cached) " >&6
18243 else
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #include <ctype.h>
18249 main ()
18251 int ch;
18252 int ret;
18253 ret = isblank(ch);
18256 return 0;
18258 _ACEOF
18259 if ac_fn_cxx_try_compile "$LINENO"; then :
18260 glibcxx_cv_c99_ctype_tr1=yes
18261 else
18262 glibcxx_cv_c99_ctype_tr1=no
18264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18269 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18270 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18272 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18276 # Check for the existence of <fenv.h> functions.
18277 for ac_header in fenv.h
18278 do :
18279 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18280 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18281 cat >>confdefs.h <<_ACEOF
18282 #define HAVE_FENV_H 1
18283 _ACEOF
18284 ac_has_fenv_h=yes
18285 else
18286 ac_has_fenv_h=no
18289 done
18291 ac_c99_fenv_tr1=no;
18292 if test x"$ac_has_fenv_h" = x"yes"; then
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18294 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <fenv.h>
18299 main ()
18301 int except, mode;
18302 fexcept_t* pflag;
18303 fenv_t* penv;
18304 int ret;
18305 ret = feclearexcept(except);
18306 ret = fegetexceptflag(pflag, except);
18307 ret = feraiseexcept(except);
18308 ret = fesetexceptflag(pflag, except);
18309 ret = fetestexcept(except);
18310 ret = fegetround();
18311 ret = fesetround(mode);
18312 ret = fegetenv(penv);
18313 ret = feholdexcept(penv);
18314 ret = fesetenv(penv);
18315 ret = feupdateenv(penv);
18318 return 0;
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 ac_c99_fenv_tr1=yes
18323 else
18324 ac_c99_fenv_tr1=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18329 $as_echo "$ac_c99_fenv_tr1" >&6; }
18330 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18332 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18336 # Check for the existence of <stdint.h> types.
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18338 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18339 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18340 $as_echo_n "(cached) " >&6
18341 else
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18345 #define __STDC_LIMIT_MACROS
18346 #define __STDC_CONSTANT_MACROS
18347 #include <stdint.h>
18349 main ()
18351 typedef int8_t my_int8_t;
18352 my_int8_t i8 = INT8_MIN;
18353 i8 = INT8_MAX;
18354 typedef int16_t my_int16_t;
18355 my_int16_t i16 = INT16_MIN;
18356 i16 = INT16_MAX;
18357 typedef int32_t my_int32_t;
18358 my_int32_t i32 = INT32_MIN;
18359 i32 = INT32_MAX;
18360 typedef int64_t my_int64_t;
18361 my_int64_t i64 = INT64_MIN;
18362 i64 = INT64_MAX;
18363 typedef int_fast8_t my_int_fast8_t;
18364 my_int_fast8_t if8 = INT_FAST8_MIN;
18365 if8 = INT_FAST8_MAX;
18366 typedef int_fast16_t my_int_fast16_t;
18367 my_int_fast16_t if16 = INT_FAST16_MIN;
18368 if16 = INT_FAST16_MAX;
18369 typedef int_fast32_t my_int_fast32_t;
18370 my_int_fast32_t if32 = INT_FAST32_MIN;
18371 if32 = INT_FAST32_MAX;
18372 typedef int_fast64_t my_int_fast64_t;
18373 my_int_fast64_t if64 = INT_FAST64_MIN;
18374 if64 = INT_FAST64_MAX;
18375 typedef int_least8_t my_int_least8_t;
18376 my_int_least8_t il8 = INT_LEAST8_MIN;
18377 il8 = INT_LEAST8_MAX;
18378 typedef int_least16_t my_int_least16_t;
18379 my_int_least16_t il16 = INT_LEAST16_MIN;
18380 il16 = INT_LEAST16_MAX;
18381 typedef int_least32_t my_int_least32_t;
18382 my_int_least32_t il32 = INT_LEAST32_MIN;
18383 il32 = INT_LEAST32_MAX;
18384 typedef int_least64_t my_int_least64_t;
18385 my_int_least64_t il64 = INT_LEAST64_MIN;
18386 il64 = INT_LEAST64_MAX;
18387 typedef intmax_t my_intmax_t;
18388 my_intmax_t im = INTMAX_MAX;
18389 im = INTMAX_MIN;
18390 typedef intptr_t my_intptr_t;
18391 my_intptr_t ip = INTPTR_MAX;
18392 ip = INTPTR_MIN;
18393 typedef uint8_t my_uint8_t;
18394 my_uint8_t ui8 = UINT8_MAX;
18395 ui8 = UINT8_MAX;
18396 typedef uint16_t my_uint16_t;
18397 my_uint16_t ui16 = UINT16_MAX;
18398 ui16 = UINT16_MAX;
18399 typedef uint32_t my_uint32_t;
18400 my_uint32_t ui32 = UINT32_MAX;
18401 ui32 = UINT32_MAX;
18402 typedef uint64_t my_uint64_t;
18403 my_uint64_t ui64 = UINT64_MAX;
18404 ui64 = UINT64_MAX;
18405 typedef uint_fast8_t my_uint_fast8_t;
18406 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18407 uif8 = UINT_FAST8_MAX;
18408 typedef uint_fast16_t my_uint_fast16_t;
18409 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18410 uif16 = UINT_FAST16_MAX;
18411 typedef uint_fast32_t my_uint_fast32_t;
18412 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18413 uif32 = UINT_FAST32_MAX;
18414 typedef uint_fast64_t my_uint_fast64_t;
18415 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18416 uif64 = UINT_FAST64_MAX;
18417 typedef uint_least8_t my_uint_least8_t;
18418 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18419 uil8 = UINT_LEAST8_MAX;
18420 typedef uint_least16_t my_uint_least16_t;
18421 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18422 uil16 = UINT_LEAST16_MAX;
18423 typedef uint_least32_t my_uint_least32_t;
18424 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18425 uil32 = UINT_LEAST32_MAX;
18426 typedef uint_least64_t my_uint_least64_t;
18427 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18428 uil64 = UINT_LEAST64_MAX;
18429 typedef uintmax_t my_uintmax_t;
18430 my_uintmax_t uim = UINTMAX_MAX;
18431 uim = UINTMAX_MAX;
18432 typedef uintptr_t my_uintptr_t;
18433 my_uintptr_t uip = UINTPTR_MAX;
18434 uip = UINTPTR_MAX;
18437 return 0;
18439 _ACEOF
18440 if ac_fn_cxx_try_compile "$LINENO"; then :
18441 glibcxx_cv_c99_stdint_tr1=yes
18442 else
18443 glibcxx_cv_c99_stdint_tr1=no
18445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18450 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18451 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18453 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18457 # Check for the existence of <math.h> functions.
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18459 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18460 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <math.h>
18468 main ()
18470 typedef double_t my_double_t;
18471 typedef float_t my_float_t;
18472 acosh(0.0);
18473 acoshf(0.0f);
18474 acoshl(0.0l);
18475 asinh(0.0);
18476 asinhf(0.0f);
18477 asinhl(0.0l);
18478 atanh(0.0);
18479 atanhf(0.0f);
18480 atanhl(0.0l);
18481 cbrt(0.0);
18482 cbrtf(0.0f);
18483 cbrtl(0.0l);
18484 copysign(0.0, 0.0);
18485 copysignf(0.0f, 0.0f);
18486 copysignl(0.0l, 0.0l);
18487 erf(0.0);
18488 erff(0.0f);
18489 erfl(0.0l);
18490 erfc(0.0);
18491 erfcf(0.0f);
18492 erfcl(0.0l);
18493 exp2(0.0);
18494 exp2f(0.0f);
18495 exp2l(0.0l);
18496 expm1(0.0);
18497 expm1f(0.0f);
18498 expm1l(0.0l);
18499 fdim(0.0, 0.0);
18500 fdimf(0.0f, 0.0f);
18501 fdiml(0.0l, 0.0l);
18502 fma(0.0, 0.0, 0.0);
18503 fmaf(0.0f, 0.0f, 0.0f);
18504 fmal(0.0l, 0.0l, 0.0l);
18505 fmax(0.0, 0.0);
18506 fmaxf(0.0f, 0.0f);
18507 fmaxl(0.0l, 0.0l);
18508 fmin(0.0, 0.0);
18509 fminf(0.0f, 0.0f);
18510 fminl(0.0l, 0.0l);
18511 hypot(0.0, 0.0);
18512 hypotf(0.0f, 0.0f);
18513 hypotl(0.0l, 0.0l);
18514 ilogb(0.0);
18515 ilogbf(0.0f);
18516 ilogbl(0.0l);
18517 lgamma(0.0);
18518 lgammaf(0.0f);
18519 lgammal(0.0l);
18520 llrint(0.0);
18521 llrintf(0.0f);
18522 llrintl(0.0l);
18523 llround(0.0);
18524 llroundf(0.0f);
18525 llroundl(0.0l);
18526 log1p(0.0);
18527 log1pf(0.0f);
18528 log1pl(0.0l);
18529 log2(0.0);
18530 log2f(0.0f);
18531 log2l(0.0l);
18532 logb(0.0);
18533 logbf(0.0f);
18534 logbl(0.0l);
18535 lrint(0.0);
18536 lrintf(0.0f);
18537 lrintl(0.0l);
18538 lround(0.0);
18539 lroundf(0.0f);
18540 lroundl(0.0l);
18541 nan(0);
18542 nanf(0);
18543 nanl(0);
18544 nearbyint(0.0);
18545 nearbyintf(0.0f);
18546 nearbyintl(0.0l);
18547 nextafter(0.0, 0.0);
18548 nextafterf(0.0f, 0.0f);
18549 nextafterl(0.0l, 0.0l);
18550 nexttoward(0.0, 0.0);
18551 nexttowardf(0.0f, 0.0f);
18552 nexttowardl(0.0l, 0.0l);
18553 remainder(0.0, 0.0);
18554 remainderf(0.0f, 0.0f);
18555 remainderl(0.0l, 0.0l);
18556 remquo(0.0, 0.0, 0);
18557 remquof(0.0f, 0.0f, 0);
18558 remquol(0.0l, 0.0l, 0);
18559 rint(0.0);
18560 rintf(0.0f);
18561 rintl(0.0l);
18562 round(0.0);
18563 roundf(0.0f);
18564 roundl(0.0l);
18565 scalbln(0.0, 0l);
18566 scalblnf(0.0f, 0l);
18567 scalblnl(0.0l, 0l);
18568 scalbn(0.0, 0);
18569 scalbnf(0.0f, 0);
18570 scalbnl(0.0l, 0);
18571 tgamma(0.0);
18572 tgammaf(0.0f);
18573 tgammal(0.0l);
18574 trunc(0.0);
18575 truncf(0.0f);
18576 truncl(0.0l);
18579 return 0;
18581 _ACEOF
18582 if ac_fn_cxx_try_compile "$LINENO"; then :
18583 glibcxx_cv_c99_math_tr1=yes
18584 else
18585 glibcxx_cv_c99_math_tr1=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18592 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18593 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18595 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18599 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18600 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18601 ac_c99_inttypes_tr1=no;
18602 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18604 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 #include <inttypes.h>
18609 main ()
18611 intmax_t i, numer, denom, base;
18612 const char* s;
18613 char** endptr;
18614 intmax_t ret = imaxabs(i);
18615 imaxdiv_t dret = imaxdiv(numer, denom);
18616 ret = strtoimax(s, endptr, base);
18617 uintmax_t uret = strtoumax(s, endptr, base);
18620 return 0;
18622 _ACEOF
18623 if ac_fn_cxx_try_compile "$LINENO"; then :
18624 ac_c99_inttypes_tr1=yes
18625 else
18626 ac_c99_inttypes_tr1=no
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18631 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18632 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18634 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18638 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18639 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18640 ac_c99_inttypes_wchar_t_tr1=no;
18641 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18643 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <inttypes.h>
18648 main ()
18650 intmax_t base;
18651 const wchar_t* s;
18652 wchar_t** endptr;
18653 intmax_t ret = wcstoimax(s, endptr, base);
18654 uintmax_t uret = wcstoumax(s, endptr, base);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 ac_c99_inttypes_wchar_t_tr1=yes
18662 else
18663 ac_c99_inttypes_wchar_t_tr1=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18669 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18675 # Check for the existence of the <stdbool.h> header.
18676 for ac_header in stdbool.h
18677 do :
18678 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18679 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STDBOOL_H 1
18682 _ACEOF
18686 done
18689 CXXFLAGS="$ac_save_CXXFLAGS"
18690 ac_ext=c
18691 ac_cpp='$CPP $CPPFLAGS'
18692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18698 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18702 $as_echo_n "checking for the value of EOF... " >&6; }
18703 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18704 $as_echo_n "(cached) " >&6
18705 else
18707 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18709 else
18710 as_fn_error "computing EOF failed" "$LINENO" 5
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18716 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18718 cat >>confdefs.h <<_ACEOF
18719 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18720 _ACEOF
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18724 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18725 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18729 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18731 else
18732 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18738 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18740 cat >>confdefs.h <<_ACEOF
18741 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18742 _ACEOF
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18746 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18747 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18751 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18753 else
18754 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18760 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18762 cat >>confdefs.h <<_ACEOF
18763 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18764 _ACEOF
18768 # For gettimeofday support.
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18772 $as_echo_n "checking for gettimeofday... " >&6; }
18775 ac_ext=cpp
18776 ac_cpp='$CXXCPP $CPPFLAGS'
18777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18781 ac_save_CXXFLAGS="$CXXFLAGS"
18782 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18784 ac_has_gettimeofday=no;
18785 for ac_header in sys/time.h
18786 do :
18787 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18788 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_SYS_TIME_H 1
18791 _ACEOF
18792 ac_has_sys_time_h=yes
18793 else
18794 ac_has_sys_time_h=no
18797 done
18799 if test x"$ac_has_sys_time_h" = x"yes"; then
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18801 $as_echo_n "checking for gettimeofday... " >&6; }
18802 if test x$gcc_no_link = xyes; then
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 #include <sys/time.h>
18807 main ()
18809 timeval tv; gettimeofday(&tv, 0);
18811 return 0;
18813 _ACEOF
18814 if ac_fn_cxx_try_compile "$LINENO"; then :
18815 ac_has_gettimeofday=yes
18816 else
18817 ac_has_gettimeofday=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18820 else
18821 if test x$gcc_no_link = xyes; then
18822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 #include <sys/time.h>
18828 main ()
18830 timeval tv; gettimeofday(&tv, 0);
18832 return 0;
18834 _ACEOF
18835 if ac_fn_cxx_try_link "$LINENO"; then :
18836 ac_has_gettimeofday=yes
18837 else
18838 ac_has_gettimeofday=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18845 $as_echo "$ac_has_gettimeofday" >&6; }
18848 if test x"$ac_has_gettimeofday" = x"yes"; then
18850 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18854 CXXFLAGS="$ac_save_CXXFLAGS"
18855 ac_ext=c
18856 ac_cpp='$CPP $CPPFLAGS'
18857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18863 # For clock_gettime, nanosleep and sched_yield support.
18864 # NB: The default is [no], because otherwise it requires linking.
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18868 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18869 # Check whether --enable-libstdcxx-time was given.
18870 if test "${enable_libstdcxx_time+set}" = set; then :
18871 enableval=$enable_libstdcxx_time;
18872 case "$enableval" in
18873 yes|no|rt) ;;
18874 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18875 esac
18877 else
18878 enable_libstdcxx_time=no
18884 ac_ext=cpp
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18890 ac_save_CXXFLAGS="$CXXFLAGS"
18891 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18892 ac_save_LIBS="$LIBS"
18894 ac_has_clock_monotonic=no
18895 ac_has_clock_realtime=no
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18897 $as_echo "$enable_libstdcxx_time" >&6; }
18899 if test x"$enable_libstdcxx_time" != x"no"; then
18901 if test x"$enable_libstdcxx_time" = x"rt"; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18903 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18904 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18907 ac_func_search_save_LIBS=$LIBS
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18911 /* Override any GCC internal prototype to avoid an error.
18912 Use char because int might match the return type of a GCC
18913 builtin and then its argument prototype would still apply. */
18914 #ifdef __cplusplus
18915 extern "C"
18916 #endif
18917 char clock_gettime ();
18919 main ()
18921 return clock_gettime ();
18923 return 0;
18925 _ACEOF
18926 for ac_lib in '' rt posix4; do
18927 if test -z "$ac_lib"; then
18928 ac_res="none required"
18929 else
18930 ac_res=-l$ac_lib
18931 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18933 if test x$gcc_no_link = xyes; then
18934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18936 if ac_fn_cxx_try_link "$LINENO"; then :
18937 ac_cv_search_clock_gettime=$ac_res
18939 rm -f core conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942 break
18944 done
18945 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18947 else
18948 ac_cv_search_clock_gettime=no
18950 rm conftest.$ac_ext
18951 LIBS=$ac_func_search_save_LIBS
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18954 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18955 ac_res=$ac_cv_search_clock_gettime
18956 if test "$ac_res" != no; then :
18957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18962 $as_echo_n "checking for library containing nanosleep... " >&6; }
18963 if test "${ac_cv_search_nanosleep+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18966 ac_func_search_save_LIBS=$LIBS
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 char nanosleep ();
18978 main ()
18980 return nanosleep ();
18982 return 0;
18984 _ACEOF
18985 for ac_lib in '' rt posix4; do
18986 if test -z "$ac_lib"; then
18987 ac_res="none required"
18988 else
18989 ac_res=-l$ac_lib
18990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18992 if test x$gcc_no_link = xyes; then
18993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18995 if ac_fn_cxx_try_link "$LINENO"; then :
18996 ac_cv_search_nanosleep=$ac_res
18998 rm -f core conftest.err conftest.$ac_objext \
18999 conftest$ac_exeext
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001 break
19003 done
19004 if test "${ac_cv_search_nanosleep+set}" = set; then :
19006 else
19007 ac_cv_search_nanosleep=no
19009 rm conftest.$ac_ext
19010 LIBS=$ac_func_search_save_LIBS
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19013 $as_echo "$ac_cv_search_nanosleep" >&6; }
19014 ac_res=$ac_cv_search_nanosleep
19015 if test "$ac_res" != no; then :
19016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19020 else
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19022 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19023 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19024 $as_echo_n "(cached) " >&6
19025 else
19026 ac_func_search_save_LIBS=$LIBS
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19033 #ifdef __cplusplus
19034 extern "C"
19035 #endif
19036 char clock_gettime ();
19038 main ()
19040 return clock_gettime ();
19042 return 0;
19044 _ACEOF
19045 for ac_lib in '' posix4; do
19046 if test -z "$ac_lib"; then
19047 ac_res="none required"
19048 else
19049 ac_res=-l$ac_lib
19050 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19052 if test x$gcc_no_link = xyes; then
19053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19055 if ac_fn_cxx_try_link "$LINENO"; then :
19056 ac_cv_search_clock_gettime=$ac_res
19058 rm -f core conftest.err conftest.$ac_objext \
19059 conftest$ac_exeext
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061 break
19063 done
19064 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19066 else
19067 ac_cv_search_clock_gettime=no
19069 rm conftest.$ac_ext
19070 LIBS=$ac_func_search_save_LIBS
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19073 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19074 ac_res=$ac_cv_search_clock_gettime
19075 if test "$ac_res" != no; then :
19076 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19081 $as_echo_n "checking for library containing nanosleep... " >&6; }
19082 if test "${ac_cv_search_nanosleep+set}" = set; then :
19083 $as_echo_n "(cached) " >&6
19084 else
19085 ac_func_search_save_LIBS=$LIBS
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19089 /* Override any GCC internal prototype to avoid an error.
19090 Use char because int might match the return type of a GCC
19091 builtin and then its argument prototype would still apply. */
19092 #ifdef __cplusplus
19093 extern "C"
19094 #endif
19095 char nanosleep ();
19097 main ()
19099 return nanosleep ();
19101 return 0;
19103 _ACEOF
19104 for ac_lib in '' posix4; do
19105 if test -z "$ac_lib"; then
19106 ac_res="none required"
19107 else
19108 ac_res=-l$ac_lib
19109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19111 if test x$gcc_no_link = xyes; then
19112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19114 if ac_fn_cxx_try_link "$LINENO"; then :
19115 ac_cv_search_nanosleep=$ac_res
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120 break
19122 done
19123 if test "${ac_cv_search_nanosleep+set}" = set; then :
19125 else
19126 ac_cv_search_nanosleep=no
19128 rm conftest.$ac_ext
19129 LIBS=$ac_func_search_save_LIBS
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19132 $as_echo "$ac_cv_search_nanosleep" >&6; }
19133 ac_res=$ac_cv_search_nanosleep
19134 if test "$ac_res" != no; then :
19135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19141 case "$ac_cv_search_clock_gettime" in
19142 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19144 esac
19145 case "$ac_cv_search_nanosleep" in
19146 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19148 esac
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19151 $as_echo_n "checking for library containing sched_yield... " >&6; }
19152 if test "${ac_cv_search_sched_yield+set}" = set; then :
19153 $as_echo_n "(cached) " >&6
19154 else
19155 ac_func_search_save_LIBS=$LIBS
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19159 /* Override any GCC internal prototype to avoid an error.
19160 Use char because int might match the return type of a GCC
19161 builtin and then its argument prototype would still apply. */
19162 #ifdef __cplusplus
19163 extern "C"
19164 #endif
19165 char sched_yield ();
19167 main ()
19169 return sched_yield ();
19171 return 0;
19173 _ACEOF
19174 for ac_lib in '' rt posix4; do
19175 if test -z "$ac_lib"; then
19176 ac_res="none required"
19177 else
19178 ac_res=-l$ac_lib
19179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19181 if test x$gcc_no_link = xyes; then
19182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19184 if ac_fn_cxx_try_link "$LINENO"; then :
19185 ac_cv_search_sched_yield=$ac_res
19187 rm -f core conftest.err conftest.$ac_objext \
19188 conftest$ac_exeext
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190 break
19192 done
19193 if test "${ac_cv_search_sched_yield+set}" = set; then :
19195 else
19196 ac_cv_search_sched_yield=no
19198 rm conftest.$ac_ext
19199 LIBS=$ac_func_search_save_LIBS
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19202 $as_echo "$ac_cv_search_sched_yield" >&6; }
19203 ac_res=$ac_cv_search_sched_yield
19204 if test "$ac_res" != no; then :
19205 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19210 case "$ac_cv_search_sched_yield" in
19211 -lposix4*)
19212 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19214 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19217 -lrt*)
19218 if test x"$enable_libstdcxx_time" = x"rt"; then
19219 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19221 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19227 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19230 esac
19232 for ac_header in unistd.h
19233 do :
19234 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19235 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_UNISTD_H 1
19238 _ACEOF
19239 ac_has_unistd_h=yes
19240 else
19241 ac_has_unistd_h=no
19244 done
19247 if test x"$ac_has_unistd_h" = x"yes"; then
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19249 $as_echo_n "checking for monotonic clock... " >&6; }
19250 if test x$gcc_no_link = xyes; then
19251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 #include <unistd.h>
19256 #include <time.h>
19259 main ()
19261 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19262 timespec tp;
19263 #endif
19264 clock_gettime(CLOCK_MONOTONIC, &tp);
19267 return 0;
19269 _ACEOF
19270 if ac_fn_cxx_try_link "$LINENO"; then :
19271 ac_has_clock_monotonic=yes
19272 else
19273 ac_has_clock_monotonic=no
19275 rm -f core conftest.err conftest.$ac_objext \
19276 conftest$ac_exeext conftest.$ac_ext
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19279 $as_echo "$ac_has_clock_monotonic" >&6; }
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19282 $as_echo_n "checking for realtime clock... " >&6; }
19283 if test x$gcc_no_link = xyes; then
19284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #include <unistd.h>
19289 #include <time.h>
19292 main ()
19294 #if _POSIX_TIMERS > 0
19295 timespec tp;
19296 #endif
19297 clock_gettime(CLOCK_REALTIME, &tp);
19300 return 0;
19302 _ACEOF
19303 if ac_fn_cxx_try_link "$LINENO"; then :
19304 ac_has_clock_realtime=yes
19305 else
19306 ac_has_clock_realtime=no
19308 rm -f core conftest.err conftest.$ac_objext \
19309 conftest$ac_exeext conftest.$ac_ext
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19312 $as_echo "$ac_has_clock_realtime" >&6; }
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19315 $as_echo_n "checking for nanosleep... " >&6; }
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <time.h>
19325 main ()
19327 #if _POSIX_TIMERS > 0
19328 timespec tp;
19329 #endif
19330 nanosleep(&tp, 0);
19333 return 0;
19335 _ACEOF
19336 if ac_fn_cxx_try_link "$LINENO"; then :
19337 ac_has_nanosleep=yes
19338 else
19339 ac_has_nanosleep=no
19341 rm -f core conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19345 $as_echo "$ac_has_nanosleep" >&6; }
19349 if test x"$ac_has_clock_monotonic" = x"yes"; then
19351 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19355 if test x"$ac_has_clock_realtime" = x"yes"; then
19357 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19361 if test x"$ac_has_nanosleep" = x"yes"; then
19363 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19369 CXXFLAGS="$ac_save_CXXFLAGS"
19370 LIBS="$ac_save_LIBS"
19371 ac_ext=c
19372 ac_cpp='$CPP $CPPFLAGS'
19373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19379 # For gthread support
19382 ac_ext=cpp
19383 ac_cpp='$CXXCPP $CPPFLAGS'
19384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19389 ac_save_CXXFLAGS="$CXXFLAGS"
19390 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19392 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19393 case $target_thread_file in
19394 posix)
19395 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19396 esac
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19399 $as_echo_n "checking for gthreads library... " >&6; }
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include "gthr.h"
19405 main ()
19408 #ifndef __GTHREADS_CXX0X
19409 #error
19410 #endif
19412 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19413 #if (defined(_PTHREADS) \
19414 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19415 #error
19416 #endif
19419 return 0;
19421 _ACEOF
19422 if ac_fn_cxx_try_compile "$LINENO"; then :
19423 ac_has_gthreads=yes
19424 else
19425 ac_has_gthreads=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19430 $as_echo "$ac_has_gthreads" >&6; }
19432 if test x"$ac_has_gthreads" = x"yes"; then
19434 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19438 CXXFLAGS="$ac_save_CXXFLAGS"
19439 ac_ext=c
19440 ac_cpp='$CPP $CPPFLAGS'
19441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19449 if test "x$ac_cv_header_locale_h" = x""yes; then :
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19452 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19453 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19454 $as_echo_n "(cached) " >&6
19455 else
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19458 #include <locale.h>
19460 main ()
19462 return LC_MESSAGES
19464 return 0;
19466 _ACEOF
19467 if ac_fn_c_try_compile "$LINENO"; then :
19468 ac_cv_val_LC_MESSAGES=yes
19469 else
19470 ac_cv_val_LC_MESSAGES=no
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19475 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19476 if test $ac_cv_val_LC_MESSAGES = yes; then
19478 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19487 # Check for available headers.
19488 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19489 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19490 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19491 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19492 wchar.h wctype.h
19493 do :
19494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19495 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19496 eval as_val=\$$as_ac_Header
19497 if test "x$as_val" = x""yes; then :
19498 cat >>confdefs.h <<_ACEOF
19499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19500 _ACEOF
19504 done
19507 # Only do link tests if native. Else, hardcode.
19508 if $GLIBCXX_IS_NATIVE; then
19510 # We can do more elaborate tests that assume a working linker.
19511 CANADIAN=no
19515 # Check whether --with-gnu-ld was given.
19516 if test "${with_gnu_ld+set}" = set; then :
19517 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19518 else
19519 with_gnu_ld=no
19522 ac_prog=ld
19523 if test "$GCC" = yes; then
19524 # Check if gcc -print-prog-name=ld gives a path.
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19526 $as_echo_n "checking for ld used by $CC... " >&6; }
19527 case $host in
19528 *-*-mingw*)
19529 # gcc leaves a trailing carriage return which upsets mingw
19530 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19532 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19533 esac
19534 case $ac_prog in
19535 # Accept absolute paths.
19536 [\\/]* | ?:[\\/]*)
19537 re_direlt='/[^/][^/]*/\.\./'
19538 # Canonicalize the pathname of ld
19539 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19540 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19541 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19542 done
19543 test -z "$LD" && LD="$ac_prog"
19546 # If it fails, then pretend we aren't using GCC.
19547 ac_prog=ld
19550 # If it is relative, then search for the first ld in PATH.
19551 with_gnu_ld=unknown
19553 esac
19554 elif test "$with_gnu_ld" = yes; then
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19556 $as_echo_n "checking for GNU ld... " >&6; }
19557 else
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19559 $as_echo_n "checking for non-GNU ld... " >&6; }
19561 if test "${lt_cv_path_LD+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 if test -z "$LD"; then
19565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19566 for ac_dir in $PATH; do
19567 IFS="$lt_save_ifs"
19568 test -z "$ac_dir" && ac_dir=.
19569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19570 lt_cv_path_LD="$ac_dir/$ac_prog"
19571 # Check to see if the program is GNU ld. I'd rather use --version,
19572 # but apparently some variants of GNU ld only accept -v.
19573 # Break only if it was the GNU/non-GNU ld that we prefer.
19574 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19575 *GNU* | *'with BFD'*)
19576 test "$with_gnu_ld" != no && break
19579 test "$with_gnu_ld" != yes && break
19581 esac
19583 done
19584 IFS="$lt_save_ifs"
19585 else
19586 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19590 LD="$lt_cv_path_LD"
19591 if test -n "$LD"; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19593 $as_echo "$LD" >&6; }
19594 else
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19596 $as_echo "no" >&6; }
19598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19601 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19602 $as_echo_n "(cached) " >&6
19603 else
19604 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19605 case `$LD -v 2>&1 </dev/null` in
19606 *GNU* | *'with BFD'*)
19607 lt_cv_prog_gnu_ld=yes
19610 lt_cv_prog_gnu_ld=no
19612 esac
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19615 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19616 with_gnu_ld=$lt_cv_prog_gnu_ld
19624 # If we're not using GNU ld, then there's no point in even trying these
19625 # tests. Check for that first. We should have already tested for gld
19626 # by now (in libtool), but require it now just to be safe...
19627 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19628 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19632 # The name set by libtool depends on the version of libtool. Shame on us
19633 # for depending on an impl detail, but c'est la vie. Older versions used
19634 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19635 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19636 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19637 # set (hence we're using an older libtool), then set it.
19638 if test x${with_gnu_ld+set} != xset; then
19639 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19640 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19641 with_gnu_ld=no
19642 else
19643 with_gnu_ld=$ac_cv_prog_gnu_ld
19647 # Start by getting the version number. I think the libtool test already
19648 # does some of this, but throws away the result.
19649 glibcxx_ld_is_gold=no
19650 if test x"$with_gnu_ld" = x"yes"; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19652 $as_echo_n "checking for ld version... " >&6; }
19654 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19655 glibcxx_ld_is_gold=yes
19657 ldver=`$LD --version 2>/dev/null |
19658 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'`
19660 glibcxx_gnu_ld_version=`echo $ldver | \
19661 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19663 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19666 # Set --gc-sections.
19667 glibcxx_have_gc_sections=no
19668 if test "$glibcxx_ld_is_gold" = "yes"; then
19669 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19670 glibcxx_have_gc_sections=yes
19672 else
19673 glibcxx_gcsections_min_ld=21602
19674 if test x"$with_gnu_ld" = x"yes" &&
19675 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19676 glibcxx_have_gc_sections=yes
19679 if test "$glibcxx_have_gc_sections" = "yes"; then
19680 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19681 # NB: This flag only works reliably after 2.16.1. Configure tests
19682 # for this are difficult, so hard wire a value that should work.
19684 ac_test_CFLAGS="${CFLAGS+set}"
19685 ac_save_CFLAGS="$CFLAGS"
19686 CFLAGS='-Wl,--gc-sections'
19688 # Check for -Wl,--gc-sections
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19690 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19691 if test x$gcc_no_link = xyes; then
19692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696 int one(void) { return 1; }
19697 int two(void) { return 2; }
19700 main ()
19702 two();
19704 return 0;
19706 _ACEOF
19707 if ac_fn_c_try_link "$LINENO"; then :
19708 ac_gcsections=yes
19709 else
19710 ac_gcsections=no
19712 rm -f core conftest.err conftest.$ac_objext \
19713 conftest$ac_exeext conftest.$ac_ext
19714 if test "$ac_gcsections" = "yes"; then
19715 rm -f conftest.c
19716 touch conftest.c
19717 if $CC -c conftest.c; then
19718 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19719 grep "Warning: gc-sections option ignored" > /dev/null; then
19720 ac_gcsections=no
19723 rm -f conftest.c conftest.o conftest
19725 if test "$ac_gcsections" = "yes"; then
19726 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19729 $as_echo "$ac_gcsections" >&6; }
19731 if test "$ac_test_CFLAGS" = set; then
19732 CFLAGS="$ac_save_CFLAGS"
19733 else
19734 # this is the suspicious part
19735 CFLAGS=''
19739 # Set -z,relro.
19740 # Note this is only for shared objects.
19741 ac_ld_relro=no
19742 if test x"$with_gnu_ld" = x"yes"; then
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19744 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19745 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19746 if test -n "$cxx_z_relo"; then
19747 OPT_LDFLAGS="-Wl,-z,relro"
19748 ac_ld_relro=yes
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19751 $as_echo "$ac_ld_relro" >&6; }
19754 # Set linker optimization flags.
19755 if test x"$with_gnu_ld" = x"yes"; then
19756 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19763 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19764 ac_save_CXXFLAGS="$CXXFLAGS"
19765 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19768 $as_echo_n "checking for sin in -lm... " >&6; }
19769 if test "${ac_cv_lib_m_sin+set}" = set; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 ac_check_lib_save_LIBS=$LIBS
19773 LIBS="-lm $LIBS"
19774 if test x$gcc_no_link = xyes; then
19775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19783 #ifdef __cplusplus
19784 extern "C"
19785 #endif
19786 char sin ();
19788 main ()
19790 return sin ();
19792 return 0;
19794 _ACEOF
19795 if ac_fn_c_try_link "$LINENO"; then :
19796 ac_cv_lib_m_sin=yes
19797 else
19798 ac_cv_lib_m_sin=no
19800 rm -f core conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19802 LIBS=$ac_check_lib_save_LIBS
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19805 $as_echo "$ac_cv_lib_m_sin" >&6; }
19806 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19807 libm="-lm"
19810 ac_save_LIBS="$LIBS"
19811 LIBS="$LIBS $libm"
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19816 $as_echo_n "checking for isinf declaration... " >&6; }
19817 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19818 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19823 ac_ext=cpp
19824 ac_cpp='$CXXCPP $CPPFLAGS'
19825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 #include <math.h>
19832 #ifdef HAVE_IEEEFP_H
19833 #include <ieeefp.h>
19834 #endif
19837 main ()
19839 isinf(0);
19841 return 0;
19843 _ACEOF
19844 if ac_fn_cxx_try_compile "$LINENO"; then :
19845 glibcxx_cv_func_isinf_use=yes
19846 else
19847 glibcxx_cv_func_isinf_use=no
19849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850 ac_ext=c
19851 ac_cpp='$CPP $CPPFLAGS'
19852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19861 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19863 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19864 for ac_func in isinf
19865 do :
19866 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19867 if test "x$ac_cv_func_isinf" = x""yes; then :
19868 cat >>confdefs.h <<_ACEOF
19869 #define HAVE_ISINF 1
19870 _ACEOF
19873 done
19875 else
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19878 $as_echo_n "checking for _isinf declaration... " >&6; }
19879 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19880 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19881 $as_echo_n "(cached) " >&6
19882 else
19885 ac_ext=cpp
19886 ac_cpp='$CXXCPP $CPPFLAGS'
19887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <math.h>
19894 #ifdef HAVE_IEEEFP_H
19895 #include <ieeefp.h>
19896 #endif
19899 main ()
19901 _isinf(0);
19903 return 0;
19905 _ACEOF
19906 if ac_fn_cxx_try_compile "$LINENO"; then :
19907 glibcxx_cv_func__isinf_use=yes
19908 else
19909 glibcxx_cv_func__isinf_use=no
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 ac_ext=c
19913 ac_cpp='$CPP $CPPFLAGS'
19914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19923 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19925 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19926 for ac_func in _isinf
19927 do :
19928 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19929 if test "x$ac_cv_func__isinf" = x""yes; then :
19930 cat >>confdefs.h <<_ACEOF
19931 #define HAVE__ISINF 1
19932 _ACEOF
19935 done
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19945 $as_echo_n "checking for isnan declaration... " >&6; }
19946 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19947 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19952 ac_ext=cpp
19953 ac_cpp='$CXXCPP $CPPFLAGS'
19954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <math.h>
19961 #ifdef HAVE_IEEEFP_H
19962 #include <ieeefp.h>
19963 #endif
19966 main ()
19968 isnan(0);
19970 return 0;
19972 _ACEOF
19973 if ac_fn_cxx_try_compile "$LINENO"; then :
19974 glibcxx_cv_func_isnan_use=yes
19975 else
19976 glibcxx_cv_func_isnan_use=no
19978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19979 ac_ext=c
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19990 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19992 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19993 for ac_func in isnan
19994 do :
19995 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19996 if test "x$ac_cv_func_isnan" = x""yes; then :
19997 cat >>confdefs.h <<_ACEOF
19998 #define HAVE_ISNAN 1
19999 _ACEOF
20002 done
20004 else
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20007 $as_echo_n "checking for _isnan declaration... " >&6; }
20008 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20009 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20010 $as_echo_n "(cached) " >&6
20011 else
20014 ac_ext=cpp
20015 ac_cpp='$CXXCPP $CPPFLAGS'
20016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 #include <math.h>
20023 #ifdef HAVE_IEEEFP_H
20024 #include <ieeefp.h>
20025 #endif
20028 main ()
20030 _isnan(0);
20032 return 0;
20034 _ACEOF
20035 if ac_fn_cxx_try_compile "$LINENO"; then :
20036 glibcxx_cv_func__isnan_use=yes
20037 else
20038 glibcxx_cv_func__isnan_use=no
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 ac_ext=c
20042 ac_cpp='$CPP $CPPFLAGS'
20043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20052 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20054 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20055 for ac_func in _isnan
20056 do :
20057 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20058 if test "x$ac_cv_func__isnan" = x""yes; then :
20059 cat >>confdefs.h <<_ACEOF
20060 #define HAVE__ISNAN 1
20061 _ACEOF
20064 done
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20074 $as_echo_n "checking for finite declaration... " >&6; }
20075 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20076 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20077 $as_echo_n "(cached) " >&6
20078 else
20081 ac_ext=cpp
20082 ac_cpp='$CXXCPP $CPPFLAGS'
20083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20089 #include <math.h>
20090 #ifdef HAVE_IEEEFP_H
20091 #include <ieeefp.h>
20092 #endif
20095 main ()
20097 finite(0);
20099 return 0;
20101 _ACEOF
20102 if ac_fn_cxx_try_compile "$LINENO"; then :
20103 glibcxx_cv_func_finite_use=yes
20104 else
20105 glibcxx_cv_func_finite_use=no
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 ac_ext=c
20109 ac_cpp='$CPP $CPPFLAGS'
20110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20119 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20121 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20122 for ac_func in finite
20123 do :
20124 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20125 if test "x$ac_cv_func_finite" = x""yes; then :
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_FINITE 1
20128 _ACEOF
20131 done
20133 else
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20136 $as_echo_n "checking for _finite declaration... " >&6; }
20137 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20138 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20139 $as_echo_n "(cached) " >&6
20140 else
20143 ac_ext=cpp
20144 ac_cpp='$CXXCPP $CPPFLAGS'
20145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 #include <math.h>
20152 #ifdef HAVE_IEEEFP_H
20153 #include <ieeefp.h>
20154 #endif
20157 main ()
20159 _finite(0);
20161 return 0;
20163 _ACEOF
20164 if ac_fn_cxx_try_compile "$LINENO"; then :
20165 glibcxx_cv_func__finite_use=yes
20166 else
20167 glibcxx_cv_func__finite_use=no
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 ac_ext=c
20171 ac_cpp='$CPP $CPPFLAGS'
20172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20181 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20183 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20184 for ac_func in _finite
20185 do :
20186 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20187 if test "x$ac_cv_func__finite" = x""yes; then :
20188 cat >>confdefs.h <<_ACEOF
20189 #define HAVE__FINITE 1
20190 _ACEOF
20193 done
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20203 $as_echo_n "checking for sincos declaration... " >&6; }
20204 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20205 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20206 $as_echo_n "(cached) " >&6
20207 else
20210 ac_ext=cpp
20211 ac_cpp='$CXXCPP $CPPFLAGS'
20212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 #include <math.h>
20220 main ()
20222 sincos(0, 0, 0);
20224 return 0;
20226 _ACEOF
20227 if ac_fn_cxx_try_compile "$LINENO"; then :
20228 glibcxx_cv_func_sincos_use=yes
20229 else
20230 glibcxx_cv_func_sincos_use=no
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 ac_ext=c
20234 ac_cpp='$CPP $CPPFLAGS'
20235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20244 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20246 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20247 for ac_func in sincos
20248 do :
20249 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20250 if test "x$ac_cv_func_sincos" = x""yes; then :
20251 cat >>confdefs.h <<_ACEOF
20252 #define HAVE_SINCOS 1
20253 _ACEOF
20256 done
20258 else
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20261 $as_echo_n "checking for _sincos declaration... " >&6; }
20262 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20263 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20264 $as_echo_n "(cached) " >&6
20265 else
20268 ac_ext=cpp
20269 ac_cpp='$CXXCPP $CPPFLAGS'
20270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20275 /* end confdefs.h. */
20276 #include <math.h>
20278 main ()
20280 _sincos(0, 0, 0);
20282 return 0;
20284 _ACEOF
20285 if ac_fn_cxx_try_compile "$LINENO"; then :
20286 glibcxx_cv_func__sincos_use=yes
20287 else
20288 glibcxx_cv_func__sincos_use=no
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20291 ac_ext=c
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20302 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20304 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20305 for ac_func in _sincos
20306 do :
20307 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20308 if test "x$ac_cv_func__sincos" = x""yes; then :
20309 cat >>confdefs.h <<_ACEOF
20310 #define HAVE__SINCOS 1
20311 _ACEOF
20314 done
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20324 $as_echo_n "checking for fpclass declaration... " >&6; }
20325 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20326 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20331 ac_ext=cpp
20332 ac_cpp='$CXXCPP $CPPFLAGS'
20333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20339 #include <math.h>
20340 #ifdef HAVE_IEEEFP_H
20341 #include <ieeefp.h>
20342 #endif
20345 main ()
20347 fpclass(0);
20349 return 0;
20351 _ACEOF
20352 if ac_fn_cxx_try_compile "$LINENO"; then :
20353 glibcxx_cv_func_fpclass_use=yes
20354 else
20355 glibcxx_cv_func_fpclass_use=no
20357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20358 ac_ext=c
20359 ac_cpp='$CPP $CPPFLAGS'
20360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20369 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20371 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20372 for ac_func in fpclass
20373 do :
20374 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20375 if test "x$ac_cv_func_fpclass" = x""yes; then :
20376 cat >>confdefs.h <<_ACEOF
20377 #define HAVE_FPCLASS 1
20378 _ACEOF
20381 done
20383 else
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20386 $as_echo_n "checking for _fpclass declaration... " >&6; }
20387 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20388 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20393 ac_ext=cpp
20394 ac_cpp='$CXXCPP $CPPFLAGS'
20395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #include <math.h>
20402 #ifdef HAVE_IEEEFP_H
20403 #include <ieeefp.h>
20404 #endif
20407 main ()
20409 _fpclass(0);
20411 return 0;
20413 _ACEOF
20414 if ac_fn_cxx_try_compile "$LINENO"; then :
20415 glibcxx_cv_func__fpclass_use=yes
20416 else
20417 glibcxx_cv_func__fpclass_use=no
20419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20420 ac_ext=c
20421 ac_cpp='$CPP $CPPFLAGS'
20422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20431 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20433 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20434 for ac_func in _fpclass
20435 do :
20436 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20437 if test "x$ac_cv_func__fpclass" = x""yes; then :
20438 cat >>confdefs.h <<_ACEOF
20439 #define HAVE__FPCLASS 1
20440 _ACEOF
20443 done
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20453 $as_echo_n "checking for qfpclass declaration... " >&6; }
20454 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20455 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20456 $as_echo_n "(cached) " >&6
20457 else
20460 ac_ext=cpp
20461 ac_cpp='$CXXCPP $CPPFLAGS'
20462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20467 /* end confdefs.h. */
20468 #include <math.h>
20469 #ifdef HAVE_IEEEFP_H
20470 #include <ieeefp.h>
20471 #endif
20474 main ()
20476 qfpclass(0);
20478 return 0;
20480 _ACEOF
20481 if ac_fn_cxx_try_compile "$LINENO"; then :
20482 glibcxx_cv_func_qfpclass_use=yes
20483 else
20484 glibcxx_cv_func_qfpclass_use=no
20486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20498 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20500 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20501 for ac_func in qfpclass
20502 do :
20503 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20504 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_QFPCLASS 1
20507 _ACEOF
20510 done
20512 else
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20515 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20516 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20517 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20518 $as_echo_n "(cached) " >&6
20519 else
20522 ac_ext=cpp
20523 ac_cpp='$CXXCPP $CPPFLAGS'
20524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20529 /* end confdefs.h. */
20530 #include <math.h>
20531 #ifdef HAVE_IEEEFP_H
20532 #include <ieeefp.h>
20533 #endif
20536 main ()
20538 _qfpclass(0);
20540 return 0;
20542 _ACEOF
20543 if ac_fn_cxx_try_compile "$LINENO"; then :
20544 glibcxx_cv_func__qfpclass_use=yes
20545 else
20546 glibcxx_cv_func__qfpclass_use=no
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549 ac_ext=c
20550 ac_cpp='$CPP $CPPFLAGS'
20551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20560 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20562 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20563 for ac_func in _qfpclass
20564 do :
20565 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20566 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20567 cat >>confdefs.h <<_ACEOF
20568 #define HAVE__QFPCLASS 1
20569 _ACEOF
20572 done
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20582 $as_echo_n "checking for hypot declaration... " >&6; }
20583 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20584 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20585 $as_echo_n "(cached) " >&6
20586 else
20589 ac_ext=cpp
20590 ac_cpp='$CXXCPP $CPPFLAGS'
20591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20597 #include <math.h>
20599 main ()
20601 hypot(0, 0);
20603 return 0;
20605 _ACEOF
20606 if ac_fn_cxx_try_compile "$LINENO"; then :
20607 glibcxx_cv_func_hypot_use=yes
20608 else
20609 glibcxx_cv_func_hypot_use=no
20611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20612 ac_ext=c
20613 ac_cpp='$CPP $CPPFLAGS'
20614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20623 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20625 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20626 for ac_func in hypot
20627 do :
20628 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20629 if test "x$ac_cv_func_hypot" = x""yes; then :
20630 cat >>confdefs.h <<_ACEOF
20631 #define HAVE_HYPOT 1
20632 _ACEOF
20635 done
20637 else
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20640 $as_echo_n "checking for _hypot declaration... " >&6; }
20641 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20642 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20643 $as_echo_n "(cached) " >&6
20644 else
20647 ac_ext=cpp
20648 ac_cpp='$CXXCPP $CPPFLAGS'
20649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20655 #include <math.h>
20657 main ()
20659 _hypot(0, 0);
20661 return 0;
20663 _ACEOF
20664 if ac_fn_cxx_try_compile "$LINENO"; then :
20665 glibcxx_cv_func__hypot_use=yes
20666 else
20667 glibcxx_cv_func__hypot_use=no
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 ac_ext=c
20671 ac_cpp='$CPP $CPPFLAGS'
20672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20681 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20683 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20684 for ac_func in _hypot
20685 do :
20686 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20687 if test "x$ac_cv_func__hypot" = x""yes; then :
20688 cat >>confdefs.h <<_ACEOF
20689 #define HAVE__HYPOT 1
20690 _ACEOF
20693 done
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20703 $as_echo_n "checking for float trig functions... " >&6; }
20704 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20709 ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #include <math.h>
20719 main ()
20721 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20723 return 0;
20725 _ACEOF
20726 if ac_fn_cxx_try_compile "$LINENO"; then :
20727 glibcxx_cv_func_float_trig_use=yes
20728 else
20729 glibcxx_cv_func_float_trig_use=no
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20741 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20742 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20743 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20744 do :
20745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20747 eval as_val=\$$as_ac_var
20748 if test "x$as_val" = x""yes; then :
20749 cat >>confdefs.h <<_ACEOF
20750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20751 _ACEOF
20754 done
20756 else
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20758 $as_echo_n "checking for _float trig functions... " >&6; }
20759 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20760 $as_echo_n "(cached) " >&6
20761 else
20764 ac_ext=cpp
20765 ac_cpp='$CXXCPP $CPPFLAGS'
20766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20772 #include <math.h>
20774 main ()
20776 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20778 return 0;
20780 _ACEOF
20781 if ac_fn_cxx_try_compile "$LINENO"; then :
20782 glibcxx_cv_func__float_trig_use=yes
20783 else
20784 glibcxx_cv_func__float_trig_use=no
20786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 ac_ext=c
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20796 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20797 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20798 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20799 do :
20800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20802 eval as_val=\$$as_ac_var
20803 if test "x$as_val" = x""yes; then :
20804 cat >>confdefs.h <<_ACEOF
20805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20806 _ACEOF
20809 done
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20819 $as_echo_n "checking for float round functions... " >&6; }
20820 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20821 $as_echo_n "(cached) " >&6
20822 else
20825 ac_ext=cpp
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20833 #include <math.h>
20835 main ()
20837 ceilf (0); floorf (0);
20839 return 0;
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843 glibcxx_cv_func_float_round_use=yes
20844 else
20845 glibcxx_cv_func_float_round_use=no
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20857 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20858 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20859 for ac_func in ceilf floorf
20860 do :
20861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20863 eval as_val=\$$as_ac_var
20864 if test "x$as_val" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20867 _ACEOF
20870 done
20872 else
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20874 $as_echo_n "checking for _float round functions... " >&6; }
20875 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20876 $as_echo_n "(cached) " >&6
20877 else
20880 ac_ext=cpp
20881 ac_cpp='$CXXCPP $CPPFLAGS'
20882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #include <math.h>
20890 main ()
20892 _ceilf (0); _floorf (0);
20894 return 0;
20896 _ACEOF
20897 if ac_fn_cxx_try_compile "$LINENO"; then :
20898 glibcxx_cv_func__float_round_use=yes
20899 else
20900 glibcxx_cv_func__float_round_use=no
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903 ac_ext=c
20904 ac_cpp='$CPP $CPPFLAGS'
20905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20912 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20913 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20914 for ac_func in _ceilf _floorf
20915 do :
20916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20918 eval as_val=\$$as_ac_var
20919 if test "x$as_val" = x""yes; then :
20920 cat >>confdefs.h <<_ACEOF
20921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20922 _ACEOF
20925 done
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20936 $as_echo_n "checking for expf declaration... " >&6; }
20937 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20938 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20943 ac_ext=cpp
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20951 #include <math.h>
20952 #ifdef HAVE_IEEEFP_H
20953 #include <ieeefp.h>
20954 #endif
20957 main ()
20959 expf(0);
20961 return 0;
20963 _ACEOF
20964 if ac_fn_cxx_try_compile "$LINENO"; then :
20965 glibcxx_cv_func_expf_use=yes
20966 else
20967 glibcxx_cv_func_expf_use=no
20969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 ac_ext=c
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20981 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20983 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20984 for ac_func in expf
20985 do :
20986 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20987 if test "x$ac_cv_func_expf" = x""yes; then :
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE_EXPF 1
20990 _ACEOF
20993 done
20995 else
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20998 $as_echo_n "checking for _expf declaration... " >&6; }
20999 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21000 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21001 $as_echo_n "(cached) " >&6
21002 else
21005 ac_ext=cpp
21006 ac_cpp='$CXXCPP $CPPFLAGS'
21007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21013 #include <math.h>
21014 #ifdef HAVE_IEEEFP_H
21015 #include <ieeefp.h>
21016 #endif
21019 main ()
21021 _expf(0);
21023 return 0;
21025 _ACEOF
21026 if ac_fn_cxx_try_compile "$LINENO"; then :
21027 glibcxx_cv_func__expf_use=yes
21028 else
21029 glibcxx_cv_func__expf_use=no
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 ac_ext=c
21033 ac_cpp='$CPP $CPPFLAGS'
21034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21043 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21045 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21046 for ac_func in _expf
21047 do :
21048 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21049 if test "x$ac_cv_func__expf" = x""yes; then :
21050 cat >>confdefs.h <<_ACEOF
21051 #define HAVE__EXPF 1
21052 _ACEOF
21055 done
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21065 $as_echo_n "checking for isnanf declaration... " >&6; }
21066 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21067 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21072 ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080 #include <math.h>
21081 #ifdef HAVE_IEEEFP_H
21082 #include <ieeefp.h>
21083 #endif
21086 main ()
21088 isnanf(0);
21090 return 0;
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094 glibcxx_cv_func_isnanf_use=yes
21095 else
21096 glibcxx_cv_func_isnanf_use=no
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21110 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21112 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21113 for ac_func in isnanf
21114 do :
21115 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21116 if test "x$ac_cv_func_isnanf" = x""yes; then :
21117 cat >>confdefs.h <<_ACEOF
21118 #define HAVE_ISNANF 1
21119 _ACEOF
21122 done
21124 else
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21127 $as_echo_n "checking for _isnanf declaration... " >&6; }
21128 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21129 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21131 else
21134 ac_ext=cpp
21135 ac_cpp='$CXXCPP $CPPFLAGS'
21136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21141 /* end confdefs.h. */
21142 #include <math.h>
21143 #ifdef HAVE_IEEEFP_H
21144 #include <ieeefp.h>
21145 #endif
21148 main ()
21150 _isnanf(0);
21152 return 0;
21154 _ACEOF
21155 if ac_fn_cxx_try_compile "$LINENO"; then :
21156 glibcxx_cv_func__isnanf_use=yes
21157 else
21158 glibcxx_cv_func__isnanf_use=no
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 ac_ext=c
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21172 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21174 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21175 for ac_func in _isnanf
21176 do :
21177 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21178 if test "x$ac_cv_func__isnanf" = x""yes; then :
21179 cat >>confdefs.h <<_ACEOF
21180 #define HAVE__ISNANF 1
21181 _ACEOF
21184 done
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21194 $as_echo_n "checking for isinff declaration... " >&6; }
21195 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21196 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21201 ac_ext=cpp
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <math.h>
21210 #ifdef HAVE_IEEEFP_H
21211 #include <ieeefp.h>
21212 #endif
21215 main ()
21217 isinff(0);
21219 return 0;
21221 _ACEOF
21222 if ac_fn_cxx_try_compile "$LINENO"; then :
21223 glibcxx_cv_func_isinff_use=yes
21224 else
21225 glibcxx_cv_func_isinff_use=no
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 ac_ext=c
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21239 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21241 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21242 for ac_func in isinff
21243 do :
21244 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21245 if test "x$ac_cv_func_isinff" = x""yes; then :
21246 cat >>confdefs.h <<_ACEOF
21247 #define HAVE_ISINFF 1
21248 _ACEOF
21251 done
21253 else
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21256 $as_echo_n "checking for _isinff declaration... " >&6; }
21257 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21258 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21260 else
21263 ac_ext=cpp
21264 ac_cpp='$CXXCPP $CPPFLAGS'
21265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <math.h>
21272 #ifdef HAVE_IEEEFP_H
21273 #include <ieeefp.h>
21274 #endif
21277 main ()
21279 _isinff(0);
21281 return 0;
21283 _ACEOF
21284 if ac_fn_cxx_try_compile "$LINENO"; then :
21285 glibcxx_cv_func__isinff_use=yes
21286 else
21287 glibcxx_cv_func__isinff_use=no
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 ac_ext=c
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21301 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21303 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21304 for ac_func in _isinff
21305 do :
21306 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21307 if test "x$ac_cv_func__isinff" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE__ISINFF 1
21310 _ACEOF
21313 done
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21323 $as_echo_n "checking for atan2f declaration... " >&6; }
21324 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21325 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21326 $as_echo_n "(cached) " >&6
21327 else
21330 ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21338 #include <math.h>
21340 main ()
21342 atan2f(0, 0);
21344 return 0;
21346 _ACEOF
21347 if ac_fn_cxx_try_compile "$LINENO"; then :
21348 glibcxx_cv_func_atan2f_use=yes
21349 else
21350 glibcxx_cv_func_atan2f_use=no
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353 ac_ext=c
21354 ac_cpp='$CPP $CPPFLAGS'
21355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21364 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21366 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21367 for ac_func in atan2f
21368 do :
21369 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21370 if test "x$ac_cv_func_atan2f" = x""yes; then :
21371 cat >>confdefs.h <<_ACEOF
21372 #define HAVE_ATAN2F 1
21373 _ACEOF
21376 done
21378 else
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21381 $as_echo_n "checking for _atan2f declaration... " >&6; }
21382 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21383 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21384 $as_echo_n "(cached) " >&6
21385 else
21388 ac_ext=cpp
21389 ac_cpp='$CXXCPP $CPPFLAGS'
21390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21396 #include <math.h>
21398 main ()
21400 _atan2f(0, 0);
21402 return 0;
21404 _ACEOF
21405 if ac_fn_cxx_try_compile "$LINENO"; then :
21406 glibcxx_cv_func__atan2f_use=yes
21407 else
21408 glibcxx_cv_func__atan2f_use=no
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 ac_ext=c
21412 ac_cpp='$CPP $CPPFLAGS'
21413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21422 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21424 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21425 for ac_func in _atan2f
21426 do :
21427 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21428 if test "x$ac_cv_func__atan2f" = x""yes; then :
21429 cat >>confdefs.h <<_ACEOF
21430 #define HAVE__ATAN2F 1
21431 _ACEOF
21434 done
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21444 $as_echo_n "checking for fabsf declaration... " >&6; }
21445 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21446 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21447 $as_echo_n "(cached) " >&6
21448 else
21451 ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21459 #include <math.h>
21460 #ifdef HAVE_IEEEFP_H
21461 #include <ieeefp.h>
21462 #endif
21465 main ()
21467 fabsf(0);
21469 return 0;
21471 _ACEOF
21472 if ac_fn_cxx_try_compile "$LINENO"; then :
21473 glibcxx_cv_func_fabsf_use=yes
21474 else
21475 glibcxx_cv_func_fabsf_use=no
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21489 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21491 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21492 for ac_func in fabsf
21493 do :
21494 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21495 if test "x$ac_cv_func_fabsf" = x""yes; then :
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE_FABSF 1
21498 _ACEOF
21501 done
21503 else
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21506 $as_echo_n "checking for _fabsf declaration... " >&6; }
21507 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21508 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21513 ac_ext=cpp
21514 ac_cpp='$CXXCPP $CPPFLAGS'
21515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21521 #include <math.h>
21522 #ifdef HAVE_IEEEFP_H
21523 #include <ieeefp.h>
21524 #endif
21527 main ()
21529 _fabsf(0);
21531 return 0;
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 glibcxx_cv_func__fabsf_use=yes
21536 else
21537 glibcxx_cv_func__fabsf_use=no
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 ac_ext=c
21541 ac_cpp='$CPP $CPPFLAGS'
21542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21551 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21553 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21554 for ac_func in _fabsf
21555 do :
21556 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21557 if test "x$ac_cv_func__fabsf" = x""yes; then :
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE__FABSF 1
21560 _ACEOF
21563 done
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21573 $as_echo_n "checking for fmodf declaration... " >&6; }
21574 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21575 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21576 $as_echo_n "(cached) " >&6
21577 else
21580 ac_ext=cpp
21581 ac_cpp='$CXXCPP $CPPFLAGS'
21582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21587 /* end confdefs.h. */
21588 #include <math.h>
21590 main ()
21592 fmodf(0, 0);
21594 return 0;
21596 _ACEOF
21597 if ac_fn_cxx_try_compile "$LINENO"; then :
21598 glibcxx_cv_func_fmodf_use=yes
21599 else
21600 glibcxx_cv_func_fmodf_use=no
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 ac_ext=c
21604 ac_cpp='$CPP $CPPFLAGS'
21605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21614 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21616 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21617 for ac_func in fmodf
21618 do :
21619 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21620 if test "x$ac_cv_func_fmodf" = x""yes; then :
21621 cat >>confdefs.h <<_ACEOF
21622 #define HAVE_FMODF 1
21623 _ACEOF
21626 done
21628 else
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21631 $as_echo_n "checking for _fmodf declaration... " >&6; }
21632 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21633 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21638 ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <math.h>
21648 main ()
21650 _fmodf(0, 0);
21652 return 0;
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656 glibcxx_cv_func__fmodf_use=yes
21657 else
21658 glibcxx_cv_func__fmodf_use=no
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21672 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21674 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21675 for ac_func in _fmodf
21676 do :
21677 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21678 if test "x$ac_cv_func__fmodf" = x""yes; then :
21679 cat >>confdefs.h <<_ACEOF
21680 #define HAVE__FMODF 1
21681 _ACEOF
21684 done
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21694 $as_echo_n "checking for frexpf declaration... " >&6; }
21695 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21696 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21697 $as_echo_n "(cached) " >&6
21698 else
21701 ac_ext=cpp
21702 ac_cpp='$CXXCPP $CPPFLAGS'
21703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21709 #include <math.h>
21711 main ()
21713 frexpf(0, 0);
21715 return 0;
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719 glibcxx_cv_func_frexpf_use=yes
21720 else
21721 glibcxx_cv_func_frexpf_use=no
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21735 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21737 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21738 for ac_func in frexpf
21739 do :
21740 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21741 if test "x$ac_cv_func_frexpf" = x""yes; then :
21742 cat >>confdefs.h <<_ACEOF
21743 #define HAVE_FREXPF 1
21744 _ACEOF
21747 done
21749 else
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21752 $as_echo_n "checking for _frexpf declaration... " >&6; }
21753 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21754 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21759 ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 #include <math.h>
21769 main ()
21771 _frexpf(0, 0);
21773 return 0;
21775 _ACEOF
21776 if ac_fn_cxx_try_compile "$LINENO"; then :
21777 glibcxx_cv_func__frexpf_use=yes
21778 else
21779 glibcxx_cv_func__frexpf_use=no
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782 ac_ext=c
21783 ac_cpp='$CPP $CPPFLAGS'
21784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21793 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21795 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21796 for ac_func in _frexpf
21797 do :
21798 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21799 if test "x$ac_cv_func__frexpf" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define HAVE__FREXPF 1
21802 _ACEOF
21805 done
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21815 $as_echo_n "checking for hypotf declaration... " >&6; }
21816 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21817 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21818 $as_echo_n "(cached) " >&6
21819 else
21822 ac_ext=cpp
21823 ac_cpp='$CXXCPP $CPPFLAGS'
21824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21829 /* end confdefs.h. */
21830 #include <math.h>
21832 main ()
21834 hypotf(0, 0);
21836 return 0;
21838 _ACEOF
21839 if ac_fn_cxx_try_compile "$LINENO"; then :
21840 glibcxx_cv_func_hypotf_use=yes
21841 else
21842 glibcxx_cv_func_hypotf_use=no
21844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21845 ac_ext=c
21846 ac_cpp='$CPP $CPPFLAGS'
21847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21856 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21858 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21859 for ac_func in hypotf
21860 do :
21861 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21862 if test "x$ac_cv_func_hypotf" = x""yes; then :
21863 cat >>confdefs.h <<_ACEOF
21864 #define HAVE_HYPOTF 1
21865 _ACEOF
21868 done
21870 else
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21873 $as_echo_n "checking for _hypotf declaration... " >&6; }
21874 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21875 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21876 $as_echo_n "(cached) " >&6
21877 else
21880 ac_ext=cpp
21881 ac_cpp='$CXXCPP $CPPFLAGS'
21882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21887 /* end confdefs.h. */
21888 #include <math.h>
21890 main ()
21892 _hypotf(0, 0);
21894 return 0;
21896 _ACEOF
21897 if ac_fn_cxx_try_compile "$LINENO"; then :
21898 glibcxx_cv_func__hypotf_use=yes
21899 else
21900 glibcxx_cv_func__hypotf_use=no
21902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 ac_ext=c
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21914 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21916 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21917 for ac_func in _hypotf
21918 do :
21919 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21920 if test "x$ac_cv_func__hypotf" = x""yes; then :
21921 cat >>confdefs.h <<_ACEOF
21922 #define HAVE__HYPOTF 1
21923 _ACEOF
21926 done
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21936 $as_echo_n "checking for ldexpf declaration... " >&6; }
21937 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21938 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21939 $as_echo_n "(cached) " >&6
21940 else
21943 ac_ext=cpp
21944 ac_cpp='$CXXCPP $CPPFLAGS'
21945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21950 /* end confdefs.h. */
21951 #include <math.h>
21953 main ()
21955 ldexpf(0, 0);
21957 return 0;
21959 _ACEOF
21960 if ac_fn_cxx_try_compile "$LINENO"; then :
21961 glibcxx_cv_func_ldexpf_use=yes
21962 else
21963 glibcxx_cv_func_ldexpf_use=no
21965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21966 ac_ext=c
21967 ac_cpp='$CPP $CPPFLAGS'
21968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21977 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21979 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21980 for ac_func in ldexpf
21981 do :
21982 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21983 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define HAVE_LDEXPF 1
21986 _ACEOF
21989 done
21991 else
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21994 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21995 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21996 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22011 main ()
22013 _ldexpf(0, 0);
22015 return 0;
22017 _ACEOF
22018 if ac_fn_cxx_try_compile "$LINENO"; then :
22019 glibcxx_cv_func__ldexpf_use=yes
22020 else
22021 glibcxx_cv_func__ldexpf_use=no
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22035 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22037 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22038 for ac_func in _ldexpf
22039 do :
22040 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22041 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22042 cat >>confdefs.h <<_ACEOF
22043 #define HAVE__LDEXPF 1
22044 _ACEOF
22047 done
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22057 $as_echo_n "checking for logf declaration... " >&6; }
22058 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22059 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22064 ac_ext=cpp
22065 ac_cpp='$CXXCPP $CPPFLAGS'
22066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22071 /* end confdefs.h. */
22072 #include <math.h>
22073 #ifdef HAVE_IEEEFP_H
22074 #include <ieeefp.h>
22075 #endif
22078 main ()
22080 logf(0);
22082 return 0;
22084 _ACEOF
22085 if ac_fn_cxx_try_compile "$LINENO"; then :
22086 glibcxx_cv_func_logf_use=yes
22087 else
22088 glibcxx_cv_func_logf_use=no
22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091 ac_ext=c
22092 ac_cpp='$CPP $CPPFLAGS'
22093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22102 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22104 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22105 for ac_func in logf
22106 do :
22107 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22108 if test "x$ac_cv_func_logf" = x""yes; then :
22109 cat >>confdefs.h <<_ACEOF
22110 #define HAVE_LOGF 1
22111 _ACEOF
22114 done
22116 else
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22119 $as_echo_n "checking for _logf declaration... " >&6; }
22120 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22121 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22122 $as_echo_n "(cached) " >&6
22123 else
22126 ac_ext=cpp
22127 ac_cpp='$CXXCPP $CPPFLAGS'
22128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22133 /* end confdefs.h. */
22134 #include <math.h>
22135 #ifdef HAVE_IEEEFP_H
22136 #include <ieeefp.h>
22137 #endif
22140 main ()
22142 _logf(0);
22144 return 0;
22146 _ACEOF
22147 if ac_fn_cxx_try_compile "$LINENO"; then :
22148 glibcxx_cv_func__logf_use=yes
22149 else
22150 glibcxx_cv_func__logf_use=no
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 ac_ext=c
22154 ac_cpp='$CPP $CPPFLAGS'
22155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22164 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22166 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22167 for ac_func in _logf
22168 do :
22169 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22170 if test "x$ac_cv_func__logf" = x""yes; then :
22171 cat >>confdefs.h <<_ACEOF
22172 #define HAVE__LOGF 1
22173 _ACEOF
22176 done
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22186 $as_echo_n "checking for log10f declaration... " >&6; }
22187 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22188 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22189 $as_echo_n "(cached) " >&6
22190 else
22193 ac_ext=cpp
22194 ac_cpp='$CXXCPP $CPPFLAGS'
22195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22201 #include <math.h>
22202 #ifdef HAVE_IEEEFP_H
22203 #include <ieeefp.h>
22204 #endif
22207 main ()
22209 log10f(0);
22211 return 0;
22213 _ACEOF
22214 if ac_fn_cxx_try_compile "$LINENO"; then :
22215 glibcxx_cv_func_log10f_use=yes
22216 else
22217 glibcxx_cv_func_log10f_use=no
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22220 ac_ext=c
22221 ac_cpp='$CPP $CPPFLAGS'
22222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22231 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22233 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22234 for ac_func in log10f
22235 do :
22236 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22237 if test "x$ac_cv_func_log10f" = x""yes; then :
22238 cat >>confdefs.h <<_ACEOF
22239 #define HAVE_LOG10F 1
22240 _ACEOF
22243 done
22245 else
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22248 $as_echo_n "checking for _log10f declaration... " >&6; }
22249 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22250 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22251 $as_echo_n "(cached) " >&6
22252 else
22255 ac_ext=cpp
22256 ac_cpp='$CXXCPP $CPPFLAGS'
22257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22263 #include <math.h>
22264 #ifdef HAVE_IEEEFP_H
22265 #include <ieeefp.h>
22266 #endif
22269 main ()
22271 _log10f(0);
22273 return 0;
22275 _ACEOF
22276 if ac_fn_cxx_try_compile "$LINENO"; then :
22277 glibcxx_cv_func__log10f_use=yes
22278 else
22279 glibcxx_cv_func__log10f_use=no
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22293 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22295 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22296 for ac_func in _log10f
22297 do :
22298 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22299 if test "x$ac_cv_func__log10f" = x""yes; then :
22300 cat >>confdefs.h <<_ACEOF
22301 #define HAVE__LOG10F 1
22302 _ACEOF
22305 done
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22315 $as_echo_n "checking for modff declaration... " >&6; }
22316 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22317 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22318 $as_echo_n "(cached) " >&6
22319 else
22322 ac_ext=cpp
22323 ac_cpp='$CXXCPP $CPPFLAGS'
22324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22329 /* end confdefs.h. */
22330 #include <math.h>
22332 main ()
22334 modff(0, 0);
22336 return 0;
22338 _ACEOF
22339 if ac_fn_cxx_try_compile "$LINENO"; then :
22340 glibcxx_cv_func_modff_use=yes
22341 else
22342 glibcxx_cv_func_modff_use=no
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 ac_ext=c
22346 ac_cpp='$CPP $CPPFLAGS'
22347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22356 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22358 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22359 for ac_func in modff
22360 do :
22361 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22362 if test "x$ac_cv_func_modff" = x""yes; then :
22363 cat >>confdefs.h <<_ACEOF
22364 #define HAVE_MODFF 1
22365 _ACEOF
22368 done
22370 else
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22373 $as_echo_n "checking for _modff declaration... " >&6; }
22374 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22375 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22376 $as_echo_n "(cached) " >&6
22377 else
22380 ac_ext=cpp
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h. */
22388 #include <math.h>
22390 main ()
22392 _modff(0, 0);
22394 return 0;
22396 _ACEOF
22397 if ac_fn_cxx_try_compile "$LINENO"; then :
22398 glibcxx_cv_func__modff_use=yes
22399 else
22400 glibcxx_cv_func__modff_use=no
22402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22403 ac_ext=c
22404 ac_cpp='$CPP $CPPFLAGS'
22405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22414 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22416 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22417 for ac_func in _modff
22418 do :
22419 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22420 if test "x$ac_cv_func__modff" = x""yes; then :
22421 cat >>confdefs.h <<_ACEOF
22422 #define HAVE__MODFF 1
22423 _ACEOF
22426 done
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22436 $as_echo_n "checking for modf declaration... " >&6; }
22437 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22438 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22439 $as_echo_n "(cached) " >&6
22440 else
22443 ac_ext=cpp
22444 ac_cpp='$CXXCPP $CPPFLAGS'
22445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22451 #include <math.h>
22453 main ()
22455 modf(0, 0);
22457 return 0;
22459 _ACEOF
22460 if ac_fn_cxx_try_compile "$LINENO"; then :
22461 glibcxx_cv_func_modf_use=yes
22462 else
22463 glibcxx_cv_func_modf_use=no
22465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22466 ac_ext=c
22467 ac_cpp='$CPP $CPPFLAGS'
22468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22477 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22479 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22480 for ac_func in modf
22481 do :
22482 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22483 if test "x$ac_cv_func_modf" = x""yes; then :
22484 cat >>confdefs.h <<_ACEOF
22485 #define HAVE_MODF 1
22486 _ACEOF
22489 done
22491 else
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22494 $as_echo_n "checking for _modf declaration... " >&6; }
22495 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22496 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22497 $as_echo_n "(cached) " >&6
22498 else
22501 ac_ext=cpp
22502 ac_cpp='$CXXCPP $CPPFLAGS'
22503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22509 #include <math.h>
22511 main ()
22513 _modf(0, 0);
22515 return 0;
22517 _ACEOF
22518 if ac_fn_cxx_try_compile "$LINENO"; then :
22519 glibcxx_cv_func__modf_use=yes
22520 else
22521 glibcxx_cv_func__modf_use=no
22523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22524 ac_ext=c
22525 ac_cpp='$CPP $CPPFLAGS'
22526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22535 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22537 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22538 for ac_func in _modf
22539 do :
22540 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22541 if test "x$ac_cv_func__modf" = x""yes; then :
22542 cat >>confdefs.h <<_ACEOF
22543 #define HAVE__MODF 1
22544 _ACEOF
22547 done
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22557 $as_echo_n "checking for powf declaration... " >&6; }
22558 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22559 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22560 $as_echo_n "(cached) " >&6
22561 else
22564 ac_ext=cpp
22565 ac_cpp='$CXXCPP $CPPFLAGS'
22566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22571 /* end confdefs.h. */
22572 #include <math.h>
22574 main ()
22576 powf(0, 0);
22578 return 0;
22580 _ACEOF
22581 if ac_fn_cxx_try_compile "$LINENO"; then :
22582 glibcxx_cv_func_powf_use=yes
22583 else
22584 glibcxx_cv_func_powf_use=no
22586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22587 ac_ext=c
22588 ac_cpp='$CPP $CPPFLAGS'
22589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22598 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22600 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22601 for ac_func in powf
22602 do :
22603 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22604 if test "x$ac_cv_func_powf" = x""yes; then :
22605 cat >>confdefs.h <<_ACEOF
22606 #define HAVE_POWF 1
22607 _ACEOF
22610 done
22612 else
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22615 $as_echo_n "checking for _powf declaration... " >&6; }
22616 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22617 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22619 else
22622 ac_ext=cpp
22623 ac_cpp='$CXXCPP $CPPFLAGS'
22624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h. */
22630 #include <math.h>
22632 main ()
22634 _powf(0, 0);
22636 return 0;
22638 _ACEOF
22639 if ac_fn_cxx_try_compile "$LINENO"; then :
22640 glibcxx_cv_func__powf_use=yes
22641 else
22642 glibcxx_cv_func__powf_use=no
22644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22645 ac_ext=c
22646 ac_cpp='$CPP $CPPFLAGS'
22647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22656 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22658 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22659 for ac_func in _powf
22660 do :
22661 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22662 if test "x$ac_cv_func__powf" = x""yes; then :
22663 cat >>confdefs.h <<_ACEOF
22664 #define HAVE__POWF 1
22665 _ACEOF
22668 done
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22678 $as_echo_n "checking for sqrtf declaration... " >&6; }
22679 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22680 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22681 $as_echo_n "(cached) " >&6
22682 else
22685 ac_ext=cpp
22686 ac_cpp='$CXXCPP $CPPFLAGS'
22687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22693 #include <math.h>
22694 #ifdef HAVE_IEEEFP_H
22695 #include <ieeefp.h>
22696 #endif
22699 main ()
22701 sqrtf(0);
22703 return 0;
22705 _ACEOF
22706 if ac_fn_cxx_try_compile "$LINENO"; then :
22707 glibcxx_cv_func_sqrtf_use=yes
22708 else
22709 glibcxx_cv_func_sqrtf_use=no
22711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22712 ac_ext=c
22713 ac_cpp='$CPP $CPPFLAGS'
22714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22723 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22725 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22726 for ac_func in sqrtf
22727 do :
22728 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22729 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22730 cat >>confdefs.h <<_ACEOF
22731 #define HAVE_SQRTF 1
22732 _ACEOF
22735 done
22737 else
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22740 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22741 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22742 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22743 $as_echo_n "(cached) " >&6
22744 else
22747 ac_ext=cpp
22748 ac_cpp='$CXXCPP $CPPFLAGS'
22749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h. */
22755 #include <math.h>
22756 #ifdef HAVE_IEEEFP_H
22757 #include <ieeefp.h>
22758 #endif
22761 main ()
22763 _sqrtf(0);
22765 return 0;
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769 glibcxx_cv_func__sqrtf_use=yes
22770 else
22771 glibcxx_cv_func__sqrtf_use=no
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22785 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22787 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22788 for ac_func in _sqrtf
22789 do :
22790 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22791 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22792 cat >>confdefs.h <<_ACEOF
22793 #define HAVE__SQRTF 1
22794 _ACEOF
22797 done
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22807 $as_echo_n "checking for sincosf declaration... " >&6; }
22808 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22809 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22810 $as_echo_n "(cached) " >&6
22811 else
22814 ac_ext=cpp
22815 ac_cpp='$CXXCPP $CPPFLAGS'
22816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22821 /* end confdefs.h. */
22822 #include <math.h>
22824 main ()
22826 sincosf(0, 0, 0);
22828 return 0;
22830 _ACEOF
22831 if ac_fn_cxx_try_compile "$LINENO"; then :
22832 glibcxx_cv_func_sincosf_use=yes
22833 else
22834 glibcxx_cv_func_sincosf_use=no
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837 ac_ext=c
22838 ac_cpp='$CPP $CPPFLAGS'
22839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22848 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22850 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22851 for ac_func in sincosf
22852 do :
22853 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22854 if test "x$ac_cv_func_sincosf" = x""yes; then :
22855 cat >>confdefs.h <<_ACEOF
22856 #define HAVE_SINCOSF 1
22857 _ACEOF
22860 done
22862 else
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22865 $as_echo_n "checking for _sincosf declaration... " >&6; }
22866 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22867 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22868 $as_echo_n "(cached) " >&6
22869 else
22872 ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h. */
22880 #include <math.h>
22882 main ()
22884 _sincosf(0, 0, 0);
22886 return 0;
22888 _ACEOF
22889 if ac_fn_cxx_try_compile "$LINENO"; then :
22890 glibcxx_cv_func__sincosf_use=yes
22891 else
22892 glibcxx_cv_func__sincosf_use=no
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 ac_ext=c
22896 ac_cpp='$CPP $CPPFLAGS'
22897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22906 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22908 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22909 for ac_func in _sincosf
22910 do :
22911 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22912 if test "x$ac_cv_func__sincosf" = x""yes; then :
22913 cat >>confdefs.h <<_ACEOF
22914 #define HAVE__SINCOSF 1
22915 _ACEOF
22918 done
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22928 $as_echo_n "checking for finitef declaration... " >&6; }
22929 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22930 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22931 $as_echo_n "(cached) " >&6
22932 else
22935 ac_ext=cpp
22936 ac_cpp='$CXXCPP $CPPFLAGS'
22937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22942 /* end confdefs.h. */
22943 #include <math.h>
22944 #ifdef HAVE_IEEEFP_H
22945 #include <ieeefp.h>
22946 #endif
22949 main ()
22951 finitef(0);
22953 return 0;
22955 _ACEOF
22956 if ac_fn_cxx_try_compile "$LINENO"; then :
22957 glibcxx_cv_func_finitef_use=yes
22958 else
22959 glibcxx_cv_func_finitef_use=no
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 ac_ext=c
22963 ac_cpp='$CPP $CPPFLAGS'
22964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22973 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22975 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22976 for ac_func in finitef
22977 do :
22978 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22979 if test "x$ac_cv_func_finitef" = x""yes; then :
22980 cat >>confdefs.h <<_ACEOF
22981 #define HAVE_FINITEF 1
22982 _ACEOF
22985 done
22987 else
22989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22990 $as_echo_n "checking for _finitef declaration... " >&6; }
22991 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22992 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22993 $as_echo_n "(cached) " >&6
22994 else
22997 ac_ext=cpp
22998 ac_cpp='$CXXCPP $CPPFLAGS'
22999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23005 #include <math.h>
23006 #ifdef HAVE_IEEEFP_H
23007 #include <ieeefp.h>
23008 #endif
23011 main ()
23013 _finitef(0);
23015 return 0;
23017 _ACEOF
23018 if ac_fn_cxx_try_compile "$LINENO"; then :
23019 glibcxx_cv_func__finitef_use=yes
23020 else
23021 glibcxx_cv_func__finitef_use=no
23023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23024 ac_ext=c
23025 ac_cpp='$CPP $CPPFLAGS'
23026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23035 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23037 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23038 for ac_func in _finitef
23039 do :
23040 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23041 if test "x$ac_cv_func__finitef" = x""yes; then :
23042 cat >>confdefs.h <<_ACEOF
23043 #define HAVE__FINITEF 1
23044 _ACEOF
23047 done
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23057 $as_echo_n "checking for long double trig functions... " >&6; }
23058 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23073 main ()
23075 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23077 return 0;
23079 _ACEOF
23080 if ac_fn_cxx_try_compile "$LINENO"; then :
23081 glibcxx_cv_func_long_double_trig_use=yes
23082 else
23083 glibcxx_cv_func_long_double_trig_use=no
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 ac_ext=c
23087 ac_cpp='$CPP $CPPFLAGS'
23088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23095 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23096 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23097 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23098 do :
23099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23101 eval as_val=\$$as_ac_var
23102 if test "x$as_val" = x""yes; then :
23103 cat >>confdefs.h <<_ACEOF
23104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23105 _ACEOF
23108 done
23110 else
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23112 $as_echo_n "checking for _long double trig functions... " >&6; }
23113 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23114 $as_echo_n "(cached) " >&6
23115 else
23118 ac_ext=cpp
23119 ac_cpp='$CXXCPP $CPPFLAGS'
23120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23125 /* end confdefs.h. */
23126 #include <math.h>
23128 main ()
23130 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23132 return 0;
23134 _ACEOF
23135 if ac_fn_cxx_try_compile "$LINENO"; then :
23136 glibcxx_cv_func__long_double_trig_use=yes
23137 else
23138 glibcxx_cv_func__long_double_trig_use=no
23140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 ac_ext=c
23142 ac_cpp='$CPP $CPPFLAGS'
23143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23150 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23151 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23152 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23153 do :
23154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23156 eval as_val=\$$as_ac_var
23157 if test "x$as_val" = x""yes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23160 _ACEOF
23163 done
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23173 $as_echo_n "checking for long double round functions... " >&6; }
23174 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23175 $as_echo_n "(cached) " >&6
23176 else
23179 ac_ext=cpp
23180 ac_cpp='$CXXCPP $CPPFLAGS'
23181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186 /* end confdefs.h. */
23187 #include <math.h>
23189 main ()
23191 ceill (0); floorl (0);
23193 return 0;
23195 _ACEOF
23196 if ac_fn_cxx_try_compile "$LINENO"; then :
23197 glibcxx_cv_func_long_double_round_use=yes
23198 else
23199 glibcxx_cv_func_long_double_round_use=no
23201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 ac_ext=c
23203 ac_cpp='$CPP $CPPFLAGS'
23204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23211 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23212 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23213 for ac_func in ceill floorl
23214 do :
23215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23217 eval as_val=\$$as_ac_var
23218 if test "x$as_val" = x""yes; then :
23219 cat >>confdefs.h <<_ACEOF
23220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221 _ACEOF
23224 done
23226 else
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23228 $as_echo_n "checking for _long double round functions... " >&6; }
23229 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23230 $as_echo_n "(cached) " >&6
23231 else
23234 ac_ext=cpp
23235 ac_cpp='$CXXCPP $CPPFLAGS'
23236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23242 #include <math.h>
23244 main ()
23246 _ceill (0); _floorl (0);
23248 return 0;
23250 _ACEOF
23251 if ac_fn_cxx_try_compile "$LINENO"; then :
23252 glibcxx_cv_func__long_double_round_use=yes
23253 else
23254 glibcxx_cv_func__long_double_round_use=no
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257 ac_ext=c
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23266 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23267 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23268 for ac_func in _ceill _floorl
23269 do :
23270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23272 eval as_val=\$$as_ac_var
23273 if test "x$as_val" = x""yes; then :
23274 cat >>confdefs.h <<_ACEOF
23275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23276 _ACEOF
23279 done
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23290 $as_echo_n "checking for isnanl declaration... " >&6; }
23291 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23292 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23293 $as_echo_n "(cached) " >&6
23294 else
23297 ac_ext=cpp
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23305 #include <math.h>
23306 #ifdef HAVE_IEEEFP_H
23307 #include <ieeefp.h>
23308 #endif
23311 main ()
23313 isnanl(0);
23315 return 0;
23317 _ACEOF
23318 if ac_fn_cxx_try_compile "$LINENO"; then :
23319 glibcxx_cv_func_isnanl_use=yes
23320 else
23321 glibcxx_cv_func_isnanl_use=no
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 ac_ext=c
23325 ac_cpp='$CPP $CPPFLAGS'
23326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23335 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23337 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23338 for ac_func in isnanl
23339 do :
23340 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23341 if test "x$ac_cv_func_isnanl" = x""yes; then :
23342 cat >>confdefs.h <<_ACEOF
23343 #define HAVE_ISNANL 1
23344 _ACEOF
23347 done
23349 else
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23352 $as_echo_n "checking for _isnanl declaration... " >&6; }
23353 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23354 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23355 $as_echo_n "(cached) " >&6
23356 else
23359 ac_ext=cpp
23360 ac_cpp='$CXXCPP $CPPFLAGS'
23361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23367 #include <math.h>
23368 #ifdef HAVE_IEEEFP_H
23369 #include <ieeefp.h>
23370 #endif
23373 main ()
23375 _isnanl(0);
23377 return 0;
23379 _ACEOF
23380 if ac_fn_cxx_try_compile "$LINENO"; then :
23381 glibcxx_cv_func__isnanl_use=yes
23382 else
23383 glibcxx_cv_func__isnanl_use=no
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 ac_ext=c
23387 ac_cpp='$CPP $CPPFLAGS'
23388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23397 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23399 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23400 for ac_func in _isnanl
23401 do :
23402 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23403 if test "x$ac_cv_func__isnanl" = x""yes; then :
23404 cat >>confdefs.h <<_ACEOF
23405 #define HAVE__ISNANL 1
23406 _ACEOF
23409 done
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23419 $as_echo_n "checking for isinfl declaration... " >&6; }
23420 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23421 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23422 $as_echo_n "(cached) " >&6
23423 else
23426 ac_ext=cpp
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23434 #include <math.h>
23435 #ifdef HAVE_IEEEFP_H
23436 #include <ieeefp.h>
23437 #endif
23440 main ()
23442 isinfl(0);
23444 return 0;
23446 _ACEOF
23447 if ac_fn_cxx_try_compile "$LINENO"; then :
23448 glibcxx_cv_func_isinfl_use=yes
23449 else
23450 glibcxx_cv_func_isinfl_use=no
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453 ac_ext=c
23454 ac_cpp='$CPP $CPPFLAGS'
23455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23464 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23466 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23467 for ac_func in isinfl
23468 do :
23469 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23470 if test "x$ac_cv_func_isinfl" = x""yes; then :
23471 cat >>confdefs.h <<_ACEOF
23472 #define HAVE_ISINFL 1
23473 _ACEOF
23476 done
23478 else
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23481 $as_echo_n "checking for _isinfl declaration... " >&6; }
23482 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23483 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23502 main ()
23504 _isinfl(0);
23506 return 0;
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func__isinfl_use=yes
23511 else
23512 glibcxx_cv_func__isinfl_use=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23526 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23528 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23529 for ac_func in _isinfl
23530 do :
23531 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23532 if test "x$ac_cv_func__isinfl" = x""yes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE__ISINFL 1
23535 _ACEOF
23538 done
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23548 $as_echo_n "checking for atan2l declaration... " >&6; }
23549 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23550 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23551 $as_echo_n "(cached) " >&6
23552 else
23555 ac_ext=cpp
23556 ac_cpp='$CXXCPP $CPPFLAGS'
23557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23562 /* end confdefs.h. */
23563 #include <math.h>
23565 main ()
23567 atan2l(0, 0);
23569 return 0;
23571 _ACEOF
23572 if ac_fn_cxx_try_compile "$LINENO"; then :
23573 glibcxx_cv_func_atan2l_use=yes
23574 else
23575 glibcxx_cv_func_atan2l_use=no
23577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23578 ac_ext=c
23579 ac_cpp='$CPP $CPPFLAGS'
23580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23589 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23591 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23592 for ac_func in atan2l
23593 do :
23594 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23595 if test "x$ac_cv_func_atan2l" = x""yes; then :
23596 cat >>confdefs.h <<_ACEOF
23597 #define HAVE_ATAN2L 1
23598 _ACEOF
23601 done
23603 else
23605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23606 $as_echo_n "checking for _atan2l declaration... " >&6; }
23607 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23608 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23609 $as_echo_n "(cached) " >&6
23610 else
23613 ac_ext=cpp
23614 ac_cpp='$CXXCPP $CPPFLAGS'
23615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23620 /* end confdefs.h. */
23621 #include <math.h>
23623 main ()
23625 _atan2l(0, 0);
23627 return 0;
23629 _ACEOF
23630 if ac_fn_cxx_try_compile "$LINENO"; then :
23631 glibcxx_cv_func__atan2l_use=yes
23632 else
23633 glibcxx_cv_func__atan2l_use=no
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23647 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23649 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23650 for ac_func in _atan2l
23651 do :
23652 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23653 if test "x$ac_cv_func__atan2l" = x""yes; then :
23654 cat >>confdefs.h <<_ACEOF
23655 #define HAVE__ATAN2L 1
23656 _ACEOF
23659 done
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23669 $as_echo_n "checking for expl declaration... " >&6; }
23670 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23671 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23672 $as_echo_n "(cached) " >&6
23673 else
23676 ac_ext=cpp
23677 ac_cpp='$CXXCPP $CPPFLAGS'
23678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23683 /* end confdefs.h. */
23684 #include <math.h>
23685 #ifdef HAVE_IEEEFP_H
23686 #include <ieeefp.h>
23687 #endif
23690 main ()
23692 expl(0);
23694 return 0;
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func_expl_use=yes
23699 else
23700 glibcxx_cv_func_expl_use=no
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23714 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23716 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23717 for ac_func in expl
23718 do :
23719 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23720 if test "x$ac_cv_func_expl" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_EXPL 1
23723 _ACEOF
23726 done
23728 else
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23731 $as_echo_n "checking for _expl declaration... " >&6; }
23732 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23733 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23734 $as_echo_n "(cached) " >&6
23735 else
23738 ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23746 #include <math.h>
23747 #ifdef HAVE_IEEEFP_H
23748 #include <ieeefp.h>
23749 #endif
23752 main ()
23754 _expl(0);
23756 return 0;
23758 _ACEOF
23759 if ac_fn_cxx_try_compile "$LINENO"; then :
23760 glibcxx_cv_func__expl_use=yes
23761 else
23762 glibcxx_cv_func__expl_use=no
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23776 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23778 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23779 for ac_func in _expl
23780 do :
23781 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23782 if test "x$ac_cv_func__expl" = x""yes; then :
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE__EXPL 1
23785 _ACEOF
23788 done
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23798 $as_echo_n "checking for fabsl declaration... " >&6; }
23799 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23800 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23801 $as_echo_n "(cached) " >&6
23802 else
23805 ac_ext=cpp
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23813 #include <math.h>
23814 #ifdef HAVE_IEEEFP_H
23815 #include <ieeefp.h>
23816 #endif
23819 main ()
23821 fabsl(0);
23823 return 0;
23825 _ACEOF
23826 if ac_fn_cxx_try_compile "$LINENO"; then :
23827 glibcxx_cv_func_fabsl_use=yes
23828 else
23829 glibcxx_cv_func_fabsl_use=no
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 ac_ext=c
23833 ac_cpp='$CPP $CPPFLAGS'
23834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23843 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23845 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23846 for ac_func in fabsl
23847 do :
23848 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23849 if test "x$ac_cv_func_fabsl" = x""yes; then :
23850 cat >>confdefs.h <<_ACEOF
23851 #define HAVE_FABSL 1
23852 _ACEOF
23855 done
23857 else
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23860 $as_echo_n "checking for _fabsl declaration... " >&6; }
23861 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23862 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23876 #ifdef HAVE_IEEEFP_H
23877 #include <ieeefp.h>
23878 #endif
23881 main ()
23883 _fabsl(0);
23885 return 0;
23887 _ACEOF
23888 if ac_fn_cxx_try_compile "$LINENO"; then :
23889 glibcxx_cv_func__fabsl_use=yes
23890 else
23891 glibcxx_cv_func__fabsl_use=no
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23905 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23907 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23908 for ac_func in _fabsl
23909 do :
23910 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23911 if test "x$ac_cv_func__fabsl" = x""yes; then :
23912 cat >>confdefs.h <<_ACEOF
23913 #define HAVE__FABSL 1
23914 _ACEOF
23917 done
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23927 $as_echo_n "checking for fmodl declaration... " >&6; }
23928 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23929 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23930 $as_echo_n "(cached) " >&6
23931 else
23934 ac_ext=cpp
23935 ac_cpp='$CXXCPP $CPPFLAGS'
23936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h. */
23942 #include <math.h>
23944 main ()
23946 fmodl(0, 0);
23948 return 0;
23950 _ACEOF
23951 if ac_fn_cxx_try_compile "$LINENO"; then :
23952 glibcxx_cv_func_fmodl_use=yes
23953 else
23954 glibcxx_cv_func_fmodl_use=no
23956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957 ac_ext=c
23958 ac_cpp='$CPP $CPPFLAGS'
23959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23968 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23970 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23971 for ac_func in fmodl
23972 do :
23973 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23974 if test "x$ac_cv_func_fmodl" = x""yes; then :
23975 cat >>confdefs.h <<_ACEOF
23976 #define HAVE_FMODL 1
23977 _ACEOF
23980 done
23982 else
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23985 $as_echo_n "checking for _fmodl declaration... " >&6; }
23986 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23987 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23989 else
23992 ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h. */
24000 #include <math.h>
24002 main ()
24004 _fmodl(0, 0);
24006 return 0;
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func__fmodl_use=yes
24011 else
24012 glibcxx_cv_func__fmodl_use=no
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24026 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24028 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24029 for ac_func in _fmodl
24030 do :
24031 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24032 if test "x$ac_cv_func__fmodl" = x""yes; then :
24033 cat >>confdefs.h <<_ACEOF
24034 #define HAVE__FMODL 1
24035 _ACEOF
24038 done
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24048 $as_echo_n "checking for frexpl declaration... " >&6; }
24049 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24050 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24051 $as_echo_n "(cached) " >&6
24052 else
24055 ac_ext=cpp
24056 ac_cpp='$CXXCPP $CPPFLAGS'
24057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24062 /* end confdefs.h. */
24063 #include <math.h>
24065 main ()
24067 frexpl(0, 0);
24069 return 0;
24071 _ACEOF
24072 if ac_fn_cxx_try_compile "$LINENO"; then :
24073 glibcxx_cv_func_frexpl_use=yes
24074 else
24075 glibcxx_cv_func_frexpl_use=no
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 ac_ext=c
24079 ac_cpp='$CPP $CPPFLAGS'
24080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24089 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24091 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24092 for ac_func in frexpl
24093 do :
24094 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24095 if test "x$ac_cv_func_frexpl" = x""yes; then :
24096 cat >>confdefs.h <<_ACEOF
24097 #define HAVE_FREXPL 1
24098 _ACEOF
24101 done
24103 else
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24106 $as_echo_n "checking for _frexpl declaration... " >&6; }
24107 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24108 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24109 $as_echo_n "(cached) " >&6
24110 else
24113 ac_ext=cpp
24114 ac_cpp='$CXXCPP $CPPFLAGS'
24115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24120 /* end confdefs.h. */
24121 #include <math.h>
24123 main ()
24125 _frexpl(0, 0);
24127 return 0;
24129 _ACEOF
24130 if ac_fn_cxx_try_compile "$LINENO"; then :
24131 glibcxx_cv_func__frexpl_use=yes
24132 else
24133 glibcxx_cv_func__frexpl_use=no
24135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24136 ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24147 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24149 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24150 for ac_func in _frexpl
24151 do :
24152 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24153 if test "x$ac_cv_func__frexpl" = x""yes; then :
24154 cat >>confdefs.h <<_ACEOF
24155 #define HAVE__FREXPL 1
24156 _ACEOF
24159 done
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24169 $as_echo_n "checking for hypotl declaration... " >&6; }
24170 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24171 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24173 else
24176 ac_ext=cpp
24177 ac_cpp='$CXXCPP $CPPFLAGS'
24178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h. */
24184 #include <math.h>
24186 main ()
24188 hypotl(0, 0);
24190 return 0;
24192 _ACEOF
24193 if ac_fn_cxx_try_compile "$LINENO"; then :
24194 glibcxx_cv_func_hypotl_use=yes
24195 else
24196 glibcxx_cv_func_hypotl_use=no
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_ext=c
24200 ac_cpp='$CPP $CPPFLAGS'
24201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24210 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24212 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24213 for ac_func in hypotl
24214 do :
24215 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24216 if test "x$ac_cv_func_hypotl" = x""yes; then :
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_HYPOTL 1
24219 _ACEOF
24222 done
24224 else
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24227 $as_echo_n "checking for _hypotl declaration... " >&6; }
24228 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24229 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24230 $as_echo_n "(cached) " >&6
24231 else
24234 ac_ext=cpp
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242 #include <math.h>
24244 main ()
24246 _hypotl(0, 0);
24248 return 0;
24250 _ACEOF
24251 if ac_fn_cxx_try_compile "$LINENO"; then :
24252 glibcxx_cv_func__hypotl_use=yes
24253 else
24254 glibcxx_cv_func__hypotl_use=no
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 ac_ext=c
24258 ac_cpp='$CPP $CPPFLAGS'
24259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24268 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24270 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24271 for ac_func in _hypotl
24272 do :
24273 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24274 if test "x$ac_cv_func__hypotl" = x""yes; then :
24275 cat >>confdefs.h <<_ACEOF
24276 #define HAVE__HYPOTL 1
24277 _ACEOF
24280 done
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24290 $as_echo_n "checking for ldexpl declaration... " >&6; }
24291 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24292 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24293 $as_echo_n "(cached) " >&6
24294 else
24297 ac_ext=cpp
24298 ac_cpp='$CXXCPP $CPPFLAGS'
24299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24305 #include <math.h>
24307 main ()
24309 ldexpl(0, 0);
24311 return 0;
24313 _ACEOF
24314 if ac_fn_cxx_try_compile "$LINENO"; then :
24315 glibcxx_cv_func_ldexpl_use=yes
24316 else
24317 glibcxx_cv_func_ldexpl_use=no
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 ac_ext=c
24321 ac_cpp='$CPP $CPPFLAGS'
24322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24331 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24333 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24334 for ac_func in ldexpl
24335 do :
24336 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24337 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24338 cat >>confdefs.h <<_ACEOF
24339 #define HAVE_LDEXPL 1
24340 _ACEOF
24343 done
24345 else
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24348 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24349 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24350 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24365 main ()
24367 _ldexpl(0, 0);
24369 return 0;
24371 _ACEOF
24372 if ac_fn_cxx_try_compile "$LINENO"; then :
24373 glibcxx_cv_func__ldexpl_use=yes
24374 else
24375 glibcxx_cv_func__ldexpl_use=no
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24389 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24391 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24392 for ac_func in _ldexpl
24393 do :
24394 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24395 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24396 cat >>confdefs.h <<_ACEOF
24397 #define HAVE__LDEXPL 1
24398 _ACEOF
24401 done
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24411 $as_echo_n "checking for logl declaration... " >&6; }
24412 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24413 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24414 $as_echo_n "(cached) " >&6
24415 else
24418 ac_ext=cpp
24419 ac_cpp='$CXXCPP $CPPFLAGS'
24420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24425 /* end confdefs.h. */
24426 #include <math.h>
24427 #ifdef HAVE_IEEEFP_H
24428 #include <ieeefp.h>
24429 #endif
24432 main ()
24434 logl(0);
24436 return 0;
24438 _ACEOF
24439 if ac_fn_cxx_try_compile "$LINENO"; then :
24440 glibcxx_cv_func_logl_use=yes
24441 else
24442 glibcxx_cv_func_logl_use=no
24444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24445 ac_ext=c
24446 ac_cpp='$CPP $CPPFLAGS'
24447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24456 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24458 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24459 for ac_func in logl
24460 do :
24461 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24462 if test "x$ac_cv_func_logl" = x""yes; then :
24463 cat >>confdefs.h <<_ACEOF
24464 #define HAVE_LOGL 1
24465 _ACEOF
24468 done
24470 else
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24473 $as_echo_n "checking for _logl declaration... " >&6; }
24474 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24475 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24476 $as_echo_n "(cached) " >&6
24477 else
24480 ac_ext=cpp
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24488 #include <math.h>
24489 #ifdef HAVE_IEEEFP_H
24490 #include <ieeefp.h>
24491 #endif
24494 main ()
24496 _logl(0);
24498 return 0;
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502 glibcxx_cv_func__logl_use=yes
24503 else
24504 glibcxx_cv_func__logl_use=no
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24518 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24520 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24521 for ac_func in _logl
24522 do :
24523 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24524 if test "x$ac_cv_func__logl" = x""yes; then :
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE__LOGL 1
24527 _ACEOF
24530 done
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24540 $as_echo_n "checking for log10l declaration... " >&6; }
24541 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24542 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24543 $as_echo_n "(cached) " >&6
24544 else
24547 ac_ext=cpp
24548 ac_cpp='$CXXCPP $CPPFLAGS'
24549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24554 /* end confdefs.h. */
24555 #include <math.h>
24556 #ifdef HAVE_IEEEFP_H
24557 #include <ieeefp.h>
24558 #endif
24561 main ()
24563 log10l(0);
24565 return 0;
24567 _ACEOF
24568 if ac_fn_cxx_try_compile "$LINENO"; then :
24569 glibcxx_cv_func_log10l_use=yes
24570 else
24571 glibcxx_cv_func_log10l_use=no
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574 ac_ext=c
24575 ac_cpp='$CPP $CPPFLAGS'
24576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24585 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24587 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24588 for ac_func in log10l
24589 do :
24590 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24591 if test "x$ac_cv_func_log10l" = x""yes; then :
24592 cat >>confdefs.h <<_ACEOF
24593 #define HAVE_LOG10L 1
24594 _ACEOF
24597 done
24599 else
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24602 $as_echo_n "checking for _log10l declaration... " >&6; }
24603 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24604 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24609 ac_ext=cpp
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617 #include <math.h>
24618 #ifdef HAVE_IEEEFP_H
24619 #include <ieeefp.h>
24620 #endif
24623 main ()
24625 _log10l(0);
24627 return 0;
24629 _ACEOF
24630 if ac_fn_cxx_try_compile "$LINENO"; then :
24631 glibcxx_cv_func__log10l_use=yes
24632 else
24633 glibcxx_cv_func__log10l_use=no
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 ac_ext=c
24637 ac_cpp='$CPP $CPPFLAGS'
24638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24647 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24649 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24650 for ac_func in _log10l
24651 do :
24652 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24653 if test "x$ac_cv_func__log10l" = x""yes; then :
24654 cat >>confdefs.h <<_ACEOF
24655 #define HAVE__LOG10L 1
24656 _ACEOF
24659 done
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24669 $as_echo_n "checking for modfl declaration... " >&6; }
24670 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24671 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24672 $as_echo_n "(cached) " >&6
24673 else
24676 ac_ext=cpp
24677 ac_cpp='$CXXCPP $CPPFLAGS'
24678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24683 /* end confdefs.h. */
24684 #include <math.h>
24686 main ()
24688 modfl(0, 0);
24690 return 0;
24692 _ACEOF
24693 if ac_fn_cxx_try_compile "$LINENO"; then :
24694 glibcxx_cv_func_modfl_use=yes
24695 else
24696 glibcxx_cv_func_modfl_use=no
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 ac_ext=c
24700 ac_cpp='$CPP $CPPFLAGS'
24701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24710 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24712 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24713 for ac_func in modfl
24714 do :
24715 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24716 if test "x$ac_cv_func_modfl" = x""yes; then :
24717 cat >>confdefs.h <<_ACEOF
24718 #define HAVE_MODFL 1
24719 _ACEOF
24722 done
24724 else
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24727 $as_echo_n "checking for _modfl declaration... " >&6; }
24728 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24729 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24734 ac_ext=cpp
24735 ac_cpp='$CXXCPP $CPPFLAGS'
24736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24741 /* end confdefs.h. */
24742 #include <math.h>
24744 main ()
24746 _modfl(0, 0);
24748 return 0;
24750 _ACEOF
24751 if ac_fn_cxx_try_compile "$LINENO"; then :
24752 glibcxx_cv_func__modfl_use=yes
24753 else
24754 glibcxx_cv_func__modfl_use=no
24756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757 ac_ext=c
24758 ac_cpp='$CPP $CPPFLAGS'
24759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24768 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24770 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24771 for ac_func in _modfl
24772 do :
24773 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24774 if test "x$ac_cv_func__modfl" = x""yes; then :
24775 cat >>confdefs.h <<_ACEOF
24776 #define HAVE__MODFL 1
24777 _ACEOF
24780 done
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24790 $as_echo_n "checking for powl declaration... " >&6; }
24791 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24792 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24793 $as_echo_n "(cached) " >&6
24794 else
24797 ac_ext=cpp
24798 ac_cpp='$CXXCPP $CPPFLAGS'
24799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h. */
24805 #include <math.h>
24807 main ()
24809 powl(0, 0);
24811 return 0;
24813 _ACEOF
24814 if ac_fn_cxx_try_compile "$LINENO"; then :
24815 glibcxx_cv_func_powl_use=yes
24816 else
24817 glibcxx_cv_func_powl_use=no
24819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24820 ac_ext=c
24821 ac_cpp='$CPP $CPPFLAGS'
24822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24831 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24833 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24834 for ac_func in powl
24835 do :
24836 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24837 if test "x$ac_cv_func_powl" = x""yes; then :
24838 cat >>confdefs.h <<_ACEOF
24839 #define HAVE_POWL 1
24840 _ACEOF
24843 done
24845 else
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24848 $as_echo_n "checking for _powl declaration... " >&6; }
24849 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24850 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24851 $as_echo_n "(cached) " >&6
24852 else
24855 ac_ext=cpp
24856 ac_cpp='$CXXCPP $CPPFLAGS'
24857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24862 /* end confdefs.h. */
24863 #include <math.h>
24865 main ()
24867 _powl(0, 0);
24869 return 0;
24871 _ACEOF
24872 if ac_fn_cxx_try_compile "$LINENO"; then :
24873 glibcxx_cv_func__powl_use=yes
24874 else
24875 glibcxx_cv_func__powl_use=no
24877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24878 ac_ext=c
24879 ac_cpp='$CPP $CPPFLAGS'
24880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24889 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24891 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24892 for ac_func in _powl
24893 do :
24894 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24895 if test "x$ac_cv_func__powl" = x""yes; then :
24896 cat >>confdefs.h <<_ACEOF
24897 #define HAVE__POWL 1
24898 _ACEOF
24901 done
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24911 $as_echo_n "checking for sqrtl declaration... " >&6; }
24912 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24913 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24914 $as_echo_n "(cached) " >&6
24915 else
24918 ac_ext=cpp
24919 ac_cpp='$CXXCPP $CPPFLAGS'
24920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24925 /* end confdefs.h. */
24926 #include <math.h>
24927 #ifdef HAVE_IEEEFP_H
24928 #include <ieeefp.h>
24929 #endif
24932 main ()
24934 sqrtl(0);
24936 return 0;
24938 _ACEOF
24939 if ac_fn_cxx_try_compile "$LINENO"; then :
24940 glibcxx_cv_func_sqrtl_use=yes
24941 else
24942 glibcxx_cv_func_sqrtl_use=no
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24945 ac_ext=c
24946 ac_cpp='$CPP $CPPFLAGS'
24947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24956 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24958 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24959 for ac_func in sqrtl
24960 do :
24961 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24962 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24963 cat >>confdefs.h <<_ACEOF
24964 #define HAVE_SQRTL 1
24965 _ACEOF
24968 done
24970 else
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24973 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24974 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24975 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24976 $as_echo_n "(cached) " >&6
24977 else
24980 ac_ext=cpp
24981 ac_cpp='$CXXCPP $CPPFLAGS'
24982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24988 #include <math.h>
24989 #ifdef HAVE_IEEEFP_H
24990 #include <ieeefp.h>
24991 #endif
24994 main ()
24996 _sqrtl(0);
24998 return 0;
25000 _ACEOF
25001 if ac_fn_cxx_try_compile "$LINENO"; then :
25002 glibcxx_cv_func__sqrtl_use=yes
25003 else
25004 glibcxx_cv_func__sqrtl_use=no
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 ac_ext=c
25008 ac_cpp='$CPP $CPPFLAGS'
25009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25018 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25020 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25021 for ac_func in _sqrtl
25022 do :
25023 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25024 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25025 cat >>confdefs.h <<_ACEOF
25026 #define HAVE__SQRTL 1
25027 _ACEOF
25030 done
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25040 $as_echo_n "checking for sincosl declaration... " >&6; }
25041 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25042 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25043 $as_echo_n "(cached) " >&6
25044 else
25047 ac_ext=cpp
25048 ac_cpp='$CXXCPP $CPPFLAGS'
25049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25054 /* end confdefs.h. */
25055 #include <math.h>
25057 main ()
25059 sincosl(0, 0, 0);
25061 return 0;
25063 _ACEOF
25064 if ac_fn_cxx_try_compile "$LINENO"; then :
25065 glibcxx_cv_func_sincosl_use=yes
25066 else
25067 glibcxx_cv_func_sincosl_use=no
25069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25070 ac_ext=c
25071 ac_cpp='$CPP $CPPFLAGS'
25072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25081 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25083 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25084 for ac_func in sincosl
25085 do :
25086 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25087 if test "x$ac_cv_func_sincosl" = x""yes; then :
25088 cat >>confdefs.h <<_ACEOF
25089 #define HAVE_SINCOSL 1
25090 _ACEOF
25093 done
25095 else
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25098 $as_echo_n "checking for _sincosl declaration... " >&6; }
25099 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25100 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25105 ac_ext=cpp
25106 ac_cpp='$CXXCPP $CPPFLAGS'
25107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h. */
25113 #include <math.h>
25115 main ()
25117 _sincosl(0, 0, 0);
25119 return 0;
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123 glibcxx_cv_func__sincosl_use=yes
25124 else
25125 glibcxx_cv_func__sincosl_use=no
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25139 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25141 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25142 for ac_func in _sincosl
25143 do :
25144 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25145 if test "x$ac_cv_func__sincosl" = x""yes; then :
25146 cat >>confdefs.h <<_ACEOF
25147 #define HAVE__SINCOSL 1
25148 _ACEOF
25151 done
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25161 $as_echo_n "checking for finitel declaration... " >&6; }
25162 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25163 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25164 $as_echo_n "(cached) " >&6
25165 else
25168 ac_ext=cpp
25169 ac_cpp='$CXXCPP $CPPFLAGS'
25170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25176 #include <math.h>
25177 #ifdef HAVE_IEEEFP_H
25178 #include <ieeefp.h>
25179 #endif
25182 main ()
25184 finitel(0);
25186 return 0;
25188 _ACEOF
25189 if ac_fn_cxx_try_compile "$LINENO"; then :
25190 glibcxx_cv_func_finitel_use=yes
25191 else
25192 glibcxx_cv_func_finitel_use=no
25194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25195 ac_ext=c
25196 ac_cpp='$CPP $CPPFLAGS'
25197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25206 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25208 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25209 for ac_func in finitel
25210 do :
25211 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25212 if test "x$ac_cv_func_finitel" = x""yes; then :
25213 cat >>confdefs.h <<_ACEOF
25214 #define HAVE_FINITEL 1
25215 _ACEOF
25218 done
25220 else
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25223 $as_echo_n "checking for _finitel declaration... " >&6; }
25224 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25225 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25239 #ifdef HAVE_IEEEFP_H
25240 #include <ieeefp.h>
25241 #endif
25244 main ()
25246 _finitel(0);
25248 return 0;
25250 _ACEOF
25251 if ac_fn_cxx_try_compile "$LINENO"; then :
25252 glibcxx_cv_func__finitel_use=yes
25253 else
25254 glibcxx_cv_func__finitel_use=no
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 ac_ext=c
25258 ac_cpp='$CPP $CPPFLAGS'
25259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25268 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25270 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25271 for ac_func in _finitel
25272 do :
25273 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25274 if test "x$ac_cv_func__finitel" = x""yes; then :
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE__FINITEL 1
25277 _ACEOF
25280 done
25288 LIBS="$ac_save_LIBS"
25289 CXXFLAGS="$ac_save_CXXFLAGS"
25292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25293 ac_save_CXXFLAGS="$CXXFLAGS"
25294 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25298 $as_echo_n "checking for strtold declaration... " >&6; }
25299 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25300 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25305 ac_ext=cpp
25306 ac_cpp='$CXXCPP $CPPFLAGS'
25307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313 #include <stdlib.h>
25315 main ()
25317 strtold(0, 0);
25319 return 0;
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func_strtold_use=yes
25324 else
25325 glibcxx_cv_func_strtold_use=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25339 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25340 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25341 for ac_func in strtold
25342 do :
25343 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25344 if test "x$ac_cv_func_strtold" = x""yes; then :
25345 cat >>confdefs.h <<_ACEOF
25346 #define HAVE_STRTOLD 1
25347 _ACEOF
25350 done
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25358 $as_echo_n "checking for strtof declaration... " >&6; }
25359 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25360 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25361 $as_echo_n "(cached) " >&6
25362 else
25365 ac_ext=cpp
25366 ac_cpp='$CXXCPP $CPPFLAGS'
25367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25372 /* end confdefs.h. */
25373 #include <stdlib.h>
25375 main ()
25377 strtof(0, 0);
25379 return 0;
25381 _ACEOF
25382 if ac_fn_cxx_try_compile "$LINENO"; then :
25383 glibcxx_cv_func_strtof_use=yes
25384 else
25385 glibcxx_cv_func_strtof_use=no
25387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25388 ac_ext=c
25389 ac_cpp='$CPP $CPPFLAGS'
25390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25399 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25400 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25401 for ac_func in strtof
25402 do :
25403 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25404 if test "x$ac_cv_func_strtof" = x""yes; then :
25405 cat >>confdefs.h <<_ACEOF
25406 #define HAVE_STRTOF 1
25407 _ACEOF
25410 done
25417 CXXFLAGS="$ac_save_CXXFLAGS"
25420 # For /dev/random and /dev/urandom for TR1.
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25424 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25425 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25429 if test -r /dev/random && test -r /dev/urandom; then
25430 glibcxx_cv_random_tr1=yes;
25431 else
25432 glibcxx_cv_random_tr1=no;
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25438 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25440 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25442 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25448 # For TLS support.
25451 # Check whether --enable-tls was given.
25452 if test "${enable_tls+set}" = set; then :
25453 enableval=$enable_tls;
25454 case "$enableval" in
25455 yes|no) ;;
25456 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25457 esac
25459 else
25460 enable_tls=yes
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25465 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25466 if test "${gcc_cv_have_tls+set}" = set; then :
25467 $as_echo_n "(cached) " >&6
25468 else
25470 if test "$cross_compiling" = yes; then :
25471 if test x$gcc_no_link = xyes; then
25472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25475 /* end confdefs.h. */
25476 __thread int a; int b; int main() { return a = b; }
25477 _ACEOF
25478 if ac_fn_c_try_link "$LINENO"; then :
25479 chktls_save_LDFLAGS="$LDFLAGS"
25480 case $host in
25481 *-*-linux*)
25482 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25484 esac
25485 chktls_save_CFLAGS="$CFLAGS"
25486 CFLAGS="-fPIC $CFLAGS"
25487 if test x$gcc_no_link = xyes; then
25488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 int f() { return 0; }
25493 _ACEOF
25494 if ac_fn_c_try_link "$LINENO"; then :
25495 if test x$gcc_no_link = xyes; then
25496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25500 __thread int a; int b; int f() { return a = b; }
25501 _ACEOF
25502 if ac_fn_c_try_link "$LINENO"; then :
25503 gcc_cv_have_tls=yes
25504 else
25505 gcc_cv_have_tls=no
25507 rm -f core conftest.err conftest.$ac_objext \
25508 conftest$ac_exeext conftest.$ac_ext
25509 else
25510 gcc_cv_have_tls=yes
25512 rm -f core conftest.err conftest.$ac_objext \
25513 conftest$ac_exeext conftest.$ac_ext
25514 CFLAGS="$chktls_save_CFLAGS"
25515 LDFLAGS="$chktls_save_LDFLAGS"
25516 else
25517 gcc_cv_have_tls=no
25519 rm -f core conftest.err conftest.$ac_objext \
25520 conftest$ac_exeext conftest.$ac_ext
25523 else
25524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25525 /* end confdefs.h. */
25526 __thread int a; int b; int main() { return a = b; }
25527 _ACEOF
25528 if ac_fn_c_try_run "$LINENO"; then :
25529 chktls_save_LDFLAGS="$LDFLAGS"
25530 LDFLAGS="-static $LDFLAGS"
25531 if test x$gcc_no_link = xyes; then
25532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25535 /* end confdefs.h. */
25536 int main() { return 0; }
25537 _ACEOF
25538 if ac_fn_c_try_link "$LINENO"; then :
25539 if test "$cross_compiling" = yes; then :
25540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25542 as_fn_error "cannot run test program while cross compiling
25543 See \`config.log' for more details." "$LINENO" 5; }
25544 else
25545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25546 /* end confdefs.h. */
25547 __thread int a; int b; int main() { return a = b; }
25548 _ACEOF
25549 if ac_fn_c_try_run "$LINENO"; then :
25550 gcc_cv_have_tls=yes
25551 else
25552 gcc_cv_have_tls=no
25554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25555 conftest.$ac_objext conftest.beam conftest.$ac_ext
25558 else
25559 gcc_cv_have_tls=yes
25561 rm -f core conftest.err conftest.$ac_objext \
25562 conftest$ac_exeext conftest.$ac_ext
25563 LDFLAGS="$chktls_save_LDFLAGS"
25564 if test $gcc_cv_have_tls = yes; then
25565 chktls_save_CFLAGS="$CFLAGS"
25566 thread_CFLAGS=failed
25567 for flag in '' '-pthread' '-lpthread'; do
25568 CFLAGS="$flag $chktls_save_CFLAGS"
25569 if test x$gcc_no_link = xyes; then
25570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <pthread.h>
25575 void *g(void *d) { return NULL; }
25577 main ()
25579 pthread_t t; pthread_create(&t,NULL,g,NULL);
25581 return 0;
25583 _ACEOF
25584 if ac_fn_c_try_link "$LINENO"; then :
25585 thread_CFLAGS="$flag"
25587 rm -f core conftest.err conftest.$ac_objext \
25588 conftest$ac_exeext conftest.$ac_ext
25589 if test "X$thread_CFLAGS" != Xfailed; then
25590 break
25592 done
25593 CFLAGS="$chktls_save_CFLAGS"
25594 if test "X$thread_CFLAGS" != Xfailed; then
25595 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25596 if test "$cross_compiling" = yes; then :
25597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25599 as_fn_error "cannot run test program while cross compiling
25600 See \`config.log' for more details." "$LINENO" 5; }
25601 else
25602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25603 /* end confdefs.h. */
25604 #include <pthread.h>
25605 __thread int a;
25606 static int *volatile a_in_other_thread;
25607 static void *
25608 thread_func (void *arg)
25610 a_in_other_thread = &a;
25611 return (void *)0;
25614 main ()
25616 pthread_t thread;
25617 void *thread_retval;
25618 int *volatile a_in_main_thread;
25619 a_in_main_thread = &a;
25620 if (pthread_create (&thread, (pthread_attr_t *)0,
25621 thread_func, (void *)0))
25622 return 0;
25623 if (pthread_join (thread, &thread_retval))
25624 return 0;
25625 return (a_in_other_thread == a_in_main_thread);
25627 return 0;
25629 _ACEOF
25630 if ac_fn_c_try_run "$LINENO"; then :
25631 gcc_cv_have_tls=yes
25632 else
25633 gcc_cv_have_tls=no
25635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25636 conftest.$ac_objext conftest.beam conftest.$ac_ext
25639 CFLAGS="$chktls_save_CFLAGS"
25642 else
25643 gcc_cv_have_tls=no
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25646 conftest.$ac_objext conftest.beam conftest.$ac_ext
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25651 $as_echo "$gcc_cv_have_tls" >&6; }
25652 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25654 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25658 # For iconv support.
25660 if test "X$prefix" = "XNONE"; then
25661 acl_final_prefix="$ac_default_prefix"
25662 else
25663 acl_final_prefix="$prefix"
25665 if test "X$exec_prefix" = "XNONE"; then
25666 acl_final_exec_prefix='${prefix}'
25667 else
25668 acl_final_exec_prefix="$exec_prefix"
25670 acl_save_prefix="$prefix"
25671 prefix="$acl_final_prefix"
25672 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25673 prefix="$acl_save_prefix"
25676 # Check whether --with-gnu-ld was given.
25677 if test "${with_gnu_ld+set}" = set; then :
25678 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25679 else
25680 with_gnu_ld=no
25683 # Prepare PATH_SEPARATOR.
25684 # The user is always right.
25685 if test "${PATH_SEPARATOR+set}" != set; then
25686 echo "#! /bin/sh" >conf$$.sh
25687 echo "exit 0" >>conf$$.sh
25688 chmod +x conf$$.sh
25689 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25690 PATH_SEPARATOR=';'
25691 else
25692 PATH_SEPARATOR=:
25694 rm -f conf$$.sh
25696 ac_prog=ld
25697 if test "$GCC" = yes; then
25698 # Check if gcc -print-prog-name=ld gives a path.
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25700 $as_echo_n "checking for ld used by GCC... " >&6; }
25701 case $host in
25702 *-*-mingw*)
25703 # gcc leaves a trailing carriage return which upsets mingw
25704 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25706 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25707 esac
25708 case $ac_prog in
25709 # Accept absolute paths.
25710 [\\/]* | [A-Za-z]:[\\/]*)
25711 re_direlt='/[^/][^/]*/\.\./'
25712 # Canonicalize the path of ld
25713 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25714 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25715 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25716 done
25717 test -z "$LD" && LD="$ac_prog"
25720 # If it fails, then pretend we aren't using GCC.
25721 ac_prog=ld
25724 # If it is relative, then search for the first ld in PATH.
25725 with_gnu_ld=unknown
25727 esac
25728 elif test "$with_gnu_ld" = yes; then
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25730 $as_echo_n "checking for GNU ld... " >&6; }
25731 else
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25733 $as_echo_n "checking for non-GNU ld... " >&6; }
25735 if test "${acl_cv_path_LD+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25738 if test -z "$LD"; then
25739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25740 for ac_dir in $PATH; do
25741 test -z "$ac_dir" && ac_dir=.
25742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25743 acl_cv_path_LD="$ac_dir/$ac_prog"
25744 # Check to see if the program is GNU ld. I'd rather use --version,
25745 # but apparently some GNU ld's only accept -v.
25746 # Break only if it was the GNU/non-GNU ld that we prefer.
25747 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25748 test "$with_gnu_ld" != no && break
25749 else
25750 test "$with_gnu_ld" != yes && break
25753 done
25754 IFS="$ac_save_ifs"
25755 else
25756 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25760 LD="$acl_cv_path_LD"
25761 if test -n "$LD"; then
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25763 $as_echo "$LD" >&6; }
25764 else
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25766 $as_echo "no" >&6; }
25768 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25770 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25771 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25772 $as_echo_n "(cached) " >&6
25773 else
25774 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25775 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25776 acl_cv_prog_gnu_ld=yes
25777 else
25778 acl_cv_prog_gnu_ld=no
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25782 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25783 with_gnu_ld=$acl_cv_prog_gnu_ld
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25788 $as_echo_n "checking for shared library run path origin... " >&6; }
25789 if test "${acl_cv_rpath+set}" = set; then :
25790 $as_echo_n "(cached) " >&6
25791 else
25793 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25794 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25795 . ./conftest.sh
25796 rm -f ./conftest.sh
25797 acl_cv_rpath=done
25800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25801 $as_echo "$acl_cv_rpath" >&6; }
25802 wl="$acl_cv_wl"
25803 libext="$acl_cv_libext"
25804 shlibext="$acl_cv_shlibext"
25805 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25806 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25807 hardcode_direct="$acl_cv_hardcode_direct"
25808 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25809 # Check whether --enable-rpath was given.
25810 if test "${enable_rpath+set}" = set; then :
25811 enableval=$enable_rpath; :
25812 else
25813 enable_rpath=yes
25823 use_additional=yes
25825 acl_save_prefix="$prefix"
25826 prefix="$acl_final_prefix"
25827 acl_save_exec_prefix="$exec_prefix"
25828 exec_prefix="$acl_final_exec_prefix"
25830 eval additional_includedir=\"$includedir\"
25831 eval additional_libdir=\"$libdir\"
25833 exec_prefix="$acl_save_exec_prefix"
25834 prefix="$acl_save_prefix"
25837 # Check whether --with-libiconv-prefix was given.
25838 if test "${with_libiconv_prefix+set}" = set; then :
25839 withval=$with_libiconv_prefix;
25840 if test "X$withval" = "Xno"; then
25841 use_additional=no
25842 else
25843 if test "X$withval" = "X"; then
25845 acl_save_prefix="$prefix"
25846 prefix="$acl_final_prefix"
25847 acl_save_exec_prefix="$exec_prefix"
25848 exec_prefix="$acl_final_exec_prefix"
25850 eval additional_includedir=\"$includedir\"
25851 eval additional_libdir=\"$libdir\"
25853 exec_prefix="$acl_save_exec_prefix"
25854 prefix="$acl_save_prefix"
25856 else
25857 additional_includedir="$withval/include"
25858 additional_libdir="$withval/lib"
25864 LIBICONV=
25865 LTLIBICONV=
25866 INCICONV=
25867 rpathdirs=
25868 ltrpathdirs=
25869 names_already_handled=
25870 names_next_round='iconv '
25871 while test -n "$names_next_round"; do
25872 names_this_round="$names_next_round"
25873 names_next_round=
25874 for name in $names_this_round; do
25875 already_handled=
25876 for n in $names_already_handled; do
25877 if test "$n" = "$name"; then
25878 already_handled=yes
25879 break
25881 done
25882 if test -z "$already_handled"; then
25883 names_already_handled="$names_already_handled $name"
25884 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25885 eval value=\"\$HAVE_LIB$uppername\"
25886 if test -n "$value"; then
25887 if test "$value" = yes; then
25888 eval value=\"\$LIB$uppername\"
25889 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25890 eval value=\"\$LTLIB$uppername\"
25891 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25892 else
25895 else
25896 found_dir=
25897 found_la=
25898 found_so=
25899 found_a=
25900 if test $use_additional = yes; then
25901 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25902 found_dir="$additional_libdir"
25903 found_so="$additional_libdir/lib$name.$shlibext"
25904 if test -f "$additional_libdir/lib$name.la"; then
25905 found_la="$additional_libdir/lib$name.la"
25907 else
25908 if test -f "$additional_libdir/lib$name.$libext"; then
25909 found_dir="$additional_libdir"
25910 found_a="$additional_libdir/lib$name.$libext"
25911 if test -f "$additional_libdir/lib$name.la"; then
25912 found_la="$additional_libdir/lib$name.la"
25917 if test "X$found_dir" = "X"; then
25918 for x in $LDFLAGS $LTLIBICONV; do
25920 acl_save_prefix="$prefix"
25921 prefix="$acl_final_prefix"
25922 acl_save_exec_prefix="$exec_prefix"
25923 exec_prefix="$acl_final_exec_prefix"
25924 eval x=\"$x\"
25925 exec_prefix="$acl_save_exec_prefix"
25926 prefix="$acl_save_prefix"
25928 case "$x" in
25929 -L*)
25930 dir=`echo "X$x" | sed -e 's/^X-L//'`
25931 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25932 found_dir="$dir"
25933 found_so="$dir/lib$name.$shlibext"
25934 if test -f "$dir/lib$name.la"; then
25935 found_la="$dir/lib$name.la"
25937 else
25938 if test -f "$dir/lib$name.$libext"; then
25939 found_dir="$dir"
25940 found_a="$dir/lib$name.$libext"
25941 if test -f "$dir/lib$name.la"; then
25942 found_la="$dir/lib$name.la"
25947 esac
25948 if test "X$found_dir" != "X"; then
25949 break
25951 done
25953 if test "X$found_dir" != "X"; then
25954 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25955 if test "X$found_so" != "X"; then
25956 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25957 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25958 else
25959 haveit=
25960 for x in $ltrpathdirs; do
25961 if test "X$x" = "X$found_dir"; then
25962 haveit=yes
25963 break
25965 done
25966 if test -z "$haveit"; then
25967 ltrpathdirs="$ltrpathdirs $found_dir"
25969 if test "$hardcode_direct" = yes; then
25970 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25971 else
25972 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25973 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25974 haveit=
25975 for x in $rpathdirs; do
25976 if test "X$x" = "X$found_dir"; then
25977 haveit=yes
25978 break
25980 done
25981 if test -z "$haveit"; then
25982 rpathdirs="$rpathdirs $found_dir"
25984 else
25985 haveit=
25986 for x in $LDFLAGS $LIBICONV; do
25988 acl_save_prefix="$prefix"
25989 prefix="$acl_final_prefix"
25990 acl_save_exec_prefix="$exec_prefix"
25991 exec_prefix="$acl_final_exec_prefix"
25992 eval x=\"$x\"
25993 exec_prefix="$acl_save_exec_prefix"
25994 prefix="$acl_save_prefix"
25996 if test "X$x" = "X-L$found_dir"; then
25997 haveit=yes
25998 break
26000 done
26001 if test -z "$haveit"; then
26002 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26004 if test "$hardcode_minus_L" != no; then
26005 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26006 else
26007 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26012 else
26013 if test "X$found_a" != "X"; then
26014 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26015 else
26016 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26019 additional_includedir=
26020 case "$found_dir" in
26021 */lib | */lib/)
26022 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26023 additional_includedir="$basedir/include"
26025 esac
26026 if test "X$additional_includedir" != "X"; then
26027 if test "X$additional_includedir" != "X/usr/include"; then
26028 haveit=
26029 if test "X$additional_includedir" = "X/usr/local/include"; then
26030 if test -n "$GCC"; then
26031 case $host_os in
26032 linux*) haveit=yes;;
26033 esac
26036 if test -z "$haveit"; then
26037 for x in $CPPFLAGS $INCICONV; do
26039 acl_save_prefix="$prefix"
26040 prefix="$acl_final_prefix"
26041 acl_save_exec_prefix="$exec_prefix"
26042 exec_prefix="$acl_final_exec_prefix"
26043 eval x=\"$x\"
26044 exec_prefix="$acl_save_exec_prefix"
26045 prefix="$acl_save_prefix"
26047 if test "X$x" = "X-I$additional_includedir"; then
26048 haveit=yes
26049 break
26051 done
26052 if test -z "$haveit"; then
26053 if test -d "$additional_includedir"; then
26054 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26060 if test -n "$found_la"; then
26061 save_libdir="$libdir"
26062 case "$found_la" in
26063 */* | *\\*) . "$found_la" ;;
26064 *) . "./$found_la" ;;
26065 esac
26066 libdir="$save_libdir"
26067 for dep in $dependency_libs; do
26068 case "$dep" in
26069 -L*)
26070 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26071 if test "X$additional_libdir" != "X/usr/lib"; then
26072 haveit=
26073 if test "X$additional_libdir" = "X/usr/local/lib"; then
26074 if test -n "$GCC"; then
26075 case $host_os in
26076 linux*) haveit=yes;;
26077 esac
26080 if test -z "$haveit"; then
26081 haveit=
26082 for x in $LDFLAGS $LIBICONV; do
26084 acl_save_prefix="$prefix"
26085 prefix="$acl_final_prefix"
26086 acl_save_exec_prefix="$exec_prefix"
26087 exec_prefix="$acl_final_exec_prefix"
26088 eval x=\"$x\"
26089 exec_prefix="$acl_save_exec_prefix"
26090 prefix="$acl_save_prefix"
26092 if test "X$x" = "X-L$additional_libdir"; then
26093 haveit=yes
26094 break
26096 done
26097 if test -z "$haveit"; then
26098 if test -d "$additional_libdir"; then
26099 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26102 haveit=
26103 for x in $LDFLAGS $LTLIBICONV; do
26105 acl_save_prefix="$prefix"
26106 prefix="$acl_final_prefix"
26107 acl_save_exec_prefix="$exec_prefix"
26108 exec_prefix="$acl_final_exec_prefix"
26109 eval x=\"$x\"
26110 exec_prefix="$acl_save_exec_prefix"
26111 prefix="$acl_save_prefix"
26113 if test "X$x" = "X-L$additional_libdir"; then
26114 haveit=yes
26115 break
26117 done
26118 if test -z "$haveit"; then
26119 if test -d "$additional_libdir"; then
26120 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26126 -R*)
26127 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26128 if test "$enable_rpath" != no; then
26129 haveit=
26130 for x in $rpathdirs; do
26131 if test "X$x" = "X$dir"; then
26132 haveit=yes
26133 break
26135 done
26136 if test -z "$haveit"; then
26137 rpathdirs="$rpathdirs $dir"
26139 haveit=
26140 for x in $ltrpathdirs; do
26141 if test "X$x" = "X$dir"; then
26142 haveit=yes
26143 break
26145 done
26146 if test -z "$haveit"; then
26147 ltrpathdirs="$ltrpathdirs $dir"
26151 -l*)
26152 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26154 *.la)
26155 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26158 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26159 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26161 esac
26162 done
26164 else
26165 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26166 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26170 done
26171 done
26172 if test "X$rpathdirs" != "X"; then
26173 if test -n "$hardcode_libdir_separator"; then
26174 alldirs=
26175 for found_dir in $rpathdirs; do
26176 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26177 done
26178 acl_save_libdir="$libdir"
26179 libdir="$alldirs"
26180 eval flag=\"$hardcode_libdir_flag_spec\"
26181 libdir="$acl_save_libdir"
26182 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26183 else
26184 for found_dir in $rpathdirs; do
26185 acl_save_libdir="$libdir"
26186 libdir="$found_dir"
26187 eval flag=\"$hardcode_libdir_flag_spec\"
26188 libdir="$acl_save_libdir"
26189 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26190 done
26193 if test "X$ltrpathdirs" != "X"; then
26194 for found_dir in $ltrpathdirs; do
26195 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26196 done
26205 am_save_CPPFLAGS="$CPPFLAGS"
26207 for element in $INCICONV; do
26208 haveit=
26209 for x in $CPPFLAGS; do
26211 acl_save_prefix="$prefix"
26212 prefix="$acl_final_prefix"
26213 acl_save_exec_prefix="$exec_prefix"
26214 exec_prefix="$acl_final_exec_prefix"
26215 eval x=\"$x\"
26216 exec_prefix="$acl_save_exec_prefix"
26217 prefix="$acl_save_prefix"
26219 if test "X$x" = "X$element"; then
26220 haveit=yes
26221 break
26223 done
26224 if test -z "$haveit"; then
26225 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26227 done
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26231 $as_echo_n "checking for iconv... " >&6; }
26232 if test "${am_cv_func_iconv+set}" = set; then :
26233 $as_echo_n "(cached) " >&6
26234 else
26236 am_cv_func_iconv="no, consider installing GNU libiconv"
26237 am_cv_lib_iconv=no
26238 if test x$gcc_no_link = xyes; then
26239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26243 #include <stdlib.h>
26244 #include <iconv.h>
26246 main ()
26248 iconv_t cd = iconv_open("","");
26249 iconv(cd,NULL,NULL,NULL,NULL);
26250 iconv_close(cd);
26252 return 0;
26254 _ACEOF
26255 if ac_fn_c_try_link "$LINENO"; then :
26256 am_cv_func_iconv=yes
26258 rm -f core conftest.err conftest.$ac_objext \
26259 conftest$ac_exeext conftest.$ac_ext
26260 if test "$am_cv_func_iconv" != yes; then
26261 am_save_LIBS="$LIBS"
26262 LIBS="$LIBS $LIBICONV"
26263 if test x$gcc_no_link = xyes; then
26264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26267 /* end confdefs.h. */
26268 #include <stdlib.h>
26269 #include <iconv.h>
26271 main ()
26273 iconv_t cd = iconv_open("","");
26274 iconv(cd,NULL,NULL,NULL,NULL);
26275 iconv_close(cd);
26277 return 0;
26279 _ACEOF
26280 if ac_fn_c_try_link "$LINENO"; then :
26281 am_cv_lib_iconv=yes
26282 am_cv_func_iconv=yes
26284 rm -f core conftest.err conftest.$ac_objext \
26285 conftest$ac_exeext conftest.$ac_ext
26286 LIBS="$am_save_LIBS"
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26291 $as_echo "$am_cv_func_iconv" >&6; }
26292 if test "$am_cv_func_iconv" = yes; then
26294 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26297 if test "$am_cv_lib_iconv" = yes; then
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26299 $as_echo_n "checking how to link with libiconv... " >&6; }
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26301 $as_echo "$LIBICONV" >&6; }
26302 else
26303 CPPFLAGS="$am_save_CPPFLAGS"
26304 LIBICONV=
26305 LTLIBICONV=
26310 if test "$am_cv_func_iconv" = yes; then
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26312 $as_echo_n "checking for iconv declaration... " >&6; }
26313 if test "${am_cv_proto_iconv+set}" = set; then :
26314 $as_echo_n "(cached) " >&6
26315 else
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26320 #include <stdlib.h>
26321 #include <iconv.h>
26322 extern
26323 #ifdef __cplusplus
26325 #endif
26326 #if defined(__STDC__) || defined(__cplusplus)
26327 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26328 #else
26329 size_t iconv();
26330 #endif
26333 main ()
26337 return 0;
26339 _ACEOF
26340 if ac_fn_c_try_compile "$LINENO"; then :
26341 am_cv_proto_iconv_arg1=""
26342 else
26343 am_cv_proto_iconv_arg1="const"
26345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26346 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);"
26349 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26351 }$am_cv_proto_iconv" >&5
26352 $as_echo "${ac_t:-
26353 }$am_cv_proto_iconv" >&6; }
26355 cat >>confdefs.h <<_ACEOF
26356 #define ICONV_CONST $am_cv_proto_iconv_arg1
26357 _ACEOF
26362 else
26364 # This lets us hard-code the functionality we know we'll have in the cross
26365 # target environment. "Let" is a sugar-coated word placed on an especially
26366 # dull and tedious hack, actually.
26368 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26369 # that involve linking, can't be used:
26370 # "cannot open sim-crt0.o"
26371 # "cannot open crt0.o"
26372 # etc. All this is because there currently exists no unified, consistent
26373 # way for top level CC information to be passed down to target directories:
26374 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26375 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26376 # crosses can be removed.
26378 # If Canadian cross, then don't pick up tools from the build directory.
26379 # Used only in GLIBCXX_EXPORT_INCLUDES.
26380 if test -n "$with_cross_host" &&
26381 test x"$build_alias" != x"$with_cross_host" &&
26382 test x"$build" != x"$target";
26383 then
26384 CANADIAN=yes
26385 else
26386 CANADIAN=no
26389 # Construct crosses by hand, eliminating bits that need ld...
26390 # GLIBCXX_CHECK_MATH_SUPPORT
26392 # First, test for "known" system libraries. We may be using newlib even
26393 # on a hosted environment.
26394 if test "x${with_newlib}" = "xyes"; then
26395 os_include_dir="os/newlib"
26396 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26399 # GLIBCXX_CHECK_STDLIB_SUPPORT
26400 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26403 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26405 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26407 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26409 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26411 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26413 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26415 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26417 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26419 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26421 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26423 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26425 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26427 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26429 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26431 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26433 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26435 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26437 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26439 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26441 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26443 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26445 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26448 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26450 else
26452 # Base decisions on target environment.
26453 case "${host}" in
26454 arm*-*-symbianelf*)
26455 # This is a freestanding configuration; there is nothing to do here.
26458 mips*-sde-elf*)
26459 # These definitions are for the SDE C library rather than newlib.
26460 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26463 # All these tests are for C++; save the language and the compiler flags.
26464 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26465 # found in GLIBCXX_CONFIGURE.
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26474 ac_save_CXXFLAGS="$CXXFLAGS"
26476 # Check for maintainer-mode bits.
26477 if test x"$USE_MAINTAINER_MODE" = xno; then
26478 WERROR=''
26479 else
26480 WERROR='-Werror'
26483 # Check for -ffunction-sections -fdata-sections
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26485 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26486 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26489 int foo; void bar() { };
26491 main ()
26495 return 0;
26497 _ACEOF
26498 if ac_fn_cxx_try_compile "$LINENO"; then :
26499 ac_fdsections=yes
26500 else
26501 ac_fdsections=no
26503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 if test "$ac_test_CXXFLAGS" = set; then
26505 CXXFLAGS="$ac_save_CXXFLAGS"
26506 else
26507 # this is the suspicious part
26508 CXXFLAGS=''
26510 if test x"$ac_fdsections" = x"yes"; then
26511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26514 $as_echo "$ac_fdsections" >&6; }
26516 ac_ext=c
26517 ac_cpp='$CPP $CPPFLAGS'
26518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26526 # If we're not using GNU ld, then there's no point in even trying these
26527 # tests. Check for that first. We should have already tested for gld
26528 # by now (in libtool), but require it now just to be safe...
26529 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26530 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26534 # The name set by libtool depends on the version of libtool. Shame on us
26535 # for depending on an impl detail, but c'est la vie. Older versions used
26536 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26537 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26538 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26539 # set (hence we're using an older libtool), then set it.
26540 if test x${with_gnu_ld+set} != xset; then
26541 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26542 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26543 with_gnu_ld=no
26544 else
26545 with_gnu_ld=$ac_cv_prog_gnu_ld
26549 # Start by getting the version number. I think the libtool test already
26550 # does some of this, but throws away the result.
26551 glibcxx_ld_is_gold=no
26552 if test x"$with_gnu_ld" = x"yes"; then
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26554 $as_echo_n "checking for ld version... " >&6; }
26556 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26557 glibcxx_ld_is_gold=yes
26559 ldver=`$LD --version 2>/dev/null |
26560 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'`
26562 glibcxx_gnu_ld_version=`echo $ldver | \
26563 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26565 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26568 # Set --gc-sections.
26569 glibcxx_have_gc_sections=no
26570 if test "$glibcxx_ld_is_gold" = "yes"; then
26571 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26572 glibcxx_have_gc_sections=yes
26574 else
26575 glibcxx_gcsections_min_ld=21602
26576 if test x"$with_gnu_ld" = x"yes" &&
26577 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26578 glibcxx_have_gc_sections=yes
26581 if test "$glibcxx_have_gc_sections" = "yes"; then
26582 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26583 # NB: This flag only works reliably after 2.16.1. Configure tests
26584 # for this are difficult, so hard wire a value that should work.
26586 ac_test_CFLAGS="${CFLAGS+set}"
26587 ac_save_CFLAGS="$CFLAGS"
26588 CFLAGS='-Wl,--gc-sections'
26590 # Check for -Wl,--gc-sections
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26592 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26593 if test x$gcc_no_link = xyes; then
26594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26597 /* end confdefs.h. */
26598 int one(void) { return 1; }
26599 int two(void) { return 2; }
26602 main ()
26604 two();
26606 return 0;
26608 _ACEOF
26609 if ac_fn_c_try_link "$LINENO"; then :
26610 ac_gcsections=yes
26611 else
26612 ac_gcsections=no
26614 rm -f core conftest.err conftest.$ac_objext \
26615 conftest$ac_exeext conftest.$ac_ext
26616 if test "$ac_gcsections" = "yes"; then
26617 rm -f conftest.c
26618 touch conftest.c
26619 if $CC -c conftest.c; then
26620 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26621 grep "Warning: gc-sections option ignored" > /dev/null; then
26622 ac_gcsections=no
26625 rm -f conftest.c conftest.o conftest
26627 if test "$ac_gcsections" = "yes"; then
26628 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26631 $as_echo "$ac_gcsections" >&6; }
26633 if test "$ac_test_CFLAGS" = set; then
26634 CFLAGS="$ac_save_CFLAGS"
26635 else
26636 # this is the suspicious part
26637 CFLAGS=''
26641 # Set -z,relro.
26642 # Note this is only for shared objects.
26643 ac_ld_relro=no
26644 if test x"$with_gnu_ld" = x"yes"; then
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26646 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26647 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26648 if test -n "$cxx_z_relo"; then
26649 OPT_LDFLAGS="-Wl,-z,relro"
26650 ac_ld_relro=yes
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26653 $as_echo "$ac_ld_relro" >&6; }
26656 # Set linker optimization flags.
26657 if test x"$with_gnu_ld" = x"yes"; then
26658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26666 ac_save_CXXFLAGS="$CXXFLAGS"
26667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26670 $as_echo_n "checking for sin in -lm... " >&6; }
26671 if test "${ac_cv_lib_m_sin+set}" = set; then :
26672 $as_echo_n "(cached) " >&6
26673 else
26674 ac_check_lib_save_LIBS=$LIBS
26675 LIBS="-lm $LIBS"
26676 if test x$gcc_no_link = xyes; then
26677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26682 /* Override any GCC internal prototype to avoid an error.
26683 Use char because int might match the return type of a GCC
26684 builtin and then its argument prototype would still apply. */
26685 #ifdef __cplusplus
26686 extern "C"
26687 #endif
26688 char sin ();
26690 main ()
26692 return sin ();
26694 return 0;
26696 _ACEOF
26697 if ac_fn_c_try_link "$LINENO"; then :
26698 ac_cv_lib_m_sin=yes
26699 else
26700 ac_cv_lib_m_sin=no
26702 rm -f core conftest.err conftest.$ac_objext \
26703 conftest$ac_exeext conftest.$ac_ext
26704 LIBS=$ac_check_lib_save_LIBS
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26707 $as_echo "$ac_cv_lib_m_sin" >&6; }
26708 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26709 libm="-lm"
26712 ac_save_LIBS="$LIBS"
26713 LIBS="$LIBS $libm"
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26718 $as_echo_n "checking for isinf declaration... " >&6; }
26719 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26720 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26721 $as_echo_n "(cached) " >&6
26722 else
26725 ac_ext=cpp
26726 ac_cpp='$CXXCPP $CPPFLAGS'
26727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26733 #include <math.h>
26734 #ifdef HAVE_IEEEFP_H
26735 #include <ieeefp.h>
26736 #endif
26739 main ()
26741 isinf(0);
26743 return 0;
26745 _ACEOF
26746 if ac_fn_cxx_try_compile "$LINENO"; then :
26747 glibcxx_cv_func_isinf_use=yes
26748 else
26749 glibcxx_cv_func_isinf_use=no
26751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26752 ac_ext=c
26753 ac_cpp='$CPP $CPPFLAGS'
26754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26763 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26765 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26766 for ac_func in isinf
26767 do :
26768 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26769 if test "x$ac_cv_func_isinf" = x""yes; then :
26770 cat >>confdefs.h <<_ACEOF
26771 #define HAVE_ISINF 1
26772 _ACEOF
26775 done
26777 else
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26780 $as_echo_n "checking for _isinf declaration... " >&6; }
26781 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26782 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26783 $as_echo_n "(cached) " >&6
26784 else
26787 ac_ext=cpp
26788 ac_cpp='$CXXCPP $CPPFLAGS'
26789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26794 /* end confdefs.h. */
26795 #include <math.h>
26796 #ifdef HAVE_IEEEFP_H
26797 #include <ieeefp.h>
26798 #endif
26801 main ()
26803 _isinf(0);
26805 return 0;
26807 _ACEOF
26808 if ac_fn_cxx_try_compile "$LINENO"; then :
26809 glibcxx_cv_func__isinf_use=yes
26810 else
26811 glibcxx_cv_func__isinf_use=no
26813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26814 ac_ext=c
26815 ac_cpp='$CPP $CPPFLAGS'
26816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26825 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26827 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26828 for ac_func in _isinf
26829 do :
26830 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26831 if test "x$ac_cv_func__isinf" = x""yes; then :
26832 cat >>confdefs.h <<_ACEOF
26833 #define HAVE__ISINF 1
26834 _ACEOF
26837 done
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26847 $as_echo_n "checking for isnan declaration... " >&6; }
26848 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26849 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26850 $as_echo_n "(cached) " >&6
26851 else
26854 ac_ext=cpp
26855 ac_cpp='$CXXCPP $CPPFLAGS'
26856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26861 /* end confdefs.h. */
26862 #include <math.h>
26863 #ifdef HAVE_IEEEFP_H
26864 #include <ieeefp.h>
26865 #endif
26868 main ()
26870 isnan(0);
26872 return 0;
26874 _ACEOF
26875 if ac_fn_cxx_try_compile "$LINENO"; then :
26876 glibcxx_cv_func_isnan_use=yes
26877 else
26878 glibcxx_cv_func_isnan_use=no
26880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26881 ac_ext=c
26882 ac_cpp='$CPP $CPPFLAGS'
26883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26892 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26894 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26895 for ac_func in isnan
26896 do :
26897 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26898 if test "x$ac_cv_func_isnan" = x""yes; then :
26899 cat >>confdefs.h <<_ACEOF
26900 #define HAVE_ISNAN 1
26901 _ACEOF
26904 done
26906 else
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26909 $as_echo_n "checking for _isnan declaration... " >&6; }
26910 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26911 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26912 $as_echo_n "(cached) " >&6
26913 else
26916 ac_ext=cpp
26917 ac_cpp='$CXXCPP $CPPFLAGS'
26918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26923 /* end confdefs.h. */
26924 #include <math.h>
26925 #ifdef HAVE_IEEEFP_H
26926 #include <ieeefp.h>
26927 #endif
26930 main ()
26932 _isnan(0);
26934 return 0;
26936 _ACEOF
26937 if ac_fn_cxx_try_compile "$LINENO"; then :
26938 glibcxx_cv_func__isnan_use=yes
26939 else
26940 glibcxx_cv_func__isnan_use=no
26942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26943 ac_ext=c
26944 ac_cpp='$CPP $CPPFLAGS'
26945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26954 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26956 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26957 for ac_func in _isnan
26958 do :
26959 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26960 if test "x$ac_cv_func__isnan" = x""yes; then :
26961 cat >>confdefs.h <<_ACEOF
26962 #define HAVE__ISNAN 1
26963 _ACEOF
26966 done
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26976 $as_echo_n "checking for finite declaration... " >&6; }
26977 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26978 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26979 $as_echo_n "(cached) " >&6
26980 else
26983 ac_ext=cpp
26984 ac_cpp='$CXXCPP $CPPFLAGS'
26985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26990 /* end confdefs.h. */
26991 #include <math.h>
26992 #ifdef HAVE_IEEEFP_H
26993 #include <ieeefp.h>
26994 #endif
26997 main ()
26999 finite(0);
27001 return 0;
27003 _ACEOF
27004 if ac_fn_cxx_try_compile "$LINENO"; then :
27005 glibcxx_cv_func_finite_use=yes
27006 else
27007 glibcxx_cv_func_finite_use=no
27009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27010 ac_ext=c
27011 ac_cpp='$CPP $CPPFLAGS'
27012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27021 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27023 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27024 for ac_func in finite
27025 do :
27026 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27027 if test "x$ac_cv_func_finite" = x""yes; then :
27028 cat >>confdefs.h <<_ACEOF
27029 #define HAVE_FINITE 1
27030 _ACEOF
27033 done
27035 else
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27038 $as_echo_n "checking for _finite declaration... " >&6; }
27039 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27040 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27041 $as_echo_n "(cached) " >&6
27042 else
27045 ac_ext=cpp
27046 ac_cpp='$CXXCPP $CPPFLAGS'
27047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27052 /* end confdefs.h. */
27053 #include <math.h>
27054 #ifdef HAVE_IEEEFP_H
27055 #include <ieeefp.h>
27056 #endif
27059 main ()
27061 _finite(0);
27063 return 0;
27065 _ACEOF
27066 if ac_fn_cxx_try_compile "$LINENO"; then :
27067 glibcxx_cv_func__finite_use=yes
27068 else
27069 glibcxx_cv_func__finite_use=no
27071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27072 ac_ext=c
27073 ac_cpp='$CPP $CPPFLAGS'
27074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27083 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27085 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27086 for ac_func in _finite
27087 do :
27088 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27089 if test "x$ac_cv_func__finite" = x""yes; then :
27090 cat >>confdefs.h <<_ACEOF
27091 #define HAVE__FINITE 1
27092 _ACEOF
27095 done
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27105 $as_echo_n "checking for sincos declaration... " >&6; }
27106 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27107 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27108 $as_echo_n "(cached) " >&6
27109 else
27112 ac_ext=cpp
27113 ac_cpp='$CXXCPP $CPPFLAGS'
27114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27119 /* end confdefs.h. */
27120 #include <math.h>
27122 main ()
27124 sincos(0, 0, 0);
27126 return 0;
27128 _ACEOF
27129 if ac_fn_cxx_try_compile "$LINENO"; then :
27130 glibcxx_cv_func_sincos_use=yes
27131 else
27132 glibcxx_cv_func_sincos_use=no
27134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27135 ac_ext=c
27136 ac_cpp='$CPP $CPPFLAGS'
27137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27146 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27148 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27149 for ac_func in sincos
27150 do :
27151 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27152 if test "x$ac_cv_func_sincos" = x""yes; then :
27153 cat >>confdefs.h <<_ACEOF
27154 #define HAVE_SINCOS 1
27155 _ACEOF
27158 done
27160 else
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27163 $as_echo_n "checking for _sincos declaration... " >&6; }
27164 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27165 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27166 $as_echo_n "(cached) " >&6
27167 else
27170 ac_ext=cpp
27171 ac_cpp='$CXXCPP $CPPFLAGS'
27172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27177 /* end confdefs.h. */
27178 #include <math.h>
27180 main ()
27182 _sincos(0, 0, 0);
27184 return 0;
27186 _ACEOF
27187 if ac_fn_cxx_try_compile "$LINENO"; then :
27188 glibcxx_cv_func__sincos_use=yes
27189 else
27190 glibcxx_cv_func__sincos_use=no
27192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27193 ac_ext=c
27194 ac_cpp='$CPP $CPPFLAGS'
27195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27204 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27206 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27207 for ac_func in _sincos
27208 do :
27209 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27210 if test "x$ac_cv_func__sincos" = x""yes; then :
27211 cat >>confdefs.h <<_ACEOF
27212 #define HAVE__SINCOS 1
27213 _ACEOF
27216 done
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27226 $as_echo_n "checking for fpclass declaration... " >&6; }
27227 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27228 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27229 $as_echo_n "(cached) " >&6
27230 else
27233 ac_ext=cpp
27234 ac_cpp='$CXXCPP $CPPFLAGS'
27235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27240 /* end confdefs.h. */
27241 #include <math.h>
27242 #ifdef HAVE_IEEEFP_H
27243 #include <ieeefp.h>
27244 #endif
27247 main ()
27249 fpclass(0);
27251 return 0;
27253 _ACEOF
27254 if ac_fn_cxx_try_compile "$LINENO"; then :
27255 glibcxx_cv_func_fpclass_use=yes
27256 else
27257 glibcxx_cv_func_fpclass_use=no
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27260 ac_ext=c
27261 ac_cpp='$CPP $CPPFLAGS'
27262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27271 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27273 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27274 for ac_func in fpclass
27275 do :
27276 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27277 if test "x$ac_cv_func_fpclass" = x""yes; then :
27278 cat >>confdefs.h <<_ACEOF
27279 #define HAVE_FPCLASS 1
27280 _ACEOF
27283 done
27285 else
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27288 $as_echo_n "checking for _fpclass declaration... " >&6; }
27289 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27290 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27291 $as_echo_n "(cached) " >&6
27292 else
27295 ac_ext=cpp
27296 ac_cpp='$CXXCPP $CPPFLAGS'
27297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27302 /* end confdefs.h. */
27303 #include <math.h>
27304 #ifdef HAVE_IEEEFP_H
27305 #include <ieeefp.h>
27306 #endif
27309 main ()
27311 _fpclass(0);
27313 return 0;
27315 _ACEOF
27316 if ac_fn_cxx_try_compile "$LINENO"; then :
27317 glibcxx_cv_func__fpclass_use=yes
27318 else
27319 glibcxx_cv_func__fpclass_use=no
27321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27322 ac_ext=c
27323 ac_cpp='$CPP $CPPFLAGS'
27324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27333 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27335 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27336 for ac_func in _fpclass
27337 do :
27338 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27339 if test "x$ac_cv_func__fpclass" = x""yes; then :
27340 cat >>confdefs.h <<_ACEOF
27341 #define HAVE__FPCLASS 1
27342 _ACEOF
27345 done
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27355 $as_echo_n "checking for qfpclass declaration... " >&6; }
27356 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27357 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27358 $as_echo_n "(cached) " >&6
27359 else
27362 ac_ext=cpp
27363 ac_cpp='$CXXCPP $CPPFLAGS'
27364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27369 /* end confdefs.h. */
27370 #include <math.h>
27371 #ifdef HAVE_IEEEFP_H
27372 #include <ieeefp.h>
27373 #endif
27376 main ()
27378 qfpclass(0);
27380 return 0;
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_qfpclass_use=yes
27385 else
27386 glibcxx_cv_func_qfpclass_use=no
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27400 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27402 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27403 for ac_func in qfpclass
27404 do :
27405 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27406 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_QFPCLASS 1
27409 _ACEOF
27412 done
27414 else
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27417 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27418 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27419 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27433 #ifdef HAVE_IEEEFP_H
27434 #include <ieeefp.h>
27435 #endif
27438 main ()
27440 _qfpclass(0);
27442 return 0;
27444 _ACEOF
27445 if ac_fn_cxx_try_compile "$LINENO"; then :
27446 glibcxx_cv_func__qfpclass_use=yes
27447 else
27448 glibcxx_cv_func__qfpclass_use=no
27450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27451 ac_ext=c
27452 ac_cpp='$CPP $CPPFLAGS'
27453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27462 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27464 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27465 for ac_func in _qfpclass
27466 do :
27467 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27468 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27469 cat >>confdefs.h <<_ACEOF
27470 #define HAVE__QFPCLASS 1
27471 _ACEOF
27474 done
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27484 $as_echo_n "checking for hypot declaration... " >&6; }
27485 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27486 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27487 $as_echo_n "(cached) " >&6
27488 else
27491 ac_ext=cpp
27492 ac_cpp='$CXXCPP $CPPFLAGS'
27493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27498 /* end confdefs.h. */
27499 #include <math.h>
27501 main ()
27503 hypot(0, 0);
27505 return 0;
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_hypot_use=yes
27510 else
27511 glibcxx_cv_func_hypot_use=no
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27525 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27527 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27528 for ac_func in hypot
27529 do :
27530 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27531 if test "x$ac_cv_func_hypot" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_HYPOT 1
27534 _ACEOF
27537 done
27539 else
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27542 $as_echo_n "checking for _hypot declaration... " >&6; }
27543 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27544 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27559 main ()
27561 _hypot(0, 0);
27563 return 0;
27565 _ACEOF
27566 if ac_fn_cxx_try_compile "$LINENO"; then :
27567 glibcxx_cv_func__hypot_use=yes
27568 else
27569 glibcxx_cv_func__hypot_use=no
27571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27572 ac_ext=c
27573 ac_cpp='$CPP $CPPFLAGS'
27574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27583 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27585 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27586 for ac_func in _hypot
27587 do :
27588 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27589 if test "x$ac_cv_func__hypot" = x""yes; then :
27590 cat >>confdefs.h <<_ACEOF
27591 #define HAVE__HYPOT 1
27592 _ACEOF
27595 done
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27605 $as_echo_n "checking for float trig functions... " >&6; }
27606 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27621 main ()
27623 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27625 return 0;
27627 _ACEOF
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func_float_trig_use=yes
27630 else
27631 glibcxx_cv_func_float_trig_use=no
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 ac_ext=c
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27643 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27644 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27645 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27646 do :
27647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27649 eval as_val=\$$as_ac_var
27650 if test "x$as_val" = x""yes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27653 _ACEOF
27656 done
27658 else
27659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27660 $as_echo_n "checking for _float trig functions... " >&6; }
27661 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27662 $as_echo_n "(cached) " >&6
27663 else
27666 ac_ext=cpp
27667 ac_cpp='$CXXCPP $CPPFLAGS'
27668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27673 /* end confdefs.h. */
27674 #include <math.h>
27676 main ()
27678 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27680 return 0;
27682 _ACEOF
27683 if ac_fn_cxx_try_compile "$LINENO"; then :
27684 glibcxx_cv_func__float_trig_use=yes
27685 else
27686 glibcxx_cv_func__float_trig_use=no
27688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27689 ac_ext=c
27690 ac_cpp='$CPP $CPPFLAGS'
27691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27698 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27699 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27700 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27701 do :
27702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27704 eval as_val=\$$as_ac_var
27705 if test "x$as_val" = x""yes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27708 _ACEOF
27711 done
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27721 $as_echo_n "checking for float round functions... " >&6; }
27722 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27723 $as_echo_n "(cached) " >&6
27724 else
27727 ac_ext=cpp
27728 ac_cpp='$CXXCPP $CPPFLAGS'
27729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27734 /* end confdefs.h. */
27735 #include <math.h>
27737 main ()
27739 ceilf (0); floorf (0);
27741 return 0;
27743 _ACEOF
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745 glibcxx_cv_func_float_round_use=yes
27746 else
27747 glibcxx_cv_func_float_round_use=no
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_ext=c
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27759 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27760 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27761 for ac_func in ceilf floorf
27762 do :
27763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27765 eval as_val=\$$as_ac_var
27766 if test "x$as_val" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27769 _ACEOF
27772 done
27774 else
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27776 $as_echo_n "checking for _float round functions... " >&6; }
27777 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27778 $as_echo_n "(cached) " >&6
27779 else
27782 ac_ext=cpp
27783 ac_cpp='$CXXCPP $CPPFLAGS'
27784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27789 /* end confdefs.h. */
27790 #include <math.h>
27792 main ()
27794 _ceilf (0); _floorf (0);
27796 return 0;
27798 _ACEOF
27799 if ac_fn_cxx_try_compile "$LINENO"; then :
27800 glibcxx_cv_func__float_round_use=yes
27801 else
27802 glibcxx_cv_func__float_round_use=no
27804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 ac_ext=c
27806 ac_cpp='$CPP $CPPFLAGS'
27807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27814 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27815 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27816 for ac_func in _ceilf _floorf
27817 do :
27818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27820 eval as_val=\$$as_ac_var
27821 if test "x$as_val" = x""yes; then :
27822 cat >>confdefs.h <<_ACEOF
27823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27824 _ACEOF
27827 done
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27838 $as_echo_n "checking for expf declaration... " >&6; }
27839 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27840 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27841 $as_echo_n "(cached) " >&6
27842 else
27845 ac_ext=cpp
27846 ac_cpp='$CXXCPP $CPPFLAGS'
27847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h. */
27853 #include <math.h>
27854 #ifdef HAVE_IEEEFP_H
27855 #include <ieeefp.h>
27856 #endif
27859 main ()
27861 expf(0);
27863 return 0;
27865 _ACEOF
27866 if ac_fn_cxx_try_compile "$LINENO"; then :
27867 glibcxx_cv_func_expf_use=yes
27868 else
27869 glibcxx_cv_func_expf_use=no
27871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27872 ac_ext=c
27873 ac_cpp='$CPP $CPPFLAGS'
27874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27883 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27885 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27886 for ac_func in expf
27887 do :
27888 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27889 if test "x$ac_cv_func_expf" = x""yes; then :
27890 cat >>confdefs.h <<_ACEOF
27891 #define HAVE_EXPF 1
27892 _ACEOF
27895 done
27897 else
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27900 $as_echo_n "checking for _expf declaration... " >&6; }
27901 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27902 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27903 $as_echo_n "(cached) " >&6
27904 else
27907 ac_ext=cpp
27908 ac_cpp='$CXXCPP $CPPFLAGS'
27909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27914 /* end confdefs.h. */
27915 #include <math.h>
27916 #ifdef HAVE_IEEEFP_H
27917 #include <ieeefp.h>
27918 #endif
27921 main ()
27923 _expf(0);
27925 return 0;
27927 _ACEOF
27928 if ac_fn_cxx_try_compile "$LINENO"; then :
27929 glibcxx_cv_func__expf_use=yes
27930 else
27931 glibcxx_cv_func__expf_use=no
27933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934 ac_ext=c
27935 ac_cpp='$CPP $CPPFLAGS'
27936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27945 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27947 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27948 for ac_func in _expf
27949 do :
27950 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27951 if test "x$ac_cv_func__expf" = x""yes; then :
27952 cat >>confdefs.h <<_ACEOF
27953 #define HAVE__EXPF 1
27954 _ACEOF
27957 done
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27967 $as_echo_n "checking for isnanf declaration... " >&6; }
27968 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27969 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27970 $as_echo_n "(cached) " >&6
27971 else
27974 ac_ext=cpp
27975 ac_cpp='$CXXCPP $CPPFLAGS'
27976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981 /* end confdefs.h. */
27982 #include <math.h>
27983 #ifdef HAVE_IEEEFP_H
27984 #include <ieeefp.h>
27985 #endif
27988 main ()
27990 isnanf(0);
27992 return 0;
27994 _ACEOF
27995 if ac_fn_cxx_try_compile "$LINENO"; then :
27996 glibcxx_cv_func_isnanf_use=yes
27997 else
27998 glibcxx_cv_func_isnanf_use=no
28000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28001 ac_ext=c
28002 ac_cpp='$CPP $CPPFLAGS'
28003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28012 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28014 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28015 for ac_func in isnanf
28016 do :
28017 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28018 if test "x$ac_cv_func_isnanf" = x""yes; then :
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE_ISNANF 1
28021 _ACEOF
28024 done
28026 else
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28029 $as_echo_n "checking for _isnanf declaration... " >&6; }
28030 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28031 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28032 $as_echo_n "(cached) " >&6
28033 else
28036 ac_ext=cpp
28037 ac_cpp='$CXXCPP $CPPFLAGS'
28038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28043 /* end confdefs.h. */
28044 #include <math.h>
28045 #ifdef HAVE_IEEEFP_H
28046 #include <ieeefp.h>
28047 #endif
28050 main ()
28052 _isnanf(0);
28054 return 0;
28056 _ACEOF
28057 if ac_fn_cxx_try_compile "$LINENO"; then :
28058 glibcxx_cv_func__isnanf_use=yes
28059 else
28060 glibcxx_cv_func__isnanf_use=no
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 ac_ext=c
28064 ac_cpp='$CPP $CPPFLAGS'
28065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28074 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28076 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28077 for ac_func in _isnanf
28078 do :
28079 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28080 if test "x$ac_cv_func__isnanf" = x""yes; then :
28081 cat >>confdefs.h <<_ACEOF
28082 #define HAVE__ISNANF 1
28083 _ACEOF
28086 done
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28096 $as_echo_n "checking for isinff declaration... " >&6; }
28097 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28098 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28099 $as_echo_n "(cached) " >&6
28100 else
28103 ac_ext=cpp
28104 ac_cpp='$CXXCPP $CPPFLAGS'
28105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28110 /* end confdefs.h. */
28111 #include <math.h>
28112 #ifdef HAVE_IEEEFP_H
28113 #include <ieeefp.h>
28114 #endif
28117 main ()
28119 isinff(0);
28121 return 0;
28123 _ACEOF
28124 if ac_fn_cxx_try_compile "$LINENO"; then :
28125 glibcxx_cv_func_isinff_use=yes
28126 else
28127 glibcxx_cv_func_isinff_use=no
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 ac_ext=c
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28141 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28143 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28144 for ac_func in isinff
28145 do :
28146 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28147 if test "x$ac_cv_func_isinff" = x""yes; then :
28148 cat >>confdefs.h <<_ACEOF
28149 #define HAVE_ISINFF 1
28150 _ACEOF
28153 done
28155 else
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28158 $as_echo_n "checking for _isinff declaration... " >&6; }
28159 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28160 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28161 $as_echo_n "(cached) " >&6
28162 else
28165 ac_ext=cpp
28166 ac_cpp='$CXXCPP $CPPFLAGS'
28167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28173 #include <math.h>
28174 #ifdef HAVE_IEEEFP_H
28175 #include <ieeefp.h>
28176 #endif
28179 main ()
28181 _isinff(0);
28183 return 0;
28185 _ACEOF
28186 if ac_fn_cxx_try_compile "$LINENO"; then :
28187 glibcxx_cv_func__isinff_use=yes
28188 else
28189 glibcxx_cv_func__isinff_use=no
28191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28192 ac_ext=c
28193 ac_cpp='$CPP $CPPFLAGS'
28194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28203 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28205 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28206 for ac_func in _isinff
28207 do :
28208 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28209 if test "x$ac_cv_func__isinff" = x""yes; then :
28210 cat >>confdefs.h <<_ACEOF
28211 #define HAVE__ISINFF 1
28212 _ACEOF
28215 done
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28225 $as_echo_n "checking for atan2f declaration... " >&6; }
28226 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28227 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28228 $as_echo_n "(cached) " >&6
28229 else
28232 ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 #include <math.h>
28242 main ()
28244 atan2f(0, 0);
28246 return 0;
28248 _ACEOF
28249 if ac_fn_cxx_try_compile "$LINENO"; then :
28250 glibcxx_cv_func_atan2f_use=yes
28251 else
28252 glibcxx_cv_func_atan2f_use=no
28254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28255 ac_ext=c
28256 ac_cpp='$CPP $CPPFLAGS'
28257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28266 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28268 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28269 for ac_func in atan2f
28270 do :
28271 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28272 if test "x$ac_cv_func_atan2f" = x""yes; then :
28273 cat >>confdefs.h <<_ACEOF
28274 #define HAVE_ATAN2F 1
28275 _ACEOF
28278 done
28280 else
28282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28283 $as_echo_n "checking for _atan2f declaration... " >&6; }
28284 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28285 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28286 $as_echo_n "(cached) " >&6
28287 else
28290 ac_ext=cpp
28291 ac_cpp='$CXXCPP $CPPFLAGS'
28292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h. */
28298 #include <math.h>
28300 main ()
28302 _atan2f(0, 0);
28304 return 0;
28306 _ACEOF
28307 if ac_fn_cxx_try_compile "$LINENO"; then :
28308 glibcxx_cv_func__atan2f_use=yes
28309 else
28310 glibcxx_cv_func__atan2f_use=no
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313 ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28324 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28326 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28327 for ac_func in _atan2f
28328 do :
28329 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28330 if test "x$ac_cv_func__atan2f" = x""yes; then :
28331 cat >>confdefs.h <<_ACEOF
28332 #define HAVE__ATAN2F 1
28333 _ACEOF
28336 done
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28346 $as_echo_n "checking for fabsf declaration... " >&6; }
28347 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28348 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28353 ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h. */
28361 #include <math.h>
28362 #ifdef HAVE_IEEEFP_H
28363 #include <ieeefp.h>
28364 #endif
28367 main ()
28369 fabsf(0);
28371 return 0;
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375 glibcxx_cv_func_fabsf_use=yes
28376 else
28377 glibcxx_cv_func_fabsf_use=no
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28391 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28393 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28394 for ac_func in fabsf
28395 do :
28396 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28397 if test "x$ac_cv_func_fabsf" = x""yes; then :
28398 cat >>confdefs.h <<_ACEOF
28399 #define HAVE_FABSF 1
28400 _ACEOF
28403 done
28405 else
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28408 $as_echo_n "checking for _fabsf declaration... " >&6; }
28409 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28410 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28411 $as_echo_n "(cached) " >&6
28412 else
28415 ac_ext=cpp
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28423 #include <math.h>
28424 #ifdef HAVE_IEEEFP_H
28425 #include <ieeefp.h>
28426 #endif
28429 main ()
28431 _fabsf(0);
28433 return 0;
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__fabsf_use=yes
28438 else
28439 glibcxx_cv_func__fabsf_use=no
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28453 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28455 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28456 for ac_func in _fabsf
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28459 if test "x$ac_cv_func__fabsf" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__FABSF 1
28462 _ACEOF
28465 done
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28475 $as_echo_n "checking for fmodf declaration... " >&6; }
28476 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28477 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28478 $as_echo_n "(cached) " >&6
28479 else
28482 ac_ext=cpp
28483 ac_cpp='$CXXCPP $CPPFLAGS'
28484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h. */
28490 #include <math.h>
28492 main ()
28494 fmodf(0, 0);
28496 return 0;
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500 glibcxx_cv_func_fmodf_use=yes
28501 else
28502 glibcxx_cv_func_fmodf_use=no
28504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28516 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28518 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28519 for ac_func in fmodf
28520 do :
28521 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28522 if test "x$ac_cv_func_fmodf" = x""yes; then :
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_FMODF 1
28525 _ACEOF
28528 done
28530 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28533 $as_echo_n "checking for _fmodf declaration... " >&6; }
28534 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28535 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28550 main ()
28552 _fmodf(0, 0);
28554 return 0;
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func__fmodf_use=yes
28559 else
28560 glibcxx_cv_func__fmodf_use=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28574 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28576 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28577 for ac_func in _fmodf
28578 do :
28579 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28580 if test "x$ac_cv_func__fmodf" = x""yes; then :
28581 cat >>confdefs.h <<_ACEOF
28582 #define HAVE__FMODF 1
28583 _ACEOF
28586 done
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28596 $as_echo_n "checking for frexpf declaration... " >&6; }
28597 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28598 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28599 $as_echo_n "(cached) " >&6
28600 else
28603 ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h. */
28611 #include <math.h>
28613 main ()
28615 frexpf(0, 0);
28617 return 0;
28619 _ACEOF
28620 if ac_fn_cxx_try_compile "$LINENO"; then :
28621 glibcxx_cv_func_frexpf_use=yes
28622 else
28623 glibcxx_cv_func_frexpf_use=no
28625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28626 ac_ext=c
28627 ac_cpp='$CPP $CPPFLAGS'
28628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28637 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28639 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28640 for ac_func in frexpf
28641 do :
28642 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28643 if test "x$ac_cv_func_frexpf" = x""yes; then :
28644 cat >>confdefs.h <<_ACEOF
28645 #define HAVE_FREXPF 1
28646 _ACEOF
28649 done
28651 else
28653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28654 $as_echo_n "checking for _frexpf declaration... " >&6; }
28655 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28656 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28657 $as_echo_n "(cached) " >&6
28658 else
28661 ac_ext=cpp
28662 ac_cpp='$CXXCPP $CPPFLAGS'
28663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28668 /* end confdefs.h. */
28669 #include <math.h>
28671 main ()
28673 _frexpf(0, 0);
28675 return 0;
28677 _ACEOF
28678 if ac_fn_cxx_try_compile "$LINENO"; then :
28679 glibcxx_cv_func__frexpf_use=yes
28680 else
28681 glibcxx_cv_func__frexpf_use=no
28683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684 ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28695 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28697 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28698 for ac_func in _frexpf
28699 do :
28700 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28701 if test "x$ac_cv_func__frexpf" = x""yes; then :
28702 cat >>confdefs.h <<_ACEOF
28703 #define HAVE__FREXPF 1
28704 _ACEOF
28707 done
28716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28717 $as_echo_n "checking for hypotf declaration... " >&6; }
28718 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28719 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28720 $as_echo_n "(cached) " >&6
28721 else
28724 ac_ext=cpp
28725 ac_cpp='$CXXCPP $CPPFLAGS'
28726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h. */
28732 #include <math.h>
28734 main ()
28736 hypotf(0, 0);
28738 return 0;
28740 _ACEOF
28741 if ac_fn_cxx_try_compile "$LINENO"; then :
28742 glibcxx_cv_func_hypotf_use=yes
28743 else
28744 glibcxx_cv_func_hypotf_use=no
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747 ac_ext=c
28748 ac_cpp='$CPP $CPPFLAGS'
28749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28758 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28760 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28761 for ac_func in hypotf
28762 do :
28763 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28764 if test "x$ac_cv_func_hypotf" = x""yes; then :
28765 cat >>confdefs.h <<_ACEOF
28766 #define HAVE_HYPOTF 1
28767 _ACEOF
28770 done
28772 else
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28775 $as_echo_n "checking for _hypotf declaration... " >&6; }
28776 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28777 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28778 $as_echo_n "(cached) " >&6
28779 else
28782 ac_ext=cpp
28783 ac_cpp='$CXXCPP $CPPFLAGS'
28784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28789 /* end confdefs.h. */
28790 #include <math.h>
28792 main ()
28794 _hypotf(0, 0);
28796 return 0;
28798 _ACEOF
28799 if ac_fn_cxx_try_compile "$LINENO"; then :
28800 glibcxx_cv_func__hypotf_use=yes
28801 else
28802 glibcxx_cv_func__hypotf_use=no
28804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28805 ac_ext=c
28806 ac_cpp='$CPP $CPPFLAGS'
28807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28816 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28818 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28819 for ac_func in _hypotf
28820 do :
28821 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28822 if test "x$ac_cv_func__hypotf" = x""yes; then :
28823 cat >>confdefs.h <<_ACEOF
28824 #define HAVE__HYPOTF 1
28825 _ACEOF
28828 done
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28838 $as_echo_n "checking for ldexpf declaration... " >&6; }
28839 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28840 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28841 $as_echo_n "(cached) " >&6
28842 else
28845 ac_ext=cpp
28846 ac_cpp='$CXXCPP $CPPFLAGS'
28847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28852 /* end confdefs.h. */
28853 #include <math.h>
28855 main ()
28857 ldexpf(0, 0);
28859 return 0;
28861 _ACEOF
28862 if ac_fn_cxx_try_compile "$LINENO"; then :
28863 glibcxx_cv_func_ldexpf_use=yes
28864 else
28865 glibcxx_cv_func_ldexpf_use=no
28867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28868 ac_ext=c
28869 ac_cpp='$CPP $CPPFLAGS'
28870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28879 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28881 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28882 for ac_func in ldexpf
28883 do :
28884 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28885 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28886 cat >>confdefs.h <<_ACEOF
28887 #define HAVE_LDEXPF 1
28888 _ACEOF
28891 done
28893 else
28895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28896 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28897 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28898 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28899 $as_echo_n "(cached) " >&6
28900 else
28903 ac_ext=cpp
28904 ac_cpp='$CXXCPP $CPPFLAGS'
28905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28910 /* end confdefs.h. */
28911 #include <math.h>
28913 main ()
28915 _ldexpf(0, 0);
28917 return 0;
28919 _ACEOF
28920 if ac_fn_cxx_try_compile "$LINENO"; then :
28921 glibcxx_cv_func__ldexpf_use=yes
28922 else
28923 glibcxx_cv_func__ldexpf_use=no
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 ac_ext=c
28927 ac_cpp='$CPP $CPPFLAGS'
28928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28937 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28939 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28940 for ac_func in _ldexpf
28941 do :
28942 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28943 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28944 cat >>confdefs.h <<_ACEOF
28945 #define HAVE__LDEXPF 1
28946 _ACEOF
28949 done
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28959 $as_echo_n "checking for logf declaration... " >&6; }
28960 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28961 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28962 $as_echo_n "(cached) " >&6
28963 else
28966 ac_ext=cpp
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974 #include <math.h>
28975 #ifdef HAVE_IEEEFP_H
28976 #include <ieeefp.h>
28977 #endif
28980 main ()
28982 logf(0);
28984 return 0;
28986 _ACEOF
28987 if ac_fn_cxx_try_compile "$LINENO"; then :
28988 glibcxx_cv_func_logf_use=yes
28989 else
28990 glibcxx_cv_func_logf_use=no
28992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28993 ac_ext=c
28994 ac_cpp='$CPP $CPPFLAGS'
28995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29004 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29006 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29007 for ac_func in logf
29008 do :
29009 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29010 if test "x$ac_cv_func_logf" = x""yes; then :
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE_LOGF 1
29013 _ACEOF
29016 done
29018 else
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29021 $as_echo_n "checking for _logf declaration... " >&6; }
29022 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29023 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29024 $as_echo_n "(cached) " >&6
29025 else
29028 ac_ext=cpp
29029 ac_cpp='$CXXCPP $CPPFLAGS'
29030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29035 /* end confdefs.h. */
29036 #include <math.h>
29037 #ifdef HAVE_IEEEFP_H
29038 #include <ieeefp.h>
29039 #endif
29042 main ()
29044 _logf(0);
29046 return 0;
29048 _ACEOF
29049 if ac_fn_cxx_try_compile "$LINENO"; then :
29050 glibcxx_cv_func__logf_use=yes
29051 else
29052 glibcxx_cv_func__logf_use=no
29054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29055 ac_ext=c
29056 ac_cpp='$CPP $CPPFLAGS'
29057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29066 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29068 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29069 for ac_func in _logf
29070 do :
29071 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29072 if test "x$ac_cv_func__logf" = x""yes; then :
29073 cat >>confdefs.h <<_ACEOF
29074 #define HAVE__LOGF 1
29075 _ACEOF
29078 done
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29088 $as_echo_n "checking for log10f declaration... " >&6; }
29089 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29090 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29091 $as_echo_n "(cached) " >&6
29092 else
29095 ac_ext=cpp
29096 ac_cpp='$CXXCPP $CPPFLAGS'
29097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29102 /* end confdefs.h. */
29103 #include <math.h>
29104 #ifdef HAVE_IEEEFP_H
29105 #include <ieeefp.h>
29106 #endif
29109 main ()
29111 log10f(0);
29113 return 0;
29115 _ACEOF
29116 if ac_fn_cxx_try_compile "$LINENO"; then :
29117 glibcxx_cv_func_log10f_use=yes
29118 else
29119 glibcxx_cv_func_log10f_use=no
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 ac_ext=c
29123 ac_cpp='$CPP $CPPFLAGS'
29124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29133 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29135 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29136 for ac_func in log10f
29137 do :
29138 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29139 if test "x$ac_cv_func_log10f" = x""yes; then :
29140 cat >>confdefs.h <<_ACEOF
29141 #define HAVE_LOG10F 1
29142 _ACEOF
29145 done
29147 else
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29150 $as_echo_n "checking for _log10f declaration... " >&6; }
29151 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29152 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29153 $as_echo_n "(cached) " >&6
29154 else
29157 ac_ext=cpp
29158 ac_cpp='$CXXCPP $CPPFLAGS'
29159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29164 /* end confdefs.h. */
29165 #include <math.h>
29166 #ifdef HAVE_IEEEFP_H
29167 #include <ieeefp.h>
29168 #endif
29171 main ()
29173 _log10f(0);
29175 return 0;
29177 _ACEOF
29178 if ac_fn_cxx_try_compile "$LINENO"; then :
29179 glibcxx_cv_func__log10f_use=yes
29180 else
29181 glibcxx_cv_func__log10f_use=no
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29184 ac_ext=c
29185 ac_cpp='$CPP $CPPFLAGS'
29186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29195 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29197 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29198 for ac_func in _log10f
29199 do :
29200 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29201 if test "x$ac_cv_func__log10f" = x""yes; then :
29202 cat >>confdefs.h <<_ACEOF
29203 #define HAVE__LOG10F 1
29204 _ACEOF
29207 done
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29217 $as_echo_n "checking for modff declaration... " >&6; }
29218 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29219 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29220 $as_echo_n "(cached) " >&6
29221 else
29224 ac_ext=cpp
29225 ac_cpp='$CXXCPP $CPPFLAGS'
29226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29231 /* end confdefs.h. */
29232 #include <math.h>
29234 main ()
29236 modff(0, 0);
29238 return 0;
29240 _ACEOF
29241 if ac_fn_cxx_try_compile "$LINENO"; then :
29242 glibcxx_cv_func_modff_use=yes
29243 else
29244 glibcxx_cv_func_modff_use=no
29246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29247 ac_ext=c
29248 ac_cpp='$CPP $CPPFLAGS'
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29258 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29260 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29261 for ac_func in modff
29262 do :
29263 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29264 if test "x$ac_cv_func_modff" = x""yes; then :
29265 cat >>confdefs.h <<_ACEOF
29266 #define HAVE_MODFF 1
29267 _ACEOF
29270 done
29272 else
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29275 $as_echo_n "checking for _modff declaration... " >&6; }
29276 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29277 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29278 $as_echo_n "(cached) " >&6
29279 else
29282 ac_ext=cpp
29283 ac_cpp='$CXXCPP $CPPFLAGS'
29284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29290 #include <math.h>
29292 main ()
29294 _modff(0, 0);
29296 return 0;
29298 _ACEOF
29299 if ac_fn_cxx_try_compile "$LINENO"; then :
29300 glibcxx_cv_func__modff_use=yes
29301 else
29302 glibcxx_cv_func__modff_use=no
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29316 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29318 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29319 for ac_func in _modff
29320 do :
29321 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29322 if test "x$ac_cv_func__modff" = x""yes; then :
29323 cat >>confdefs.h <<_ACEOF
29324 #define HAVE__MODFF 1
29325 _ACEOF
29328 done
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29338 $as_echo_n "checking for modf declaration... " >&6; }
29339 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29340 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29341 $as_echo_n "(cached) " >&6
29342 else
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29352 /* end confdefs.h. */
29353 #include <math.h>
29355 main ()
29357 modf(0, 0);
29359 return 0;
29361 _ACEOF
29362 if ac_fn_cxx_try_compile "$LINENO"; then :
29363 glibcxx_cv_func_modf_use=yes
29364 else
29365 glibcxx_cv_func_modf_use=no
29367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29368 ac_ext=c
29369 ac_cpp='$CPP $CPPFLAGS'
29370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29379 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29381 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29382 for ac_func in modf
29383 do :
29384 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29385 if test "x$ac_cv_func_modf" = x""yes; then :
29386 cat >>confdefs.h <<_ACEOF
29387 #define HAVE_MODF 1
29388 _ACEOF
29391 done
29393 else
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29396 $as_echo_n "checking for _modf declaration... " >&6; }
29397 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29398 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29399 $as_echo_n "(cached) " >&6
29400 else
29403 ac_ext=cpp
29404 ac_cpp='$CXXCPP $CPPFLAGS'
29405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29410 /* end confdefs.h. */
29411 #include <math.h>
29413 main ()
29415 _modf(0, 0);
29417 return 0;
29419 _ACEOF
29420 if ac_fn_cxx_try_compile "$LINENO"; then :
29421 glibcxx_cv_func__modf_use=yes
29422 else
29423 glibcxx_cv_func__modf_use=no
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29426 ac_ext=c
29427 ac_cpp='$CPP $CPPFLAGS'
29428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29437 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29439 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29440 for ac_func in _modf
29441 do :
29442 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29443 if test "x$ac_cv_func__modf" = x""yes; then :
29444 cat >>confdefs.h <<_ACEOF
29445 #define HAVE__MODF 1
29446 _ACEOF
29449 done
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29459 $as_echo_n "checking for powf declaration... " >&6; }
29460 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29461 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29462 $as_echo_n "(cached) " >&6
29463 else
29466 ac_ext=cpp
29467 ac_cpp='$CXXCPP $CPPFLAGS'
29468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29473 /* end confdefs.h. */
29474 #include <math.h>
29476 main ()
29478 powf(0, 0);
29480 return 0;
29482 _ACEOF
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 glibcxx_cv_func_powf_use=yes
29485 else
29486 glibcxx_cv_func_powf_use=no
29488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29500 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29502 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29503 for ac_func in powf
29504 do :
29505 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29506 if test "x$ac_cv_func_powf" = x""yes; then :
29507 cat >>confdefs.h <<_ACEOF
29508 #define HAVE_POWF 1
29509 _ACEOF
29512 done
29514 else
29516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29517 $as_echo_n "checking for _powf declaration... " >&6; }
29518 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29519 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29520 $as_echo_n "(cached) " >&6
29521 else
29524 ac_ext=cpp
29525 ac_cpp='$CXXCPP $CPPFLAGS'
29526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29531 /* end confdefs.h. */
29532 #include <math.h>
29534 main ()
29536 _powf(0, 0);
29538 return 0;
29540 _ACEOF
29541 if ac_fn_cxx_try_compile "$LINENO"; then :
29542 glibcxx_cv_func__powf_use=yes
29543 else
29544 glibcxx_cv_func__powf_use=no
29546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29547 ac_ext=c
29548 ac_cpp='$CPP $CPPFLAGS'
29549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29558 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29560 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29561 for ac_func in _powf
29562 do :
29563 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29564 if test "x$ac_cv_func__powf" = x""yes; then :
29565 cat >>confdefs.h <<_ACEOF
29566 #define HAVE__POWF 1
29567 _ACEOF
29570 done
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29580 $as_echo_n "checking for sqrtf declaration... " >&6; }
29581 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29582 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29583 $as_echo_n "(cached) " >&6
29584 else
29587 ac_ext=cpp
29588 ac_cpp='$CXXCPP $CPPFLAGS'
29589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29594 /* end confdefs.h. */
29595 #include <math.h>
29596 #ifdef HAVE_IEEEFP_H
29597 #include <ieeefp.h>
29598 #endif
29601 main ()
29603 sqrtf(0);
29605 return 0;
29607 _ACEOF
29608 if ac_fn_cxx_try_compile "$LINENO"; then :
29609 glibcxx_cv_func_sqrtf_use=yes
29610 else
29611 glibcxx_cv_func_sqrtf_use=no
29613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29614 ac_ext=c
29615 ac_cpp='$CPP $CPPFLAGS'
29616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29625 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29627 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29628 for ac_func in sqrtf
29629 do :
29630 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29631 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29632 cat >>confdefs.h <<_ACEOF
29633 #define HAVE_SQRTF 1
29634 _ACEOF
29637 done
29639 else
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29642 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29643 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29644 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29645 $as_echo_n "(cached) " >&6
29646 else
29649 ac_ext=cpp
29650 ac_cpp='$CXXCPP $CPPFLAGS'
29651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29656 /* end confdefs.h. */
29657 #include <math.h>
29658 #ifdef HAVE_IEEEFP_H
29659 #include <ieeefp.h>
29660 #endif
29663 main ()
29665 _sqrtf(0);
29667 return 0;
29669 _ACEOF
29670 if ac_fn_cxx_try_compile "$LINENO"; then :
29671 glibcxx_cv_func__sqrtf_use=yes
29672 else
29673 glibcxx_cv_func__sqrtf_use=no
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 ac_ext=c
29677 ac_cpp='$CPP $CPPFLAGS'
29678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29687 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29689 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29690 for ac_func in _sqrtf
29691 do :
29692 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29693 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29694 cat >>confdefs.h <<_ACEOF
29695 #define HAVE__SQRTF 1
29696 _ACEOF
29699 done
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29709 $as_echo_n "checking for sincosf declaration... " >&6; }
29710 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29711 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29712 $as_echo_n "(cached) " >&6
29713 else
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29723 /* end confdefs.h. */
29724 #include <math.h>
29726 main ()
29728 sincosf(0, 0, 0);
29730 return 0;
29732 _ACEOF
29733 if ac_fn_cxx_try_compile "$LINENO"; then :
29734 glibcxx_cv_func_sincosf_use=yes
29735 else
29736 glibcxx_cv_func_sincosf_use=no
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 ac_ext=c
29740 ac_cpp='$CPP $CPPFLAGS'
29741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29750 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29752 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29753 for ac_func in sincosf
29754 do :
29755 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29756 if test "x$ac_cv_func_sincosf" = x""yes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE_SINCOSF 1
29759 _ACEOF
29762 done
29764 else
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29767 $as_echo_n "checking for _sincosf declaration... " >&6; }
29768 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29769 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29784 main ()
29786 _sincosf(0, 0, 0);
29788 return 0;
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792 glibcxx_cv_func__sincosf_use=yes
29793 else
29794 glibcxx_cv_func__sincosf_use=no
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797 ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29808 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29810 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29811 for ac_func in _sincosf
29812 do :
29813 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29814 if test "x$ac_cv_func__sincosf" = x""yes; then :
29815 cat >>confdefs.h <<_ACEOF
29816 #define HAVE__SINCOSF 1
29817 _ACEOF
29820 done
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29830 $as_echo_n "checking for finitef declaration... " >&6; }
29831 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29832 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29833 $as_echo_n "(cached) " >&6
29834 else
29837 ac_ext=cpp
29838 ac_cpp='$CXXCPP $CPPFLAGS'
29839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29844 /* end confdefs.h. */
29845 #include <math.h>
29846 #ifdef HAVE_IEEEFP_H
29847 #include <ieeefp.h>
29848 #endif
29851 main ()
29853 finitef(0);
29855 return 0;
29857 _ACEOF
29858 if ac_fn_cxx_try_compile "$LINENO"; then :
29859 glibcxx_cv_func_finitef_use=yes
29860 else
29861 glibcxx_cv_func_finitef_use=no
29863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29864 ac_ext=c
29865 ac_cpp='$CPP $CPPFLAGS'
29866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29875 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29877 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29878 for ac_func in finitef
29879 do :
29880 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29881 if test "x$ac_cv_func_finitef" = x""yes; then :
29882 cat >>confdefs.h <<_ACEOF
29883 #define HAVE_FINITEF 1
29884 _ACEOF
29887 done
29889 else
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29892 $as_echo_n "checking for _finitef declaration... " >&6; }
29893 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29894 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29895 $as_echo_n "(cached) " >&6
29896 else
29899 ac_ext=cpp
29900 ac_cpp='$CXXCPP $CPPFLAGS'
29901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29907 #include <math.h>
29908 #ifdef HAVE_IEEEFP_H
29909 #include <ieeefp.h>
29910 #endif
29913 main ()
29915 _finitef(0);
29917 return 0;
29919 _ACEOF
29920 if ac_fn_cxx_try_compile "$LINENO"; then :
29921 glibcxx_cv_func__finitef_use=yes
29922 else
29923 glibcxx_cv_func__finitef_use=no
29925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29926 ac_ext=c
29927 ac_cpp='$CPP $CPPFLAGS'
29928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29937 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29939 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29940 for ac_func in _finitef
29941 do :
29942 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29943 if test "x$ac_cv_func__finitef" = x""yes; then :
29944 cat >>confdefs.h <<_ACEOF
29945 #define HAVE__FINITEF 1
29946 _ACEOF
29949 done
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29959 $as_echo_n "checking for long double trig functions... " >&6; }
29960 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29975 main ()
29977 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29979 return 0;
29981 _ACEOF
29982 if ac_fn_cxx_try_compile "$LINENO"; then :
29983 glibcxx_cv_func_long_double_trig_use=yes
29984 else
29985 glibcxx_cv_func_long_double_trig_use=no
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29988 ac_ext=c
29989 ac_cpp='$CPP $CPPFLAGS'
29990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29997 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29998 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29999 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30000 do :
30001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30003 eval as_val=\$$as_ac_var
30004 if test "x$as_val" = x""yes; then :
30005 cat >>confdefs.h <<_ACEOF
30006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30007 _ACEOF
30010 done
30012 else
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30014 $as_echo_n "checking for _long double trig functions... " >&6; }
30015 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30016 $as_echo_n "(cached) " >&6
30017 else
30020 ac_ext=cpp
30021 ac_cpp='$CXXCPP $CPPFLAGS'
30022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30027 /* end confdefs.h. */
30028 #include <math.h>
30030 main ()
30032 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30034 return 0;
30036 _ACEOF
30037 if ac_fn_cxx_try_compile "$LINENO"; then :
30038 glibcxx_cv_func__long_double_trig_use=yes
30039 else
30040 glibcxx_cv_func__long_double_trig_use=no
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30043 ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30052 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30053 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30054 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30055 do :
30056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30058 eval as_val=\$$as_ac_var
30059 if test "x$as_val" = x""yes; then :
30060 cat >>confdefs.h <<_ACEOF
30061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30062 _ACEOF
30065 done
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30075 $as_echo_n "checking for long double round functions... " >&6; }
30076 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30077 $as_echo_n "(cached) " >&6
30078 else
30081 ac_ext=cpp
30082 ac_cpp='$CXXCPP $CPPFLAGS'
30083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30089 #include <math.h>
30091 main ()
30093 ceill (0); floorl (0);
30095 return 0;
30097 _ACEOF
30098 if ac_fn_cxx_try_compile "$LINENO"; then :
30099 glibcxx_cv_func_long_double_round_use=yes
30100 else
30101 glibcxx_cv_func_long_double_round_use=no
30103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30104 ac_ext=c
30105 ac_cpp='$CPP $CPPFLAGS'
30106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30113 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30114 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30115 for ac_func in ceill floorl
30116 do :
30117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30119 eval as_val=\$$as_ac_var
30120 if test "x$as_val" = x""yes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30123 _ACEOF
30126 done
30128 else
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30130 $as_echo_n "checking for _long double round functions... " >&6; }
30131 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30132 $as_echo_n "(cached) " >&6
30133 else
30136 ac_ext=cpp
30137 ac_cpp='$CXXCPP $CPPFLAGS'
30138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30143 /* end confdefs.h. */
30144 #include <math.h>
30146 main ()
30148 _ceill (0); _floorl (0);
30150 return 0;
30152 _ACEOF
30153 if ac_fn_cxx_try_compile "$LINENO"; then :
30154 glibcxx_cv_func__long_double_round_use=yes
30155 else
30156 glibcxx_cv_func__long_double_round_use=no
30158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30159 ac_ext=c
30160 ac_cpp='$CPP $CPPFLAGS'
30161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30168 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30169 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30170 for ac_func in _ceill _floorl
30171 do :
30172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30174 eval as_val=\$$as_ac_var
30175 if test "x$as_val" = x""yes; then :
30176 cat >>confdefs.h <<_ACEOF
30177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30178 _ACEOF
30181 done
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30192 $as_echo_n "checking for isnanl declaration... " >&6; }
30193 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30194 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30195 $as_echo_n "(cached) " >&6
30196 else
30199 ac_ext=cpp
30200 ac_cpp='$CXXCPP $CPPFLAGS'
30201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30206 /* end confdefs.h. */
30207 #include <math.h>
30208 #ifdef HAVE_IEEEFP_H
30209 #include <ieeefp.h>
30210 #endif
30213 main ()
30215 isnanl(0);
30217 return 0;
30219 _ACEOF
30220 if ac_fn_cxx_try_compile "$LINENO"; then :
30221 glibcxx_cv_func_isnanl_use=yes
30222 else
30223 glibcxx_cv_func_isnanl_use=no
30225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30237 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30239 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30240 for ac_func in isnanl
30241 do :
30242 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30243 if test "x$ac_cv_func_isnanl" = x""yes; then :
30244 cat >>confdefs.h <<_ACEOF
30245 #define HAVE_ISNANL 1
30246 _ACEOF
30249 done
30251 else
30253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30254 $as_echo_n "checking for _isnanl declaration... " >&6; }
30255 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30256 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30257 $as_echo_n "(cached) " >&6
30258 else
30261 ac_ext=cpp
30262 ac_cpp='$CXXCPP $CPPFLAGS'
30263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30269 #include <math.h>
30270 #ifdef HAVE_IEEEFP_H
30271 #include <ieeefp.h>
30272 #endif
30275 main ()
30277 _isnanl(0);
30279 return 0;
30281 _ACEOF
30282 if ac_fn_cxx_try_compile "$LINENO"; then :
30283 glibcxx_cv_func__isnanl_use=yes
30284 else
30285 glibcxx_cv_func__isnanl_use=no
30287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30288 ac_ext=c
30289 ac_cpp='$CPP $CPPFLAGS'
30290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30299 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30301 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30302 for ac_func in _isnanl
30303 do :
30304 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30305 if test "x$ac_cv_func__isnanl" = x""yes; then :
30306 cat >>confdefs.h <<_ACEOF
30307 #define HAVE__ISNANL 1
30308 _ACEOF
30311 done
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30321 $as_echo_n "checking for isinfl declaration... " >&6; }
30322 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30323 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30324 $as_echo_n "(cached) " >&6
30325 else
30328 ac_ext=cpp
30329 ac_cpp='$CXXCPP $CPPFLAGS'
30330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30335 /* end confdefs.h. */
30336 #include <math.h>
30337 #ifdef HAVE_IEEEFP_H
30338 #include <ieeefp.h>
30339 #endif
30342 main ()
30344 isinfl(0);
30346 return 0;
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350 glibcxx_cv_func_isinfl_use=yes
30351 else
30352 glibcxx_cv_func_isinfl_use=no
30354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30355 ac_ext=c
30356 ac_cpp='$CPP $CPPFLAGS'
30357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30366 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30368 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30369 for ac_func in isinfl
30370 do :
30371 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30372 if test "x$ac_cv_func_isinfl" = x""yes; then :
30373 cat >>confdefs.h <<_ACEOF
30374 #define HAVE_ISINFL 1
30375 _ACEOF
30378 done
30380 else
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30383 $as_echo_n "checking for _isinfl declaration... " >&6; }
30384 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30385 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30386 $as_echo_n "(cached) " >&6
30387 else
30390 ac_ext=cpp
30391 ac_cpp='$CXXCPP $CPPFLAGS'
30392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30397 /* end confdefs.h. */
30398 #include <math.h>
30399 #ifdef HAVE_IEEEFP_H
30400 #include <ieeefp.h>
30401 #endif
30404 main ()
30406 _isinfl(0);
30408 return 0;
30410 _ACEOF
30411 if ac_fn_cxx_try_compile "$LINENO"; then :
30412 glibcxx_cv_func__isinfl_use=yes
30413 else
30414 glibcxx_cv_func__isinfl_use=no
30416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30417 ac_ext=c
30418 ac_cpp='$CPP $CPPFLAGS'
30419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30428 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30430 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30431 for ac_func in _isinfl
30432 do :
30433 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30434 if test "x$ac_cv_func__isinfl" = x""yes; then :
30435 cat >>confdefs.h <<_ACEOF
30436 #define HAVE__ISINFL 1
30437 _ACEOF
30440 done
30449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30450 $as_echo_n "checking for atan2l declaration... " >&6; }
30451 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30452 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30467 main ()
30469 atan2l(0, 0);
30471 return 0;
30473 _ACEOF
30474 if ac_fn_cxx_try_compile "$LINENO"; then :
30475 glibcxx_cv_func_atan2l_use=yes
30476 else
30477 glibcxx_cv_func_atan2l_use=no
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30491 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30493 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30494 for ac_func in atan2l
30495 do :
30496 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30497 if test "x$ac_cv_func_atan2l" = x""yes; then :
30498 cat >>confdefs.h <<_ACEOF
30499 #define HAVE_ATAN2L 1
30500 _ACEOF
30503 done
30505 else
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30508 $as_echo_n "checking for _atan2l declaration... " >&6; }
30509 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30510 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30511 $as_echo_n "(cached) " >&6
30512 else
30515 ac_ext=cpp
30516 ac_cpp='$CXXCPP $CPPFLAGS'
30517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30522 /* end confdefs.h. */
30523 #include <math.h>
30525 main ()
30527 _atan2l(0, 0);
30529 return 0;
30531 _ACEOF
30532 if ac_fn_cxx_try_compile "$LINENO"; then :
30533 glibcxx_cv_func__atan2l_use=yes
30534 else
30535 glibcxx_cv_func__atan2l_use=no
30537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30538 ac_ext=c
30539 ac_cpp='$CPP $CPPFLAGS'
30540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30549 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30551 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30552 for ac_func in _atan2l
30553 do :
30554 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30555 if test "x$ac_cv_func__atan2l" = x""yes; then :
30556 cat >>confdefs.h <<_ACEOF
30557 #define HAVE__ATAN2L 1
30558 _ACEOF
30561 done
30570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30571 $as_echo_n "checking for expl declaration... " >&6; }
30572 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30573 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30574 $as_echo_n "(cached) " >&6
30575 else
30578 ac_ext=cpp
30579 ac_cpp='$CXXCPP $CPPFLAGS'
30580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30585 /* end confdefs.h. */
30586 #include <math.h>
30587 #ifdef HAVE_IEEEFP_H
30588 #include <ieeefp.h>
30589 #endif
30592 main ()
30594 expl(0);
30596 return 0;
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600 glibcxx_cv_func_expl_use=yes
30601 else
30602 glibcxx_cv_func_expl_use=no
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 ac_ext=c
30606 ac_cpp='$CPP $CPPFLAGS'
30607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30616 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30618 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30619 for ac_func in expl
30620 do :
30621 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30622 if test "x$ac_cv_func_expl" = x""yes; then :
30623 cat >>confdefs.h <<_ACEOF
30624 #define HAVE_EXPL 1
30625 _ACEOF
30628 done
30630 else
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30633 $as_echo_n "checking for _expl declaration... " >&6; }
30634 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30635 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30636 $as_echo_n "(cached) " >&6
30637 else
30640 ac_ext=cpp
30641 ac_cpp='$CXXCPP $CPPFLAGS'
30642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30647 /* end confdefs.h. */
30648 #include <math.h>
30649 #ifdef HAVE_IEEEFP_H
30650 #include <ieeefp.h>
30651 #endif
30654 main ()
30656 _expl(0);
30658 return 0;
30660 _ACEOF
30661 if ac_fn_cxx_try_compile "$LINENO"; then :
30662 glibcxx_cv_func__expl_use=yes
30663 else
30664 glibcxx_cv_func__expl_use=no
30666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30667 ac_ext=c
30668 ac_cpp='$CPP $CPPFLAGS'
30669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30678 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30680 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30681 for ac_func in _expl
30682 do :
30683 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30684 if test "x$ac_cv_func__expl" = x""yes; then :
30685 cat >>confdefs.h <<_ACEOF
30686 #define HAVE__EXPL 1
30687 _ACEOF
30690 done
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30700 $as_echo_n "checking for fabsl declaration... " >&6; }
30701 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30702 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30703 $as_echo_n "(cached) " >&6
30704 else
30707 ac_ext=cpp
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30714 /* end confdefs.h. */
30715 #include <math.h>
30716 #ifdef HAVE_IEEEFP_H
30717 #include <ieeefp.h>
30718 #endif
30721 main ()
30723 fabsl(0);
30725 return 0;
30727 _ACEOF
30728 if ac_fn_cxx_try_compile "$LINENO"; then :
30729 glibcxx_cv_func_fabsl_use=yes
30730 else
30731 glibcxx_cv_func_fabsl_use=no
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30734 ac_ext=c
30735 ac_cpp='$CPP $CPPFLAGS'
30736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30745 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30747 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30748 for ac_func in fabsl
30749 do :
30750 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30751 if test "x$ac_cv_func_fabsl" = x""yes; then :
30752 cat >>confdefs.h <<_ACEOF
30753 #define HAVE_FABSL 1
30754 _ACEOF
30757 done
30759 else
30761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30762 $as_echo_n "checking for _fabsl declaration... " >&6; }
30763 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30764 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30765 $as_echo_n "(cached) " >&6
30766 else
30769 ac_ext=cpp
30770 ac_cpp='$CXXCPP $CPPFLAGS'
30771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30776 /* end confdefs.h. */
30777 #include <math.h>
30778 #ifdef HAVE_IEEEFP_H
30779 #include <ieeefp.h>
30780 #endif
30783 main ()
30785 _fabsl(0);
30787 return 0;
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__fabsl_use=yes
30792 else
30793 glibcxx_cv_func__fabsl_use=no
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30807 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30809 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30810 for ac_func in _fabsl
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30813 if test "x$ac_cv_func__fabsl" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__FABSL 1
30816 _ACEOF
30819 done
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30829 $as_echo_n "checking for fmodl declaration... " >&6; }
30830 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30831 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30836 ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h. */
30844 #include <math.h>
30846 main ()
30848 fmodl(0, 0);
30850 return 0;
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854 glibcxx_cv_func_fmodl_use=yes
30855 else
30856 glibcxx_cv_func_fmodl_use=no
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30870 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30872 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30873 for ac_func in fmodl
30874 do :
30875 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30876 if test "x$ac_cv_func_fmodl" = x""yes; then :
30877 cat >>confdefs.h <<_ACEOF
30878 #define HAVE_FMODL 1
30879 _ACEOF
30882 done
30884 else
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30887 $as_echo_n "checking for _fmodl declaration... " >&6; }
30888 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30889 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30904 main ()
30906 _fmodl(0, 0);
30908 return 0;
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__fmodl_use=yes
30913 else
30914 glibcxx_cv_func__fmodl_use=no
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30928 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30930 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30931 for ac_func in _fmodl
30932 do :
30933 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30934 if test "x$ac_cv_func__fmodl" = x""yes; then :
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE__FMODL 1
30937 _ACEOF
30940 done
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30950 $as_echo_n "checking for frexpl declaration... " >&6; }
30951 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30952 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30967 main ()
30969 frexpl(0, 0);
30971 return 0;
30973 _ACEOF
30974 if ac_fn_cxx_try_compile "$LINENO"; then :
30975 glibcxx_cv_func_frexpl_use=yes
30976 else
30977 glibcxx_cv_func_frexpl_use=no
30979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30980 ac_ext=c
30981 ac_cpp='$CPP $CPPFLAGS'
30982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30991 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30993 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30994 for ac_func in frexpl
30995 do :
30996 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30997 if test "x$ac_cv_func_frexpl" = x""yes; then :
30998 cat >>confdefs.h <<_ACEOF
30999 #define HAVE_FREXPL 1
31000 _ACEOF
31003 done
31005 else
31007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31008 $as_echo_n "checking for _frexpl declaration... " >&6; }
31009 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31010 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31011 $as_echo_n "(cached) " >&6
31012 else
31015 ac_ext=cpp
31016 ac_cpp='$CXXCPP $CPPFLAGS'
31017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31022 /* end confdefs.h. */
31023 #include <math.h>
31025 main ()
31027 _frexpl(0, 0);
31029 return 0;
31031 _ACEOF
31032 if ac_fn_cxx_try_compile "$LINENO"; then :
31033 glibcxx_cv_func__frexpl_use=yes
31034 else
31035 glibcxx_cv_func__frexpl_use=no
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31038 ac_ext=c
31039 ac_cpp='$CPP $CPPFLAGS'
31040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31049 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31051 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31052 for ac_func in _frexpl
31053 do :
31054 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31055 if test "x$ac_cv_func__frexpl" = x""yes; then :
31056 cat >>confdefs.h <<_ACEOF
31057 #define HAVE__FREXPL 1
31058 _ACEOF
31061 done
31070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31071 $as_echo_n "checking for hypotl declaration... " >&6; }
31072 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31073 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31074 $as_echo_n "(cached) " >&6
31075 else
31078 ac_ext=cpp
31079 ac_cpp='$CXXCPP $CPPFLAGS'
31080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31085 /* end confdefs.h. */
31086 #include <math.h>
31088 main ()
31090 hypotl(0, 0);
31092 return 0;
31094 _ACEOF
31095 if ac_fn_cxx_try_compile "$LINENO"; then :
31096 glibcxx_cv_func_hypotl_use=yes
31097 else
31098 glibcxx_cv_func_hypotl_use=no
31100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31101 ac_ext=c
31102 ac_cpp='$CPP $CPPFLAGS'
31103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31112 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31114 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31115 for ac_func in hypotl
31116 do :
31117 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31118 if test "x$ac_cv_func_hypotl" = x""yes; then :
31119 cat >>confdefs.h <<_ACEOF
31120 #define HAVE_HYPOTL 1
31121 _ACEOF
31124 done
31126 else
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31129 $as_echo_n "checking for _hypotl declaration... " >&6; }
31130 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31131 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31132 $as_echo_n "(cached) " >&6
31133 else
31136 ac_ext=cpp
31137 ac_cpp='$CXXCPP $CPPFLAGS'
31138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31144 #include <math.h>
31146 main ()
31148 _hypotl(0, 0);
31150 return 0;
31152 _ACEOF
31153 if ac_fn_cxx_try_compile "$LINENO"; then :
31154 glibcxx_cv_func__hypotl_use=yes
31155 else
31156 glibcxx_cv_func__hypotl_use=no
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159 ac_ext=c
31160 ac_cpp='$CPP $CPPFLAGS'
31161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31170 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31172 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31173 for ac_func in _hypotl
31174 do :
31175 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31176 if test "x$ac_cv_func__hypotl" = x""yes; then :
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE__HYPOTL 1
31179 _ACEOF
31182 done
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31192 $as_echo_n "checking for ldexpl declaration... " >&6; }
31193 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31194 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31195 $as_echo_n "(cached) " >&6
31196 else
31199 ac_ext=cpp
31200 ac_cpp='$CXXCPP $CPPFLAGS'
31201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31206 /* end confdefs.h. */
31207 #include <math.h>
31209 main ()
31211 ldexpl(0, 0);
31213 return 0;
31215 _ACEOF
31216 if ac_fn_cxx_try_compile "$LINENO"; then :
31217 glibcxx_cv_func_ldexpl_use=yes
31218 else
31219 glibcxx_cv_func_ldexpl_use=no
31221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31222 ac_ext=c
31223 ac_cpp='$CPP $CPPFLAGS'
31224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31233 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31235 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31236 for ac_func in ldexpl
31237 do :
31238 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31239 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31240 cat >>confdefs.h <<_ACEOF
31241 #define HAVE_LDEXPL 1
31242 _ACEOF
31245 done
31247 else
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31250 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31251 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31252 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31253 $as_echo_n "(cached) " >&6
31254 else
31257 ac_ext=cpp
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31265 #include <math.h>
31267 main ()
31269 _ldexpl(0, 0);
31271 return 0;
31273 _ACEOF
31274 if ac_fn_cxx_try_compile "$LINENO"; then :
31275 glibcxx_cv_func__ldexpl_use=yes
31276 else
31277 glibcxx_cv_func__ldexpl_use=no
31279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31280 ac_ext=c
31281 ac_cpp='$CPP $CPPFLAGS'
31282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31291 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31293 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31294 for ac_func in _ldexpl
31295 do :
31296 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31297 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31298 cat >>confdefs.h <<_ACEOF
31299 #define HAVE__LDEXPL 1
31300 _ACEOF
31303 done
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31313 $as_echo_n "checking for logl declaration... " >&6; }
31314 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31315 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31316 $as_echo_n "(cached) " >&6
31317 else
31320 ac_ext=cpp
31321 ac_cpp='$CXXCPP $CPPFLAGS'
31322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31327 /* end confdefs.h. */
31328 #include <math.h>
31329 #ifdef HAVE_IEEEFP_H
31330 #include <ieeefp.h>
31331 #endif
31334 main ()
31336 logl(0);
31338 return 0;
31340 _ACEOF
31341 if ac_fn_cxx_try_compile "$LINENO"; then :
31342 glibcxx_cv_func_logl_use=yes
31343 else
31344 glibcxx_cv_func_logl_use=no
31346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31347 ac_ext=c
31348 ac_cpp='$CPP $CPPFLAGS'
31349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31358 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31360 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31361 for ac_func in logl
31362 do :
31363 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31364 if test "x$ac_cv_func_logl" = x""yes; then :
31365 cat >>confdefs.h <<_ACEOF
31366 #define HAVE_LOGL 1
31367 _ACEOF
31370 done
31372 else
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31375 $as_echo_n "checking for _logl declaration... " >&6; }
31376 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31377 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31378 $as_echo_n "(cached) " >&6
31379 else
31382 ac_ext=cpp
31383 ac_cpp='$CXXCPP $CPPFLAGS'
31384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31389 /* end confdefs.h. */
31390 #include <math.h>
31391 #ifdef HAVE_IEEEFP_H
31392 #include <ieeefp.h>
31393 #endif
31396 main ()
31398 _logl(0);
31400 return 0;
31402 _ACEOF
31403 if ac_fn_cxx_try_compile "$LINENO"; then :
31404 glibcxx_cv_func__logl_use=yes
31405 else
31406 glibcxx_cv_func__logl_use=no
31408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31409 ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31420 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31422 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31423 for ac_func in _logl
31424 do :
31425 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31426 if test "x$ac_cv_func__logl" = x""yes; then :
31427 cat >>confdefs.h <<_ACEOF
31428 #define HAVE__LOGL 1
31429 _ACEOF
31432 done
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31442 $as_echo_n "checking for log10l declaration... " >&6; }
31443 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31444 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31445 $as_echo_n "(cached) " >&6
31446 else
31449 ac_ext=cpp
31450 ac_cpp='$CXXCPP $CPPFLAGS'
31451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31456 /* end confdefs.h. */
31457 #include <math.h>
31458 #ifdef HAVE_IEEEFP_H
31459 #include <ieeefp.h>
31460 #endif
31463 main ()
31465 log10l(0);
31467 return 0;
31469 _ACEOF
31470 if ac_fn_cxx_try_compile "$LINENO"; then :
31471 glibcxx_cv_func_log10l_use=yes
31472 else
31473 glibcxx_cv_func_log10l_use=no
31475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31476 ac_ext=c
31477 ac_cpp='$CPP $CPPFLAGS'
31478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31487 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31489 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31490 for ac_func in log10l
31491 do :
31492 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31493 if test "x$ac_cv_func_log10l" = x""yes; then :
31494 cat >>confdefs.h <<_ACEOF
31495 #define HAVE_LOG10L 1
31496 _ACEOF
31499 done
31501 else
31503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31504 $as_echo_n "checking for _log10l declaration... " >&6; }
31505 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31506 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31507 $as_echo_n "(cached) " >&6
31508 else
31511 ac_ext=cpp
31512 ac_cpp='$CXXCPP $CPPFLAGS'
31513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31518 /* end confdefs.h. */
31519 #include <math.h>
31520 #ifdef HAVE_IEEEFP_H
31521 #include <ieeefp.h>
31522 #endif
31525 main ()
31527 _log10l(0);
31529 return 0;
31531 _ACEOF
31532 if ac_fn_cxx_try_compile "$LINENO"; then :
31533 glibcxx_cv_func__log10l_use=yes
31534 else
31535 glibcxx_cv_func__log10l_use=no
31537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31538 ac_ext=c
31539 ac_cpp='$CPP $CPPFLAGS'
31540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31549 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31551 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31552 for ac_func in _log10l
31553 do :
31554 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31555 if test "x$ac_cv_func__log10l" = x""yes; then :
31556 cat >>confdefs.h <<_ACEOF
31557 #define HAVE__LOG10L 1
31558 _ACEOF
31561 done
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31571 $as_echo_n "checking for modfl declaration... " >&6; }
31572 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31573 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31574 $as_echo_n "(cached) " >&6
31575 else
31578 ac_ext=cpp
31579 ac_cpp='$CXXCPP $CPPFLAGS'
31580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31585 /* end confdefs.h. */
31586 #include <math.h>
31588 main ()
31590 modfl(0, 0);
31592 return 0;
31594 _ACEOF
31595 if ac_fn_cxx_try_compile "$LINENO"; then :
31596 glibcxx_cv_func_modfl_use=yes
31597 else
31598 glibcxx_cv_func_modfl_use=no
31600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31601 ac_ext=c
31602 ac_cpp='$CPP $CPPFLAGS'
31603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31612 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31614 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31615 for ac_func in modfl
31616 do :
31617 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31618 if test "x$ac_cv_func_modfl" = x""yes; then :
31619 cat >>confdefs.h <<_ACEOF
31620 #define HAVE_MODFL 1
31621 _ACEOF
31624 done
31626 else
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31629 $as_echo_n "checking for _modfl declaration... " >&6; }
31630 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31631 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31632 $as_echo_n "(cached) " >&6
31633 else
31636 ac_ext=cpp
31637 ac_cpp='$CXXCPP $CPPFLAGS'
31638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643 /* end confdefs.h. */
31644 #include <math.h>
31646 main ()
31648 _modfl(0, 0);
31650 return 0;
31652 _ACEOF
31653 if ac_fn_cxx_try_compile "$LINENO"; then :
31654 glibcxx_cv_func__modfl_use=yes
31655 else
31656 glibcxx_cv_func__modfl_use=no
31658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31659 ac_ext=c
31660 ac_cpp='$CPP $CPPFLAGS'
31661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31670 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31672 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31673 for ac_func in _modfl
31674 do :
31675 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31676 if test "x$ac_cv_func__modfl" = x""yes; then :
31677 cat >>confdefs.h <<_ACEOF
31678 #define HAVE__MODFL 1
31679 _ACEOF
31682 done
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31692 $as_echo_n "checking for powl declaration... " >&6; }
31693 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31694 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31695 $as_echo_n "(cached) " >&6
31696 else
31699 ac_ext=cpp
31700 ac_cpp='$CXXCPP $CPPFLAGS'
31701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31706 /* end confdefs.h. */
31707 #include <math.h>
31709 main ()
31711 powl(0, 0);
31713 return 0;
31715 _ACEOF
31716 if ac_fn_cxx_try_compile "$LINENO"; then :
31717 glibcxx_cv_func_powl_use=yes
31718 else
31719 glibcxx_cv_func_powl_use=no
31721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31722 ac_ext=c
31723 ac_cpp='$CPP $CPPFLAGS'
31724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31733 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31735 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31736 for ac_func in powl
31737 do :
31738 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31739 if test "x$ac_cv_func_powl" = x""yes; then :
31740 cat >>confdefs.h <<_ACEOF
31741 #define HAVE_POWL 1
31742 _ACEOF
31745 done
31747 else
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31750 $as_echo_n "checking for _powl declaration... " >&6; }
31751 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31752 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31753 $as_echo_n "(cached) " >&6
31754 else
31757 ac_ext=cpp
31758 ac_cpp='$CXXCPP $CPPFLAGS'
31759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31764 /* end confdefs.h. */
31765 #include <math.h>
31767 main ()
31769 _powl(0, 0);
31771 return 0;
31773 _ACEOF
31774 if ac_fn_cxx_try_compile "$LINENO"; then :
31775 glibcxx_cv_func__powl_use=yes
31776 else
31777 glibcxx_cv_func__powl_use=no
31779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31780 ac_ext=c
31781 ac_cpp='$CPP $CPPFLAGS'
31782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31791 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31793 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31794 for ac_func in _powl
31795 do :
31796 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31797 if test "x$ac_cv_func__powl" = x""yes; then :
31798 cat >>confdefs.h <<_ACEOF
31799 #define HAVE__POWL 1
31800 _ACEOF
31803 done
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31813 $as_echo_n "checking for sqrtl declaration... " >&6; }
31814 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31815 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31816 $as_echo_n "(cached) " >&6
31817 else
31820 ac_ext=cpp
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31827 /* end confdefs.h. */
31828 #include <math.h>
31829 #ifdef HAVE_IEEEFP_H
31830 #include <ieeefp.h>
31831 #endif
31834 main ()
31836 sqrtl(0);
31838 return 0;
31840 _ACEOF
31841 if ac_fn_cxx_try_compile "$LINENO"; then :
31842 glibcxx_cv_func_sqrtl_use=yes
31843 else
31844 glibcxx_cv_func_sqrtl_use=no
31846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31847 ac_ext=c
31848 ac_cpp='$CPP $CPPFLAGS'
31849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31858 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31860 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31861 for ac_func in sqrtl
31862 do :
31863 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31864 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31865 cat >>confdefs.h <<_ACEOF
31866 #define HAVE_SQRTL 1
31867 _ACEOF
31870 done
31872 else
31874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31875 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31876 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31877 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31878 $as_echo_n "(cached) " >&6
31879 else
31882 ac_ext=cpp
31883 ac_cpp='$CXXCPP $CPPFLAGS'
31884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31889 /* end confdefs.h. */
31890 #include <math.h>
31891 #ifdef HAVE_IEEEFP_H
31892 #include <ieeefp.h>
31893 #endif
31896 main ()
31898 _sqrtl(0);
31900 return 0;
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func__sqrtl_use=yes
31905 else
31906 glibcxx_cv_func__sqrtl_use=no
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31920 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31922 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31923 for ac_func in _sqrtl
31924 do :
31925 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31926 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE__SQRTL 1
31929 _ACEOF
31932 done
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31942 $as_echo_n "checking for sincosl declaration... " >&6; }
31943 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31944 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31945 $as_echo_n "(cached) " >&6
31946 else
31949 ac_ext=cpp
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957 #include <math.h>
31959 main ()
31961 sincosl(0, 0, 0);
31963 return 0;
31965 _ACEOF
31966 if ac_fn_cxx_try_compile "$LINENO"; then :
31967 glibcxx_cv_func_sincosl_use=yes
31968 else
31969 glibcxx_cv_func_sincosl_use=no
31971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31972 ac_ext=c
31973 ac_cpp='$CPP $CPPFLAGS'
31974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31983 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31985 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31986 for ac_func in sincosl
31987 do :
31988 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31989 if test "x$ac_cv_func_sincosl" = x""yes; then :
31990 cat >>confdefs.h <<_ACEOF
31991 #define HAVE_SINCOSL 1
31992 _ACEOF
31995 done
31997 else
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32000 $as_echo_n "checking for _sincosl declaration... " >&6; }
32001 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32002 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32003 $as_echo_n "(cached) " >&6
32004 else
32007 ac_ext=cpp
32008 ac_cpp='$CXXCPP $CPPFLAGS'
32009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32014 /* end confdefs.h. */
32015 #include <math.h>
32017 main ()
32019 _sincosl(0, 0, 0);
32021 return 0;
32023 _ACEOF
32024 if ac_fn_cxx_try_compile "$LINENO"; then :
32025 glibcxx_cv_func__sincosl_use=yes
32026 else
32027 glibcxx_cv_func__sincosl_use=no
32029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32030 ac_ext=c
32031 ac_cpp='$CPP $CPPFLAGS'
32032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32041 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32043 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32044 for ac_func in _sincosl
32045 do :
32046 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32047 if test "x$ac_cv_func__sincosl" = x""yes; then :
32048 cat >>confdefs.h <<_ACEOF
32049 #define HAVE__SINCOSL 1
32050 _ACEOF
32053 done
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32063 $as_echo_n "checking for finitel declaration... " >&6; }
32064 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32065 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32066 $as_echo_n "(cached) " >&6
32067 else
32070 ac_ext=cpp
32071 ac_cpp='$CXXCPP $CPPFLAGS'
32072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32077 /* end confdefs.h. */
32078 #include <math.h>
32079 #ifdef HAVE_IEEEFP_H
32080 #include <ieeefp.h>
32081 #endif
32084 main ()
32086 finitel(0);
32088 return 0;
32090 _ACEOF
32091 if ac_fn_cxx_try_compile "$LINENO"; then :
32092 glibcxx_cv_func_finitel_use=yes
32093 else
32094 glibcxx_cv_func_finitel_use=no
32096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32097 ac_ext=c
32098 ac_cpp='$CPP $CPPFLAGS'
32099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32108 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32110 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32111 for ac_func in finitel
32112 do :
32113 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32114 if test "x$ac_cv_func_finitel" = x""yes; then :
32115 cat >>confdefs.h <<_ACEOF
32116 #define HAVE_FINITEL 1
32117 _ACEOF
32120 done
32122 else
32124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32125 $as_echo_n "checking for _finitel declaration... " >&6; }
32126 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32127 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32128 $as_echo_n "(cached) " >&6
32129 else
32132 ac_ext=cpp
32133 ac_cpp='$CXXCPP $CPPFLAGS'
32134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32139 /* end confdefs.h. */
32140 #include <math.h>
32141 #ifdef HAVE_IEEEFP_H
32142 #include <ieeefp.h>
32143 #endif
32146 main ()
32148 _finitel(0);
32150 return 0;
32152 _ACEOF
32153 if ac_fn_cxx_try_compile "$LINENO"; then :
32154 glibcxx_cv_func__finitel_use=yes
32155 else
32156 glibcxx_cv_func__finitel_use=no
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 ac_ext=c
32160 ac_cpp='$CPP $CPPFLAGS'
32161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32170 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32172 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32173 for ac_func in _finitel
32174 do :
32175 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32176 if test "x$ac_cv_func__finitel" = x""yes; then :
32177 cat >>confdefs.h <<_ACEOF
32178 #define HAVE__FINITEL 1
32179 _ACEOF
32182 done
32190 LIBS="$ac_save_LIBS"
32191 CXXFLAGS="$ac_save_CXXFLAGS"
32194 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32195 ac_save_CXXFLAGS="$CXXFLAGS"
32196 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32200 $as_echo_n "checking for strtold declaration... " >&6; }
32201 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32202 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32203 $as_echo_n "(cached) " >&6
32204 else
32207 ac_ext=cpp
32208 ac_cpp='$CXXCPP $CPPFLAGS'
32209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32214 /* end confdefs.h. */
32215 #include <stdlib.h>
32217 main ()
32219 strtold(0, 0);
32221 return 0;
32223 _ACEOF
32224 if ac_fn_cxx_try_compile "$LINENO"; then :
32225 glibcxx_cv_func_strtold_use=yes
32226 else
32227 glibcxx_cv_func_strtold_use=no
32229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32230 ac_ext=c
32231 ac_cpp='$CPP $CPPFLAGS'
32232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32241 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32242 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32243 for ac_func in strtold
32244 do :
32245 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32246 if test "x$ac_cv_func_strtold" = x""yes; then :
32247 cat >>confdefs.h <<_ACEOF
32248 #define HAVE_STRTOLD 1
32249 _ACEOF
32252 done
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32260 $as_echo_n "checking for strtof declaration... " >&6; }
32261 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32262 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32263 $as_echo_n "(cached) " >&6
32264 else
32267 ac_ext=cpp
32268 ac_cpp='$CXXCPP $CPPFLAGS'
32269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32274 /* end confdefs.h. */
32275 #include <stdlib.h>
32277 main ()
32279 strtof(0, 0);
32281 return 0;
32283 _ACEOF
32284 if ac_fn_cxx_try_compile "$LINENO"; then :
32285 glibcxx_cv_func_strtof_use=yes
32286 else
32287 glibcxx_cv_func_strtof_use=no
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 ac_ext=c
32291 ac_cpp='$CPP $CPPFLAGS'
32292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32301 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32302 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32303 for ac_func in strtof
32304 do :
32305 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32306 if test "x$ac_cv_func_strtof" = x""yes; then :
32307 cat >>confdefs.h <<_ACEOF
32308 #define HAVE_STRTOF 1
32309 _ACEOF
32312 done
32319 CXXFLAGS="$ac_save_CXXFLAGS"
32322 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32324 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32326 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32328 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32331 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32333 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32335 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32339 *-aix*)
32341 # If we're not using GNU ld, then there's no point in even trying these
32342 # tests. Check for that first. We should have already tested for gld
32343 # by now (in libtool), but require it now just to be safe...
32344 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32345 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32349 # The name set by libtool depends on the version of libtool. Shame on us
32350 # for depending on an impl detail, but c'est la vie. Older versions used
32351 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32352 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32353 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32354 # set (hence we're using an older libtool), then set it.
32355 if test x${with_gnu_ld+set} != xset; then
32356 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32357 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32358 with_gnu_ld=no
32359 else
32360 with_gnu_ld=$ac_cv_prog_gnu_ld
32364 # Start by getting the version number. I think the libtool test already
32365 # does some of this, but throws away the result.
32366 glibcxx_ld_is_gold=no
32367 if test x"$with_gnu_ld" = x"yes"; then
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32369 $as_echo_n "checking for ld version... " >&6; }
32371 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32372 glibcxx_ld_is_gold=yes
32374 ldver=`$LD --version 2>/dev/null |
32375 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'`
32377 glibcxx_gnu_ld_version=`echo $ldver | \
32378 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32380 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32383 # Set --gc-sections.
32384 glibcxx_have_gc_sections=no
32385 if test "$glibcxx_ld_is_gold" = "yes"; then
32386 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32387 glibcxx_have_gc_sections=yes
32389 else
32390 glibcxx_gcsections_min_ld=21602
32391 if test x"$with_gnu_ld" = x"yes" &&
32392 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32393 glibcxx_have_gc_sections=yes
32396 if test "$glibcxx_have_gc_sections" = "yes"; then
32397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32398 # NB: This flag only works reliably after 2.16.1. Configure tests
32399 # for this are difficult, so hard wire a value that should work.
32401 ac_test_CFLAGS="${CFLAGS+set}"
32402 ac_save_CFLAGS="$CFLAGS"
32403 CFLAGS='-Wl,--gc-sections'
32405 # Check for -Wl,--gc-sections
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32407 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32408 if test x$gcc_no_link = xyes; then
32409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 int one(void) { return 1; }
32414 int two(void) { return 2; }
32417 main ()
32419 two();
32421 return 0;
32423 _ACEOF
32424 if ac_fn_c_try_link "$LINENO"; then :
32425 ac_gcsections=yes
32426 else
32427 ac_gcsections=no
32429 rm -f core conftest.err conftest.$ac_objext \
32430 conftest$ac_exeext conftest.$ac_ext
32431 if test "$ac_gcsections" = "yes"; then
32432 rm -f conftest.c
32433 touch conftest.c
32434 if $CC -c conftest.c; then
32435 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32436 grep "Warning: gc-sections option ignored" > /dev/null; then
32437 ac_gcsections=no
32440 rm -f conftest.c conftest.o conftest
32442 if test "$ac_gcsections" = "yes"; then
32443 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32446 $as_echo "$ac_gcsections" >&6; }
32448 if test "$ac_test_CFLAGS" = set; then
32449 CFLAGS="$ac_save_CFLAGS"
32450 else
32451 # this is the suspicious part
32452 CFLAGS=''
32456 # Set -z,relro.
32457 # Note this is only for shared objects.
32458 ac_ld_relro=no
32459 if test x"$with_gnu_ld" = x"yes"; then
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32461 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32462 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32463 if test -n "$cxx_z_relo"; then
32464 OPT_LDFLAGS="-Wl,-z,relro"
32465 ac_ld_relro=yes
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32468 $as_echo "$ac_ld_relro" >&6; }
32471 # Set linker optimization flags.
32472 if test x"$with_gnu_ld" = x"yes"; then
32473 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32481 ac_save_CXXFLAGS="$CXXFLAGS"
32482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32485 $as_echo_n "checking for sin in -lm... " >&6; }
32486 if test "${ac_cv_lib_m_sin+set}" = set; then :
32487 $as_echo_n "(cached) " >&6
32488 else
32489 ac_check_lib_save_LIBS=$LIBS
32490 LIBS="-lm $LIBS"
32491 if test x$gcc_no_link = xyes; then
32492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32495 /* end confdefs.h. */
32497 /* Override any GCC internal prototype to avoid an error.
32498 Use char because int might match the return type of a GCC
32499 builtin and then its argument prototype would still apply. */
32500 #ifdef __cplusplus
32501 extern "C"
32502 #endif
32503 char sin ();
32505 main ()
32507 return sin ();
32509 return 0;
32511 _ACEOF
32512 if ac_fn_c_try_link "$LINENO"; then :
32513 ac_cv_lib_m_sin=yes
32514 else
32515 ac_cv_lib_m_sin=no
32517 rm -f core conftest.err conftest.$ac_objext \
32518 conftest$ac_exeext conftest.$ac_ext
32519 LIBS=$ac_check_lib_save_LIBS
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32522 $as_echo "$ac_cv_lib_m_sin" >&6; }
32523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32524 libm="-lm"
32527 ac_save_LIBS="$LIBS"
32528 LIBS="$LIBS $libm"
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32533 $as_echo_n "checking for isinf declaration... " >&6; }
32534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32536 $as_echo_n "(cached) " >&6
32537 else
32540 ac_ext=cpp
32541 ac_cpp='$CXXCPP $CPPFLAGS'
32542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547 /* end confdefs.h. */
32548 #include <math.h>
32549 #ifdef HAVE_IEEEFP_H
32550 #include <ieeefp.h>
32551 #endif
32554 main ()
32556 isinf(0);
32558 return 0;
32560 _ACEOF
32561 if ac_fn_cxx_try_compile "$LINENO"; then :
32562 glibcxx_cv_func_isinf_use=yes
32563 else
32564 glibcxx_cv_func_isinf_use=no
32566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32567 ac_ext=c
32568 ac_cpp='$CPP $CPPFLAGS'
32569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32581 for ac_func in isinf
32582 do :
32583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32584 if test "x$ac_cv_func_isinf" = x""yes; then :
32585 cat >>confdefs.h <<_ACEOF
32586 #define HAVE_ISINF 1
32587 _ACEOF
32590 done
32592 else
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32595 $as_echo_n "checking for _isinf declaration... " >&6; }
32596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32598 $as_echo_n "(cached) " >&6
32599 else
32602 ac_ext=cpp
32603 ac_cpp='$CXXCPP $CPPFLAGS'
32604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32609 /* end confdefs.h. */
32610 #include <math.h>
32611 #ifdef HAVE_IEEEFP_H
32612 #include <ieeefp.h>
32613 #endif
32616 main ()
32618 _isinf(0);
32620 return 0;
32622 _ACEOF
32623 if ac_fn_cxx_try_compile "$LINENO"; then :
32624 glibcxx_cv_func__isinf_use=yes
32625 else
32626 glibcxx_cv_func__isinf_use=no
32628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32643 for ac_func in _isinf
32644 do :
32645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32646 if test "x$ac_cv_func__isinf" = x""yes; then :
32647 cat >>confdefs.h <<_ACEOF
32648 #define HAVE__ISINF 1
32649 _ACEOF
32652 done
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32662 $as_echo_n "checking for isnan declaration... " >&6; }
32663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32665 $as_echo_n "(cached) " >&6
32666 else
32669 ac_ext=cpp
32670 ac_cpp='$CXXCPP $CPPFLAGS'
32671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32676 /* end confdefs.h. */
32677 #include <math.h>
32678 #ifdef HAVE_IEEEFP_H
32679 #include <ieeefp.h>
32680 #endif
32683 main ()
32685 isnan(0);
32687 return 0;
32689 _ACEOF
32690 if ac_fn_cxx_try_compile "$LINENO"; then :
32691 glibcxx_cv_func_isnan_use=yes
32692 else
32693 glibcxx_cv_func_isnan_use=no
32695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696 ac_ext=c
32697 ac_cpp='$CPP $CPPFLAGS'
32698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32710 for ac_func in isnan
32711 do :
32712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32713 if test "x$ac_cv_func_isnan" = x""yes; then :
32714 cat >>confdefs.h <<_ACEOF
32715 #define HAVE_ISNAN 1
32716 _ACEOF
32719 done
32721 else
32723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32724 $as_echo_n "checking for _isnan declaration... " >&6; }
32725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32727 $as_echo_n "(cached) " >&6
32728 else
32731 ac_ext=cpp
32732 ac_cpp='$CXXCPP $CPPFLAGS'
32733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32738 /* end confdefs.h. */
32739 #include <math.h>
32740 #ifdef HAVE_IEEEFP_H
32741 #include <ieeefp.h>
32742 #endif
32745 main ()
32747 _isnan(0);
32749 return 0;
32751 _ACEOF
32752 if ac_fn_cxx_try_compile "$LINENO"; then :
32753 glibcxx_cv_func__isnan_use=yes
32754 else
32755 glibcxx_cv_func__isnan_use=no
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 ac_ext=c
32759 ac_cpp='$CPP $CPPFLAGS'
32760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32772 for ac_func in _isnan
32773 do :
32774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32775 if test "x$ac_cv_func__isnan" = x""yes; then :
32776 cat >>confdefs.h <<_ACEOF
32777 #define HAVE__ISNAN 1
32778 _ACEOF
32781 done
32790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32791 $as_echo_n "checking for finite declaration... " >&6; }
32792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32794 $as_echo_n "(cached) " >&6
32795 else
32798 ac_ext=cpp
32799 ac_cpp='$CXXCPP $CPPFLAGS'
32800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32805 /* end confdefs.h. */
32806 #include <math.h>
32807 #ifdef HAVE_IEEEFP_H
32808 #include <ieeefp.h>
32809 #endif
32812 main ()
32814 finite(0);
32816 return 0;
32818 _ACEOF
32819 if ac_fn_cxx_try_compile "$LINENO"; then :
32820 glibcxx_cv_func_finite_use=yes
32821 else
32822 glibcxx_cv_func_finite_use=no
32824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32825 ac_ext=c
32826 ac_cpp='$CPP $CPPFLAGS'
32827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32839 for ac_func in finite
32840 do :
32841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32842 if test "x$ac_cv_func_finite" = x""yes; then :
32843 cat >>confdefs.h <<_ACEOF
32844 #define HAVE_FINITE 1
32845 _ACEOF
32848 done
32850 else
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32853 $as_echo_n "checking for _finite declaration... " >&6; }
32854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32856 $as_echo_n "(cached) " >&6
32857 else
32860 ac_ext=cpp
32861 ac_cpp='$CXXCPP $CPPFLAGS'
32862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32867 /* end confdefs.h. */
32868 #include <math.h>
32869 #ifdef HAVE_IEEEFP_H
32870 #include <ieeefp.h>
32871 #endif
32874 main ()
32876 _finite(0);
32878 return 0;
32880 _ACEOF
32881 if ac_fn_cxx_try_compile "$LINENO"; then :
32882 glibcxx_cv_func__finite_use=yes
32883 else
32884 glibcxx_cv_func__finite_use=no
32886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32887 ac_ext=c
32888 ac_cpp='$CPP $CPPFLAGS'
32889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32901 for ac_func in _finite
32902 do :
32903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32904 if test "x$ac_cv_func__finite" = x""yes; then :
32905 cat >>confdefs.h <<_ACEOF
32906 #define HAVE__FINITE 1
32907 _ACEOF
32910 done
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32920 $as_echo_n "checking for sincos declaration... " >&6; }
32921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32923 $as_echo_n "(cached) " >&6
32924 else
32927 ac_ext=cpp
32928 ac_cpp='$CXXCPP $CPPFLAGS'
32929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32934 /* end confdefs.h. */
32935 #include <math.h>
32937 main ()
32939 sincos(0, 0, 0);
32941 return 0;
32943 _ACEOF
32944 if ac_fn_cxx_try_compile "$LINENO"; then :
32945 glibcxx_cv_func_sincos_use=yes
32946 else
32947 glibcxx_cv_func_sincos_use=no
32949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32950 ac_ext=c
32951 ac_cpp='$CPP $CPPFLAGS'
32952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32964 for ac_func in sincos
32965 do :
32966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32967 if test "x$ac_cv_func_sincos" = x""yes; then :
32968 cat >>confdefs.h <<_ACEOF
32969 #define HAVE_SINCOS 1
32970 _ACEOF
32973 done
32975 else
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32978 $as_echo_n "checking for _sincos declaration... " >&6; }
32979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32981 $as_echo_n "(cached) " >&6
32982 else
32985 ac_ext=cpp
32986 ac_cpp='$CXXCPP $CPPFLAGS'
32987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992 /* end confdefs.h. */
32993 #include <math.h>
32995 main ()
32997 _sincos(0, 0, 0);
32999 return 0;
33001 _ACEOF
33002 if ac_fn_cxx_try_compile "$LINENO"; then :
33003 glibcxx_cv_func__sincos_use=yes
33004 else
33005 glibcxx_cv_func__sincos_use=no
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008 ac_ext=c
33009 ac_cpp='$CPP $CPPFLAGS'
33010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33022 for ac_func in _sincos
33023 do :
33024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33025 if test "x$ac_cv_func__sincos" = x""yes; then :
33026 cat >>confdefs.h <<_ACEOF
33027 #define HAVE__SINCOS 1
33028 _ACEOF
33031 done
33040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33041 $as_echo_n "checking for fpclass declaration... " >&6; }
33042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33044 $as_echo_n "(cached) " >&6
33045 else
33048 ac_ext=cpp
33049 ac_cpp='$CXXCPP $CPPFLAGS'
33050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33055 /* end confdefs.h. */
33056 #include <math.h>
33057 #ifdef HAVE_IEEEFP_H
33058 #include <ieeefp.h>
33059 #endif
33062 main ()
33064 fpclass(0);
33066 return 0;
33068 _ACEOF
33069 if ac_fn_cxx_try_compile "$LINENO"; then :
33070 glibcxx_cv_func_fpclass_use=yes
33071 else
33072 glibcxx_cv_func_fpclass_use=no
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 ac_ext=c
33076 ac_cpp='$CPP $CPPFLAGS'
33077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33089 for ac_func in fpclass
33090 do :
33091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33092 if test "x$ac_cv_func_fpclass" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_FPCLASS 1
33095 _ACEOF
33098 done
33100 else
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33103 $as_echo_n "checking for _fpclass declaration... " >&6; }
33104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33106 $as_echo_n "(cached) " >&6
33107 else
33110 ac_ext=cpp
33111 ac_cpp='$CXXCPP $CPPFLAGS'
33112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33117 /* end confdefs.h. */
33118 #include <math.h>
33119 #ifdef HAVE_IEEEFP_H
33120 #include <ieeefp.h>
33121 #endif
33124 main ()
33126 _fpclass(0);
33128 return 0;
33130 _ACEOF
33131 if ac_fn_cxx_try_compile "$LINENO"; then :
33132 glibcxx_cv_func__fpclass_use=yes
33133 else
33134 glibcxx_cv_func__fpclass_use=no
33136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 ac_ext=c
33138 ac_cpp='$CPP $CPPFLAGS'
33139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33151 for ac_func in _fpclass
33152 do :
33153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33154 if test "x$ac_cv_func__fpclass" = x""yes; then :
33155 cat >>confdefs.h <<_ACEOF
33156 #define HAVE__FPCLASS 1
33157 _ACEOF
33160 done
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33170 $as_echo_n "checking for qfpclass declaration... " >&6; }
33171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33173 $as_echo_n "(cached) " >&6
33174 else
33177 ac_ext=cpp
33178 ac_cpp='$CXXCPP $CPPFLAGS'
33179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33184 /* end confdefs.h. */
33185 #include <math.h>
33186 #ifdef HAVE_IEEEFP_H
33187 #include <ieeefp.h>
33188 #endif
33191 main ()
33193 qfpclass(0);
33195 return 0;
33197 _ACEOF
33198 if ac_fn_cxx_try_compile "$LINENO"; then :
33199 glibcxx_cv_func_qfpclass_use=yes
33200 else
33201 glibcxx_cv_func_qfpclass_use=no
33203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33204 ac_ext=c
33205 ac_cpp='$CPP $CPPFLAGS'
33206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33218 for ac_func in qfpclass
33219 do :
33220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33222 cat >>confdefs.h <<_ACEOF
33223 #define HAVE_QFPCLASS 1
33224 _ACEOF
33227 done
33229 else
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33235 $as_echo_n "(cached) " >&6
33236 else
33239 ac_ext=cpp
33240 ac_cpp='$CXXCPP $CPPFLAGS'
33241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33246 /* end confdefs.h. */
33247 #include <math.h>
33248 #ifdef HAVE_IEEEFP_H
33249 #include <ieeefp.h>
33250 #endif
33253 main ()
33255 _qfpclass(0);
33257 return 0;
33259 _ACEOF
33260 if ac_fn_cxx_try_compile "$LINENO"; then :
33261 glibcxx_cv_func__qfpclass_use=yes
33262 else
33263 glibcxx_cv_func__qfpclass_use=no
33265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33266 ac_ext=c
33267 ac_cpp='$CPP $CPPFLAGS'
33268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33280 for ac_func in _qfpclass
33281 do :
33282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33284 cat >>confdefs.h <<_ACEOF
33285 #define HAVE__QFPCLASS 1
33286 _ACEOF
33289 done
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33299 $as_echo_n "checking for hypot declaration... " >&6; }
33300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33302 $as_echo_n "(cached) " >&6
33303 else
33306 ac_ext=cpp
33307 ac_cpp='$CXXCPP $CPPFLAGS'
33308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33313 /* end confdefs.h. */
33314 #include <math.h>
33316 main ()
33318 hypot(0, 0);
33320 return 0;
33322 _ACEOF
33323 if ac_fn_cxx_try_compile "$LINENO"; then :
33324 glibcxx_cv_func_hypot_use=yes
33325 else
33326 glibcxx_cv_func_hypot_use=no
33328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33329 ac_ext=c
33330 ac_cpp='$CPP $CPPFLAGS'
33331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33343 for ac_func in hypot
33344 do :
33345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33346 if test "x$ac_cv_func_hypot" = x""yes; then :
33347 cat >>confdefs.h <<_ACEOF
33348 #define HAVE_HYPOT 1
33349 _ACEOF
33352 done
33354 else
33356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33357 $as_echo_n "checking for _hypot declaration... " >&6; }
33358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33360 $as_echo_n "(cached) " >&6
33361 else
33364 ac_ext=cpp
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33371 /* end confdefs.h. */
33372 #include <math.h>
33374 main ()
33376 _hypot(0, 0);
33378 return 0;
33380 _ACEOF
33381 if ac_fn_cxx_try_compile "$LINENO"; then :
33382 glibcxx_cv_func__hypot_use=yes
33383 else
33384 glibcxx_cv_func__hypot_use=no
33386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33387 ac_ext=c
33388 ac_cpp='$CPP $CPPFLAGS'
33389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33401 for ac_func in _hypot
33402 do :
33403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33404 if test "x$ac_cv_func__hypot" = x""yes; then :
33405 cat >>confdefs.h <<_ACEOF
33406 #define HAVE__HYPOT 1
33407 _ACEOF
33410 done
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33420 $as_echo_n "checking for float trig functions... " >&6; }
33421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <math.h>
33436 main ()
33438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33440 return 0;
33442 _ACEOF
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func_float_trig_use=yes
33445 else
33446 glibcxx_cv_func_float_trig_use=no
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33449 ac_ext=c
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33461 do :
33462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33464 eval as_val=\$$as_ac_var
33465 if test "x$as_val" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33468 _ACEOF
33471 done
33473 else
33474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33475 $as_echo_n "checking for _float trig functions... " >&6; }
33476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33477 $as_echo_n "(cached) " >&6
33478 else
33481 ac_ext=cpp
33482 ac_cpp='$CXXCPP $CPPFLAGS'
33483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h. */
33489 #include <math.h>
33491 main ()
33493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33495 return 0;
33497 _ACEOF
33498 if ac_fn_cxx_try_compile "$LINENO"; then :
33499 glibcxx_cv_func__float_trig_use=yes
33500 else
33501 glibcxx_cv_func__float_trig_use=no
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 ac_ext=c
33505 ac_cpp='$CPP $CPPFLAGS'
33506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33516 do :
33517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33519 eval as_val=\$$as_ac_var
33520 if test "x$as_val" = x""yes; then :
33521 cat >>confdefs.h <<_ACEOF
33522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33523 _ACEOF
33526 done
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33536 $as_echo_n "checking for float round functions... " >&6; }
33537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33552 main ()
33554 ceilf (0); floorf (0);
33556 return 0;
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func_float_round_use=yes
33561 else
33562 glibcxx_cv_func_float_round_use=no
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33576 for ac_func in ceilf floorf
33577 do :
33578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33580 eval as_val=\$$as_ac_var
33581 if test "x$as_val" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33584 _ACEOF
33587 done
33589 else
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33591 $as_echo_n "checking for _float round functions... " >&6; }
33592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33593 $as_echo_n "(cached) " >&6
33594 else
33597 ac_ext=cpp
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33604 /* end confdefs.h. */
33605 #include <math.h>
33607 main ()
33609 _ceilf (0); _floorf (0);
33611 return 0;
33613 _ACEOF
33614 if ac_fn_cxx_try_compile "$LINENO"; then :
33615 glibcxx_cv_func__float_round_use=yes
33616 else
33617 glibcxx_cv_func__float_round_use=no
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33631 for ac_func in _ceilf _floorf
33632 do :
33633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33635 eval as_val=\$$as_ac_var
33636 if test "x$as_val" = x""yes; then :
33637 cat >>confdefs.h <<_ACEOF
33638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33639 _ACEOF
33642 done
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33653 $as_echo_n "checking for expf declaration... " >&6; }
33654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <math.h>
33669 #ifdef HAVE_IEEEFP_H
33670 #include <ieeefp.h>
33671 #endif
33674 main ()
33676 expf(0);
33678 return 0;
33680 _ACEOF
33681 if ac_fn_cxx_try_compile "$LINENO"; then :
33682 glibcxx_cv_func_expf_use=yes
33683 else
33684 glibcxx_cv_func_expf_use=no
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33687 ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33701 for ac_func in expf
33702 do :
33703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33704 if test "x$ac_cv_func_expf" = x""yes; then :
33705 cat >>confdefs.h <<_ACEOF
33706 #define HAVE_EXPF 1
33707 _ACEOF
33710 done
33712 else
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33715 $as_echo_n "checking for _expf declaration... " >&6; }
33716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33718 $as_echo_n "(cached) " >&6
33719 else
33722 ac_ext=cpp
33723 ac_cpp='$CXXCPP $CPPFLAGS'
33724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33729 /* end confdefs.h. */
33730 #include <math.h>
33731 #ifdef HAVE_IEEEFP_H
33732 #include <ieeefp.h>
33733 #endif
33736 main ()
33738 _expf(0);
33740 return 0;
33742 _ACEOF
33743 if ac_fn_cxx_try_compile "$LINENO"; then :
33744 glibcxx_cv_func__expf_use=yes
33745 else
33746 glibcxx_cv_func__expf_use=no
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33749 ac_ext=c
33750 ac_cpp='$CPP $CPPFLAGS'
33751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33763 for ac_func in _expf
33764 do :
33765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33766 if test "x$ac_cv_func__expf" = x""yes; then :
33767 cat >>confdefs.h <<_ACEOF
33768 #define HAVE__EXPF 1
33769 _ACEOF
33772 done
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33782 $as_echo_n "checking for isnanf declaration... " >&6; }
33783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33785 $as_echo_n "(cached) " >&6
33786 else
33789 ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 #include <math.h>
33798 #ifdef HAVE_IEEEFP_H
33799 #include <ieeefp.h>
33800 #endif
33803 main ()
33805 isnanf(0);
33807 return 0;
33809 _ACEOF
33810 if ac_fn_cxx_try_compile "$LINENO"; then :
33811 glibcxx_cv_func_isnanf_use=yes
33812 else
33813 glibcxx_cv_func_isnanf_use=no
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816 ac_ext=c
33817 ac_cpp='$CPP $CPPFLAGS'
33818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33830 for ac_func in isnanf
33831 do :
33832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33833 if test "x$ac_cv_func_isnanf" = x""yes; then :
33834 cat >>confdefs.h <<_ACEOF
33835 #define HAVE_ISNANF 1
33836 _ACEOF
33839 done
33841 else
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33844 $as_echo_n "checking for _isnanf declaration... " >&6; }
33845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33847 $as_echo_n "(cached) " >&6
33848 else
33851 ac_ext=cpp
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33858 /* end confdefs.h. */
33859 #include <math.h>
33860 #ifdef HAVE_IEEEFP_H
33861 #include <ieeefp.h>
33862 #endif
33865 main ()
33867 _isnanf(0);
33869 return 0;
33871 _ACEOF
33872 if ac_fn_cxx_try_compile "$LINENO"; then :
33873 glibcxx_cv_func__isnanf_use=yes
33874 else
33875 glibcxx_cv_func__isnanf_use=no
33877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33892 for ac_func in _isnanf
33893 do :
33894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33895 if test "x$ac_cv_func__isnanf" = x""yes; then :
33896 cat >>confdefs.h <<_ACEOF
33897 #define HAVE__ISNANF 1
33898 _ACEOF
33901 done
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33911 $as_echo_n "checking for isinff declaration... " >&6; }
33912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33914 $as_echo_n "(cached) " >&6
33915 else
33918 ac_ext=cpp
33919 ac_cpp='$CXXCPP $CPPFLAGS'
33920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33925 /* end confdefs.h. */
33926 #include <math.h>
33927 #ifdef HAVE_IEEEFP_H
33928 #include <ieeefp.h>
33929 #endif
33932 main ()
33934 isinff(0);
33936 return 0;
33938 _ACEOF
33939 if ac_fn_cxx_try_compile "$LINENO"; then :
33940 glibcxx_cv_func_isinff_use=yes
33941 else
33942 glibcxx_cv_func_isinff_use=no
33944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33945 ac_ext=c
33946 ac_cpp='$CPP $CPPFLAGS'
33947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33959 for ac_func in isinff
33960 do :
33961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33962 if test "x$ac_cv_func_isinff" = x""yes; then :
33963 cat >>confdefs.h <<_ACEOF
33964 #define HAVE_ISINFF 1
33965 _ACEOF
33968 done
33970 else
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33973 $as_echo_n "checking for _isinff declaration... " >&6; }
33974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33976 $as_echo_n "(cached) " >&6
33977 else
33980 ac_ext=cpp
33981 ac_cpp='$CXXCPP $CPPFLAGS'
33982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33987 /* end confdefs.h. */
33988 #include <math.h>
33989 #ifdef HAVE_IEEEFP_H
33990 #include <ieeefp.h>
33991 #endif
33994 main ()
33996 _isinff(0);
33998 return 0;
34000 _ACEOF
34001 if ac_fn_cxx_try_compile "$LINENO"; then :
34002 glibcxx_cv_func__isinff_use=yes
34003 else
34004 glibcxx_cv_func__isinff_use=no
34006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34007 ac_ext=c
34008 ac_cpp='$CPP $CPPFLAGS'
34009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34021 for ac_func in _isinff
34022 do :
34023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34024 if test "x$ac_cv_func__isinff" = x""yes; then :
34025 cat >>confdefs.h <<_ACEOF
34026 #define HAVE__ISINFF 1
34027 _ACEOF
34030 done
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34040 $as_echo_n "checking for atan2f declaration... " >&6; }
34041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34043 $as_echo_n "(cached) " >&6
34044 else
34047 ac_ext=cpp
34048 ac_cpp='$CXXCPP $CPPFLAGS'
34049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34054 /* end confdefs.h. */
34055 #include <math.h>
34057 main ()
34059 atan2f(0, 0);
34061 return 0;
34063 _ACEOF
34064 if ac_fn_cxx_try_compile "$LINENO"; then :
34065 glibcxx_cv_func_atan2f_use=yes
34066 else
34067 glibcxx_cv_func_atan2f_use=no
34069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34070 ac_ext=c
34071 ac_cpp='$CPP $CPPFLAGS'
34072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34084 for ac_func in atan2f
34085 do :
34086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34087 if test "x$ac_cv_func_atan2f" = x""yes; then :
34088 cat >>confdefs.h <<_ACEOF
34089 #define HAVE_ATAN2F 1
34090 _ACEOF
34093 done
34095 else
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34098 $as_echo_n "checking for _atan2f declaration... " >&6; }
34099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34101 $as_echo_n "(cached) " >&6
34102 else
34105 ac_ext=cpp
34106 ac_cpp='$CXXCPP $CPPFLAGS'
34107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34112 /* end confdefs.h. */
34113 #include <math.h>
34115 main ()
34117 _atan2f(0, 0);
34119 return 0;
34121 _ACEOF
34122 if ac_fn_cxx_try_compile "$LINENO"; then :
34123 glibcxx_cv_func__atan2f_use=yes
34124 else
34125 glibcxx_cv_func__atan2f_use=no
34127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34128 ac_ext=c
34129 ac_cpp='$CPP $CPPFLAGS'
34130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34142 for ac_func in _atan2f
34143 do :
34144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34145 if test "x$ac_cv_func__atan2f" = x""yes; then :
34146 cat >>confdefs.h <<_ACEOF
34147 #define HAVE__ATAN2F 1
34148 _ACEOF
34151 done
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34161 $as_echo_n "checking for fabsf declaration... " >&6; }
34162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34164 $as_echo_n "(cached) " >&6
34165 else
34168 ac_ext=cpp
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34175 /* end confdefs.h. */
34176 #include <math.h>
34177 #ifdef HAVE_IEEEFP_H
34178 #include <ieeefp.h>
34179 #endif
34182 main ()
34184 fabsf(0);
34186 return 0;
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func_fabsf_use=yes
34191 else
34192 glibcxx_cv_func_fabsf_use=no
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34209 for ac_func in fabsf
34210 do :
34211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34212 if test "x$ac_cv_func_fabsf" = x""yes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE_FABSF 1
34215 _ACEOF
34218 done
34220 else
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34223 $as_echo_n "checking for _fabsf declaration... " >&6; }
34224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34226 $as_echo_n "(cached) " >&6
34227 else
34230 ac_ext=cpp
34231 ac_cpp='$CXXCPP $CPPFLAGS'
34232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34237 /* end confdefs.h. */
34238 #include <math.h>
34239 #ifdef HAVE_IEEEFP_H
34240 #include <ieeefp.h>
34241 #endif
34244 main ()
34246 _fabsf(0);
34248 return 0;
34250 _ACEOF
34251 if ac_fn_cxx_try_compile "$LINENO"; then :
34252 glibcxx_cv_func__fabsf_use=yes
34253 else
34254 glibcxx_cv_func__fabsf_use=no
34256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34257 ac_ext=c
34258 ac_cpp='$CPP $CPPFLAGS'
34259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34271 for ac_func in _fabsf
34272 do :
34273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34274 if test "x$ac_cv_func__fabsf" = x""yes; then :
34275 cat >>confdefs.h <<_ACEOF
34276 #define HAVE__FABSF 1
34277 _ACEOF
34280 done
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34290 $as_echo_n "checking for fmodf declaration... " >&6; }
34291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34293 $as_echo_n "(cached) " >&6
34294 else
34297 ac_ext=cpp
34298 ac_cpp='$CXXCPP $CPPFLAGS'
34299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34304 /* end confdefs.h. */
34305 #include <math.h>
34307 main ()
34309 fmodf(0, 0);
34311 return 0;
34313 _ACEOF
34314 if ac_fn_cxx_try_compile "$LINENO"; then :
34315 glibcxx_cv_func_fmodf_use=yes
34316 else
34317 glibcxx_cv_func_fmodf_use=no
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34334 for ac_func in fmodf
34335 do :
34336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34337 if test "x$ac_cv_func_fmodf" = x""yes; then :
34338 cat >>confdefs.h <<_ACEOF
34339 #define HAVE_FMODF 1
34340 _ACEOF
34343 done
34345 else
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34348 $as_echo_n "checking for _fmodf declaration... " >&6; }
34349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34365 main ()
34367 _fmodf(0, 0);
34369 return 0;
34371 _ACEOF
34372 if ac_fn_cxx_try_compile "$LINENO"; then :
34373 glibcxx_cv_func__fmodf_use=yes
34374 else
34375 glibcxx_cv_func__fmodf_use=no
34377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34378 ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34392 for ac_func in _fmodf
34393 do :
34394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34395 if test "x$ac_cv_func__fmodf" = x""yes; then :
34396 cat >>confdefs.h <<_ACEOF
34397 #define HAVE__FMODF 1
34398 _ACEOF
34401 done
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34411 $as_echo_n "checking for frexpf declaration... " >&6; }
34412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34414 $as_echo_n "(cached) " >&6
34415 else
34418 ac_ext=cpp
34419 ac_cpp='$CXXCPP $CPPFLAGS'
34420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34425 /* end confdefs.h. */
34426 #include <math.h>
34428 main ()
34430 frexpf(0, 0);
34432 return 0;
34434 _ACEOF
34435 if ac_fn_cxx_try_compile "$LINENO"; then :
34436 glibcxx_cv_func_frexpf_use=yes
34437 else
34438 glibcxx_cv_func_frexpf_use=no
34440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34441 ac_ext=c
34442 ac_cpp='$CPP $CPPFLAGS'
34443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34455 for ac_func in frexpf
34456 do :
34457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34458 if test "x$ac_cv_func_frexpf" = x""yes; then :
34459 cat >>confdefs.h <<_ACEOF
34460 #define HAVE_FREXPF 1
34461 _ACEOF
34464 done
34466 else
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34469 $as_echo_n "checking for _frexpf declaration... " >&6; }
34470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34472 $as_echo_n "(cached) " >&6
34473 else
34476 ac_ext=cpp
34477 ac_cpp='$CXXCPP $CPPFLAGS'
34478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34483 /* end confdefs.h. */
34484 #include <math.h>
34486 main ()
34488 _frexpf(0, 0);
34490 return 0;
34492 _ACEOF
34493 if ac_fn_cxx_try_compile "$LINENO"; then :
34494 glibcxx_cv_func__frexpf_use=yes
34495 else
34496 glibcxx_cv_func__frexpf_use=no
34498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34499 ac_ext=c
34500 ac_cpp='$CPP $CPPFLAGS'
34501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34513 for ac_func in _frexpf
34514 do :
34515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34516 if test "x$ac_cv_func__frexpf" = x""yes; then :
34517 cat >>confdefs.h <<_ACEOF
34518 #define HAVE__FREXPF 1
34519 _ACEOF
34522 done
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34532 $as_echo_n "checking for hypotf declaration... " >&6; }
34533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34535 $as_echo_n "(cached) " >&6
34536 else
34539 ac_ext=cpp
34540 ac_cpp='$CXXCPP $CPPFLAGS'
34541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34546 /* end confdefs.h. */
34547 #include <math.h>
34549 main ()
34551 hypotf(0, 0);
34553 return 0;
34555 _ACEOF
34556 if ac_fn_cxx_try_compile "$LINENO"; then :
34557 glibcxx_cv_func_hypotf_use=yes
34558 else
34559 glibcxx_cv_func_hypotf_use=no
34561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34562 ac_ext=c
34563 ac_cpp='$CPP $CPPFLAGS'
34564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34576 for ac_func in hypotf
34577 do :
34578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34579 if test "x$ac_cv_func_hypotf" = x""yes; then :
34580 cat >>confdefs.h <<_ACEOF
34581 #define HAVE_HYPOTF 1
34582 _ACEOF
34585 done
34587 else
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34590 $as_echo_n "checking for _hypotf declaration... " >&6; }
34591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34593 $as_echo_n "(cached) " >&6
34594 else
34597 ac_ext=cpp
34598 ac_cpp='$CXXCPP $CPPFLAGS'
34599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34604 /* end confdefs.h. */
34605 #include <math.h>
34607 main ()
34609 _hypotf(0, 0);
34611 return 0;
34613 _ACEOF
34614 if ac_fn_cxx_try_compile "$LINENO"; then :
34615 glibcxx_cv_func__hypotf_use=yes
34616 else
34617 glibcxx_cv_func__hypotf_use=no
34619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34620 ac_ext=c
34621 ac_cpp='$CPP $CPPFLAGS'
34622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34634 for ac_func in _hypotf
34635 do :
34636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34637 if test "x$ac_cv_func__hypotf" = x""yes; then :
34638 cat >>confdefs.h <<_ACEOF
34639 #define HAVE__HYPOTF 1
34640 _ACEOF
34643 done
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34653 $as_echo_n "checking for ldexpf declaration... " >&6; }
34654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34656 $as_echo_n "(cached) " >&6
34657 else
34660 ac_ext=cpp
34661 ac_cpp='$CXXCPP $CPPFLAGS'
34662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34667 /* end confdefs.h. */
34668 #include <math.h>
34670 main ()
34672 ldexpf(0, 0);
34674 return 0;
34676 _ACEOF
34677 if ac_fn_cxx_try_compile "$LINENO"; then :
34678 glibcxx_cv_func_ldexpf_use=yes
34679 else
34680 glibcxx_cv_func_ldexpf_use=no
34682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683 ac_ext=c
34684 ac_cpp='$CPP $CPPFLAGS'
34685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34697 for ac_func in ldexpf
34698 do :
34699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34701 cat >>confdefs.h <<_ACEOF
34702 #define HAVE_LDEXPF 1
34703 _ACEOF
34706 done
34708 else
34710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34714 $as_echo_n "(cached) " >&6
34715 else
34718 ac_ext=cpp
34719 ac_cpp='$CXXCPP $CPPFLAGS'
34720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h. */
34726 #include <math.h>
34728 main ()
34730 _ldexpf(0, 0);
34732 return 0;
34734 _ACEOF
34735 if ac_fn_cxx_try_compile "$LINENO"; then :
34736 glibcxx_cv_func__ldexpf_use=yes
34737 else
34738 glibcxx_cv_func__ldexpf_use=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 ac_ext=c
34742 ac_cpp='$CPP $CPPFLAGS'
34743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34755 for ac_func in _ldexpf
34756 do :
34757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34759 cat >>confdefs.h <<_ACEOF
34760 #define HAVE__LDEXPF 1
34761 _ACEOF
34764 done
34773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34774 $as_echo_n "checking for logf declaration... " >&6; }
34775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34777 $as_echo_n "(cached) " >&6
34778 else
34781 ac_ext=cpp
34782 ac_cpp='$CXXCPP $CPPFLAGS'
34783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34788 /* end confdefs.h. */
34789 #include <math.h>
34790 #ifdef HAVE_IEEEFP_H
34791 #include <ieeefp.h>
34792 #endif
34795 main ()
34797 logf(0);
34799 return 0;
34801 _ACEOF
34802 if ac_fn_cxx_try_compile "$LINENO"; then :
34803 glibcxx_cv_func_logf_use=yes
34804 else
34805 glibcxx_cv_func_logf_use=no
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808 ac_ext=c
34809 ac_cpp='$CPP $CPPFLAGS'
34810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34822 for ac_func in logf
34823 do :
34824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34825 if test "x$ac_cv_func_logf" = x""yes; then :
34826 cat >>confdefs.h <<_ACEOF
34827 #define HAVE_LOGF 1
34828 _ACEOF
34831 done
34833 else
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34836 $as_echo_n "checking for _logf declaration... " >&6; }
34837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34839 $as_echo_n "(cached) " >&6
34840 else
34843 ac_ext=cpp
34844 ac_cpp='$CXXCPP $CPPFLAGS'
34845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34850 /* end confdefs.h. */
34851 #include <math.h>
34852 #ifdef HAVE_IEEEFP_H
34853 #include <ieeefp.h>
34854 #endif
34857 main ()
34859 _logf(0);
34861 return 0;
34863 _ACEOF
34864 if ac_fn_cxx_try_compile "$LINENO"; then :
34865 glibcxx_cv_func__logf_use=yes
34866 else
34867 glibcxx_cv_func__logf_use=no
34869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34870 ac_ext=c
34871 ac_cpp='$CPP $CPPFLAGS'
34872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34884 for ac_func in _logf
34885 do :
34886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34887 if test "x$ac_cv_func__logf" = x""yes; then :
34888 cat >>confdefs.h <<_ACEOF
34889 #define HAVE__LOGF 1
34890 _ACEOF
34893 done
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34903 $as_echo_n "checking for log10f declaration... " >&6; }
34904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34906 $as_echo_n "(cached) " >&6
34907 else
34910 ac_ext=cpp
34911 ac_cpp='$CXXCPP $CPPFLAGS'
34912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34917 /* end confdefs.h. */
34918 #include <math.h>
34919 #ifdef HAVE_IEEEFP_H
34920 #include <ieeefp.h>
34921 #endif
34924 main ()
34926 log10f(0);
34928 return 0;
34930 _ACEOF
34931 if ac_fn_cxx_try_compile "$LINENO"; then :
34932 glibcxx_cv_func_log10f_use=yes
34933 else
34934 glibcxx_cv_func_log10f_use=no
34936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34937 ac_ext=c
34938 ac_cpp='$CPP $CPPFLAGS'
34939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34951 for ac_func in log10f
34952 do :
34953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34954 if test "x$ac_cv_func_log10f" = x""yes; then :
34955 cat >>confdefs.h <<_ACEOF
34956 #define HAVE_LOG10F 1
34957 _ACEOF
34960 done
34962 else
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34965 $as_echo_n "checking for _log10f declaration... " >&6; }
34966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34968 $as_echo_n "(cached) " >&6
34969 else
34972 ac_ext=cpp
34973 ac_cpp='$CXXCPP $CPPFLAGS'
34974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34979 /* end confdefs.h. */
34980 #include <math.h>
34981 #ifdef HAVE_IEEEFP_H
34982 #include <ieeefp.h>
34983 #endif
34986 main ()
34988 _log10f(0);
34990 return 0;
34992 _ACEOF
34993 if ac_fn_cxx_try_compile "$LINENO"; then :
34994 glibcxx_cv_func__log10f_use=yes
34995 else
34996 glibcxx_cv_func__log10f_use=no
34998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999 ac_ext=c
35000 ac_cpp='$CPP $CPPFLAGS'
35001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35013 for ac_func in _log10f
35014 do :
35015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35016 if test "x$ac_cv_func__log10f" = x""yes; then :
35017 cat >>confdefs.h <<_ACEOF
35018 #define HAVE__LOG10F 1
35019 _ACEOF
35022 done
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35032 $as_echo_n "checking for modff declaration... " >&6; }
35033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35035 $as_echo_n "(cached) " >&6
35036 else
35039 ac_ext=cpp
35040 ac_cpp='$CXXCPP $CPPFLAGS'
35041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35046 /* end confdefs.h. */
35047 #include <math.h>
35049 main ()
35051 modff(0, 0);
35053 return 0;
35055 _ACEOF
35056 if ac_fn_cxx_try_compile "$LINENO"; then :
35057 glibcxx_cv_func_modff_use=yes
35058 else
35059 glibcxx_cv_func_modff_use=no
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062 ac_ext=c
35063 ac_cpp='$CPP $CPPFLAGS'
35064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35076 for ac_func in modff
35077 do :
35078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35079 if test "x$ac_cv_func_modff" = x""yes; then :
35080 cat >>confdefs.h <<_ACEOF
35081 #define HAVE_MODFF 1
35082 _ACEOF
35085 done
35087 else
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35090 $as_echo_n "checking for _modff declaration... " >&6; }
35091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35093 $as_echo_n "(cached) " >&6
35094 else
35097 ac_ext=cpp
35098 ac_cpp='$CXXCPP $CPPFLAGS'
35099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35104 /* end confdefs.h. */
35105 #include <math.h>
35107 main ()
35109 _modff(0, 0);
35111 return 0;
35113 _ACEOF
35114 if ac_fn_cxx_try_compile "$LINENO"; then :
35115 glibcxx_cv_func__modff_use=yes
35116 else
35117 glibcxx_cv_func__modff_use=no
35119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35120 ac_ext=c
35121 ac_cpp='$CPP $CPPFLAGS'
35122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35134 for ac_func in _modff
35135 do :
35136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35137 if test "x$ac_cv_func__modff" = x""yes; then :
35138 cat >>confdefs.h <<_ACEOF
35139 #define HAVE__MODFF 1
35140 _ACEOF
35143 done
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35153 $as_echo_n "checking for modf declaration... " >&6; }
35154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35156 $as_echo_n "(cached) " >&6
35157 else
35160 ac_ext=cpp
35161 ac_cpp='$CXXCPP $CPPFLAGS'
35162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35167 /* end confdefs.h. */
35168 #include <math.h>
35170 main ()
35172 modf(0, 0);
35174 return 0;
35176 _ACEOF
35177 if ac_fn_cxx_try_compile "$LINENO"; then :
35178 glibcxx_cv_func_modf_use=yes
35179 else
35180 glibcxx_cv_func_modf_use=no
35182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183 ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35197 for ac_func in modf
35198 do :
35199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35200 if test "x$ac_cv_func_modf" = x""yes; then :
35201 cat >>confdefs.h <<_ACEOF
35202 #define HAVE_MODF 1
35203 _ACEOF
35206 done
35208 else
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35211 $as_echo_n "checking for _modf declaration... " >&6; }
35212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35214 $as_echo_n "(cached) " >&6
35215 else
35218 ac_ext=cpp
35219 ac_cpp='$CXXCPP $CPPFLAGS'
35220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35225 /* end confdefs.h. */
35226 #include <math.h>
35228 main ()
35230 _modf(0, 0);
35232 return 0;
35234 _ACEOF
35235 if ac_fn_cxx_try_compile "$LINENO"; then :
35236 glibcxx_cv_func__modf_use=yes
35237 else
35238 glibcxx_cv_func__modf_use=no
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35255 for ac_func in _modf
35256 do :
35257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35258 if test "x$ac_cv_func__modf" = x""yes; then :
35259 cat >>confdefs.h <<_ACEOF
35260 #define HAVE__MODF 1
35261 _ACEOF
35264 done
35273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35274 $as_echo_n "checking for powf declaration... " >&6; }
35275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35277 $as_echo_n "(cached) " >&6
35278 else
35281 ac_ext=cpp
35282 ac_cpp='$CXXCPP $CPPFLAGS'
35283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35288 /* end confdefs.h. */
35289 #include <math.h>
35291 main ()
35293 powf(0, 0);
35295 return 0;
35297 _ACEOF
35298 if ac_fn_cxx_try_compile "$LINENO"; then :
35299 glibcxx_cv_func_powf_use=yes
35300 else
35301 glibcxx_cv_func_powf_use=no
35303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35304 ac_ext=c
35305 ac_cpp='$CPP $CPPFLAGS'
35306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35318 for ac_func in powf
35319 do :
35320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35321 if test "x$ac_cv_func_powf" = x""yes; then :
35322 cat >>confdefs.h <<_ACEOF
35323 #define HAVE_POWF 1
35324 _ACEOF
35327 done
35329 else
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35332 $as_echo_n "checking for _powf declaration... " >&6; }
35333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35335 $as_echo_n "(cached) " >&6
35336 else
35339 ac_ext=cpp
35340 ac_cpp='$CXXCPP $CPPFLAGS'
35341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35346 /* end confdefs.h. */
35347 #include <math.h>
35349 main ()
35351 _powf(0, 0);
35353 return 0;
35355 _ACEOF
35356 if ac_fn_cxx_try_compile "$LINENO"; then :
35357 glibcxx_cv_func__powf_use=yes
35358 else
35359 glibcxx_cv_func__powf_use=no
35361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35362 ac_ext=c
35363 ac_cpp='$CPP $CPPFLAGS'
35364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35376 for ac_func in _powf
35377 do :
35378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35379 if test "x$ac_cv_func__powf" = x""yes; then :
35380 cat >>confdefs.h <<_ACEOF
35381 #define HAVE__POWF 1
35382 _ACEOF
35385 done
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35395 $as_echo_n "checking for sqrtf declaration... " >&6; }
35396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35398 $as_echo_n "(cached) " >&6
35399 else
35402 ac_ext=cpp
35403 ac_cpp='$CXXCPP $CPPFLAGS'
35404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35409 /* end confdefs.h. */
35410 #include <math.h>
35411 #ifdef HAVE_IEEEFP_H
35412 #include <ieeefp.h>
35413 #endif
35416 main ()
35418 sqrtf(0);
35420 return 0;
35422 _ACEOF
35423 if ac_fn_cxx_try_compile "$LINENO"; then :
35424 glibcxx_cv_func_sqrtf_use=yes
35425 else
35426 glibcxx_cv_func_sqrtf_use=no
35428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429 ac_ext=c
35430 ac_cpp='$CPP $CPPFLAGS'
35431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35443 for ac_func in sqrtf
35444 do :
35445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35447 cat >>confdefs.h <<_ACEOF
35448 #define HAVE_SQRTF 1
35449 _ACEOF
35452 done
35454 else
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35460 $as_echo_n "(cached) " >&6
35461 else
35464 ac_ext=cpp
35465 ac_cpp='$CXXCPP $CPPFLAGS'
35466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35471 /* end confdefs.h. */
35472 #include <math.h>
35473 #ifdef HAVE_IEEEFP_H
35474 #include <ieeefp.h>
35475 #endif
35478 main ()
35480 _sqrtf(0);
35482 return 0;
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486 glibcxx_cv_func__sqrtf_use=yes
35487 else
35488 glibcxx_cv_func__sqrtf_use=no
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35505 for ac_func in _sqrtf
35506 do :
35507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35509 cat >>confdefs.h <<_ACEOF
35510 #define HAVE__SQRTF 1
35511 _ACEOF
35514 done
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35524 $as_echo_n "checking for sincosf declaration... " >&6; }
35525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35527 $as_echo_n "(cached) " >&6
35528 else
35531 ac_ext=cpp
35532 ac_cpp='$CXXCPP $CPPFLAGS'
35533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35538 /* end confdefs.h. */
35539 #include <math.h>
35541 main ()
35543 sincosf(0, 0, 0);
35545 return 0;
35547 _ACEOF
35548 if ac_fn_cxx_try_compile "$LINENO"; then :
35549 glibcxx_cv_func_sincosf_use=yes
35550 else
35551 glibcxx_cv_func_sincosf_use=no
35553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35554 ac_ext=c
35555 ac_cpp='$CPP $CPPFLAGS'
35556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35568 for ac_func in sincosf
35569 do :
35570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35571 if test "x$ac_cv_func_sincosf" = x""yes; then :
35572 cat >>confdefs.h <<_ACEOF
35573 #define HAVE_SINCOSF 1
35574 _ACEOF
35577 done
35579 else
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35582 $as_echo_n "checking for _sincosf declaration... " >&6; }
35583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35585 $as_echo_n "(cached) " >&6
35586 else
35589 ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h. */
35597 #include <math.h>
35599 main ()
35601 _sincosf(0, 0, 0);
35603 return 0;
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607 glibcxx_cv_func__sincosf_use=yes
35608 else
35609 glibcxx_cv_func__sincosf_use=no
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35626 for ac_func in _sincosf
35627 do :
35628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35629 if test "x$ac_cv_func__sincosf" = x""yes; then :
35630 cat >>confdefs.h <<_ACEOF
35631 #define HAVE__SINCOSF 1
35632 _ACEOF
35635 done
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35645 $as_echo_n "checking for finitef declaration... " >&6; }
35646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35648 $as_echo_n "(cached) " >&6
35649 else
35652 ac_ext=cpp
35653 ac_cpp='$CXXCPP $CPPFLAGS'
35654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35659 /* end confdefs.h. */
35660 #include <math.h>
35661 #ifdef HAVE_IEEEFP_H
35662 #include <ieeefp.h>
35663 #endif
35666 main ()
35668 finitef(0);
35670 return 0;
35672 _ACEOF
35673 if ac_fn_cxx_try_compile "$LINENO"; then :
35674 glibcxx_cv_func_finitef_use=yes
35675 else
35676 glibcxx_cv_func_finitef_use=no
35678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35679 ac_ext=c
35680 ac_cpp='$CPP $CPPFLAGS'
35681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35693 for ac_func in finitef
35694 do :
35695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35696 if test "x$ac_cv_func_finitef" = x""yes; then :
35697 cat >>confdefs.h <<_ACEOF
35698 #define HAVE_FINITEF 1
35699 _ACEOF
35702 done
35704 else
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35707 $as_echo_n "checking for _finitef declaration... " >&6; }
35708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35710 $as_echo_n "(cached) " >&6
35711 else
35714 ac_ext=cpp
35715 ac_cpp='$CXXCPP $CPPFLAGS'
35716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35721 /* end confdefs.h. */
35722 #include <math.h>
35723 #ifdef HAVE_IEEEFP_H
35724 #include <ieeefp.h>
35725 #endif
35728 main ()
35730 _finitef(0);
35732 return 0;
35734 _ACEOF
35735 if ac_fn_cxx_try_compile "$LINENO"; then :
35736 glibcxx_cv_func__finitef_use=yes
35737 else
35738 glibcxx_cv_func__finitef_use=no
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741 ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35755 for ac_func in _finitef
35756 do :
35757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35758 if test "x$ac_cv_func__finitef" = x""yes; then :
35759 cat >>confdefs.h <<_ACEOF
35760 #define HAVE__FINITEF 1
35761 _ACEOF
35764 done
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35774 $as_echo_n "checking for long double trig functions... " >&6; }
35775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35790 main ()
35792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35794 return 0;
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func_long_double_trig_use=yes
35799 else
35800 glibcxx_cv_func_long_double_trig_use=no
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35815 do :
35816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35818 eval as_val=\$$as_ac_var
35819 if test "x$as_val" = x""yes; then :
35820 cat >>confdefs.h <<_ACEOF
35821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 _ACEOF
35825 done
35827 else
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35829 $as_echo_n "checking for _long double trig functions... " >&6; }
35830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35831 $as_echo_n "(cached) " >&6
35832 else
35835 ac_ext=cpp
35836 ac_cpp='$CXXCPP $CPPFLAGS'
35837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35842 /* end confdefs.h. */
35843 #include <math.h>
35845 main ()
35847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35849 return 0;
35851 _ACEOF
35852 if ac_fn_cxx_try_compile "$LINENO"; then :
35853 glibcxx_cv_func__long_double_trig_use=yes
35854 else
35855 glibcxx_cv_func__long_double_trig_use=no
35857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35858 ac_ext=c
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35870 do :
35871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35873 eval as_val=\$$as_ac_var
35874 if test "x$as_val" = x""yes; then :
35875 cat >>confdefs.h <<_ACEOF
35876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35877 _ACEOF
35880 done
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35890 $as_echo_n "checking for long double round functions... " >&6; }
35891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35892 $as_echo_n "(cached) " >&6
35893 else
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35903 /* end confdefs.h. */
35904 #include <math.h>
35906 main ()
35908 ceill (0); floorl (0);
35910 return 0;
35912 _ACEOF
35913 if ac_fn_cxx_try_compile "$LINENO"; then :
35914 glibcxx_cv_func_long_double_round_use=yes
35915 else
35916 glibcxx_cv_func_long_double_round_use=no
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35919 ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35930 for ac_func in ceill floorl
35931 do :
35932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35934 eval as_val=\$$as_ac_var
35935 if test "x$as_val" = x""yes; then :
35936 cat >>confdefs.h <<_ACEOF
35937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35938 _ACEOF
35941 done
35943 else
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35945 $as_echo_n "checking for _long double round functions... " >&6; }
35946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35947 $as_echo_n "(cached) " >&6
35948 else
35951 ac_ext=cpp
35952 ac_cpp='$CXXCPP $CPPFLAGS'
35953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35958 /* end confdefs.h. */
35959 #include <math.h>
35961 main ()
35963 _ceill (0); _floorl (0);
35965 return 0;
35967 _ACEOF
35968 if ac_fn_cxx_try_compile "$LINENO"; then :
35969 glibcxx_cv_func__long_double_round_use=yes
35970 else
35971 glibcxx_cv_func__long_double_round_use=no
35973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35974 ac_ext=c
35975 ac_cpp='$CPP $CPPFLAGS'
35976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35985 for ac_func in _ceill _floorl
35986 do :
35987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35989 eval as_val=\$$as_ac_var
35990 if test "x$as_val" = x""yes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35993 _ACEOF
35996 done
36006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36007 $as_echo_n "checking for isnanl declaration... " >&6; }
36008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36010 $as_echo_n "(cached) " >&6
36011 else
36014 ac_ext=cpp
36015 ac_cpp='$CXXCPP $CPPFLAGS'
36016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36021 /* end confdefs.h. */
36022 #include <math.h>
36023 #ifdef HAVE_IEEEFP_H
36024 #include <ieeefp.h>
36025 #endif
36028 main ()
36030 isnanl(0);
36032 return 0;
36034 _ACEOF
36035 if ac_fn_cxx_try_compile "$LINENO"; then :
36036 glibcxx_cv_func_isnanl_use=yes
36037 else
36038 glibcxx_cv_func_isnanl_use=no
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041 ac_ext=c
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36055 for ac_func in isnanl
36056 do :
36057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36058 if test "x$ac_cv_func_isnanl" = x""yes; then :
36059 cat >>confdefs.h <<_ACEOF
36060 #define HAVE_ISNANL 1
36061 _ACEOF
36064 done
36066 else
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36069 $as_echo_n "checking for _isnanl declaration... " >&6; }
36070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36072 $as_echo_n "(cached) " >&6
36073 else
36076 ac_ext=cpp
36077 ac_cpp='$CXXCPP $CPPFLAGS'
36078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36083 /* end confdefs.h. */
36084 #include <math.h>
36085 #ifdef HAVE_IEEEFP_H
36086 #include <ieeefp.h>
36087 #endif
36090 main ()
36092 _isnanl(0);
36094 return 0;
36096 _ACEOF
36097 if ac_fn_cxx_try_compile "$LINENO"; then :
36098 glibcxx_cv_func__isnanl_use=yes
36099 else
36100 glibcxx_cv_func__isnanl_use=no
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103 ac_ext=c
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36117 for ac_func in _isnanl
36118 do :
36119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36120 if test "x$ac_cv_func__isnanl" = x""yes; then :
36121 cat >>confdefs.h <<_ACEOF
36122 #define HAVE__ISNANL 1
36123 _ACEOF
36126 done
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36136 $as_echo_n "checking for isinfl declaration... " >&6; }
36137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36139 $as_echo_n "(cached) " >&6
36140 else
36143 ac_ext=cpp
36144 ac_cpp='$CXXCPP $CPPFLAGS'
36145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36150 /* end confdefs.h. */
36151 #include <math.h>
36152 #ifdef HAVE_IEEEFP_H
36153 #include <ieeefp.h>
36154 #endif
36157 main ()
36159 isinfl(0);
36161 return 0;
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165 glibcxx_cv_func_isinfl_use=yes
36166 else
36167 glibcxx_cv_func_isinfl_use=no
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170 ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36184 for ac_func in isinfl
36185 do :
36186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36187 if test "x$ac_cv_func_isinfl" = x""yes; then :
36188 cat >>confdefs.h <<_ACEOF
36189 #define HAVE_ISINFL 1
36190 _ACEOF
36193 done
36195 else
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36198 $as_echo_n "checking for _isinfl declaration... " >&6; }
36199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36201 $as_echo_n "(cached) " >&6
36202 else
36205 ac_ext=cpp
36206 ac_cpp='$CXXCPP $CPPFLAGS'
36207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36212 /* end confdefs.h. */
36213 #include <math.h>
36214 #ifdef HAVE_IEEEFP_H
36215 #include <ieeefp.h>
36216 #endif
36219 main ()
36221 _isinfl(0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__isinfl_use=yes
36228 else
36229 glibcxx_cv_func__isinfl_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36246 for ac_func in _isinfl
36247 do :
36248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36249 if test "x$ac_cv_func__isinfl" = x""yes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE__ISINFL 1
36252 _ACEOF
36255 done
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36265 $as_echo_n "checking for atan2l declaration... " >&6; }
36266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36268 $as_echo_n "(cached) " >&6
36269 else
36272 ac_ext=cpp
36273 ac_cpp='$CXXCPP $CPPFLAGS'
36274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36279 /* end confdefs.h. */
36280 #include <math.h>
36282 main ()
36284 atan2l(0, 0);
36286 return 0;
36288 _ACEOF
36289 if ac_fn_cxx_try_compile "$LINENO"; then :
36290 glibcxx_cv_func_atan2l_use=yes
36291 else
36292 glibcxx_cv_func_atan2l_use=no
36294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36295 ac_ext=c
36296 ac_cpp='$CPP $CPPFLAGS'
36297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36309 for ac_func in atan2l
36310 do :
36311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36312 if test "x$ac_cv_func_atan2l" = x""yes; then :
36313 cat >>confdefs.h <<_ACEOF
36314 #define HAVE_ATAN2L 1
36315 _ACEOF
36318 done
36320 else
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36323 $as_echo_n "checking for _atan2l declaration... " >&6; }
36324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36326 $as_echo_n "(cached) " >&6
36327 else
36330 ac_ext=cpp
36331 ac_cpp='$CXXCPP $CPPFLAGS'
36332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337 /* end confdefs.h. */
36338 #include <math.h>
36340 main ()
36342 _atan2l(0, 0);
36344 return 0;
36346 _ACEOF
36347 if ac_fn_cxx_try_compile "$LINENO"; then :
36348 glibcxx_cv_func__atan2l_use=yes
36349 else
36350 glibcxx_cv_func__atan2l_use=no
36352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36353 ac_ext=c
36354 ac_cpp='$CPP $CPPFLAGS'
36355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36367 for ac_func in _atan2l
36368 do :
36369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36370 if test "x$ac_cv_func__atan2l" = x""yes; then :
36371 cat >>confdefs.h <<_ACEOF
36372 #define HAVE__ATAN2L 1
36373 _ACEOF
36376 done
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36386 $as_echo_n "checking for expl declaration... " >&6; }
36387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36389 $as_echo_n "(cached) " >&6
36390 else
36393 ac_ext=cpp
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36400 /* end confdefs.h. */
36401 #include <math.h>
36402 #ifdef HAVE_IEEEFP_H
36403 #include <ieeefp.h>
36404 #endif
36407 main ()
36409 expl(0);
36411 return 0;
36413 _ACEOF
36414 if ac_fn_cxx_try_compile "$LINENO"; then :
36415 glibcxx_cv_func_expl_use=yes
36416 else
36417 glibcxx_cv_func_expl_use=no
36419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420 ac_ext=c
36421 ac_cpp='$CPP $CPPFLAGS'
36422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36434 for ac_func in expl
36435 do :
36436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36437 if test "x$ac_cv_func_expl" = x""yes; then :
36438 cat >>confdefs.h <<_ACEOF
36439 #define HAVE_EXPL 1
36440 _ACEOF
36443 done
36445 else
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36448 $as_echo_n "checking for _expl declaration... " >&6; }
36449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36451 $as_echo_n "(cached) " >&6
36452 else
36455 ac_ext=cpp
36456 ac_cpp='$CXXCPP $CPPFLAGS'
36457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36462 /* end confdefs.h. */
36463 #include <math.h>
36464 #ifdef HAVE_IEEEFP_H
36465 #include <ieeefp.h>
36466 #endif
36469 main ()
36471 _expl(0);
36473 return 0;
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__expl_use=yes
36478 else
36479 glibcxx_cv_func__expl_use=no
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36496 for ac_func in _expl
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36499 if test "x$ac_cv_func__expl" = x""yes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__EXPL 1
36502 _ACEOF
36505 done
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36515 $as_echo_n "checking for fabsl declaration... " >&6; }
36516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36536 main ()
36538 fabsl(0);
36540 return 0;
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_fabsl_use=yes
36545 else
36546 glibcxx_cv_func_fabsl_use=no
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36563 for ac_func in fabsl
36564 do :
36565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36566 if test "x$ac_cv_func_fabsl" = x""yes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_FABSL 1
36569 _ACEOF
36572 done
36574 else
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36577 $as_echo_n "checking for _fabsl declaration... " >&6; }
36578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36598 main ()
36600 _fabsl(0);
36602 return 0;
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__fabsl_use=yes
36607 else
36608 glibcxx_cv_func__fabsl_use=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36625 for ac_func in _fabsl
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36628 if test "x$ac_cv_func__fabsl" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__FABSL 1
36631 _ACEOF
36634 done
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36644 $as_echo_n "checking for fmodl declaration... " >&6; }
36645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36647 $as_echo_n "(cached) " >&6
36648 else
36651 ac_ext=cpp
36652 ac_cpp='$CXXCPP $CPPFLAGS'
36653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36658 /* end confdefs.h. */
36659 #include <math.h>
36661 main ()
36663 fmodl(0, 0);
36665 return 0;
36667 _ACEOF
36668 if ac_fn_cxx_try_compile "$LINENO"; then :
36669 glibcxx_cv_func_fmodl_use=yes
36670 else
36671 glibcxx_cv_func_fmodl_use=no
36673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36674 ac_ext=c
36675 ac_cpp='$CPP $CPPFLAGS'
36676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36688 for ac_func in fmodl
36689 do :
36690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36691 if test "x$ac_cv_func_fmodl" = x""yes; then :
36692 cat >>confdefs.h <<_ACEOF
36693 #define HAVE_FMODL 1
36694 _ACEOF
36697 done
36699 else
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36702 $as_echo_n "checking for _fmodl declaration... " >&6; }
36703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36719 main ()
36721 _fmodl(0, 0);
36723 return 0;
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func__fmodl_use=yes
36728 else
36729 glibcxx_cv_func__fmodl_use=no
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36746 for ac_func in _fmodl
36747 do :
36748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36749 if test "x$ac_cv_func__fmodl" = x""yes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE__FMODL 1
36752 _ACEOF
36755 done
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36765 $as_echo_n "checking for frexpl declaration... " >&6; }
36766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36782 main ()
36784 frexpl(0, 0);
36786 return 0;
36788 _ACEOF
36789 if ac_fn_cxx_try_compile "$LINENO"; then :
36790 glibcxx_cv_func_frexpl_use=yes
36791 else
36792 glibcxx_cv_func_frexpl_use=no
36794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36795 ac_ext=c
36796 ac_cpp='$CPP $CPPFLAGS'
36797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36809 for ac_func in frexpl
36810 do :
36811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36812 if test "x$ac_cv_func_frexpl" = x""yes; then :
36813 cat >>confdefs.h <<_ACEOF
36814 #define HAVE_FREXPL 1
36815 _ACEOF
36818 done
36820 else
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36823 $as_echo_n "checking for _frexpl declaration... " >&6; }
36824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36826 $as_echo_n "(cached) " >&6
36827 else
36830 ac_ext=cpp
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36837 /* end confdefs.h. */
36838 #include <math.h>
36840 main ()
36842 _frexpl(0, 0);
36844 return 0;
36846 _ACEOF
36847 if ac_fn_cxx_try_compile "$LINENO"; then :
36848 glibcxx_cv_func__frexpl_use=yes
36849 else
36850 glibcxx_cv_func__frexpl_use=no
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853 ac_ext=c
36854 ac_cpp='$CPP $CPPFLAGS'
36855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36867 for ac_func in _frexpl
36868 do :
36869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36870 if test "x$ac_cv_func__frexpl" = x""yes; then :
36871 cat >>confdefs.h <<_ACEOF
36872 #define HAVE__FREXPL 1
36873 _ACEOF
36876 done
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36886 $as_echo_n "checking for hypotl declaration... " >&6; }
36887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36889 $as_echo_n "(cached) " >&6
36890 else
36893 ac_ext=cpp
36894 ac_cpp='$CXXCPP $CPPFLAGS'
36895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36900 /* end confdefs.h. */
36901 #include <math.h>
36903 main ()
36905 hypotl(0, 0);
36907 return 0;
36909 _ACEOF
36910 if ac_fn_cxx_try_compile "$LINENO"; then :
36911 glibcxx_cv_func_hypotl_use=yes
36912 else
36913 glibcxx_cv_func_hypotl_use=no
36915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36916 ac_ext=c
36917 ac_cpp='$CPP $CPPFLAGS'
36918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36930 for ac_func in hypotl
36931 do :
36932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36933 if test "x$ac_cv_func_hypotl" = x""yes; then :
36934 cat >>confdefs.h <<_ACEOF
36935 #define HAVE_HYPOTL 1
36936 _ACEOF
36939 done
36941 else
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36944 $as_echo_n "checking for _hypotl declaration... " >&6; }
36945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36947 $as_echo_n "(cached) " >&6
36948 else
36951 ac_ext=cpp
36952 ac_cpp='$CXXCPP $CPPFLAGS'
36953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36958 /* end confdefs.h. */
36959 #include <math.h>
36961 main ()
36963 _hypotl(0, 0);
36965 return 0;
36967 _ACEOF
36968 if ac_fn_cxx_try_compile "$LINENO"; then :
36969 glibcxx_cv_func__hypotl_use=yes
36970 else
36971 glibcxx_cv_func__hypotl_use=no
36973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36974 ac_ext=c
36975 ac_cpp='$CPP $CPPFLAGS'
36976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36988 for ac_func in _hypotl
36989 do :
36990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36991 if test "x$ac_cv_func__hypotl" = x""yes; then :
36992 cat >>confdefs.h <<_ACEOF
36993 #define HAVE__HYPOTL 1
36994 _ACEOF
36997 done
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37007 $as_echo_n "checking for ldexpl declaration... " >&6; }
37008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37010 $as_echo_n "(cached) " >&6
37011 else
37014 ac_ext=cpp
37015 ac_cpp='$CXXCPP $CPPFLAGS'
37016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37021 /* end confdefs.h. */
37022 #include <math.h>
37024 main ()
37026 ldexpl(0, 0);
37028 return 0;
37030 _ACEOF
37031 if ac_fn_cxx_try_compile "$LINENO"; then :
37032 glibcxx_cv_func_ldexpl_use=yes
37033 else
37034 glibcxx_cv_func_ldexpl_use=no
37036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37037 ac_ext=c
37038 ac_cpp='$CPP $CPPFLAGS'
37039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37051 for ac_func in ldexpl
37052 do :
37053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37055 cat >>confdefs.h <<_ACEOF
37056 #define HAVE_LDEXPL 1
37057 _ACEOF
37060 done
37062 else
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37068 $as_echo_n "(cached) " >&6
37069 else
37072 ac_ext=cpp
37073 ac_cpp='$CXXCPP $CPPFLAGS'
37074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37079 /* end confdefs.h. */
37080 #include <math.h>
37082 main ()
37084 _ldexpl(0, 0);
37086 return 0;
37088 _ACEOF
37089 if ac_fn_cxx_try_compile "$LINENO"; then :
37090 glibcxx_cv_func__ldexpl_use=yes
37091 else
37092 glibcxx_cv_func__ldexpl_use=no
37094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37095 ac_ext=c
37096 ac_cpp='$CPP $CPPFLAGS'
37097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37109 for ac_func in _ldexpl
37110 do :
37111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37113 cat >>confdefs.h <<_ACEOF
37114 #define HAVE__LDEXPL 1
37115 _ACEOF
37118 done
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37128 $as_echo_n "checking for logl declaration... " >&6; }
37129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37131 $as_echo_n "(cached) " >&6
37132 else
37135 ac_ext=cpp
37136 ac_cpp='$CXXCPP $CPPFLAGS'
37137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37142 /* end confdefs.h. */
37143 #include <math.h>
37144 #ifdef HAVE_IEEEFP_H
37145 #include <ieeefp.h>
37146 #endif
37149 main ()
37151 logl(0);
37153 return 0;
37155 _ACEOF
37156 if ac_fn_cxx_try_compile "$LINENO"; then :
37157 glibcxx_cv_func_logl_use=yes
37158 else
37159 glibcxx_cv_func_logl_use=no
37161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37162 ac_ext=c
37163 ac_cpp='$CPP $CPPFLAGS'
37164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37176 for ac_func in logl
37177 do :
37178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37179 if test "x$ac_cv_func_logl" = x""yes; then :
37180 cat >>confdefs.h <<_ACEOF
37181 #define HAVE_LOGL 1
37182 _ACEOF
37185 done
37187 else
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37190 $as_echo_n "checking for _logl declaration... " >&6; }
37191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37193 $as_echo_n "(cached) " >&6
37194 else
37197 ac_ext=cpp
37198 ac_cpp='$CXXCPP $CPPFLAGS'
37199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37204 /* end confdefs.h. */
37205 #include <math.h>
37206 #ifdef HAVE_IEEEFP_H
37207 #include <ieeefp.h>
37208 #endif
37211 main ()
37213 _logl(0);
37215 return 0;
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219 glibcxx_cv_func__logl_use=yes
37220 else
37221 glibcxx_cv_func__logl_use=no
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37238 for ac_func in _logl
37239 do :
37240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37241 if test "x$ac_cv_func__logl" = x""yes; then :
37242 cat >>confdefs.h <<_ACEOF
37243 #define HAVE__LOGL 1
37244 _ACEOF
37247 done
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37257 $as_echo_n "checking for log10l declaration... " >&6; }
37258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37260 $as_echo_n "(cached) " >&6
37261 else
37264 ac_ext=cpp
37265 ac_cpp='$CXXCPP $CPPFLAGS'
37266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37271 /* end confdefs.h. */
37272 #include <math.h>
37273 #ifdef HAVE_IEEEFP_H
37274 #include <ieeefp.h>
37275 #endif
37278 main ()
37280 log10l(0);
37282 return 0;
37284 _ACEOF
37285 if ac_fn_cxx_try_compile "$LINENO"; then :
37286 glibcxx_cv_func_log10l_use=yes
37287 else
37288 glibcxx_cv_func_log10l_use=no
37290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37291 ac_ext=c
37292 ac_cpp='$CPP $CPPFLAGS'
37293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37305 for ac_func in log10l
37306 do :
37307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37308 if test "x$ac_cv_func_log10l" = x""yes; then :
37309 cat >>confdefs.h <<_ACEOF
37310 #define HAVE_LOG10L 1
37311 _ACEOF
37314 done
37316 else
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37319 $as_echo_n "checking for _log10l declaration... " >&6; }
37320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37322 $as_echo_n "(cached) " >&6
37323 else
37326 ac_ext=cpp
37327 ac_cpp='$CXXCPP $CPPFLAGS'
37328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37333 /* end confdefs.h. */
37334 #include <math.h>
37335 #ifdef HAVE_IEEEFP_H
37336 #include <ieeefp.h>
37337 #endif
37340 main ()
37342 _log10l(0);
37344 return 0;
37346 _ACEOF
37347 if ac_fn_cxx_try_compile "$LINENO"; then :
37348 glibcxx_cv_func__log10l_use=yes
37349 else
37350 glibcxx_cv_func__log10l_use=no
37352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37353 ac_ext=c
37354 ac_cpp='$CPP $CPPFLAGS'
37355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37367 for ac_func in _log10l
37368 do :
37369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37370 if test "x$ac_cv_func__log10l" = x""yes; then :
37371 cat >>confdefs.h <<_ACEOF
37372 #define HAVE__LOG10L 1
37373 _ACEOF
37376 done
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37386 $as_echo_n "checking for modfl declaration... " >&6; }
37387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37389 $as_echo_n "(cached) " >&6
37390 else
37393 ac_ext=cpp
37394 ac_cpp='$CXXCPP $CPPFLAGS'
37395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37400 /* end confdefs.h. */
37401 #include <math.h>
37403 main ()
37405 modfl(0, 0);
37407 return 0;
37409 _ACEOF
37410 if ac_fn_cxx_try_compile "$LINENO"; then :
37411 glibcxx_cv_func_modfl_use=yes
37412 else
37413 glibcxx_cv_func_modfl_use=no
37415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37416 ac_ext=c
37417 ac_cpp='$CPP $CPPFLAGS'
37418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37430 for ac_func in modfl
37431 do :
37432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37433 if test "x$ac_cv_func_modfl" = x""yes; then :
37434 cat >>confdefs.h <<_ACEOF
37435 #define HAVE_MODFL 1
37436 _ACEOF
37439 done
37441 else
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37444 $as_echo_n "checking for _modfl declaration... " >&6; }
37445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37447 $as_echo_n "(cached) " >&6
37448 else
37451 ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h. */
37459 #include <math.h>
37461 main ()
37463 _modfl(0, 0);
37465 return 0;
37467 _ACEOF
37468 if ac_fn_cxx_try_compile "$LINENO"; then :
37469 glibcxx_cv_func__modfl_use=yes
37470 else
37471 glibcxx_cv_func__modfl_use=no
37473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37474 ac_ext=c
37475 ac_cpp='$CPP $CPPFLAGS'
37476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37488 for ac_func in _modfl
37489 do :
37490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37491 if test "x$ac_cv_func__modfl" = x""yes; then :
37492 cat >>confdefs.h <<_ACEOF
37493 #define HAVE__MODFL 1
37494 _ACEOF
37497 done
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37507 $as_echo_n "checking for powl declaration... " >&6; }
37508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37510 $as_echo_n "(cached) " >&6
37511 else
37514 ac_ext=cpp
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37521 /* end confdefs.h. */
37522 #include <math.h>
37524 main ()
37526 powl(0, 0);
37528 return 0;
37530 _ACEOF
37531 if ac_fn_cxx_try_compile "$LINENO"; then :
37532 glibcxx_cv_func_powl_use=yes
37533 else
37534 glibcxx_cv_func_powl_use=no
37536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37537 ac_ext=c
37538 ac_cpp='$CPP $CPPFLAGS'
37539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37551 for ac_func in powl
37552 do :
37553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37554 if test "x$ac_cv_func_powl" = x""yes; then :
37555 cat >>confdefs.h <<_ACEOF
37556 #define HAVE_POWL 1
37557 _ACEOF
37560 done
37562 else
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37565 $as_echo_n "checking for _powl declaration... " >&6; }
37566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37568 $as_echo_n "(cached) " >&6
37569 else
37572 ac_ext=cpp
37573 ac_cpp='$CXXCPP $CPPFLAGS'
37574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37579 /* end confdefs.h. */
37580 #include <math.h>
37582 main ()
37584 _powl(0, 0);
37586 return 0;
37588 _ACEOF
37589 if ac_fn_cxx_try_compile "$LINENO"; then :
37590 glibcxx_cv_func__powl_use=yes
37591 else
37592 glibcxx_cv_func__powl_use=no
37594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37595 ac_ext=c
37596 ac_cpp='$CPP $CPPFLAGS'
37597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37609 for ac_func in _powl
37610 do :
37611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37612 if test "x$ac_cv_func__powl" = x""yes; then :
37613 cat >>confdefs.h <<_ACEOF
37614 #define HAVE__POWL 1
37615 _ACEOF
37618 done
37627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37628 $as_echo_n "checking for sqrtl declaration... " >&6; }
37629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37631 $as_echo_n "(cached) " >&6
37632 else
37635 ac_ext=cpp
37636 ac_cpp='$CXXCPP $CPPFLAGS'
37637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37642 /* end confdefs.h. */
37643 #include <math.h>
37644 #ifdef HAVE_IEEEFP_H
37645 #include <ieeefp.h>
37646 #endif
37649 main ()
37651 sqrtl(0);
37653 return 0;
37655 _ACEOF
37656 if ac_fn_cxx_try_compile "$LINENO"; then :
37657 glibcxx_cv_func_sqrtl_use=yes
37658 else
37659 glibcxx_cv_func_sqrtl_use=no
37661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37662 ac_ext=c
37663 ac_cpp='$CPP $CPPFLAGS'
37664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37676 for ac_func in sqrtl
37677 do :
37678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37680 cat >>confdefs.h <<_ACEOF
37681 #define HAVE_SQRTL 1
37682 _ACEOF
37685 done
37687 else
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37693 $as_echo_n "(cached) " >&6
37694 else
37697 ac_ext=cpp
37698 ac_cpp='$CXXCPP $CPPFLAGS'
37699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37704 /* end confdefs.h. */
37705 #include <math.h>
37706 #ifdef HAVE_IEEEFP_H
37707 #include <ieeefp.h>
37708 #endif
37711 main ()
37713 _sqrtl(0);
37715 return 0;
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719 glibcxx_cv_func__sqrtl_use=yes
37720 else
37721 glibcxx_cv_func__sqrtl_use=no
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37738 for ac_func in _sqrtl
37739 do :
37740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37742 cat >>confdefs.h <<_ACEOF
37743 #define HAVE__SQRTL 1
37744 _ACEOF
37747 done
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37757 $as_echo_n "checking for sincosl declaration... " >&6; }
37758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37760 $as_echo_n "(cached) " >&6
37761 else
37764 ac_ext=cpp
37765 ac_cpp='$CXXCPP $CPPFLAGS'
37766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37771 /* end confdefs.h. */
37772 #include <math.h>
37774 main ()
37776 sincosl(0, 0, 0);
37778 return 0;
37780 _ACEOF
37781 if ac_fn_cxx_try_compile "$LINENO"; then :
37782 glibcxx_cv_func_sincosl_use=yes
37783 else
37784 glibcxx_cv_func_sincosl_use=no
37786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37787 ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37801 for ac_func in sincosl
37802 do :
37803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37804 if test "x$ac_cv_func_sincosl" = x""yes; then :
37805 cat >>confdefs.h <<_ACEOF
37806 #define HAVE_SINCOSL 1
37807 _ACEOF
37810 done
37812 else
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37815 $as_echo_n "checking for _sincosl declaration... " >&6; }
37816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37818 $as_echo_n "(cached) " >&6
37819 else
37822 ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h. */
37830 #include <math.h>
37832 main ()
37834 _sincosl(0, 0, 0);
37836 return 0;
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func__sincosl_use=yes
37841 else
37842 glibcxx_cv_func__sincosl_use=no
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37859 for ac_func in _sincosl
37860 do :
37861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37862 if test "x$ac_cv_func__sincosl" = x""yes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE__SINCOSL 1
37865 _ACEOF
37868 done
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37878 $as_echo_n "checking for finitel declaration... " >&6; }
37879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37881 $as_echo_n "(cached) " >&6
37882 else
37885 ac_ext=cpp
37886 ac_cpp='$CXXCPP $CPPFLAGS'
37887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37892 /* end confdefs.h. */
37893 #include <math.h>
37894 #ifdef HAVE_IEEEFP_H
37895 #include <ieeefp.h>
37896 #endif
37899 main ()
37901 finitel(0);
37903 return 0;
37905 _ACEOF
37906 if ac_fn_cxx_try_compile "$LINENO"; then :
37907 glibcxx_cv_func_finitel_use=yes
37908 else
37909 glibcxx_cv_func_finitel_use=no
37911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37912 ac_ext=c
37913 ac_cpp='$CPP $CPPFLAGS'
37914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37926 for ac_func in finitel
37927 do :
37928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37929 if test "x$ac_cv_func_finitel" = x""yes; then :
37930 cat >>confdefs.h <<_ACEOF
37931 #define HAVE_FINITEL 1
37932 _ACEOF
37935 done
37937 else
37939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37940 $as_echo_n "checking for _finitel declaration... " >&6; }
37941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37947 ac_ext=cpp
37948 ac_cpp='$CXXCPP $CPPFLAGS'
37949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37954 /* end confdefs.h. */
37955 #include <math.h>
37956 #ifdef HAVE_IEEEFP_H
37957 #include <ieeefp.h>
37958 #endif
37961 main ()
37963 _finitel(0);
37965 return 0;
37967 _ACEOF
37968 if ac_fn_cxx_try_compile "$LINENO"; then :
37969 glibcxx_cv_func__finitel_use=yes
37970 else
37971 glibcxx_cv_func__finitel_use=no
37973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37974 ac_ext=c
37975 ac_cpp='$CPP $CPPFLAGS'
37976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37988 for ac_func in _finitel
37989 do :
37990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37991 if test "x$ac_cv_func__finitel" = x""yes; then :
37992 cat >>confdefs.h <<_ACEOF
37993 #define HAVE__FINITEL 1
37994 _ACEOF
37997 done
38005 LIBS="$ac_save_LIBS"
38006 CXXFLAGS="$ac_save_CXXFLAGS"
38009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38010 ac_save_CXXFLAGS="$CXXFLAGS"
38011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38015 $as_echo_n "checking for strtold declaration... " >&6; }
38016 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38017 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38018 $as_echo_n "(cached) " >&6
38019 else
38022 ac_ext=cpp
38023 ac_cpp='$CXXCPP $CPPFLAGS'
38024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38029 /* end confdefs.h. */
38030 #include <stdlib.h>
38032 main ()
38034 strtold(0, 0);
38036 return 0;
38038 _ACEOF
38039 if ac_fn_cxx_try_compile "$LINENO"; then :
38040 glibcxx_cv_func_strtold_use=yes
38041 else
38042 glibcxx_cv_func_strtold_use=no
38044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38045 ac_ext=c
38046 ac_cpp='$CPP $CPPFLAGS'
38047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38056 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38057 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38058 for ac_func in strtold
38059 do :
38060 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38061 if test "x$ac_cv_func_strtold" = x""yes; then :
38062 cat >>confdefs.h <<_ACEOF
38063 #define HAVE_STRTOLD 1
38064 _ACEOF
38067 done
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38075 $as_echo_n "checking for strtof declaration... " >&6; }
38076 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38077 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38078 $as_echo_n "(cached) " >&6
38079 else
38082 ac_ext=cpp
38083 ac_cpp='$CXXCPP $CPPFLAGS'
38084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38089 /* end confdefs.h. */
38090 #include <stdlib.h>
38092 main ()
38094 strtof(0, 0);
38096 return 0;
38098 _ACEOF
38099 if ac_fn_cxx_try_compile "$LINENO"; then :
38100 glibcxx_cv_func_strtof_use=yes
38101 else
38102 glibcxx_cv_func_strtof_use=no
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38116 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38117 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38118 for ac_func in strtof
38119 do :
38120 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38121 if test "x$ac_cv_func_strtof" = x""yes; then :
38122 cat >>confdefs.h <<_ACEOF
38123 #define HAVE_STRTOF 1
38124 _ACEOF
38127 done
38134 CXXFLAGS="$ac_save_CXXFLAGS"
38136 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38138 # We don't yet support AIX's TLS ABI.
38139 #GCC_CHECK_TLS
38145 am_save_CPPFLAGS="$CPPFLAGS"
38147 for element in $INCICONV; do
38148 haveit=
38149 for x in $CPPFLAGS; do
38151 acl_save_prefix="$prefix"
38152 prefix="$acl_final_prefix"
38153 acl_save_exec_prefix="$exec_prefix"
38154 exec_prefix="$acl_final_exec_prefix"
38155 eval x=\"$x\"
38156 exec_prefix="$acl_save_exec_prefix"
38157 prefix="$acl_save_prefix"
38159 if test "X$x" = "X$element"; then
38160 haveit=yes
38161 break
38163 done
38164 if test -z "$haveit"; then
38165 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38167 done
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38171 $as_echo_n "checking for iconv... " >&6; }
38172 if test "${am_cv_func_iconv+set}" = set; then :
38173 $as_echo_n "(cached) " >&6
38174 else
38176 am_cv_func_iconv="no, consider installing GNU libiconv"
38177 am_cv_lib_iconv=no
38178 if test x$gcc_no_link = xyes; then
38179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38182 /* end confdefs.h. */
38183 #include <stdlib.h>
38184 #include <iconv.h>
38186 main ()
38188 iconv_t cd = iconv_open("","");
38189 iconv(cd,NULL,NULL,NULL,NULL);
38190 iconv_close(cd);
38192 return 0;
38194 _ACEOF
38195 if ac_fn_c_try_link "$LINENO"; then :
38196 am_cv_func_iconv=yes
38198 rm -f core conftest.err conftest.$ac_objext \
38199 conftest$ac_exeext conftest.$ac_ext
38200 if test "$am_cv_func_iconv" != yes; then
38201 am_save_LIBS="$LIBS"
38202 LIBS="$LIBS $LIBICONV"
38203 if test x$gcc_no_link = xyes; then
38204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <stdlib.h>
38209 #include <iconv.h>
38211 main ()
38213 iconv_t cd = iconv_open("","");
38214 iconv(cd,NULL,NULL,NULL,NULL);
38215 iconv_close(cd);
38217 return 0;
38219 _ACEOF
38220 if ac_fn_c_try_link "$LINENO"; then :
38221 am_cv_lib_iconv=yes
38222 am_cv_func_iconv=yes
38224 rm -f core conftest.err conftest.$ac_objext \
38225 conftest$ac_exeext conftest.$ac_ext
38226 LIBS="$am_save_LIBS"
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38231 $as_echo "$am_cv_func_iconv" >&6; }
38232 if test "$am_cv_func_iconv" = yes; then
38234 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38237 if test "$am_cv_lib_iconv" = yes; then
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38239 $as_echo_n "checking how to link with libiconv... " >&6; }
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38241 $as_echo "$LIBICONV" >&6; }
38242 else
38243 CPPFLAGS="$am_save_CPPFLAGS"
38244 LIBICONV=
38245 LTLIBICONV=
38250 if test "$am_cv_func_iconv" = yes; then
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38252 $as_echo_n "checking for iconv declaration... " >&6; }
38253 if test "${am_cv_proto_iconv+set}" = set; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38258 /* end confdefs.h. */
38260 #include <stdlib.h>
38261 #include <iconv.h>
38262 extern
38263 #ifdef __cplusplus
38265 #endif
38266 #if defined(__STDC__) || defined(__cplusplus)
38267 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38268 #else
38269 size_t iconv();
38270 #endif
38273 main ()
38277 return 0;
38279 _ACEOF
38280 if ac_fn_c_try_compile "$LINENO"; then :
38281 am_cv_proto_iconv_arg1=""
38282 else
38283 am_cv_proto_iconv_arg1="const"
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 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);"
38289 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38291 }$am_cv_proto_iconv" >&5
38292 $as_echo "${ac_t:-
38293 }$am_cv_proto_iconv" >&6; }
38295 cat >>confdefs.h <<_ACEOF
38296 #define ICONV_CONST $am_cv_proto_iconv_arg1
38297 _ACEOF
38303 *-darwin*)
38304 # Darwin versions vary, but the linker should work in a cross environment,
38305 # so we just check for all the features here.
38306 # Check for available headers.
38308 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38311 ac_save_CXXFLAGS="$CXXFLAGS"
38312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38315 $as_echo_n "checking for sin in -lm... " >&6; }
38316 if test "${ac_cv_lib_m_sin+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38319 ac_check_lib_save_LIBS=$LIBS
38320 LIBS="-lm $LIBS"
38321 if test x$gcc_no_link = xyes; then
38322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38325 /* end confdefs.h. */
38327 /* Override any GCC internal prototype to avoid an error.
38328 Use char because int might match the return type of a GCC
38329 builtin and then its argument prototype would still apply. */
38330 #ifdef __cplusplus
38331 extern "C"
38332 #endif
38333 char sin ();
38335 main ()
38337 return sin ();
38339 return 0;
38341 _ACEOF
38342 if ac_fn_c_try_link "$LINENO"; then :
38343 ac_cv_lib_m_sin=yes
38344 else
38345 ac_cv_lib_m_sin=no
38347 rm -f core conftest.err conftest.$ac_objext \
38348 conftest$ac_exeext conftest.$ac_ext
38349 LIBS=$ac_check_lib_save_LIBS
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38352 $as_echo "$ac_cv_lib_m_sin" >&6; }
38353 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38354 libm="-lm"
38357 ac_save_LIBS="$LIBS"
38358 LIBS="$LIBS $libm"
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38363 $as_echo_n "checking for isinf declaration... " >&6; }
38364 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38365 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38366 $as_echo_n "(cached) " >&6
38367 else
38370 ac_ext=cpp
38371 ac_cpp='$CXXCPP $CPPFLAGS'
38372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38378 #include <math.h>
38379 #ifdef HAVE_IEEEFP_H
38380 #include <ieeefp.h>
38381 #endif
38384 main ()
38386 isinf(0);
38388 return 0;
38390 _ACEOF
38391 if ac_fn_cxx_try_compile "$LINENO"; then :
38392 glibcxx_cv_func_isinf_use=yes
38393 else
38394 glibcxx_cv_func_isinf_use=no
38396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38397 ac_ext=c
38398 ac_cpp='$CPP $CPPFLAGS'
38399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38408 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38410 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38411 for ac_func in isinf
38412 do :
38413 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38414 if test "x$ac_cv_func_isinf" = x""yes; then :
38415 cat >>confdefs.h <<_ACEOF
38416 #define HAVE_ISINF 1
38417 _ACEOF
38420 done
38422 else
38424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38425 $as_echo_n "checking for _isinf declaration... " >&6; }
38426 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38427 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38428 $as_echo_n "(cached) " >&6
38429 else
38432 ac_ext=cpp
38433 ac_cpp='$CXXCPP $CPPFLAGS'
38434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38439 /* end confdefs.h. */
38440 #include <math.h>
38441 #ifdef HAVE_IEEEFP_H
38442 #include <ieeefp.h>
38443 #endif
38446 main ()
38448 _isinf(0);
38450 return 0;
38452 _ACEOF
38453 if ac_fn_cxx_try_compile "$LINENO"; then :
38454 glibcxx_cv_func__isinf_use=yes
38455 else
38456 glibcxx_cv_func__isinf_use=no
38458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38459 ac_ext=c
38460 ac_cpp='$CPP $CPPFLAGS'
38461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38470 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38472 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38473 for ac_func in _isinf
38474 do :
38475 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38476 if test "x$ac_cv_func__isinf" = x""yes; then :
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE__ISINF 1
38479 _ACEOF
38482 done
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38492 $as_echo_n "checking for isnan declaration... " >&6; }
38493 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38494 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38495 $as_echo_n "(cached) " >&6
38496 else
38499 ac_ext=cpp
38500 ac_cpp='$CXXCPP $CPPFLAGS'
38501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38506 /* end confdefs.h. */
38507 #include <math.h>
38508 #ifdef HAVE_IEEEFP_H
38509 #include <ieeefp.h>
38510 #endif
38513 main ()
38515 isnan(0);
38517 return 0;
38519 _ACEOF
38520 if ac_fn_cxx_try_compile "$LINENO"; then :
38521 glibcxx_cv_func_isnan_use=yes
38522 else
38523 glibcxx_cv_func_isnan_use=no
38525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38526 ac_ext=c
38527 ac_cpp='$CPP $CPPFLAGS'
38528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38537 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38539 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38540 for ac_func in isnan
38541 do :
38542 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38543 if test "x$ac_cv_func_isnan" = x""yes; then :
38544 cat >>confdefs.h <<_ACEOF
38545 #define HAVE_ISNAN 1
38546 _ACEOF
38549 done
38551 else
38553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38554 $as_echo_n "checking for _isnan declaration... " >&6; }
38555 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38556 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38557 $as_echo_n "(cached) " >&6
38558 else
38561 ac_ext=cpp
38562 ac_cpp='$CXXCPP $CPPFLAGS'
38563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38568 /* end confdefs.h. */
38569 #include <math.h>
38570 #ifdef HAVE_IEEEFP_H
38571 #include <ieeefp.h>
38572 #endif
38575 main ()
38577 _isnan(0);
38579 return 0;
38581 _ACEOF
38582 if ac_fn_cxx_try_compile "$LINENO"; then :
38583 glibcxx_cv_func__isnan_use=yes
38584 else
38585 glibcxx_cv_func__isnan_use=no
38587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38588 ac_ext=c
38589 ac_cpp='$CPP $CPPFLAGS'
38590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38599 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38601 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38602 for ac_func in _isnan
38603 do :
38604 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38605 if test "x$ac_cv_func__isnan" = x""yes; then :
38606 cat >>confdefs.h <<_ACEOF
38607 #define HAVE__ISNAN 1
38608 _ACEOF
38611 done
38620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38621 $as_echo_n "checking for finite declaration... " >&6; }
38622 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38623 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38624 $as_echo_n "(cached) " >&6
38625 else
38628 ac_ext=cpp
38629 ac_cpp='$CXXCPP $CPPFLAGS'
38630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38635 /* end confdefs.h. */
38636 #include <math.h>
38637 #ifdef HAVE_IEEEFP_H
38638 #include <ieeefp.h>
38639 #endif
38642 main ()
38644 finite(0);
38646 return 0;
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_finite_use=yes
38651 else
38652 glibcxx_cv_func_finite_use=no
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38666 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38668 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38669 for ac_func in finite
38670 do :
38671 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38672 if test "x$ac_cv_func_finite" = x""yes; then :
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_FINITE 1
38675 _ACEOF
38678 done
38680 else
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38683 $as_echo_n "checking for _finite declaration... " >&6; }
38684 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38685 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 #ifdef HAVE_IEEEFP_H
38700 #include <ieeefp.h>
38701 #endif
38704 main ()
38706 _finite(0);
38708 return 0;
38710 _ACEOF
38711 if ac_fn_cxx_try_compile "$LINENO"; then :
38712 glibcxx_cv_func__finite_use=yes
38713 else
38714 glibcxx_cv_func__finite_use=no
38716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38717 ac_ext=c
38718 ac_cpp='$CPP $CPPFLAGS'
38719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38728 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38730 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38731 for ac_func in _finite
38732 do :
38733 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38734 if test "x$ac_cv_func__finite" = x""yes; then :
38735 cat >>confdefs.h <<_ACEOF
38736 #define HAVE__FINITE 1
38737 _ACEOF
38740 done
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38750 $as_echo_n "checking for sincos declaration... " >&6; }
38751 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38752 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38753 $as_echo_n "(cached) " >&6
38754 else
38757 ac_ext=cpp
38758 ac_cpp='$CXXCPP $CPPFLAGS'
38759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38764 /* end confdefs.h. */
38765 #include <math.h>
38767 main ()
38769 sincos(0, 0, 0);
38771 return 0;
38773 _ACEOF
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_sincos_use=yes
38776 else
38777 glibcxx_cv_func_sincos_use=no
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38791 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38793 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38794 for ac_func in sincos
38795 do :
38796 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38797 if test "x$ac_cv_func_sincos" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_SINCOS 1
38800 _ACEOF
38803 done
38805 else
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38808 $as_echo_n "checking for _sincos declaration... " >&6; }
38809 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38810 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38825 main ()
38827 _sincos(0, 0, 0);
38829 return 0;
38831 _ACEOF
38832 if ac_fn_cxx_try_compile "$LINENO"; then :
38833 glibcxx_cv_func__sincos_use=yes
38834 else
38835 glibcxx_cv_func__sincos_use=no
38837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38838 ac_ext=c
38839 ac_cpp='$CPP $CPPFLAGS'
38840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38849 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38851 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38852 for ac_func in _sincos
38853 do :
38854 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38855 if test "x$ac_cv_func__sincos" = x""yes; then :
38856 cat >>confdefs.h <<_ACEOF
38857 #define HAVE__SINCOS 1
38858 _ACEOF
38861 done
38870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38871 $as_echo_n "checking for fpclass declaration... " >&6; }
38872 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38873 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38874 $as_echo_n "(cached) " >&6
38875 else
38878 ac_ext=cpp
38879 ac_cpp='$CXXCPP $CPPFLAGS'
38880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38885 /* end confdefs.h. */
38886 #include <math.h>
38887 #ifdef HAVE_IEEEFP_H
38888 #include <ieeefp.h>
38889 #endif
38892 main ()
38894 fpclass(0);
38896 return 0;
38898 _ACEOF
38899 if ac_fn_cxx_try_compile "$LINENO"; then :
38900 glibcxx_cv_func_fpclass_use=yes
38901 else
38902 glibcxx_cv_func_fpclass_use=no
38904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38905 ac_ext=c
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38916 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38918 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38919 for ac_func in fpclass
38920 do :
38921 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38922 if test "x$ac_cv_func_fpclass" = x""yes; then :
38923 cat >>confdefs.h <<_ACEOF
38924 #define HAVE_FPCLASS 1
38925 _ACEOF
38928 done
38930 else
38932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38933 $as_echo_n "checking for _fpclass declaration... " >&6; }
38934 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38935 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38936 $as_echo_n "(cached) " >&6
38937 else
38940 ac_ext=cpp
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38947 /* end confdefs.h. */
38948 #include <math.h>
38949 #ifdef HAVE_IEEEFP_H
38950 #include <ieeefp.h>
38951 #endif
38954 main ()
38956 _fpclass(0);
38958 return 0;
38960 _ACEOF
38961 if ac_fn_cxx_try_compile "$LINENO"; then :
38962 glibcxx_cv_func__fpclass_use=yes
38963 else
38964 glibcxx_cv_func__fpclass_use=no
38966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38978 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38980 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38981 for ac_func in _fpclass
38982 do :
38983 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38984 if test "x$ac_cv_func__fpclass" = x""yes; then :
38985 cat >>confdefs.h <<_ACEOF
38986 #define HAVE__FPCLASS 1
38987 _ACEOF
38990 done
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39000 $as_echo_n "checking for qfpclass declaration... " >&6; }
39001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39002 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39003 $as_echo_n "(cached) " >&6
39004 else
39007 ac_ext=cpp
39008 ac_cpp='$CXXCPP $CPPFLAGS'
39009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39014 /* end confdefs.h. */
39015 #include <math.h>
39016 #ifdef HAVE_IEEEFP_H
39017 #include <ieeefp.h>
39018 #endif
39021 main ()
39023 qfpclass(0);
39025 return 0;
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_qfpclass_use=yes
39030 else
39031 glibcxx_cv_func_qfpclass_use=no
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39045 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39047 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39048 for ac_func in qfpclass
39049 do :
39050 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39051 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE_QFPCLASS 1
39054 _ACEOF
39057 done
39059 else
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39062 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39063 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39064 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39065 $as_echo_n "(cached) " >&6
39066 else
39069 ac_ext=cpp
39070 ac_cpp='$CXXCPP $CPPFLAGS'
39071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39076 /* end confdefs.h. */
39077 #include <math.h>
39078 #ifdef HAVE_IEEEFP_H
39079 #include <ieeefp.h>
39080 #endif
39083 main ()
39085 _qfpclass(0);
39087 return 0;
39089 _ACEOF
39090 if ac_fn_cxx_try_compile "$LINENO"; then :
39091 glibcxx_cv_func__qfpclass_use=yes
39092 else
39093 glibcxx_cv_func__qfpclass_use=no
39095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39096 ac_ext=c
39097 ac_cpp='$CPP $CPPFLAGS'
39098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39107 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39109 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39110 for ac_func in _qfpclass
39111 do :
39112 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39113 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39114 cat >>confdefs.h <<_ACEOF
39115 #define HAVE__QFPCLASS 1
39116 _ACEOF
39119 done
39128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39129 $as_echo_n "checking for hypot declaration... " >&6; }
39130 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39131 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39132 $as_echo_n "(cached) " >&6
39133 else
39136 ac_ext=cpp
39137 ac_cpp='$CXXCPP $CPPFLAGS'
39138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39143 /* end confdefs.h. */
39144 #include <math.h>
39146 main ()
39148 hypot(0, 0);
39150 return 0;
39152 _ACEOF
39153 if ac_fn_cxx_try_compile "$LINENO"; then :
39154 glibcxx_cv_func_hypot_use=yes
39155 else
39156 glibcxx_cv_func_hypot_use=no
39158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39159 ac_ext=c
39160 ac_cpp='$CPP $CPPFLAGS'
39161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39170 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39173 for ac_func in hypot
39174 do :
39175 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39176 if test "x$ac_cv_func_hypot" = x""yes; then :
39177 cat >>confdefs.h <<_ACEOF
39178 #define HAVE_HYPOT 1
39179 _ACEOF
39182 done
39184 else
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39187 $as_echo_n "checking for _hypot declaration... " >&6; }
39188 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39189 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39190 $as_echo_n "(cached) " >&6
39191 else
39194 ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h. */
39202 #include <math.h>
39204 main ()
39206 _hypot(0, 0);
39208 return 0;
39210 _ACEOF
39211 if ac_fn_cxx_try_compile "$LINENO"; then :
39212 glibcxx_cv_func__hypot_use=yes
39213 else
39214 glibcxx_cv_func__hypot_use=no
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39217 ac_ext=c
39218 ac_cpp='$CPP $CPPFLAGS'
39219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39228 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39230 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39231 for ac_func in _hypot
39232 do :
39233 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39234 if test "x$ac_cv_func__hypot" = x""yes; then :
39235 cat >>confdefs.h <<_ACEOF
39236 #define HAVE__HYPOT 1
39237 _ACEOF
39240 done
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39250 $as_echo_n "checking for float trig functions... " >&6; }
39251 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39253 else
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39264 #include <math.h>
39266 main ()
39268 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39270 return 0;
39272 _ACEOF
39273 if ac_fn_cxx_try_compile "$LINENO"; then :
39274 glibcxx_cv_func_float_trig_use=yes
39275 else
39276 glibcxx_cv_func_float_trig_use=no
39278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39279 ac_ext=c
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39288 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39289 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39291 do :
39292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39294 eval as_val=\$$as_ac_var
39295 if test "x$as_val" = x""yes; then :
39296 cat >>confdefs.h <<_ACEOF
39297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39298 _ACEOF
39301 done
39303 else
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39305 $as_echo_n "checking for _float trig functions... " >&6; }
39306 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39307 $as_echo_n "(cached) " >&6
39308 else
39311 ac_ext=cpp
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39318 /* end confdefs.h. */
39319 #include <math.h>
39321 main ()
39323 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39325 return 0;
39327 _ACEOF
39328 if ac_fn_cxx_try_compile "$LINENO"; then :
39329 glibcxx_cv_func__float_trig_use=yes
39330 else
39331 glibcxx_cv_func__float_trig_use=no
39333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39334 ac_ext=c
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39343 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39344 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39345 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39346 do :
39347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39349 eval as_val=\$$as_ac_var
39350 if test "x$as_val" = x""yes; then :
39351 cat >>confdefs.h <<_ACEOF
39352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39353 _ACEOF
39356 done
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39366 $as_echo_n "checking for float round functions... " >&6; }
39367 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39368 $as_echo_n "(cached) " >&6
39369 else
39372 ac_ext=cpp
39373 ac_cpp='$CXXCPP $CPPFLAGS'
39374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39379 /* end confdefs.h. */
39380 #include <math.h>
39382 main ()
39384 ceilf (0); floorf (0);
39386 return 0;
39388 _ACEOF
39389 if ac_fn_cxx_try_compile "$LINENO"; then :
39390 glibcxx_cv_func_float_round_use=yes
39391 else
39392 glibcxx_cv_func_float_round_use=no
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39404 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39405 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39406 for ac_func in ceilf floorf
39407 do :
39408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39410 eval as_val=\$$as_ac_var
39411 if test "x$as_val" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39417 done
39419 else
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39421 $as_echo_n "checking for _float round functions... " >&6; }
39422 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39437 main ()
39439 _ceilf (0); _floorf (0);
39441 return 0;
39443 _ACEOF
39444 if ac_fn_cxx_try_compile "$LINENO"; then :
39445 glibcxx_cv_func__float_round_use=yes
39446 else
39447 glibcxx_cv_func__float_round_use=no
39449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 ac_ext=c
39451 ac_cpp='$CPP $CPPFLAGS'
39452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39459 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39460 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39461 for ac_func in _ceilf _floorf
39462 do :
39463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39465 eval as_val=\$$as_ac_var
39466 if test "x$as_val" = x""yes; then :
39467 cat >>confdefs.h <<_ACEOF
39468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39469 _ACEOF
39472 done
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39483 $as_echo_n "checking for expf declaration... " >&6; }
39484 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39485 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39486 $as_echo_n "(cached) " >&6
39487 else
39490 ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h. */
39498 #include <math.h>
39499 #ifdef HAVE_IEEEFP_H
39500 #include <ieeefp.h>
39501 #endif
39504 main ()
39506 expf(0);
39508 return 0;
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func_expf_use=yes
39513 else
39514 glibcxx_cv_func_expf_use=no
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39528 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39530 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39531 for ac_func in expf
39532 do :
39533 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39534 if test "x$ac_cv_func_expf" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE_EXPF 1
39537 _ACEOF
39540 done
39542 else
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39545 $as_echo_n "checking for _expf declaration... " >&6; }
39546 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39547 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39548 $as_echo_n "(cached) " >&6
39549 else
39552 ac_ext=cpp
39553 ac_cpp='$CXXCPP $CPPFLAGS'
39554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39559 /* end confdefs.h. */
39560 #include <math.h>
39561 #ifdef HAVE_IEEEFP_H
39562 #include <ieeefp.h>
39563 #endif
39566 main ()
39568 _expf(0);
39570 return 0;
39572 _ACEOF
39573 if ac_fn_cxx_try_compile "$LINENO"; then :
39574 glibcxx_cv_func__expf_use=yes
39575 else
39576 glibcxx_cv_func__expf_use=no
39578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39579 ac_ext=c
39580 ac_cpp='$CPP $CPPFLAGS'
39581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39590 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39592 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39593 for ac_func in _expf
39594 do :
39595 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39596 if test "x$ac_cv_func__expf" = x""yes; then :
39597 cat >>confdefs.h <<_ACEOF
39598 #define HAVE__EXPF 1
39599 _ACEOF
39602 done
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39612 $as_echo_n "checking for isnanf declaration... " >&6; }
39613 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39614 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39615 $as_echo_n "(cached) " >&6
39616 else
39619 ac_ext=cpp
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39626 /* end confdefs.h. */
39627 #include <math.h>
39628 #ifdef HAVE_IEEEFP_H
39629 #include <ieeefp.h>
39630 #endif
39633 main ()
39635 isnanf(0);
39637 return 0;
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641 glibcxx_cv_func_isnanf_use=yes
39642 else
39643 glibcxx_cv_func_isnanf_use=no
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646 ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39657 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39659 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39660 for ac_func in isnanf
39661 do :
39662 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39663 if test "x$ac_cv_func_isnanf" = x""yes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE_ISNANF 1
39666 _ACEOF
39669 done
39671 else
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39674 $as_echo_n "checking for _isnanf declaration... " >&6; }
39675 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39676 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39677 $as_echo_n "(cached) " >&6
39678 else
39681 ac_ext=cpp
39682 ac_cpp='$CXXCPP $CPPFLAGS'
39683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h. */
39689 #include <math.h>
39690 #ifdef HAVE_IEEEFP_H
39691 #include <ieeefp.h>
39692 #endif
39695 main ()
39697 _isnanf(0);
39699 return 0;
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func__isnanf_use=yes
39704 else
39705 glibcxx_cv_func__isnanf_use=no
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39719 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39721 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39722 for ac_func in _isnanf
39723 do :
39724 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39725 if test "x$ac_cv_func__isnanf" = x""yes; then :
39726 cat >>confdefs.h <<_ACEOF
39727 #define HAVE__ISNANF 1
39728 _ACEOF
39731 done
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39741 $as_echo_n "checking for isinff declaration... " >&6; }
39742 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39743 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39744 $as_echo_n "(cached) " >&6
39745 else
39748 ac_ext=cpp
39749 ac_cpp='$CXXCPP $CPPFLAGS'
39750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39755 /* end confdefs.h. */
39756 #include <math.h>
39757 #ifdef HAVE_IEEEFP_H
39758 #include <ieeefp.h>
39759 #endif
39762 main ()
39764 isinff(0);
39766 return 0;
39768 _ACEOF
39769 if ac_fn_cxx_try_compile "$LINENO"; then :
39770 glibcxx_cv_func_isinff_use=yes
39771 else
39772 glibcxx_cv_func_isinff_use=no
39774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39786 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39788 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39789 for ac_func in isinff
39790 do :
39791 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39792 if test "x$ac_cv_func_isinff" = x""yes; then :
39793 cat >>confdefs.h <<_ACEOF
39794 #define HAVE_ISINFF 1
39795 _ACEOF
39798 done
39800 else
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39803 $as_echo_n "checking for _isinff declaration... " >&6; }
39804 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39805 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39806 $as_echo_n "(cached) " >&6
39807 else
39810 ac_ext=cpp
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39817 /* end confdefs.h. */
39818 #include <math.h>
39819 #ifdef HAVE_IEEEFP_H
39820 #include <ieeefp.h>
39821 #endif
39824 main ()
39826 _isinff(0);
39828 return 0;
39830 _ACEOF
39831 if ac_fn_cxx_try_compile "$LINENO"; then :
39832 glibcxx_cv_func__isinff_use=yes
39833 else
39834 glibcxx_cv_func__isinff_use=no
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837 ac_ext=c
39838 ac_cpp='$CPP $CPPFLAGS'
39839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39848 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39850 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39851 for ac_func in _isinff
39852 do :
39853 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39854 if test "x$ac_cv_func__isinff" = x""yes; then :
39855 cat >>confdefs.h <<_ACEOF
39856 #define HAVE__ISINFF 1
39857 _ACEOF
39860 done
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39870 $as_echo_n "checking for atan2f declaration... " >&6; }
39871 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39872 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39873 $as_echo_n "(cached) " >&6
39874 else
39877 ac_ext=cpp
39878 ac_cpp='$CXXCPP $CPPFLAGS'
39879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884 /* end confdefs.h. */
39885 #include <math.h>
39887 main ()
39889 atan2f(0, 0);
39891 return 0;
39893 _ACEOF
39894 if ac_fn_cxx_try_compile "$LINENO"; then :
39895 glibcxx_cv_func_atan2f_use=yes
39896 else
39897 glibcxx_cv_func_atan2f_use=no
39899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900 ac_ext=c
39901 ac_cpp='$CPP $CPPFLAGS'
39902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39911 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39913 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39914 for ac_func in atan2f
39915 do :
39916 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39917 if test "x$ac_cv_func_atan2f" = x""yes; then :
39918 cat >>confdefs.h <<_ACEOF
39919 #define HAVE_ATAN2F 1
39920 _ACEOF
39923 done
39925 else
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39928 $as_echo_n "checking for _atan2f declaration... " >&6; }
39929 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39930 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39931 $as_echo_n "(cached) " >&6
39932 else
39935 ac_ext=cpp
39936 ac_cpp='$CXXCPP $CPPFLAGS'
39937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942 /* end confdefs.h. */
39943 #include <math.h>
39945 main ()
39947 _atan2f(0, 0);
39949 return 0;
39951 _ACEOF
39952 if ac_fn_cxx_try_compile "$LINENO"; then :
39953 glibcxx_cv_func__atan2f_use=yes
39954 else
39955 glibcxx_cv_func__atan2f_use=no
39957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39958 ac_ext=c
39959 ac_cpp='$CPP $CPPFLAGS'
39960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39969 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39971 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39972 for ac_func in _atan2f
39973 do :
39974 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39975 if test "x$ac_cv_func__atan2f" = x""yes; then :
39976 cat >>confdefs.h <<_ACEOF
39977 #define HAVE__ATAN2F 1
39978 _ACEOF
39981 done
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39991 $as_echo_n "checking for fabsf declaration... " >&6; }
39992 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39993 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39994 $as_echo_n "(cached) " >&6
39995 else
39998 ac_ext=cpp
39999 ac_cpp='$CXXCPP $CPPFLAGS'
40000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h. */
40006 #include <math.h>
40007 #ifdef HAVE_IEEEFP_H
40008 #include <ieeefp.h>
40009 #endif
40012 main ()
40014 fabsf(0);
40016 return 0;
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func_fabsf_use=yes
40021 else
40022 glibcxx_cv_func_fabsf_use=no
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40036 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40038 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40039 for ac_func in fabsf
40040 do :
40041 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40042 if test "x$ac_cv_func_fabsf" = x""yes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_FABSF 1
40045 _ACEOF
40048 done
40050 else
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40053 $as_echo_n "checking for _fabsf declaration... " >&6; }
40054 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40055 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40069 #ifdef HAVE_IEEEFP_H
40070 #include <ieeefp.h>
40071 #endif
40074 main ()
40076 _fabsf(0);
40078 return 0;
40080 _ACEOF
40081 if ac_fn_cxx_try_compile "$LINENO"; then :
40082 glibcxx_cv_func__fabsf_use=yes
40083 else
40084 glibcxx_cv_func__fabsf_use=no
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40087 ac_ext=c
40088 ac_cpp='$CPP $CPPFLAGS'
40089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40098 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40100 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40101 for ac_func in _fabsf
40102 do :
40103 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40104 if test "x$ac_cv_func__fabsf" = x""yes; then :
40105 cat >>confdefs.h <<_ACEOF
40106 #define HAVE__FABSF 1
40107 _ACEOF
40110 done
40119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40120 $as_echo_n "checking for fmodf declaration... " >&6; }
40121 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40122 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40123 $as_echo_n "(cached) " >&6
40124 else
40127 ac_ext=cpp
40128 ac_cpp='$CXXCPP $CPPFLAGS'
40129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40134 /* end confdefs.h. */
40135 #include <math.h>
40137 main ()
40139 fmodf(0, 0);
40141 return 0;
40143 _ACEOF
40144 if ac_fn_cxx_try_compile "$LINENO"; then :
40145 glibcxx_cv_func_fmodf_use=yes
40146 else
40147 glibcxx_cv_func_fmodf_use=no
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150 ac_ext=c
40151 ac_cpp='$CPP $CPPFLAGS'
40152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40161 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40163 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40164 for ac_func in fmodf
40165 do :
40166 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40167 if test "x$ac_cv_func_fmodf" = x""yes; then :
40168 cat >>confdefs.h <<_ACEOF
40169 #define HAVE_FMODF 1
40170 _ACEOF
40173 done
40175 else
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40178 $as_echo_n "checking for _fmodf declaration... " >&6; }
40179 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40180 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40195 main ()
40197 _fmodf(0, 0);
40199 return 0;
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203 glibcxx_cv_func__fmodf_use=yes
40204 else
40205 glibcxx_cv_func__fmodf_use=no
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40219 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40221 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40222 for ac_func in _fmodf
40223 do :
40224 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40225 if test "x$ac_cv_func__fmodf" = x""yes; then :
40226 cat >>confdefs.h <<_ACEOF
40227 #define HAVE__FMODF 1
40228 _ACEOF
40231 done
40240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40241 $as_echo_n "checking for frexpf declaration... " >&6; }
40242 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40243 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40244 $as_echo_n "(cached) " >&6
40245 else
40248 ac_ext=cpp
40249 ac_cpp='$CXXCPP $CPPFLAGS'
40250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40255 /* end confdefs.h. */
40256 #include <math.h>
40258 main ()
40260 frexpf(0, 0);
40262 return 0;
40264 _ACEOF
40265 if ac_fn_cxx_try_compile "$LINENO"; then :
40266 glibcxx_cv_func_frexpf_use=yes
40267 else
40268 glibcxx_cv_func_frexpf_use=no
40270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40271 ac_ext=c
40272 ac_cpp='$CPP $CPPFLAGS'
40273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40282 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40284 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40285 for ac_func in frexpf
40286 do :
40287 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40288 if test "x$ac_cv_func_frexpf" = x""yes; then :
40289 cat >>confdefs.h <<_ACEOF
40290 #define HAVE_FREXPF 1
40291 _ACEOF
40294 done
40296 else
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40299 $as_echo_n "checking for _frexpf declaration... " >&6; }
40300 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40301 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40302 $as_echo_n "(cached) " >&6
40303 else
40306 ac_ext=cpp
40307 ac_cpp='$CXXCPP $CPPFLAGS'
40308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40313 /* end confdefs.h. */
40314 #include <math.h>
40316 main ()
40318 _frexpf(0, 0);
40320 return 0;
40322 _ACEOF
40323 if ac_fn_cxx_try_compile "$LINENO"; then :
40324 glibcxx_cv_func__frexpf_use=yes
40325 else
40326 glibcxx_cv_func__frexpf_use=no
40328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329 ac_ext=c
40330 ac_cpp='$CPP $CPPFLAGS'
40331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40340 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40342 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40343 for ac_func in _frexpf
40344 do :
40345 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40346 if test "x$ac_cv_func__frexpf" = x""yes; then :
40347 cat >>confdefs.h <<_ACEOF
40348 #define HAVE__FREXPF 1
40349 _ACEOF
40352 done
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40362 $as_echo_n "checking for hypotf declaration... " >&6; }
40363 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40364 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40365 $as_echo_n "(cached) " >&6
40366 else
40369 ac_ext=cpp
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40376 /* end confdefs.h. */
40377 #include <math.h>
40379 main ()
40381 hypotf(0, 0);
40383 return 0;
40385 _ACEOF
40386 if ac_fn_cxx_try_compile "$LINENO"; then :
40387 glibcxx_cv_func_hypotf_use=yes
40388 else
40389 glibcxx_cv_func_hypotf_use=no
40391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40392 ac_ext=c
40393 ac_cpp='$CPP $CPPFLAGS'
40394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40403 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40405 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40406 for ac_func in hypotf
40407 do :
40408 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40409 if test "x$ac_cv_func_hypotf" = x""yes; then :
40410 cat >>confdefs.h <<_ACEOF
40411 #define HAVE_HYPOTF 1
40412 _ACEOF
40415 done
40417 else
40419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40420 $as_echo_n "checking for _hypotf declaration... " >&6; }
40421 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40422 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40423 $as_echo_n "(cached) " >&6
40424 else
40427 ac_ext=cpp
40428 ac_cpp='$CXXCPP $CPPFLAGS'
40429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40434 /* end confdefs.h. */
40435 #include <math.h>
40437 main ()
40439 _hypotf(0, 0);
40441 return 0;
40443 _ACEOF
40444 if ac_fn_cxx_try_compile "$LINENO"; then :
40445 glibcxx_cv_func__hypotf_use=yes
40446 else
40447 glibcxx_cv_func__hypotf_use=no
40449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40450 ac_ext=c
40451 ac_cpp='$CPP $CPPFLAGS'
40452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40461 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40463 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40464 for ac_func in _hypotf
40465 do :
40466 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40467 if test "x$ac_cv_func__hypotf" = x""yes; then :
40468 cat >>confdefs.h <<_ACEOF
40469 #define HAVE__HYPOTF 1
40470 _ACEOF
40473 done
40482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40483 $as_echo_n "checking for ldexpf declaration... " >&6; }
40484 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40485 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40486 $as_echo_n "(cached) " >&6
40487 else
40490 ac_ext=cpp
40491 ac_cpp='$CXXCPP $CPPFLAGS'
40492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40497 /* end confdefs.h. */
40498 #include <math.h>
40500 main ()
40502 ldexpf(0, 0);
40504 return 0;
40506 _ACEOF
40507 if ac_fn_cxx_try_compile "$LINENO"; then :
40508 glibcxx_cv_func_ldexpf_use=yes
40509 else
40510 glibcxx_cv_func_ldexpf_use=no
40512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513 ac_ext=c
40514 ac_cpp='$CPP $CPPFLAGS'
40515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40524 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40526 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40527 for ac_func in ldexpf
40528 do :
40529 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40530 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40531 cat >>confdefs.h <<_ACEOF
40532 #define HAVE_LDEXPF 1
40533 _ACEOF
40536 done
40538 else
40540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40541 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40542 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40543 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40544 $as_echo_n "(cached) " >&6
40545 else
40548 ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40555 /* end confdefs.h. */
40556 #include <math.h>
40558 main ()
40560 _ldexpf(0, 0);
40562 return 0;
40564 _ACEOF
40565 if ac_fn_cxx_try_compile "$LINENO"; then :
40566 glibcxx_cv_func__ldexpf_use=yes
40567 else
40568 glibcxx_cv_func__ldexpf_use=no
40570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40571 ac_ext=c
40572 ac_cpp='$CPP $CPPFLAGS'
40573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40582 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40584 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40585 for ac_func in _ldexpf
40586 do :
40587 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40588 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40589 cat >>confdefs.h <<_ACEOF
40590 #define HAVE__LDEXPF 1
40591 _ACEOF
40594 done
40603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40604 $as_echo_n "checking for logf declaration... " >&6; }
40605 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40606 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40607 $as_echo_n "(cached) " >&6
40608 else
40611 ac_ext=cpp
40612 ac_cpp='$CXXCPP $CPPFLAGS'
40613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40618 /* end confdefs.h. */
40619 #include <math.h>
40620 #ifdef HAVE_IEEEFP_H
40621 #include <ieeefp.h>
40622 #endif
40625 main ()
40627 logf(0);
40629 return 0;
40631 _ACEOF
40632 if ac_fn_cxx_try_compile "$LINENO"; then :
40633 glibcxx_cv_func_logf_use=yes
40634 else
40635 glibcxx_cv_func_logf_use=no
40637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40638 ac_ext=c
40639 ac_cpp='$CPP $CPPFLAGS'
40640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40649 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40651 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40652 for ac_func in logf
40653 do :
40654 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40655 if test "x$ac_cv_func_logf" = x""yes; then :
40656 cat >>confdefs.h <<_ACEOF
40657 #define HAVE_LOGF 1
40658 _ACEOF
40661 done
40663 else
40665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40666 $as_echo_n "checking for _logf declaration... " >&6; }
40667 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40668 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40669 $as_echo_n "(cached) " >&6
40670 else
40673 ac_ext=cpp
40674 ac_cpp='$CXXCPP $CPPFLAGS'
40675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40680 /* end confdefs.h. */
40681 #include <math.h>
40682 #ifdef HAVE_IEEEFP_H
40683 #include <ieeefp.h>
40684 #endif
40687 main ()
40689 _logf(0);
40691 return 0;
40693 _ACEOF
40694 if ac_fn_cxx_try_compile "$LINENO"; then :
40695 glibcxx_cv_func__logf_use=yes
40696 else
40697 glibcxx_cv_func__logf_use=no
40699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40700 ac_ext=c
40701 ac_cpp='$CPP $CPPFLAGS'
40702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40711 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40713 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40714 for ac_func in _logf
40715 do :
40716 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40717 if test "x$ac_cv_func__logf" = x""yes; then :
40718 cat >>confdefs.h <<_ACEOF
40719 #define HAVE__LOGF 1
40720 _ACEOF
40723 done
40732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40733 $as_echo_n "checking for log10f declaration... " >&6; }
40734 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40735 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40736 $as_echo_n "(cached) " >&6
40737 else
40740 ac_ext=cpp
40741 ac_cpp='$CXXCPP $CPPFLAGS'
40742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40747 /* end confdefs.h. */
40748 #include <math.h>
40749 #ifdef HAVE_IEEEFP_H
40750 #include <ieeefp.h>
40751 #endif
40754 main ()
40756 log10f(0);
40758 return 0;
40760 _ACEOF
40761 if ac_fn_cxx_try_compile "$LINENO"; then :
40762 glibcxx_cv_func_log10f_use=yes
40763 else
40764 glibcxx_cv_func_log10f_use=no
40766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40767 ac_ext=c
40768 ac_cpp='$CPP $CPPFLAGS'
40769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40778 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40780 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40781 for ac_func in log10f
40782 do :
40783 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40784 if test "x$ac_cv_func_log10f" = x""yes; then :
40785 cat >>confdefs.h <<_ACEOF
40786 #define HAVE_LOG10F 1
40787 _ACEOF
40790 done
40792 else
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40795 $as_echo_n "checking for _log10f declaration... " >&6; }
40796 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40797 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40798 $as_echo_n "(cached) " >&6
40799 else
40802 ac_ext=cpp
40803 ac_cpp='$CXXCPP $CPPFLAGS'
40804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40809 /* end confdefs.h. */
40810 #include <math.h>
40811 #ifdef HAVE_IEEEFP_H
40812 #include <ieeefp.h>
40813 #endif
40816 main ()
40818 _log10f(0);
40820 return 0;
40822 _ACEOF
40823 if ac_fn_cxx_try_compile "$LINENO"; then :
40824 glibcxx_cv_func__log10f_use=yes
40825 else
40826 glibcxx_cv_func__log10f_use=no
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829 ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40840 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40842 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40843 for ac_func in _log10f
40844 do :
40845 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40846 if test "x$ac_cv_func__log10f" = x""yes; then :
40847 cat >>confdefs.h <<_ACEOF
40848 #define HAVE__LOG10F 1
40849 _ACEOF
40852 done
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40862 $as_echo_n "checking for modff declaration... " >&6; }
40863 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40864 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40865 $as_echo_n "(cached) " >&6
40866 else
40869 ac_ext=cpp
40870 ac_cpp='$CXXCPP $CPPFLAGS'
40871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40876 /* end confdefs.h. */
40877 #include <math.h>
40879 main ()
40881 modff(0, 0);
40883 return 0;
40885 _ACEOF
40886 if ac_fn_cxx_try_compile "$LINENO"; then :
40887 glibcxx_cv_func_modff_use=yes
40888 else
40889 glibcxx_cv_func_modff_use=no
40891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40892 ac_ext=c
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40903 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40905 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40906 for ac_func in modff
40907 do :
40908 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40909 if test "x$ac_cv_func_modff" = x""yes; then :
40910 cat >>confdefs.h <<_ACEOF
40911 #define HAVE_MODFF 1
40912 _ACEOF
40915 done
40917 else
40919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40920 $as_echo_n "checking for _modff declaration... " >&6; }
40921 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40922 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40923 $as_echo_n "(cached) " >&6
40924 else
40927 ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h. */
40935 #include <math.h>
40937 main ()
40939 _modff(0, 0);
40941 return 0;
40943 _ACEOF
40944 if ac_fn_cxx_try_compile "$LINENO"; then :
40945 glibcxx_cv_func__modff_use=yes
40946 else
40947 glibcxx_cv_func__modff_use=no
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40961 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40963 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40964 for ac_func in _modff
40965 do :
40966 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40967 if test "x$ac_cv_func__modff" = x""yes; then :
40968 cat >>confdefs.h <<_ACEOF
40969 #define HAVE__MODFF 1
40970 _ACEOF
40973 done
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40983 $as_echo_n "checking for modf declaration... " >&6; }
40984 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40985 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
41000 main ()
41002 modf(0, 0);
41004 return 0;
41006 _ACEOF
41007 if ac_fn_cxx_try_compile "$LINENO"; then :
41008 glibcxx_cv_func_modf_use=yes
41009 else
41010 glibcxx_cv_func_modf_use=no
41012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41024 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41026 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41027 for ac_func in modf
41028 do :
41029 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41030 if test "x$ac_cv_func_modf" = x""yes; then :
41031 cat >>confdefs.h <<_ACEOF
41032 #define HAVE_MODF 1
41033 _ACEOF
41036 done
41038 else
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41041 $as_echo_n "checking for _modf declaration... " >&6; }
41042 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41043 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41044 $as_echo_n "(cached) " >&6
41045 else
41048 ac_ext=cpp
41049 ac_cpp='$CXXCPP $CPPFLAGS'
41050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41055 /* end confdefs.h. */
41056 #include <math.h>
41058 main ()
41060 _modf(0, 0);
41062 return 0;
41064 _ACEOF
41065 if ac_fn_cxx_try_compile "$LINENO"; then :
41066 glibcxx_cv_func__modf_use=yes
41067 else
41068 glibcxx_cv_func__modf_use=no
41070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41071 ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41082 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41084 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41085 for ac_func in _modf
41086 do :
41087 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41088 if test "x$ac_cv_func__modf" = x""yes; then :
41089 cat >>confdefs.h <<_ACEOF
41090 #define HAVE__MODF 1
41091 _ACEOF
41094 done
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41104 $as_echo_n "checking for powf declaration... " >&6; }
41105 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41106 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41111 ac_ext=cpp
41112 ac_cpp='$CXXCPP $CPPFLAGS'
41113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <math.h>
41121 main ()
41123 powf(0, 0);
41125 return 0;
41127 _ACEOF
41128 if ac_fn_cxx_try_compile "$LINENO"; then :
41129 glibcxx_cv_func_powf_use=yes
41130 else
41131 glibcxx_cv_func_powf_use=no
41133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41134 ac_ext=c
41135 ac_cpp='$CPP $CPPFLAGS'
41136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41145 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41147 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41148 for ac_func in powf
41149 do :
41150 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41151 if test "x$ac_cv_func_powf" = x""yes; then :
41152 cat >>confdefs.h <<_ACEOF
41153 #define HAVE_POWF 1
41154 _ACEOF
41157 done
41159 else
41161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41162 $as_echo_n "checking for _powf declaration... " >&6; }
41163 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41164 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41169 ac_ext=cpp
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176 /* end confdefs.h. */
41177 #include <math.h>
41179 main ()
41181 _powf(0, 0);
41183 return 0;
41185 _ACEOF
41186 if ac_fn_cxx_try_compile "$LINENO"; then :
41187 glibcxx_cv_func__powf_use=yes
41188 else
41189 glibcxx_cv_func__powf_use=no
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 ac_ext=c
41193 ac_cpp='$CPP $CPPFLAGS'
41194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41203 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41205 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41206 for ac_func in _powf
41207 do :
41208 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41209 if test "x$ac_cv_func__powf" = x""yes; then :
41210 cat >>confdefs.h <<_ACEOF
41211 #define HAVE__POWF 1
41212 _ACEOF
41215 done
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41225 $as_echo_n "checking for sqrtf declaration... " >&6; }
41226 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41227 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41228 $as_echo_n "(cached) " >&6
41229 else
41232 ac_ext=cpp
41233 ac_cpp='$CXXCPP $CPPFLAGS'
41234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41239 /* end confdefs.h. */
41240 #include <math.h>
41241 #ifdef HAVE_IEEEFP_H
41242 #include <ieeefp.h>
41243 #endif
41246 main ()
41248 sqrtf(0);
41250 return 0;
41252 _ACEOF
41253 if ac_fn_cxx_try_compile "$LINENO"; then :
41254 glibcxx_cv_func_sqrtf_use=yes
41255 else
41256 glibcxx_cv_func_sqrtf_use=no
41258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41259 ac_ext=c
41260 ac_cpp='$CPP $CPPFLAGS'
41261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41270 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41272 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41273 for ac_func in sqrtf
41274 do :
41275 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41276 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41277 cat >>confdefs.h <<_ACEOF
41278 #define HAVE_SQRTF 1
41279 _ACEOF
41282 done
41284 else
41286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41287 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41288 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41289 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41290 $as_echo_n "(cached) " >&6
41291 else
41294 ac_ext=cpp
41295 ac_cpp='$CXXCPP $CPPFLAGS'
41296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41301 /* end confdefs.h. */
41302 #include <math.h>
41303 #ifdef HAVE_IEEEFP_H
41304 #include <ieeefp.h>
41305 #endif
41308 main ()
41310 _sqrtf(0);
41312 return 0;
41314 _ACEOF
41315 if ac_fn_cxx_try_compile "$LINENO"; then :
41316 glibcxx_cv_func__sqrtf_use=yes
41317 else
41318 glibcxx_cv_func__sqrtf_use=no
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321 ac_ext=c
41322 ac_cpp='$CPP $CPPFLAGS'
41323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41332 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41334 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41335 for ac_func in _sqrtf
41336 do :
41337 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41338 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41339 cat >>confdefs.h <<_ACEOF
41340 #define HAVE__SQRTF 1
41341 _ACEOF
41344 done
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41354 $as_echo_n "checking for sincosf declaration... " >&6; }
41355 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41356 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41357 $as_echo_n "(cached) " >&6
41358 else
41361 ac_ext=cpp
41362 ac_cpp='$CXXCPP $CPPFLAGS'
41363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41368 /* end confdefs.h. */
41369 #include <math.h>
41371 main ()
41373 sincosf(0, 0, 0);
41375 return 0;
41377 _ACEOF
41378 if ac_fn_cxx_try_compile "$LINENO"; then :
41379 glibcxx_cv_func_sincosf_use=yes
41380 else
41381 glibcxx_cv_func_sincosf_use=no
41383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41384 ac_ext=c
41385 ac_cpp='$CPP $CPPFLAGS'
41386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41395 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41397 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41398 for ac_func in sincosf
41399 do :
41400 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41401 if test "x$ac_cv_func_sincosf" = x""yes; then :
41402 cat >>confdefs.h <<_ACEOF
41403 #define HAVE_SINCOSF 1
41404 _ACEOF
41407 done
41409 else
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41412 $as_echo_n "checking for _sincosf declaration... " >&6; }
41413 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41414 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41415 $as_echo_n "(cached) " >&6
41416 else
41419 ac_ext=cpp
41420 ac_cpp='$CXXCPP $CPPFLAGS'
41421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41426 /* end confdefs.h. */
41427 #include <math.h>
41429 main ()
41431 _sincosf(0, 0, 0);
41433 return 0;
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437 glibcxx_cv_func__sincosf_use=yes
41438 else
41439 glibcxx_cv_func__sincosf_use=no
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41453 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41455 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41456 for ac_func in _sincosf
41457 do :
41458 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41459 if test "x$ac_cv_func__sincosf" = x""yes; then :
41460 cat >>confdefs.h <<_ACEOF
41461 #define HAVE__SINCOSF 1
41462 _ACEOF
41465 done
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41475 $as_echo_n "checking for finitef declaration... " >&6; }
41476 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41477 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41478 $as_echo_n "(cached) " >&6
41479 else
41482 ac_ext=cpp
41483 ac_cpp='$CXXCPP $CPPFLAGS'
41484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41489 /* end confdefs.h. */
41490 #include <math.h>
41491 #ifdef HAVE_IEEEFP_H
41492 #include <ieeefp.h>
41493 #endif
41496 main ()
41498 finitef(0);
41500 return 0;
41502 _ACEOF
41503 if ac_fn_cxx_try_compile "$LINENO"; then :
41504 glibcxx_cv_func_finitef_use=yes
41505 else
41506 glibcxx_cv_func_finitef_use=no
41508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41509 ac_ext=c
41510 ac_cpp='$CPP $CPPFLAGS'
41511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41520 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41522 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41523 for ac_func in finitef
41524 do :
41525 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41526 if test "x$ac_cv_func_finitef" = x""yes; then :
41527 cat >>confdefs.h <<_ACEOF
41528 #define HAVE_FINITEF 1
41529 _ACEOF
41532 done
41534 else
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41537 $as_echo_n "checking for _finitef declaration... " >&6; }
41538 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41539 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41540 $as_echo_n "(cached) " >&6
41541 else
41544 ac_ext=cpp
41545 ac_cpp='$CXXCPP $CPPFLAGS'
41546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41552 #include <math.h>
41553 #ifdef HAVE_IEEEFP_H
41554 #include <ieeefp.h>
41555 #endif
41558 main ()
41560 _finitef(0);
41562 return 0;
41564 _ACEOF
41565 if ac_fn_cxx_try_compile "$LINENO"; then :
41566 glibcxx_cv_func__finitef_use=yes
41567 else
41568 glibcxx_cv_func__finitef_use=no
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41582 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41584 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41585 for ac_func in _finitef
41586 do :
41587 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41588 if test "x$ac_cv_func__finitef" = x""yes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE__FINITEF 1
41591 _ACEOF
41594 done
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41604 $as_echo_n "checking for long double trig functions... " >&6; }
41605 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41607 else
41610 ac_ext=cpp
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41618 #include <math.h>
41620 main ()
41622 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41624 return 0;
41626 _ACEOF
41627 if ac_fn_cxx_try_compile "$LINENO"; then :
41628 glibcxx_cv_func_long_double_trig_use=yes
41629 else
41630 glibcxx_cv_func_long_double_trig_use=no
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41633 ac_ext=c
41634 ac_cpp='$CPP $CPPFLAGS'
41635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41642 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41643 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41644 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41645 do :
41646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41648 eval as_val=\$$as_ac_var
41649 if test "x$as_val" = x""yes; then :
41650 cat >>confdefs.h <<_ACEOF
41651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41652 _ACEOF
41655 done
41657 else
41658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41659 $as_echo_n "checking for _long double trig functions... " >&6; }
41660 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41661 $as_echo_n "(cached) " >&6
41662 else
41665 ac_ext=cpp
41666 ac_cpp='$CXXCPP $CPPFLAGS'
41667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41672 /* end confdefs.h. */
41673 #include <math.h>
41675 main ()
41677 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41679 return 0;
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func__long_double_trig_use=yes
41684 else
41685 glibcxx_cv_func__long_double_trig_use=no
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41697 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41698 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41699 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41700 do :
41701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41703 eval as_val=\$$as_ac_var
41704 if test "x$as_val" = x""yes; then :
41705 cat >>confdefs.h <<_ACEOF
41706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41707 _ACEOF
41710 done
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41720 $as_echo_n "checking for long double round functions... " >&6; }
41721 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41722 $as_echo_n "(cached) " >&6
41723 else
41726 ac_ext=cpp
41727 ac_cpp='$CXXCPP $CPPFLAGS'
41728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41733 /* end confdefs.h. */
41734 #include <math.h>
41736 main ()
41738 ceill (0); floorl (0);
41740 return 0;
41742 _ACEOF
41743 if ac_fn_cxx_try_compile "$LINENO"; then :
41744 glibcxx_cv_func_long_double_round_use=yes
41745 else
41746 glibcxx_cv_func_long_double_round_use=no
41748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41749 ac_ext=c
41750 ac_cpp='$CPP $CPPFLAGS'
41751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41758 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41759 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41760 for ac_func in ceill floorl
41761 do :
41762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41764 eval as_val=\$$as_ac_var
41765 if test "x$as_val" = x""yes; then :
41766 cat >>confdefs.h <<_ACEOF
41767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41768 _ACEOF
41771 done
41773 else
41774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41775 $as_echo_n "checking for _long double round functions... " >&6; }
41776 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41791 main ()
41793 _ceill (0); _floorl (0);
41795 return 0;
41797 _ACEOF
41798 if ac_fn_cxx_try_compile "$LINENO"; then :
41799 glibcxx_cv_func__long_double_round_use=yes
41800 else
41801 glibcxx_cv_func__long_double_round_use=no
41803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41804 ac_ext=c
41805 ac_cpp='$CPP $CPPFLAGS'
41806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41813 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41814 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41815 for ac_func in _ceill _floorl
41816 do :
41817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41819 eval as_val=\$$as_ac_var
41820 if test "x$as_val" = x""yes; then :
41821 cat >>confdefs.h <<_ACEOF
41822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41823 _ACEOF
41826 done
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41837 $as_echo_n "checking for isnanl declaration... " >&6; }
41838 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41839 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41853 #ifdef HAVE_IEEEFP_H
41854 #include <ieeefp.h>
41855 #endif
41858 main ()
41860 isnanl(0);
41862 return 0;
41864 _ACEOF
41865 if ac_fn_cxx_try_compile "$LINENO"; then :
41866 glibcxx_cv_func_isnanl_use=yes
41867 else
41868 glibcxx_cv_func_isnanl_use=no
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41871 ac_ext=c
41872 ac_cpp='$CPP $CPPFLAGS'
41873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41882 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41884 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41885 for ac_func in isnanl
41886 do :
41887 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41888 if test "x$ac_cv_func_isnanl" = x""yes; then :
41889 cat >>confdefs.h <<_ACEOF
41890 #define HAVE_ISNANL 1
41891 _ACEOF
41894 done
41896 else
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41899 $as_echo_n "checking for _isnanl declaration... " >&6; }
41900 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41901 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41902 $as_echo_n "(cached) " >&6
41903 else
41906 ac_ext=cpp
41907 ac_cpp='$CXXCPP $CPPFLAGS'
41908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41913 /* end confdefs.h. */
41914 #include <math.h>
41915 #ifdef HAVE_IEEEFP_H
41916 #include <ieeefp.h>
41917 #endif
41920 main ()
41922 _isnanl(0);
41924 return 0;
41926 _ACEOF
41927 if ac_fn_cxx_try_compile "$LINENO"; then :
41928 glibcxx_cv_func__isnanl_use=yes
41929 else
41930 glibcxx_cv_func__isnanl_use=no
41932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41933 ac_ext=c
41934 ac_cpp='$CPP $CPPFLAGS'
41935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41944 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41946 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41947 for ac_func in _isnanl
41948 do :
41949 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41950 if test "x$ac_cv_func__isnanl" = x""yes; then :
41951 cat >>confdefs.h <<_ACEOF
41952 #define HAVE__ISNANL 1
41953 _ACEOF
41956 done
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41966 $as_echo_n "checking for isinfl declaration... " >&6; }
41967 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41968 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41969 $as_echo_n "(cached) " >&6
41970 else
41973 ac_ext=cpp
41974 ac_cpp='$CXXCPP $CPPFLAGS'
41975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41980 /* end confdefs.h. */
41981 #include <math.h>
41982 #ifdef HAVE_IEEEFP_H
41983 #include <ieeefp.h>
41984 #endif
41987 main ()
41989 isinfl(0);
41991 return 0;
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995 glibcxx_cv_func_isinfl_use=yes
41996 else
41997 glibcxx_cv_func_isinfl_use=no
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000 ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42011 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42013 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42014 for ac_func in isinfl
42015 do :
42016 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42017 if test "x$ac_cv_func_isinfl" = x""yes; then :
42018 cat >>confdefs.h <<_ACEOF
42019 #define HAVE_ISINFL 1
42020 _ACEOF
42023 done
42025 else
42027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42028 $as_echo_n "checking for _isinfl declaration... " >&6; }
42029 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42030 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42031 $as_echo_n "(cached) " >&6
42032 else
42035 ac_ext=cpp
42036 ac_cpp='$CXXCPP $CPPFLAGS'
42037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42042 /* end confdefs.h. */
42043 #include <math.h>
42044 #ifdef HAVE_IEEEFP_H
42045 #include <ieeefp.h>
42046 #endif
42049 main ()
42051 _isinfl(0);
42053 return 0;
42055 _ACEOF
42056 if ac_fn_cxx_try_compile "$LINENO"; then :
42057 glibcxx_cv_func__isinfl_use=yes
42058 else
42059 glibcxx_cv_func__isinfl_use=no
42061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42062 ac_ext=c
42063 ac_cpp='$CPP $CPPFLAGS'
42064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42073 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42075 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42076 for ac_func in _isinfl
42077 do :
42078 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42079 if test "x$ac_cv_func__isinfl" = x""yes; then :
42080 cat >>confdefs.h <<_ACEOF
42081 #define HAVE__ISINFL 1
42082 _ACEOF
42085 done
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42095 $as_echo_n "checking for atan2l declaration... " >&6; }
42096 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42097 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42098 $as_echo_n "(cached) " >&6
42099 else
42102 ac_ext=cpp
42103 ac_cpp='$CXXCPP $CPPFLAGS'
42104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42109 /* end confdefs.h. */
42110 #include <math.h>
42112 main ()
42114 atan2l(0, 0);
42116 return 0;
42118 _ACEOF
42119 if ac_fn_cxx_try_compile "$LINENO"; then :
42120 glibcxx_cv_func_atan2l_use=yes
42121 else
42122 glibcxx_cv_func_atan2l_use=no
42124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42125 ac_ext=c
42126 ac_cpp='$CPP $CPPFLAGS'
42127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42136 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42138 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42139 for ac_func in atan2l
42140 do :
42141 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42142 if test "x$ac_cv_func_atan2l" = x""yes; then :
42143 cat >>confdefs.h <<_ACEOF
42144 #define HAVE_ATAN2L 1
42145 _ACEOF
42148 done
42150 else
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42153 $as_echo_n "checking for _atan2l declaration... " >&6; }
42154 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42155 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42156 $as_echo_n "(cached) " >&6
42157 else
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42167 /* end confdefs.h. */
42168 #include <math.h>
42170 main ()
42172 _atan2l(0, 0);
42174 return 0;
42176 _ACEOF
42177 if ac_fn_cxx_try_compile "$LINENO"; then :
42178 glibcxx_cv_func__atan2l_use=yes
42179 else
42180 glibcxx_cv_func__atan2l_use=no
42182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42183 ac_ext=c
42184 ac_cpp='$CPP $CPPFLAGS'
42185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42194 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42196 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42197 for ac_func in _atan2l
42198 do :
42199 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42200 if test "x$ac_cv_func__atan2l" = x""yes; then :
42201 cat >>confdefs.h <<_ACEOF
42202 #define HAVE__ATAN2L 1
42203 _ACEOF
42206 done
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42216 $as_echo_n "checking for expl declaration... " >&6; }
42217 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42218 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42219 $as_echo_n "(cached) " >&6
42220 else
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h. */
42231 #include <math.h>
42232 #ifdef HAVE_IEEEFP_H
42233 #include <ieeefp.h>
42234 #endif
42237 main ()
42239 expl(0);
42241 return 0;
42243 _ACEOF
42244 if ac_fn_cxx_try_compile "$LINENO"; then :
42245 glibcxx_cv_func_expl_use=yes
42246 else
42247 glibcxx_cv_func_expl_use=no
42249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42250 ac_ext=c
42251 ac_cpp='$CPP $CPPFLAGS'
42252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42261 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42263 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42264 for ac_func in expl
42265 do :
42266 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42267 if test "x$ac_cv_func_expl" = x""yes; then :
42268 cat >>confdefs.h <<_ACEOF
42269 #define HAVE_EXPL 1
42270 _ACEOF
42273 done
42275 else
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42278 $as_echo_n "checking for _expl declaration... " >&6; }
42279 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42280 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42281 $as_echo_n "(cached) " >&6
42282 else
42285 ac_ext=cpp
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42292 /* end confdefs.h. */
42293 #include <math.h>
42294 #ifdef HAVE_IEEEFP_H
42295 #include <ieeefp.h>
42296 #endif
42299 main ()
42301 _expl(0);
42303 return 0;
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func__expl_use=yes
42308 else
42309 glibcxx_cv_func__expl_use=no
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42323 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42325 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42326 for ac_func in _expl
42327 do :
42328 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42329 if test "x$ac_cv_func__expl" = x""yes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE__EXPL 1
42332 _ACEOF
42335 done
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42345 $as_echo_n "checking for fabsl declaration... " >&6; }
42346 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42347 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42361 #ifdef HAVE_IEEEFP_H
42362 #include <ieeefp.h>
42363 #endif
42366 main ()
42368 fabsl(0);
42370 return 0;
42372 _ACEOF
42373 if ac_fn_cxx_try_compile "$LINENO"; then :
42374 glibcxx_cv_func_fabsl_use=yes
42375 else
42376 glibcxx_cv_func_fabsl_use=no
42378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42379 ac_ext=c
42380 ac_cpp='$CPP $CPPFLAGS'
42381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42390 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42392 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42393 for ac_func in fabsl
42394 do :
42395 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42396 if test "x$ac_cv_func_fabsl" = x""yes; then :
42397 cat >>confdefs.h <<_ACEOF
42398 #define HAVE_FABSL 1
42399 _ACEOF
42402 done
42404 else
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42407 $as_echo_n "checking for _fabsl declaration... " >&6; }
42408 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42409 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42410 $as_echo_n "(cached) " >&6
42411 else
42414 ac_ext=cpp
42415 ac_cpp='$CXXCPP $CPPFLAGS'
42416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42421 /* end confdefs.h. */
42422 #include <math.h>
42423 #ifdef HAVE_IEEEFP_H
42424 #include <ieeefp.h>
42425 #endif
42428 main ()
42430 _fabsl(0);
42432 return 0;
42434 _ACEOF
42435 if ac_fn_cxx_try_compile "$LINENO"; then :
42436 glibcxx_cv_func__fabsl_use=yes
42437 else
42438 glibcxx_cv_func__fabsl_use=no
42440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42452 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42454 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42455 for ac_func in _fabsl
42456 do :
42457 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42458 if test "x$ac_cv_func__fabsl" = x""yes; then :
42459 cat >>confdefs.h <<_ACEOF
42460 #define HAVE__FABSL 1
42461 _ACEOF
42464 done
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42474 $as_echo_n "checking for fmodl declaration... " >&6; }
42475 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42476 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42477 $as_echo_n "(cached) " >&6
42478 else
42481 ac_ext=cpp
42482 ac_cpp='$CXXCPP $CPPFLAGS'
42483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42488 /* end confdefs.h. */
42489 #include <math.h>
42491 main ()
42493 fmodl(0, 0);
42495 return 0;
42497 _ACEOF
42498 if ac_fn_cxx_try_compile "$LINENO"; then :
42499 glibcxx_cv_func_fmodl_use=yes
42500 else
42501 glibcxx_cv_func_fmodl_use=no
42503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42504 ac_ext=c
42505 ac_cpp='$CPP $CPPFLAGS'
42506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42515 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42517 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42518 for ac_func in fmodl
42519 do :
42520 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42521 if test "x$ac_cv_func_fmodl" = x""yes; then :
42522 cat >>confdefs.h <<_ACEOF
42523 #define HAVE_FMODL 1
42524 _ACEOF
42527 done
42529 else
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42532 $as_echo_n "checking for _fmodl declaration... " >&6; }
42533 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42534 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42535 $as_echo_n "(cached) " >&6
42536 else
42539 ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h. */
42547 #include <math.h>
42549 main ()
42551 _fmodl(0, 0);
42553 return 0;
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func__fmodl_use=yes
42558 else
42559 glibcxx_cv_func__fmodl_use=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42573 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42575 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42576 for ac_func in _fmodl
42577 do :
42578 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42579 if test "x$ac_cv_func__fmodl" = x""yes; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define HAVE__FMODL 1
42582 _ACEOF
42585 done
42594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42595 $as_echo_n "checking for frexpl declaration... " >&6; }
42596 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42597 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42598 $as_echo_n "(cached) " >&6
42599 else
42602 ac_ext=cpp
42603 ac_cpp='$CXXCPP $CPPFLAGS'
42604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42609 /* end confdefs.h. */
42610 #include <math.h>
42612 main ()
42614 frexpl(0, 0);
42616 return 0;
42618 _ACEOF
42619 if ac_fn_cxx_try_compile "$LINENO"; then :
42620 glibcxx_cv_func_frexpl_use=yes
42621 else
42622 glibcxx_cv_func_frexpl_use=no
42624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42625 ac_ext=c
42626 ac_cpp='$CPP $CPPFLAGS'
42627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42636 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42638 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42639 for ac_func in frexpl
42640 do :
42641 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42642 if test "x$ac_cv_func_frexpl" = x""yes; then :
42643 cat >>confdefs.h <<_ACEOF
42644 #define HAVE_FREXPL 1
42645 _ACEOF
42648 done
42650 else
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42653 $as_echo_n "checking for _frexpl declaration... " >&6; }
42654 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42655 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42656 $as_echo_n "(cached) " >&6
42657 else
42660 ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h. */
42668 #include <math.h>
42670 main ()
42672 _frexpl(0, 0);
42674 return 0;
42676 _ACEOF
42677 if ac_fn_cxx_try_compile "$LINENO"; then :
42678 glibcxx_cv_func__frexpl_use=yes
42679 else
42680 glibcxx_cv_func__frexpl_use=no
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42683 ac_ext=c
42684 ac_cpp='$CPP $CPPFLAGS'
42685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42694 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42697 for ac_func in _frexpl
42698 do :
42699 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42700 if test "x$ac_cv_func__frexpl" = x""yes; then :
42701 cat >>confdefs.h <<_ACEOF
42702 #define HAVE__FREXPL 1
42703 _ACEOF
42706 done
42715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42716 $as_echo_n "checking for hypotl declaration... " >&6; }
42717 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42718 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42719 $as_echo_n "(cached) " >&6
42720 else
42723 ac_ext=cpp
42724 ac_cpp='$CXXCPP $CPPFLAGS'
42725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42730 /* end confdefs.h. */
42731 #include <math.h>
42733 main ()
42735 hypotl(0, 0);
42737 return 0;
42739 _ACEOF
42740 if ac_fn_cxx_try_compile "$LINENO"; then :
42741 glibcxx_cv_func_hypotl_use=yes
42742 else
42743 glibcxx_cv_func_hypotl_use=no
42745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42757 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42759 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42760 for ac_func in hypotl
42761 do :
42762 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42763 if test "x$ac_cv_func_hypotl" = x""yes; then :
42764 cat >>confdefs.h <<_ACEOF
42765 #define HAVE_HYPOTL 1
42766 _ACEOF
42769 done
42771 else
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42774 $as_echo_n "checking for _hypotl declaration... " >&6; }
42775 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42776 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42777 $as_echo_n "(cached) " >&6
42778 else
42781 ac_ext=cpp
42782 ac_cpp='$CXXCPP $CPPFLAGS'
42783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42788 /* end confdefs.h. */
42789 #include <math.h>
42791 main ()
42793 _hypotl(0, 0);
42795 return 0;
42797 _ACEOF
42798 if ac_fn_cxx_try_compile "$LINENO"; then :
42799 glibcxx_cv_func__hypotl_use=yes
42800 else
42801 glibcxx_cv_func__hypotl_use=no
42803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42804 ac_ext=c
42805 ac_cpp='$CPP $CPPFLAGS'
42806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42815 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42817 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42818 for ac_func in _hypotl
42819 do :
42820 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42821 if test "x$ac_cv_func__hypotl" = x""yes; then :
42822 cat >>confdefs.h <<_ACEOF
42823 #define HAVE__HYPOTL 1
42824 _ACEOF
42827 done
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42837 $as_echo_n "checking for ldexpl declaration... " >&6; }
42838 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42839 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42840 $as_echo_n "(cached) " >&6
42841 else
42844 ac_ext=cpp
42845 ac_cpp='$CXXCPP $CPPFLAGS'
42846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42851 /* end confdefs.h. */
42852 #include <math.h>
42854 main ()
42856 ldexpl(0, 0);
42858 return 0;
42860 _ACEOF
42861 if ac_fn_cxx_try_compile "$LINENO"; then :
42862 glibcxx_cv_func_ldexpl_use=yes
42863 else
42864 glibcxx_cv_func_ldexpl_use=no
42866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42867 ac_ext=c
42868 ac_cpp='$CPP $CPPFLAGS'
42869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42878 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42880 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42881 for ac_func in ldexpl
42882 do :
42883 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42884 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42885 cat >>confdefs.h <<_ACEOF
42886 #define HAVE_LDEXPL 1
42887 _ACEOF
42890 done
42892 else
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42895 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42896 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42897 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42898 $as_echo_n "(cached) " >&6
42899 else
42902 ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h. */
42910 #include <math.h>
42912 main ()
42914 _ldexpl(0, 0);
42916 return 0;
42918 _ACEOF
42919 if ac_fn_cxx_try_compile "$LINENO"; then :
42920 glibcxx_cv_func__ldexpl_use=yes
42921 else
42922 glibcxx_cv_func__ldexpl_use=no
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42936 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42938 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42939 for ac_func in _ldexpl
42940 do :
42941 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42942 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42943 cat >>confdefs.h <<_ACEOF
42944 #define HAVE__LDEXPL 1
42945 _ACEOF
42948 done
42957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42958 $as_echo_n "checking for logl declaration... " >&6; }
42959 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42960 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42961 $as_echo_n "(cached) " >&6
42962 else
42965 ac_ext=cpp
42966 ac_cpp='$CXXCPP $CPPFLAGS'
42967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42972 /* end confdefs.h. */
42973 #include <math.h>
42974 #ifdef HAVE_IEEEFP_H
42975 #include <ieeefp.h>
42976 #endif
42979 main ()
42981 logl(0);
42983 return 0;
42985 _ACEOF
42986 if ac_fn_cxx_try_compile "$LINENO"; then :
42987 glibcxx_cv_func_logl_use=yes
42988 else
42989 glibcxx_cv_func_logl_use=no
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42992 ac_ext=c
42993 ac_cpp='$CPP $CPPFLAGS'
42994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43003 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43005 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43006 for ac_func in logl
43007 do :
43008 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43009 if test "x$ac_cv_func_logl" = x""yes; then :
43010 cat >>confdefs.h <<_ACEOF
43011 #define HAVE_LOGL 1
43012 _ACEOF
43015 done
43017 else
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43020 $as_echo_n "checking for _logl declaration... " >&6; }
43021 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43022 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43023 $as_echo_n "(cached) " >&6
43024 else
43027 ac_ext=cpp
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034 /* end confdefs.h. */
43035 #include <math.h>
43036 #ifdef HAVE_IEEEFP_H
43037 #include <ieeefp.h>
43038 #endif
43041 main ()
43043 _logl(0);
43045 return 0;
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func__logl_use=yes
43050 else
43051 glibcxx_cv_func__logl_use=no
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43065 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43067 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43068 for ac_func in _logl
43069 do :
43070 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43071 if test "x$ac_cv_func__logl" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE__LOGL 1
43074 _ACEOF
43077 done
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43087 $as_echo_n "checking for log10l declaration... " >&6; }
43088 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43089 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43090 $as_echo_n "(cached) " >&6
43091 else
43094 ac_ext=cpp
43095 ac_cpp='$CXXCPP $CPPFLAGS'
43096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43101 /* end confdefs.h. */
43102 #include <math.h>
43103 #ifdef HAVE_IEEEFP_H
43104 #include <ieeefp.h>
43105 #endif
43108 main ()
43110 log10l(0);
43112 return 0;
43114 _ACEOF
43115 if ac_fn_cxx_try_compile "$LINENO"; then :
43116 glibcxx_cv_func_log10l_use=yes
43117 else
43118 glibcxx_cv_func_log10l_use=no
43120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43121 ac_ext=c
43122 ac_cpp='$CPP $CPPFLAGS'
43123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43132 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43134 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43135 for ac_func in log10l
43136 do :
43137 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43138 if test "x$ac_cv_func_log10l" = x""yes; then :
43139 cat >>confdefs.h <<_ACEOF
43140 #define HAVE_LOG10L 1
43141 _ACEOF
43144 done
43146 else
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43149 $as_echo_n "checking for _log10l declaration... " >&6; }
43150 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43151 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43152 $as_echo_n "(cached) " >&6
43153 else
43156 ac_ext=cpp
43157 ac_cpp='$CXXCPP $CPPFLAGS'
43158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163 /* end confdefs.h. */
43164 #include <math.h>
43165 #ifdef HAVE_IEEEFP_H
43166 #include <ieeefp.h>
43167 #endif
43170 main ()
43172 _log10l(0);
43174 return 0;
43176 _ACEOF
43177 if ac_fn_cxx_try_compile "$LINENO"; then :
43178 glibcxx_cv_func__log10l_use=yes
43179 else
43180 glibcxx_cv_func__log10l_use=no
43182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43183 ac_ext=c
43184 ac_cpp='$CPP $CPPFLAGS'
43185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43194 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43196 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43197 for ac_func in _log10l
43198 do :
43199 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43200 if test "x$ac_cv_func__log10l" = x""yes; then :
43201 cat >>confdefs.h <<_ACEOF
43202 #define HAVE__LOG10L 1
43203 _ACEOF
43206 done
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43216 $as_echo_n "checking for modfl declaration... " >&6; }
43217 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43218 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43219 $as_echo_n "(cached) " >&6
43220 else
43223 ac_ext=cpp
43224 ac_cpp='$CXXCPP $CPPFLAGS'
43225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43230 /* end confdefs.h. */
43231 #include <math.h>
43233 main ()
43235 modfl(0, 0);
43237 return 0;
43239 _ACEOF
43240 if ac_fn_cxx_try_compile "$LINENO"; then :
43241 glibcxx_cv_func_modfl_use=yes
43242 else
43243 glibcxx_cv_func_modfl_use=no
43245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43246 ac_ext=c
43247 ac_cpp='$CPP $CPPFLAGS'
43248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43257 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43259 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43260 for ac_func in modfl
43261 do :
43262 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43263 if test "x$ac_cv_func_modfl" = x""yes; then :
43264 cat >>confdefs.h <<_ACEOF
43265 #define HAVE_MODFL 1
43266 _ACEOF
43269 done
43271 else
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43274 $as_echo_n "checking for _modfl declaration... " >&6; }
43275 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43276 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43291 main ()
43293 _modfl(0, 0);
43295 return 0;
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func__modfl_use=yes
43300 else
43301 glibcxx_cv_func__modfl_use=no
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43315 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43317 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43318 for ac_func in _modfl
43319 do :
43320 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43321 if test "x$ac_cv_func__modfl" = x""yes; then :
43322 cat >>confdefs.h <<_ACEOF
43323 #define HAVE__MODFL 1
43324 _ACEOF
43327 done
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43337 $as_echo_n "checking for powl declaration... " >&6; }
43338 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43339 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43340 $as_echo_n "(cached) " >&6
43341 else
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43351 /* end confdefs.h. */
43352 #include <math.h>
43354 main ()
43356 powl(0, 0);
43358 return 0;
43360 _ACEOF
43361 if ac_fn_cxx_try_compile "$LINENO"; then :
43362 glibcxx_cv_func_powl_use=yes
43363 else
43364 glibcxx_cv_func_powl_use=no
43366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43367 ac_ext=c
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43378 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43380 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43381 for ac_func in powl
43382 do :
43383 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43384 if test "x$ac_cv_func_powl" = x""yes; then :
43385 cat >>confdefs.h <<_ACEOF
43386 #define HAVE_POWL 1
43387 _ACEOF
43390 done
43392 else
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43395 $as_echo_n "checking for _powl declaration... " >&6; }
43396 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43397 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43398 $as_echo_n "(cached) " >&6
43399 else
43402 ac_ext=cpp
43403 ac_cpp='$CXXCPP $CPPFLAGS'
43404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43409 /* end confdefs.h. */
43410 #include <math.h>
43412 main ()
43414 _powl(0, 0);
43416 return 0;
43418 _ACEOF
43419 if ac_fn_cxx_try_compile "$LINENO"; then :
43420 glibcxx_cv_func__powl_use=yes
43421 else
43422 glibcxx_cv_func__powl_use=no
43424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43425 ac_ext=c
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43436 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43438 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43439 for ac_func in _powl
43440 do :
43441 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43442 if test "x$ac_cv_func__powl" = x""yes; then :
43443 cat >>confdefs.h <<_ACEOF
43444 #define HAVE__POWL 1
43445 _ACEOF
43448 done
43457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43458 $as_echo_n "checking for sqrtl declaration... " >&6; }
43459 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43460 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43461 $as_echo_n "(cached) " >&6
43462 else
43465 ac_ext=cpp
43466 ac_cpp='$CXXCPP $CPPFLAGS'
43467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43472 /* end confdefs.h. */
43473 #include <math.h>
43474 #ifdef HAVE_IEEEFP_H
43475 #include <ieeefp.h>
43476 #endif
43479 main ()
43481 sqrtl(0);
43483 return 0;
43485 _ACEOF
43486 if ac_fn_cxx_try_compile "$LINENO"; then :
43487 glibcxx_cv_func_sqrtl_use=yes
43488 else
43489 glibcxx_cv_func_sqrtl_use=no
43491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43492 ac_ext=c
43493 ac_cpp='$CPP $CPPFLAGS'
43494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43503 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43505 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43506 for ac_func in sqrtl
43507 do :
43508 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43509 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43510 cat >>confdefs.h <<_ACEOF
43511 #define HAVE_SQRTL 1
43512 _ACEOF
43515 done
43517 else
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43520 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43521 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43522 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43523 $as_echo_n "(cached) " >&6
43524 else
43527 ac_ext=cpp
43528 ac_cpp='$CXXCPP $CPPFLAGS'
43529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43534 /* end confdefs.h. */
43535 #include <math.h>
43536 #ifdef HAVE_IEEEFP_H
43537 #include <ieeefp.h>
43538 #endif
43541 main ()
43543 _sqrtl(0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func__sqrtl_use=yes
43550 else
43551 glibcxx_cv_func__sqrtl_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43565 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43567 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43568 for ac_func in _sqrtl
43569 do :
43570 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43571 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE__SQRTL 1
43574 _ACEOF
43577 done
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43587 $as_echo_n "checking for sincosl declaration... " >&6; }
43588 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43589 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43590 $as_echo_n "(cached) " >&6
43591 else
43594 ac_ext=cpp
43595 ac_cpp='$CXXCPP $CPPFLAGS'
43596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43601 /* end confdefs.h. */
43602 #include <math.h>
43604 main ()
43606 sincosl(0, 0, 0);
43608 return 0;
43610 _ACEOF
43611 if ac_fn_cxx_try_compile "$LINENO"; then :
43612 glibcxx_cv_func_sincosl_use=yes
43613 else
43614 glibcxx_cv_func_sincosl_use=no
43616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43617 ac_ext=c
43618 ac_cpp='$CPP $CPPFLAGS'
43619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43628 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43631 for ac_func in sincosl
43632 do :
43633 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43634 if test "x$ac_cv_func_sincosl" = x""yes; then :
43635 cat >>confdefs.h <<_ACEOF
43636 #define HAVE_SINCOSL 1
43637 _ACEOF
43640 done
43642 else
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43645 $as_echo_n "checking for _sincosl declaration... " >&6; }
43646 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43647 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43662 main ()
43664 _sincosl(0, 0, 0);
43666 return 0;
43668 _ACEOF
43669 if ac_fn_cxx_try_compile "$LINENO"; then :
43670 glibcxx_cv_func__sincosl_use=yes
43671 else
43672 glibcxx_cv_func__sincosl_use=no
43674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675 ac_ext=c
43676 ac_cpp='$CPP $CPPFLAGS'
43677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43686 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43688 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43689 for ac_func in _sincosl
43690 do :
43691 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43692 if test "x$ac_cv_func__sincosl" = x""yes; then :
43693 cat >>confdefs.h <<_ACEOF
43694 #define HAVE__SINCOSL 1
43695 _ACEOF
43698 done
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43708 $as_echo_n "checking for finitel declaration... " >&6; }
43709 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43710 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43711 $as_echo_n "(cached) " >&6
43712 else
43715 ac_ext=cpp
43716 ac_cpp='$CXXCPP $CPPFLAGS'
43717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43722 /* end confdefs.h. */
43723 #include <math.h>
43724 #ifdef HAVE_IEEEFP_H
43725 #include <ieeefp.h>
43726 #endif
43729 main ()
43731 finitel(0);
43733 return 0;
43735 _ACEOF
43736 if ac_fn_cxx_try_compile "$LINENO"; then :
43737 glibcxx_cv_func_finitel_use=yes
43738 else
43739 glibcxx_cv_func_finitel_use=no
43741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43742 ac_ext=c
43743 ac_cpp='$CPP $CPPFLAGS'
43744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43753 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43755 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43756 for ac_func in finitel
43757 do :
43758 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43759 if test "x$ac_cv_func_finitel" = x""yes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define HAVE_FINITEL 1
43762 _ACEOF
43765 done
43767 else
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43770 $as_echo_n "checking for _finitel declaration... " >&6; }
43771 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43772 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43773 $as_echo_n "(cached) " >&6
43774 else
43777 ac_ext=cpp
43778 ac_cpp='$CXXCPP $CPPFLAGS'
43779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43784 /* end confdefs.h. */
43785 #include <math.h>
43786 #ifdef HAVE_IEEEFP_H
43787 #include <ieeefp.h>
43788 #endif
43791 main ()
43793 _finitel(0);
43795 return 0;
43797 _ACEOF
43798 if ac_fn_cxx_try_compile "$LINENO"; then :
43799 glibcxx_cv_func__finitel_use=yes
43800 else
43801 glibcxx_cv_func__finitel_use=no
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804 ac_ext=c
43805 ac_cpp='$CPP $CPPFLAGS'
43806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43815 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43817 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43818 for ac_func in _finitel
43819 do :
43820 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43821 if test "x$ac_cv_func__finitel" = x""yes; then :
43822 cat >>confdefs.h <<_ACEOF
43823 #define HAVE__FINITEL 1
43824 _ACEOF
43827 done
43835 LIBS="$ac_save_LIBS"
43836 CXXFLAGS="$ac_save_CXXFLAGS"
43839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43840 ac_save_CXXFLAGS="$CXXFLAGS"
43841 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43845 $as_echo_n "checking for strtold declaration... " >&6; }
43846 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43847 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <stdlib.h>
43862 main ()
43864 strtold(0, 0);
43866 return 0;
43868 _ACEOF
43869 if ac_fn_cxx_try_compile "$LINENO"; then :
43870 glibcxx_cv_func_strtold_use=yes
43871 else
43872 glibcxx_cv_func_strtold_use=no
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875 ac_ext=c
43876 ac_cpp='$CPP $CPPFLAGS'
43877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43886 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43887 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43888 for ac_func in strtold
43889 do :
43890 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43891 if test "x$ac_cv_func_strtold" = x""yes; then :
43892 cat >>confdefs.h <<_ACEOF
43893 #define HAVE_STRTOLD 1
43894 _ACEOF
43897 done
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43905 $as_echo_n "checking for strtof declaration... " >&6; }
43906 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43907 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43908 $as_echo_n "(cached) " >&6
43909 else
43912 ac_ext=cpp
43913 ac_cpp='$CXXCPP $CPPFLAGS'
43914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43919 /* end confdefs.h. */
43920 #include <stdlib.h>
43922 main ()
43924 strtof(0, 0);
43926 return 0;
43928 _ACEOF
43929 if ac_fn_cxx_try_compile "$LINENO"; then :
43930 glibcxx_cv_func_strtof_use=yes
43931 else
43932 glibcxx_cv_func_strtof_use=no
43934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43935 ac_ext=c
43936 ac_cpp='$CPP $CPPFLAGS'
43937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43946 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43947 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43948 for ac_func in strtof
43949 do :
43950 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43951 if test "x$ac_cv_func_strtof" = x""yes; then :
43952 cat >>confdefs.h <<_ACEOF
43953 #define HAVE_STRTOF 1
43954 _ACEOF
43957 done
43964 CXXFLAGS="$ac_save_CXXFLAGS"
43968 *djgpp)
43969 # GLIBCXX_CHECK_MATH_SUPPORT
43970 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43972 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43974 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43976 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43978 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43982 *-freebsd*)
43983 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43986 # If we're not using GNU ld, then there's no point in even trying these
43987 # tests. Check for that first. We should have already tested for gld
43988 # by now (in libtool), but require it now just to be safe...
43989 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43990 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43994 # The name set by libtool depends on the version of libtool. Shame on us
43995 # for depending on an impl detail, but c'est la vie. Older versions used
43996 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43997 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43998 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43999 # set (hence we're using an older libtool), then set it.
44000 if test x${with_gnu_ld+set} != xset; then
44001 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44002 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44003 with_gnu_ld=no
44004 else
44005 with_gnu_ld=$ac_cv_prog_gnu_ld
44009 # Start by getting the version number. I think the libtool test already
44010 # does some of this, but throws away the result.
44011 glibcxx_ld_is_gold=no
44012 if test x"$with_gnu_ld" = x"yes"; then
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44014 $as_echo_n "checking for ld version... " >&6; }
44016 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44017 glibcxx_ld_is_gold=yes
44019 ldver=`$LD --version 2>/dev/null |
44020 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'`
44022 glibcxx_gnu_ld_version=`echo $ldver | \
44023 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44025 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44028 # Set --gc-sections.
44029 glibcxx_have_gc_sections=no
44030 if test "$glibcxx_ld_is_gold" = "yes"; then
44031 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44032 glibcxx_have_gc_sections=yes
44034 else
44035 glibcxx_gcsections_min_ld=21602
44036 if test x"$with_gnu_ld" = x"yes" &&
44037 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44038 glibcxx_have_gc_sections=yes
44041 if test "$glibcxx_have_gc_sections" = "yes"; then
44042 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44043 # NB: This flag only works reliably after 2.16.1. Configure tests
44044 # for this are difficult, so hard wire a value that should work.
44046 ac_test_CFLAGS="${CFLAGS+set}"
44047 ac_save_CFLAGS="$CFLAGS"
44048 CFLAGS='-Wl,--gc-sections'
44050 # Check for -Wl,--gc-sections
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44052 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44053 if test x$gcc_no_link = xyes; then
44054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 int one(void) { return 1; }
44059 int two(void) { return 2; }
44062 main ()
44064 two();
44066 return 0;
44068 _ACEOF
44069 if ac_fn_c_try_link "$LINENO"; then :
44070 ac_gcsections=yes
44071 else
44072 ac_gcsections=no
44074 rm -f core conftest.err conftest.$ac_objext \
44075 conftest$ac_exeext conftest.$ac_ext
44076 if test "$ac_gcsections" = "yes"; then
44077 rm -f conftest.c
44078 touch conftest.c
44079 if $CC -c conftest.c; then
44080 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44081 grep "Warning: gc-sections option ignored" > /dev/null; then
44082 ac_gcsections=no
44085 rm -f conftest.c conftest.o conftest
44087 if test "$ac_gcsections" = "yes"; then
44088 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44091 $as_echo "$ac_gcsections" >&6; }
44093 if test "$ac_test_CFLAGS" = set; then
44094 CFLAGS="$ac_save_CFLAGS"
44095 else
44096 # this is the suspicious part
44097 CFLAGS=''
44101 # Set -z,relro.
44102 # Note this is only for shared objects.
44103 ac_ld_relro=no
44104 if test x"$with_gnu_ld" = x"yes"; then
44105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44106 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44107 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44108 if test -n "$cxx_z_relo"; then
44109 OPT_LDFLAGS="-Wl,-z,relro"
44110 ac_ld_relro=yes
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44113 $as_echo "$ac_ld_relro" >&6; }
44116 # Set linker optimization flags.
44117 if test x"$with_gnu_ld" = x"yes"; then
44118 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44124 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44126 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44128 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44130 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44132 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44134 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44136 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44138 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44140 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44143 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44145 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44147 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44149 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44151 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44153 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44155 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44157 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44159 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44161 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44163 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44165 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44167 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44169 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44171 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44173 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44175 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44177 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44179 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44181 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44183 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44185 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44187 if test x"long_double_math_on_this_cpu" = x"yes"; then
44188 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44190 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44192 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44196 *-hpux*)
44197 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44200 # If we're not using GNU ld, then there's no point in even trying these
44201 # tests. Check for that first. We should have already tested for gld
44202 # by now (in libtool), but require it now just to be safe...
44203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44208 # The name set by libtool depends on the version of libtool. Shame on us
44209 # for depending on an impl detail, but c'est la vie. Older versions used
44210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44213 # set (hence we're using an older libtool), then set it.
44214 if test x${with_gnu_ld+set} != xset; then
44215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44217 with_gnu_ld=no
44218 else
44219 with_gnu_ld=$ac_cv_prog_gnu_ld
44223 # Start by getting the version number. I think the libtool test already
44224 # does some of this, but throws away the result.
44225 glibcxx_ld_is_gold=no
44226 if test x"$with_gnu_ld" = x"yes"; then
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44228 $as_echo_n "checking for ld version... " >&6; }
44230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44231 glibcxx_ld_is_gold=yes
44233 ldver=`$LD --version 2>/dev/null |
44234 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'`
44236 glibcxx_gnu_ld_version=`echo $ldver | \
44237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44242 # Set --gc-sections.
44243 glibcxx_have_gc_sections=no
44244 if test "$glibcxx_ld_is_gold" = "yes"; then
44245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44246 glibcxx_have_gc_sections=yes
44248 else
44249 glibcxx_gcsections_min_ld=21602
44250 if test x"$with_gnu_ld" = x"yes" &&
44251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44252 glibcxx_have_gc_sections=yes
44255 if test "$glibcxx_have_gc_sections" = "yes"; then
44256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44257 # NB: This flag only works reliably after 2.16.1. Configure tests
44258 # for this are difficult, so hard wire a value that should work.
44260 ac_test_CFLAGS="${CFLAGS+set}"
44261 ac_save_CFLAGS="$CFLAGS"
44262 CFLAGS='-Wl,--gc-sections'
44264 # Check for -Wl,--gc-sections
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44267 if test x$gcc_no_link = xyes; then
44268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44271 /* end confdefs.h. */
44272 int one(void) { return 1; }
44273 int two(void) { return 2; }
44276 main ()
44278 two();
44280 return 0;
44282 _ACEOF
44283 if ac_fn_c_try_link "$LINENO"; then :
44284 ac_gcsections=yes
44285 else
44286 ac_gcsections=no
44288 rm -f core conftest.err conftest.$ac_objext \
44289 conftest$ac_exeext conftest.$ac_ext
44290 if test "$ac_gcsections" = "yes"; then
44291 rm -f conftest.c
44292 touch conftest.c
44293 if $CC -c conftest.c; then
44294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44295 grep "Warning: gc-sections option ignored" > /dev/null; then
44296 ac_gcsections=no
44299 rm -f conftest.c conftest.o conftest
44301 if test "$ac_gcsections" = "yes"; then
44302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44305 $as_echo "$ac_gcsections" >&6; }
44307 if test "$ac_test_CFLAGS" = set; then
44308 CFLAGS="$ac_save_CFLAGS"
44309 else
44310 # this is the suspicious part
44311 CFLAGS=''
44315 # Set -z,relro.
44316 # Note this is only for shared objects.
44317 ac_ld_relro=no
44318 if test x"$with_gnu_ld" = x"yes"; then
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44322 if test -n "$cxx_z_relo"; then
44323 OPT_LDFLAGS="-Wl,-z,relro"
44324 ac_ld_relro=yes
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44327 $as_echo "$ac_ld_relro" >&6; }
44330 # Set linker optimization flags.
44331 if test x"$with_gnu_ld" = x"yes"; then
44332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44339 # GLIBCXX_CHECK_MATH_SUPPORT
44340 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44342 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44344 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44346 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44348 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44350 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44352 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44354 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44356 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44358 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44360 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44362 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44364 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44366 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44368 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44370 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44372 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44376 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44378 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44380 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44383 # GLIBCXX_CHECK_STDLIB_SUPPORT
44384 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44389 # Check whether --enable-tls was given.
44390 if test "${enable_tls+set}" = set; then :
44391 enableval=$enable_tls;
44392 case "$enableval" in
44393 yes|no) ;;
44394 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44395 esac
44397 else
44398 enable_tls=yes
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44403 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44404 if test "${gcc_cv_have_tls+set}" = set; then :
44405 $as_echo_n "(cached) " >&6
44406 else
44408 if test "$cross_compiling" = yes; then :
44409 if test x$gcc_no_link = xyes; then
44410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44413 /* end confdefs.h. */
44414 __thread int a; int b; int main() { return a = b; }
44415 _ACEOF
44416 if ac_fn_c_try_link "$LINENO"; then :
44417 chktls_save_LDFLAGS="$LDFLAGS"
44418 case $host in
44419 *-*-linux*)
44420 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44422 esac
44423 chktls_save_CFLAGS="$CFLAGS"
44424 CFLAGS="-fPIC $CFLAGS"
44425 if test x$gcc_no_link = xyes; then
44426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 int f() { return 0; }
44431 _ACEOF
44432 if ac_fn_c_try_link "$LINENO"; then :
44433 if test x$gcc_no_link = xyes; then
44434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h. */
44438 __thread int a; int b; int f() { return a = b; }
44439 _ACEOF
44440 if ac_fn_c_try_link "$LINENO"; then :
44441 gcc_cv_have_tls=yes
44442 else
44443 gcc_cv_have_tls=no
44445 rm -f core conftest.err conftest.$ac_objext \
44446 conftest$ac_exeext conftest.$ac_ext
44447 else
44448 gcc_cv_have_tls=yes
44450 rm -f core conftest.err conftest.$ac_objext \
44451 conftest$ac_exeext conftest.$ac_ext
44452 CFLAGS="$chktls_save_CFLAGS"
44453 LDFLAGS="$chktls_save_LDFLAGS"
44454 else
44455 gcc_cv_have_tls=no
44457 rm -f core conftest.err conftest.$ac_objext \
44458 conftest$ac_exeext conftest.$ac_ext
44461 else
44462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463 /* end confdefs.h. */
44464 __thread int a; int b; int main() { return a = b; }
44465 _ACEOF
44466 if ac_fn_c_try_run "$LINENO"; then :
44467 chktls_save_LDFLAGS="$LDFLAGS"
44468 LDFLAGS="-static $LDFLAGS"
44469 if test x$gcc_no_link = xyes; then
44470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44473 /* end confdefs.h. */
44474 int main() { return 0; }
44475 _ACEOF
44476 if ac_fn_c_try_link "$LINENO"; then :
44477 if test "$cross_compiling" = yes; then :
44478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44480 as_fn_error "cannot run test program while cross compiling
44481 See \`config.log' for more details." "$LINENO" 5; }
44482 else
44483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44484 /* end confdefs.h. */
44485 __thread int a; int b; int main() { return a = b; }
44486 _ACEOF
44487 if ac_fn_c_try_run "$LINENO"; then :
44488 gcc_cv_have_tls=yes
44489 else
44490 gcc_cv_have_tls=no
44492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44493 conftest.$ac_objext conftest.beam conftest.$ac_ext
44496 else
44497 gcc_cv_have_tls=yes
44499 rm -f core conftest.err conftest.$ac_objext \
44500 conftest$ac_exeext conftest.$ac_ext
44501 LDFLAGS="$chktls_save_LDFLAGS"
44502 if test $gcc_cv_have_tls = yes; then
44503 chktls_save_CFLAGS="$CFLAGS"
44504 thread_CFLAGS=failed
44505 for flag in '' '-pthread' '-lpthread'; do
44506 CFLAGS="$flag $chktls_save_CFLAGS"
44507 if test x$gcc_no_link = xyes; then
44508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <pthread.h>
44513 void *g(void *d) { return NULL; }
44515 main ()
44517 pthread_t t; pthread_create(&t,NULL,g,NULL);
44519 return 0;
44521 _ACEOF
44522 if ac_fn_c_try_link "$LINENO"; then :
44523 thread_CFLAGS="$flag"
44525 rm -f core conftest.err conftest.$ac_objext \
44526 conftest$ac_exeext conftest.$ac_ext
44527 if test "X$thread_CFLAGS" != Xfailed; then
44528 break
44530 done
44531 CFLAGS="$chktls_save_CFLAGS"
44532 if test "X$thread_CFLAGS" != Xfailed; then
44533 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44534 if test "$cross_compiling" = yes; then :
44535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44537 as_fn_error "cannot run test program while cross compiling
44538 See \`config.log' for more details." "$LINENO" 5; }
44539 else
44540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44541 /* end confdefs.h. */
44542 #include <pthread.h>
44543 __thread int a;
44544 static int *volatile a_in_other_thread;
44545 static void *
44546 thread_func (void *arg)
44548 a_in_other_thread = &a;
44549 return (void *)0;
44552 main ()
44554 pthread_t thread;
44555 void *thread_retval;
44556 int *volatile a_in_main_thread;
44557 a_in_main_thread = &a;
44558 if (pthread_create (&thread, (pthread_attr_t *)0,
44559 thread_func, (void *)0))
44560 return 0;
44561 if (pthread_join (thread, &thread_retval))
44562 return 0;
44563 return (a_in_other_thread == a_in_main_thread);
44565 return 0;
44567 _ACEOF
44568 if ac_fn_c_try_run "$LINENO"; then :
44569 gcc_cv_have_tls=yes
44570 else
44571 gcc_cv_have_tls=no
44573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44574 conftest.$ac_objext conftest.beam conftest.$ac_ext
44577 CFLAGS="$chktls_save_CFLAGS"
44580 else
44581 gcc_cv_have_tls=no
44583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44584 conftest.$ac_objext conftest.beam conftest.$ac_ext
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44589 $as_echo "$gcc_cv_have_tls" >&6; }
44590 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44592 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44595 case "$target" in
44596 *-hpux10*)
44597 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44599 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44601 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44603 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44605 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44608 esac
44610 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44612 # All these tests are for C++; save the language and the compiler flags.
44613 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44614 # found in GLIBCXX_CONFIGURE.
44616 ac_ext=cpp
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44622 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44623 ac_save_CXXFLAGS="$CXXFLAGS"
44625 # Check for maintainer-mode bits.
44626 if test x"$USE_MAINTAINER_MODE" = xno; then
44627 WERROR=''
44628 else
44629 WERROR='-Werror'
44632 # Check for -ffunction-sections -fdata-sections
44633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44634 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44635 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44637 /* end confdefs.h. */
44638 int foo; void bar() { };
44640 main ()
44644 return 0;
44646 _ACEOF
44647 if ac_fn_cxx_try_compile "$LINENO"; then :
44648 ac_fdsections=yes
44649 else
44650 ac_fdsections=no
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 if test "$ac_test_CXXFLAGS" = set; then
44654 CXXFLAGS="$ac_save_CXXFLAGS"
44655 else
44656 # this is the suspicious part
44657 CXXFLAGS=''
44659 if test x"$ac_fdsections" = x"yes"; then
44660 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44663 $as_echo "$ac_fdsections" >&6; }
44665 ac_ext=c
44666 ac_cpp='$CPP $CPPFLAGS'
44667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44675 # If we're not using GNU ld, then there's no point in even trying these
44676 # tests. Check for that first. We should have already tested for gld
44677 # by now (in libtool), but require it now just to be safe...
44678 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44679 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44683 # The name set by libtool depends on the version of libtool. Shame on us
44684 # for depending on an impl detail, but c'est la vie. Older versions used
44685 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44686 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44687 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44688 # set (hence we're using an older libtool), then set it.
44689 if test x${with_gnu_ld+set} != xset; then
44690 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44691 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44692 with_gnu_ld=no
44693 else
44694 with_gnu_ld=$ac_cv_prog_gnu_ld
44698 # Start by getting the version number. I think the libtool test already
44699 # does some of this, but throws away the result.
44700 glibcxx_ld_is_gold=no
44701 if test x"$with_gnu_ld" = x"yes"; then
44702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44703 $as_echo_n "checking for ld version... " >&6; }
44705 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44706 glibcxx_ld_is_gold=yes
44708 ldver=`$LD --version 2>/dev/null |
44709 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'`
44711 glibcxx_gnu_ld_version=`echo $ldver | \
44712 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44714 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44717 # Set --gc-sections.
44718 glibcxx_have_gc_sections=no
44719 if test "$glibcxx_ld_is_gold" = "yes"; then
44720 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44721 glibcxx_have_gc_sections=yes
44723 else
44724 glibcxx_gcsections_min_ld=21602
44725 if test x"$with_gnu_ld" = x"yes" &&
44726 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44727 glibcxx_have_gc_sections=yes
44730 if test "$glibcxx_have_gc_sections" = "yes"; then
44731 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44732 # NB: This flag only works reliably after 2.16.1. Configure tests
44733 # for this are difficult, so hard wire a value that should work.
44735 ac_test_CFLAGS="${CFLAGS+set}"
44736 ac_save_CFLAGS="$CFLAGS"
44737 CFLAGS='-Wl,--gc-sections'
44739 # Check for -Wl,--gc-sections
44740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44741 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44742 if test x$gcc_no_link = xyes; then
44743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44746 /* end confdefs.h. */
44747 int one(void) { return 1; }
44748 int two(void) { return 2; }
44751 main ()
44753 two();
44755 return 0;
44757 _ACEOF
44758 if ac_fn_c_try_link "$LINENO"; then :
44759 ac_gcsections=yes
44760 else
44761 ac_gcsections=no
44763 rm -f core conftest.err conftest.$ac_objext \
44764 conftest$ac_exeext conftest.$ac_ext
44765 if test "$ac_gcsections" = "yes"; then
44766 rm -f conftest.c
44767 touch conftest.c
44768 if $CC -c conftest.c; then
44769 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44770 grep "Warning: gc-sections option ignored" > /dev/null; then
44771 ac_gcsections=no
44774 rm -f conftest.c conftest.o conftest
44776 if test "$ac_gcsections" = "yes"; then
44777 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44780 $as_echo "$ac_gcsections" >&6; }
44782 if test "$ac_test_CFLAGS" = set; then
44783 CFLAGS="$ac_save_CFLAGS"
44784 else
44785 # this is the suspicious part
44786 CFLAGS=''
44790 # Set -z,relro.
44791 # Note this is only for shared objects.
44792 ac_ld_relro=no
44793 if test x"$with_gnu_ld" = x"yes"; then
44794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44795 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44796 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44797 if test -n "$cxx_z_relo"; then
44798 OPT_LDFLAGS="-Wl,-z,relro"
44799 ac_ld_relro=yes
44801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44802 $as_echo "$ac_ld_relro" >&6; }
44805 # Set linker optimization flags.
44806 if test x"$with_gnu_ld" = x"yes"; then
44807 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44814 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44815 ac_save_CXXFLAGS="$CXXFLAGS"
44816 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44819 $as_echo_n "checking for sin in -lm... " >&6; }
44820 if test "${ac_cv_lib_m_sin+set}" = set; then :
44821 $as_echo_n "(cached) " >&6
44822 else
44823 ac_check_lib_save_LIBS=$LIBS
44824 LIBS="-lm $LIBS"
44825 if test x$gcc_no_link = xyes; then
44826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44831 /* Override any GCC internal prototype to avoid an error.
44832 Use char because int might match the return type of a GCC
44833 builtin and then its argument prototype would still apply. */
44834 #ifdef __cplusplus
44835 extern "C"
44836 #endif
44837 char sin ();
44839 main ()
44841 return sin ();
44843 return 0;
44845 _ACEOF
44846 if ac_fn_c_try_link "$LINENO"; then :
44847 ac_cv_lib_m_sin=yes
44848 else
44849 ac_cv_lib_m_sin=no
44851 rm -f core conftest.err conftest.$ac_objext \
44852 conftest$ac_exeext conftest.$ac_ext
44853 LIBS=$ac_check_lib_save_LIBS
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44856 $as_echo "$ac_cv_lib_m_sin" >&6; }
44857 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44858 libm="-lm"
44861 ac_save_LIBS="$LIBS"
44862 LIBS="$LIBS $libm"
44866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44867 $as_echo_n "checking for isinf declaration... " >&6; }
44868 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44869 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44870 $as_echo_n "(cached) " >&6
44871 else
44874 ac_ext=cpp
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44881 /* end confdefs.h. */
44882 #include <math.h>
44883 #ifdef HAVE_IEEEFP_H
44884 #include <ieeefp.h>
44885 #endif
44888 main ()
44890 isinf(0);
44892 return 0;
44894 _ACEOF
44895 if ac_fn_cxx_try_compile "$LINENO"; then :
44896 glibcxx_cv_func_isinf_use=yes
44897 else
44898 glibcxx_cv_func_isinf_use=no
44900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44901 ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44912 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44914 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44915 for ac_func in isinf
44916 do :
44917 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44918 if test "x$ac_cv_func_isinf" = x""yes; then :
44919 cat >>confdefs.h <<_ACEOF
44920 #define HAVE_ISINF 1
44921 _ACEOF
44924 done
44926 else
44928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44929 $as_echo_n "checking for _isinf declaration... " >&6; }
44930 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44931 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44932 $as_echo_n "(cached) " >&6
44933 else
44936 ac_ext=cpp
44937 ac_cpp='$CXXCPP $CPPFLAGS'
44938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44943 /* end confdefs.h. */
44944 #include <math.h>
44945 #ifdef HAVE_IEEEFP_H
44946 #include <ieeefp.h>
44947 #endif
44950 main ()
44952 _isinf(0);
44954 return 0;
44956 _ACEOF
44957 if ac_fn_cxx_try_compile "$LINENO"; then :
44958 glibcxx_cv_func__isinf_use=yes
44959 else
44960 glibcxx_cv_func__isinf_use=no
44962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44963 ac_ext=c
44964 ac_cpp='$CPP $CPPFLAGS'
44965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44974 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44976 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44977 for ac_func in _isinf
44978 do :
44979 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44980 if test "x$ac_cv_func__isinf" = x""yes; then :
44981 cat >>confdefs.h <<_ACEOF
44982 #define HAVE__ISINF 1
44983 _ACEOF
44986 done
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44996 $as_echo_n "checking for isnan declaration... " >&6; }
44997 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44998 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44999 $as_echo_n "(cached) " >&6
45000 else
45003 ac_ext=cpp
45004 ac_cpp='$CXXCPP $CPPFLAGS'
45005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45010 /* end confdefs.h. */
45011 #include <math.h>
45012 #ifdef HAVE_IEEEFP_H
45013 #include <ieeefp.h>
45014 #endif
45017 main ()
45019 isnan(0);
45021 return 0;
45023 _ACEOF
45024 if ac_fn_cxx_try_compile "$LINENO"; then :
45025 glibcxx_cv_func_isnan_use=yes
45026 else
45027 glibcxx_cv_func_isnan_use=no
45029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45030 ac_ext=c
45031 ac_cpp='$CPP $CPPFLAGS'
45032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45041 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45043 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45044 for ac_func in isnan
45045 do :
45046 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45047 if test "x$ac_cv_func_isnan" = x""yes; then :
45048 cat >>confdefs.h <<_ACEOF
45049 #define HAVE_ISNAN 1
45050 _ACEOF
45053 done
45055 else
45057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45058 $as_echo_n "checking for _isnan declaration... " >&6; }
45059 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45060 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45061 $as_echo_n "(cached) " >&6
45062 else
45065 ac_ext=cpp
45066 ac_cpp='$CXXCPP $CPPFLAGS'
45067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45072 /* end confdefs.h. */
45073 #include <math.h>
45074 #ifdef HAVE_IEEEFP_H
45075 #include <ieeefp.h>
45076 #endif
45079 main ()
45081 _isnan(0);
45083 return 0;
45085 _ACEOF
45086 if ac_fn_cxx_try_compile "$LINENO"; then :
45087 glibcxx_cv_func__isnan_use=yes
45088 else
45089 glibcxx_cv_func__isnan_use=no
45091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45092 ac_ext=c
45093 ac_cpp='$CPP $CPPFLAGS'
45094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45103 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45105 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45106 for ac_func in _isnan
45107 do :
45108 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45109 if test "x$ac_cv_func__isnan" = x""yes; then :
45110 cat >>confdefs.h <<_ACEOF
45111 #define HAVE__ISNAN 1
45112 _ACEOF
45115 done
45124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45125 $as_echo_n "checking for finite declaration... " >&6; }
45126 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45127 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45128 $as_echo_n "(cached) " >&6
45129 else
45132 ac_ext=cpp
45133 ac_cpp='$CXXCPP $CPPFLAGS'
45134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 #include <math.h>
45141 #ifdef HAVE_IEEEFP_H
45142 #include <ieeefp.h>
45143 #endif
45146 main ()
45148 finite(0);
45150 return 0;
45152 _ACEOF
45153 if ac_fn_cxx_try_compile "$LINENO"; then :
45154 glibcxx_cv_func_finite_use=yes
45155 else
45156 glibcxx_cv_func_finite_use=no
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159 ac_ext=c
45160 ac_cpp='$CPP $CPPFLAGS'
45161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45170 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45172 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45173 for ac_func in finite
45174 do :
45175 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45176 if test "x$ac_cv_func_finite" = x""yes; then :
45177 cat >>confdefs.h <<_ACEOF
45178 #define HAVE_FINITE 1
45179 _ACEOF
45182 done
45184 else
45186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45187 $as_echo_n "checking for _finite declaration... " >&6; }
45188 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45189 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45190 $as_echo_n "(cached) " >&6
45191 else
45194 ac_ext=cpp
45195 ac_cpp='$CXXCPP $CPPFLAGS'
45196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 #include <math.h>
45203 #ifdef HAVE_IEEEFP_H
45204 #include <ieeefp.h>
45205 #endif
45208 main ()
45210 _finite(0);
45212 return 0;
45214 _ACEOF
45215 if ac_fn_cxx_try_compile "$LINENO"; then :
45216 glibcxx_cv_func__finite_use=yes
45217 else
45218 glibcxx_cv_func__finite_use=no
45220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45221 ac_ext=c
45222 ac_cpp='$CPP $CPPFLAGS'
45223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45232 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45234 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45235 for ac_func in _finite
45236 do :
45237 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45238 if test "x$ac_cv_func__finite" = x""yes; then :
45239 cat >>confdefs.h <<_ACEOF
45240 #define HAVE__FINITE 1
45241 _ACEOF
45244 done
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45254 $as_echo_n "checking for sincos declaration... " >&6; }
45255 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45256 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45257 $as_echo_n "(cached) " >&6
45258 else
45261 ac_ext=cpp
45262 ac_cpp='$CXXCPP $CPPFLAGS'
45263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 #include <math.h>
45271 main ()
45273 sincos(0, 0, 0);
45275 return 0;
45277 _ACEOF
45278 if ac_fn_cxx_try_compile "$LINENO"; then :
45279 glibcxx_cv_func_sincos_use=yes
45280 else
45281 glibcxx_cv_func_sincos_use=no
45283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45284 ac_ext=c
45285 ac_cpp='$CPP $CPPFLAGS'
45286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45295 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45297 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45298 for ac_func in sincos
45299 do :
45300 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45301 if test "x$ac_cv_func_sincos" = x""yes; then :
45302 cat >>confdefs.h <<_ACEOF
45303 #define HAVE_SINCOS 1
45304 _ACEOF
45307 done
45309 else
45311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45312 $as_echo_n "checking for _sincos declaration... " >&6; }
45313 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45314 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45315 $as_echo_n "(cached) " >&6
45316 else
45319 ac_ext=cpp
45320 ac_cpp='$CXXCPP $CPPFLAGS'
45321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45326 /* end confdefs.h. */
45327 #include <math.h>
45329 main ()
45331 _sincos(0, 0, 0);
45333 return 0;
45335 _ACEOF
45336 if ac_fn_cxx_try_compile "$LINENO"; then :
45337 glibcxx_cv_func__sincos_use=yes
45338 else
45339 glibcxx_cv_func__sincos_use=no
45341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45342 ac_ext=c
45343 ac_cpp='$CPP $CPPFLAGS'
45344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45353 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45355 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45356 for ac_func in _sincos
45357 do :
45358 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45359 if test "x$ac_cv_func__sincos" = x""yes; then :
45360 cat >>confdefs.h <<_ACEOF
45361 #define HAVE__SINCOS 1
45362 _ACEOF
45365 done
45374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45375 $as_echo_n "checking for fpclass declaration... " >&6; }
45376 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45377 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45378 $as_echo_n "(cached) " >&6
45379 else
45382 ac_ext=cpp
45383 ac_cpp='$CXXCPP $CPPFLAGS'
45384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45389 /* end confdefs.h. */
45390 #include <math.h>
45391 #ifdef HAVE_IEEEFP_H
45392 #include <ieeefp.h>
45393 #endif
45396 main ()
45398 fpclass(0);
45400 return 0;
45402 _ACEOF
45403 if ac_fn_cxx_try_compile "$LINENO"; then :
45404 glibcxx_cv_func_fpclass_use=yes
45405 else
45406 glibcxx_cv_func_fpclass_use=no
45408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45409 ac_ext=c
45410 ac_cpp='$CPP $CPPFLAGS'
45411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45420 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45422 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45423 for ac_func in fpclass
45424 do :
45425 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45426 if test "x$ac_cv_func_fpclass" = x""yes; then :
45427 cat >>confdefs.h <<_ACEOF
45428 #define HAVE_FPCLASS 1
45429 _ACEOF
45432 done
45434 else
45436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45437 $as_echo_n "checking for _fpclass declaration... " >&6; }
45438 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45439 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45440 $as_echo_n "(cached) " >&6
45441 else
45444 ac_ext=cpp
45445 ac_cpp='$CXXCPP $CPPFLAGS'
45446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45451 /* end confdefs.h. */
45452 #include <math.h>
45453 #ifdef HAVE_IEEEFP_H
45454 #include <ieeefp.h>
45455 #endif
45458 main ()
45460 _fpclass(0);
45462 return 0;
45464 _ACEOF
45465 if ac_fn_cxx_try_compile "$LINENO"; then :
45466 glibcxx_cv_func__fpclass_use=yes
45467 else
45468 glibcxx_cv_func__fpclass_use=no
45470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45471 ac_ext=c
45472 ac_cpp='$CPP $CPPFLAGS'
45473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45482 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45484 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45485 for ac_func in _fpclass
45486 do :
45487 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45488 if test "x$ac_cv_func__fpclass" = x""yes; then :
45489 cat >>confdefs.h <<_ACEOF
45490 #define HAVE__FPCLASS 1
45491 _ACEOF
45494 done
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45504 $as_echo_n "checking for qfpclass declaration... " >&6; }
45505 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45506 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45507 $as_echo_n "(cached) " >&6
45508 else
45511 ac_ext=cpp
45512 ac_cpp='$CXXCPP $CPPFLAGS'
45513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45518 /* end confdefs.h. */
45519 #include <math.h>
45520 #ifdef HAVE_IEEEFP_H
45521 #include <ieeefp.h>
45522 #endif
45525 main ()
45527 qfpclass(0);
45529 return 0;
45531 _ACEOF
45532 if ac_fn_cxx_try_compile "$LINENO"; then :
45533 glibcxx_cv_func_qfpclass_use=yes
45534 else
45535 glibcxx_cv_func_qfpclass_use=no
45537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45538 ac_ext=c
45539 ac_cpp='$CPP $CPPFLAGS'
45540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45549 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45551 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45552 for ac_func in qfpclass
45553 do :
45554 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45555 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45556 cat >>confdefs.h <<_ACEOF
45557 #define HAVE_QFPCLASS 1
45558 _ACEOF
45561 done
45563 else
45565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45566 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45567 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45568 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45569 $as_echo_n "(cached) " >&6
45570 else
45573 ac_ext=cpp
45574 ac_cpp='$CXXCPP $CPPFLAGS'
45575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45580 /* end confdefs.h. */
45581 #include <math.h>
45582 #ifdef HAVE_IEEEFP_H
45583 #include <ieeefp.h>
45584 #endif
45587 main ()
45589 _qfpclass(0);
45591 return 0;
45593 _ACEOF
45594 if ac_fn_cxx_try_compile "$LINENO"; then :
45595 glibcxx_cv_func__qfpclass_use=yes
45596 else
45597 glibcxx_cv_func__qfpclass_use=no
45599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45600 ac_ext=c
45601 ac_cpp='$CPP $CPPFLAGS'
45602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45611 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45613 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45614 for ac_func in _qfpclass
45615 do :
45616 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45617 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45618 cat >>confdefs.h <<_ACEOF
45619 #define HAVE__QFPCLASS 1
45620 _ACEOF
45623 done
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45633 $as_echo_n "checking for hypot declaration... " >&6; }
45634 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45635 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45636 $as_echo_n "(cached) " >&6
45637 else
45640 ac_ext=cpp
45641 ac_cpp='$CXXCPP $CPPFLAGS'
45642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45647 /* end confdefs.h. */
45648 #include <math.h>
45650 main ()
45652 hypot(0, 0);
45654 return 0;
45656 _ACEOF
45657 if ac_fn_cxx_try_compile "$LINENO"; then :
45658 glibcxx_cv_func_hypot_use=yes
45659 else
45660 glibcxx_cv_func_hypot_use=no
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45663 ac_ext=c
45664 ac_cpp='$CPP $CPPFLAGS'
45665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45674 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45676 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45677 for ac_func in hypot
45678 do :
45679 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45680 if test "x$ac_cv_func_hypot" = x""yes; then :
45681 cat >>confdefs.h <<_ACEOF
45682 #define HAVE_HYPOT 1
45683 _ACEOF
45686 done
45688 else
45690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45691 $as_echo_n "checking for _hypot declaration... " >&6; }
45692 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45693 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45694 $as_echo_n "(cached) " >&6
45695 else
45698 ac_ext=cpp
45699 ac_cpp='$CXXCPP $CPPFLAGS'
45700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45705 /* end confdefs.h. */
45706 #include <math.h>
45708 main ()
45710 _hypot(0, 0);
45712 return 0;
45714 _ACEOF
45715 if ac_fn_cxx_try_compile "$LINENO"; then :
45716 glibcxx_cv_func__hypot_use=yes
45717 else
45718 glibcxx_cv_func__hypot_use=no
45720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45721 ac_ext=c
45722 ac_cpp='$CPP $CPPFLAGS'
45723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45732 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45734 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45735 for ac_func in _hypot
45736 do :
45737 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45738 if test "x$ac_cv_func__hypot" = x""yes; then :
45739 cat >>confdefs.h <<_ACEOF
45740 #define HAVE__HYPOT 1
45741 _ACEOF
45744 done
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45754 $as_echo_n "checking for float trig functions... " >&6; }
45755 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45770 main ()
45772 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45774 return 0;
45776 _ACEOF
45777 if ac_fn_cxx_try_compile "$LINENO"; then :
45778 glibcxx_cv_func_float_trig_use=yes
45779 else
45780 glibcxx_cv_func_float_trig_use=no
45782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45783 ac_ext=c
45784 ac_cpp='$CPP $CPPFLAGS'
45785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45792 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45793 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45794 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45795 do :
45796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45798 eval as_val=\$$as_ac_var
45799 if test "x$as_val" = x""yes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45802 _ACEOF
45805 done
45807 else
45808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45809 $as_echo_n "checking for _float trig functions... " >&6; }
45810 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45811 $as_echo_n "(cached) " >&6
45812 else
45815 ac_ext=cpp
45816 ac_cpp='$CXXCPP $CPPFLAGS'
45817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45822 /* end confdefs.h. */
45823 #include <math.h>
45825 main ()
45827 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45829 return 0;
45831 _ACEOF
45832 if ac_fn_cxx_try_compile "$LINENO"; then :
45833 glibcxx_cv_func__float_trig_use=yes
45834 else
45835 glibcxx_cv_func__float_trig_use=no
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838 ac_ext=c
45839 ac_cpp='$CPP $CPPFLAGS'
45840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45847 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45848 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45849 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45850 do :
45851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45853 eval as_val=\$$as_ac_var
45854 if test "x$as_val" = x""yes; then :
45855 cat >>confdefs.h <<_ACEOF
45856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45857 _ACEOF
45860 done
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45870 $as_echo_n "checking for float round functions... " >&6; }
45871 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45872 $as_echo_n "(cached) " >&6
45873 else
45876 ac_ext=cpp
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45884 #include <math.h>
45886 main ()
45888 ceilf (0); floorf (0);
45890 return 0;
45892 _ACEOF
45893 if ac_fn_cxx_try_compile "$LINENO"; then :
45894 glibcxx_cv_func_float_round_use=yes
45895 else
45896 glibcxx_cv_func_float_round_use=no
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 ac_ext=c
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45908 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45909 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45910 for ac_func in ceilf floorf
45911 do :
45912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45914 eval as_val=\$$as_ac_var
45915 if test "x$as_val" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45918 _ACEOF
45921 done
45923 else
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45925 $as_echo_n "checking for _float round functions... " >&6; }
45926 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45927 $as_echo_n "(cached) " >&6
45928 else
45931 ac_ext=cpp
45932 ac_cpp='$CXXCPP $CPPFLAGS'
45933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h. */
45939 #include <math.h>
45941 main ()
45943 _ceilf (0); _floorf (0);
45945 return 0;
45947 _ACEOF
45948 if ac_fn_cxx_try_compile "$LINENO"; then :
45949 glibcxx_cv_func__float_round_use=yes
45950 else
45951 glibcxx_cv_func__float_round_use=no
45953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45954 ac_ext=c
45955 ac_cpp='$CPP $CPPFLAGS'
45956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45963 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45964 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45965 for ac_func in _ceilf _floorf
45966 do :
45967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45969 eval as_val=\$$as_ac_var
45970 if test "x$as_val" = x""yes; then :
45971 cat >>confdefs.h <<_ACEOF
45972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45973 _ACEOF
45976 done
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45987 $as_echo_n "checking for expf declaration... " >&6; }
45988 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45989 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45990 $as_echo_n "(cached) " >&6
45991 else
45994 ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46008 main ()
46010 expf(0);
46012 return 0;
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016 glibcxx_cv_func_expf_use=yes
46017 else
46018 glibcxx_cv_func_expf_use=no
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46032 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46034 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46035 for ac_func in expf
46036 do :
46037 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46038 if test "x$ac_cv_func_expf" = x""yes; then :
46039 cat >>confdefs.h <<_ACEOF
46040 #define HAVE_EXPF 1
46041 _ACEOF
46044 done
46046 else
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46049 $as_echo_n "checking for _expf declaration... " >&6; }
46050 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46051 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46056 ac_ext=cpp
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46063 /* end confdefs.h. */
46064 #include <math.h>
46065 #ifdef HAVE_IEEEFP_H
46066 #include <ieeefp.h>
46067 #endif
46070 main ()
46072 _expf(0);
46074 return 0;
46076 _ACEOF
46077 if ac_fn_cxx_try_compile "$LINENO"; then :
46078 glibcxx_cv_func__expf_use=yes
46079 else
46080 glibcxx_cv_func__expf_use=no
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 ac_ext=c
46084 ac_cpp='$CPP $CPPFLAGS'
46085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46094 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46096 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46097 for ac_func in _expf
46098 do :
46099 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46100 if test "x$ac_cv_func__expf" = x""yes; then :
46101 cat >>confdefs.h <<_ACEOF
46102 #define HAVE__EXPF 1
46103 _ACEOF
46106 done
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46116 $as_echo_n "checking for isnanf declaration... " >&6; }
46117 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46118 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46119 $as_echo_n "(cached) " >&6
46120 else
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h. */
46131 #include <math.h>
46132 #ifdef HAVE_IEEEFP_H
46133 #include <ieeefp.h>
46134 #endif
46137 main ()
46139 isnanf(0);
46141 return 0;
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func_isnanf_use=yes
46146 else
46147 glibcxx_cv_func_isnanf_use=no
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46161 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46163 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46164 for ac_func in isnanf
46165 do :
46166 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46167 if test "x$ac_cv_func_isnanf" = x""yes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE_ISNANF 1
46170 _ACEOF
46173 done
46175 else
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46178 $as_echo_n "checking for _isnanf declaration... " >&6; }
46179 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46180 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46181 $as_echo_n "(cached) " >&6
46182 else
46185 ac_ext=cpp
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46192 /* end confdefs.h. */
46193 #include <math.h>
46194 #ifdef HAVE_IEEEFP_H
46195 #include <ieeefp.h>
46196 #endif
46199 main ()
46201 _isnanf(0);
46203 return 0;
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__isnanf_use=yes
46208 else
46209 glibcxx_cv_func__isnanf_use=no
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46223 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46225 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46226 for ac_func in _isnanf
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46229 if test "x$ac_cv_func__isnanf" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__ISNANF 1
46232 _ACEOF
46235 done
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46245 $as_echo_n "checking for isinff declaration... " >&6; }
46246 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46247 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46266 main ()
46268 isinff(0);
46270 return 0;
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func_isinff_use=yes
46275 else
46276 glibcxx_cv_func_isinff_use=no
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46290 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46292 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46293 for ac_func in isinff
46294 do :
46295 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46296 if test "x$ac_cv_func_isinff" = x""yes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE_ISINFF 1
46299 _ACEOF
46302 done
46304 else
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46307 $as_echo_n "checking for _isinff declaration... " >&6; }
46308 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46309 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46310 $as_echo_n "(cached) " >&6
46311 else
46314 ac_ext=cpp
46315 ac_cpp='$CXXCPP $CPPFLAGS'
46316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46321 /* end confdefs.h. */
46322 #include <math.h>
46323 #ifdef HAVE_IEEEFP_H
46324 #include <ieeefp.h>
46325 #endif
46328 main ()
46330 _isinff(0);
46332 return 0;
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func__isinff_use=yes
46337 else
46338 glibcxx_cv_func__isinff_use=no
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46352 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46354 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46355 for ac_func in _isinff
46356 do :
46357 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46358 if test "x$ac_cv_func__isinff" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE__ISINFF 1
46361 _ACEOF
46364 done
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46374 $as_echo_n "checking for atan2f declaration... " >&6; }
46375 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46376 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46391 main ()
46393 atan2f(0, 0);
46395 return 0;
46397 _ACEOF
46398 if ac_fn_cxx_try_compile "$LINENO"; then :
46399 glibcxx_cv_func_atan2f_use=yes
46400 else
46401 glibcxx_cv_func_atan2f_use=no
46403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46404 ac_ext=c
46405 ac_cpp='$CPP $CPPFLAGS'
46406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46415 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46417 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46418 for ac_func in atan2f
46419 do :
46420 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46421 if test "x$ac_cv_func_atan2f" = x""yes; then :
46422 cat >>confdefs.h <<_ACEOF
46423 #define HAVE_ATAN2F 1
46424 _ACEOF
46427 done
46429 else
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46432 $as_echo_n "checking for _atan2f declaration... " >&6; }
46433 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46434 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46435 $as_echo_n "(cached) " >&6
46436 else
46439 ac_ext=cpp
46440 ac_cpp='$CXXCPP $CPPFLAGS'
46441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46446 /* end confdefs.h. */
46447 #include <math.h>
46449 main ()
46451 _atan2f(0, 0);
46453 return 0;
46455 _ACEOF
46456 if ac_fn_cxx_try_compile "$LINENO"; then :
46457 glibcxx_cv_func__atan2f_use=yes
46458 else
46459 glibcxx_cv_func__atan2f_use=no
46461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46462 ac_ext=c
46463 ac_cpp='$CPP $CPPFLAGS'
46464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46473 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46475 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46476 for ac_func in _atan2f
46477 do :
46478 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46479 if test "x$ac_cv_func__atan2f" = x""yes; then :
46480 cat >>confdefs.h <<_ACEOF
46481 #define HAVE__ATAN2F 1
46482 _ACEOF
46485 done
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46495 $as_echo_n "checking for fabsf declaration... " >&6; }
46496 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46497 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46498 $as_echo_n "(cached) " >&6
46499 else
46502 ac_ext=cpp
46503 ac_cpp='$CXXCPP $CPPFLAGS'
46504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46509 /* end confdefs.h. */
46510 #include <math.h>
46511 #ifdef HAVE_IEEEFP_H
46512 #include <ieeefp.h>
46513 #endif
46516 main ()
46518 fabsf(0);
46520 return 0;
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func_fabsf_use=yes
46525 else
46526 glibcxx_cv_func_fabsf_use=no
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46540 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46542 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46543 for ac_func in fabsf
46544 do :
46545 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46546 if test "x$ac_cv_func_fabsf" = x""yes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE_FABSF 1
46549 _ACEOF
46552 done
46554 else
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46557 $as_echo_n "checking for _fabsf declaration... " >&6; }
46558 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46559 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <math.h>
46573 #ifdef HAVE_IEEEFP_H
46574 #include <ieeefp.h>
46575 #endif
46578 main ()
46580 _fabsf(0);
46582 return 0;
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func__fabsf_use=yes
46587 else
46588 glibcxx_cv_func__fabsf_use=no
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46602 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46604 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46605 for ac_func in _fabsf
46606 do :
46607 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46608 if test "x$ac_cv_func__fabsf" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE__FABSF 1
46611 _ACEOF
46614 done
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46624 $as_echo_n "checking for fmodf declaration... " >&6; }
46625 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46626 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46627 $as_echo_n "(cached) " >&6
46628 else
46631 ac_ext=cpp
46632 ac_cpp='$CXXCPP $CPPFLAGS'
46633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46638 /* end confdefs.h. */
46639 #include <math.h>
46641 main ()
46643 fmodf(0, 0);
46645 return 0;
46647 _ACEOF
46648 if ac_fn_cxx_try_compile "$LINENO"; then :
46649 glibcxx_cv_func_fmodf_use=yes
46650 else
46651 glibcxx_cv_func_fmodf_use=no
46653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46654 ac_ext=c
46655 ac_cpp='$CPP $CPPFLAGS'
46656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46665 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46667 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46668 for ac_func in fmodf
46669 do :
46670 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46671 if test "x$ac_cv_func_fmodf" = x""yes; then :
46672 cat >>confdefs.h <<_ACEOF
46673 #define HAVE_FMODF 1
46674 _ACEOF
46677 done
46679 else
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46682 $as_echo_n "checking for _fmodf declaration... " >&6; }
46683 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46684 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46699 main ()
46701 _fmodf(0, 0);
46703 return 0;
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707 glibcxx_cv_func__fmodf_use=yes
46708 else
46709 glibcxx_cv_func__fmodf_use=no
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712 ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46723 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46725 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46726 for ac_func in _fmodf
46727 do :
46728 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46729 if test "x$ac_cv_func__fmodf" = x""yes; then :
46730 cat >>confdefs.h <<_ACEOF
46731 #define HAVE__FMODF 1
46732 _ACEOF
46735 done
46744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46745 $as_echo_n "checking for frexpf declaration... " >&6; }
46746 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46747 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46748 $as_echo_n "(cached) " >&6
46749 else
46752 ac_ext=cpp
46753 ac_cpp='$CXXCPP $CPPFLAGS'
46754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46759 /* end confdefs.h. */
46760 #include <math.h>
46762 main ()
46764 frexpf(0, 0);
46766 return 0;
46768 _ACEOF
46769 if ac_fn_cxx_try_compile "$LINENO"; then :
46770 glibcxx_cv_func_frexpf_use=yes
46771 else
46772 glibcxx_cv_func_frexpf_use=no
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 ac_ext=c
46776 ac_cpp='$CPP $CPPFLAGS'
46777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46786 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46788 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46789 for ac_func in frexpf
46790 do :
46791 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46792 if test "x$ac_cv_func_frexpf" = x""yes; then :
46793 cat >>confdefs.h <<_ACEOF
46794 #define HAVE_FREXPF 1
46795 _ACEOF
46798 done
46800 else
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46803 $as_echo_n "checking for _frexpf declaration... " >&6; }
46804 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46805 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <math.h>
46820 main ()
46822 _frexpf(0, 0);
46824 return 0;
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828 glibcxx_cv_func__frexpf_use=yes
46829 else
46830 glibcxx_cv_func__frexpf_use=no
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46844 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46846 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46847 for ac_func in _frexpf
46848 do :
46849 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46850 if test "x$ac_cv_func__frexpf" = x""yes; then :
46851 cat >>confdefs.h <<_ACEOF
46852 #define HAVE__FREXPF 1
46853 _ACEOF
46856 done
46865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46866 $as_echo_n "checking for hypotf declaration... " >&6; }
46867 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46868 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46869 $as_echo_n "(cached) " >&6
46870 else
46873 ac_ext=cpp
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880 /* end confdefs.h. */
46881 #include <math.h>
46883 main ()
46885 hypotf(0, 0);
46887 return 0;
46889 _ACEOF
46890 if ac_fn_cxx_try_compile "$LINENO"; then :
46891 glibcxx_cv_func_hypotf_use=yes
46892 else
46893 glibcxx_cv_func_hypotf_use=no
46895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46896 ac_ext=c
46897 ac_cpp='$CPP $CPPFLAGS'
46898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46907 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46909 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46910 for ac_func in hypotf
46911 do :
46912 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46913 if test "x$ac_cv_func_hypotf" = x""yes; then :
46914 cat >>confdefs.h <<_ACEOF
46915 #define HAVE_HYPOTF 1
46916 _ACEOF
46919 done
46921 else
46923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46924 $as_echo_n "checking for _hypotf declaration... " >&6; }
46925 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46926 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46927 $as_echo_n "(cached) " >&6
46928 else
46931 ac_ext=cpp
46932 ac_cpp='$CXXCPP $CPPFLAGS'
46933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46938 /* end confdefs.h. */
46939 #include <math.h>
46941 main ()
46943 _hypotf(0, 0);
46945 return 0;
46947 _ACEOF
46948 if ac_fn_cxx_try_compile "$LINENO"; then :
46949 glibcxx_cv_func__hypotf_use=yes
46950 else
46951 glibcxx_cv_func__hypotf_use=no
46953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46954 ac_ext=c
46955 ac_cpp='$CPP $CPPFLAGS'
46956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46965 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46967 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46968 for ac_func in _hypotf
46969 do :
46970 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46971 if test "x$ac_cv_func__hypotf" = x""yes; then :
46972 cat >>confdefs.h <<_ACEOF
46973 #define HAVE__HYPOTF 1
46974 _ACEOF
46977 done
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46987 $as_echo_n "checking for ldexpf declaration... " >&6; }
46988 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46989 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46990 $as_echo_n "(cached) " >&6
46991 else
46994 ac_ext=cpp
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47001 /* end confdefs.h. */
47002 #include <math.h>
47004 main ()
47006 ldexpf(0, 0);
47008 return 0;
47010 _ACEOF
47011 if ac_fn_cxx_try_compile "$LINENO"; then :
47012 glibcxx_cv_func_ldexpf_use=yes
47013 else
47014 glibcxx_cv_func_ldexpf_use=no
47016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 ac_ext=c
47018 ac_cpp='$CPP $CPPFLAGS'
47019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47028 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47030 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47031 for ac_func in ldexpf
47032 do :
47033 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47034 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47035 cat >>confdefs.h <<_ACEOF
47036 #define HAVE_LDEXPF 1
47037 _ACEOF
47040 done
47042 else
47044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47045 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47046 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47047 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47048 $as_echo_n "(cached) " >&6
47049 else
47052 ac_ext=cpp
47053 ac_cpp='$CXXCPP $CPPFLAGS'
47054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47059 /* end confdefs.h. */
47060 #include <math.h>
47062 main ()
47064 _ldexpf(0, 0);
47066 return 0;
47068 _ACEOF
47069 if ac_fn_cxx_try_compile "$LINENO"; then :
47070 glibcxx_cv_func__ldexpf_use=yes
47071 else
47072 glibcxx_cv_func__ldexpf_use=no
47074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47075 ac_ext=c
47076 ac_cpp='$CPP $CPPFLAGS'
47077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47086 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47088 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47089 for ac_func in _ldexpf
47090 do :
47091 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47092 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47093 cat >>confdefs.h <<_ACEOF
47094 #define HAVE__LDEXPF 1
47095 _ACEOF
47098 done
47107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47108 $as_echo_n "checking for logf declaration... " >&6; }
47109 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47110 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47111 $as_echo_n "(cached) " >&6
47112 else
47115 ac_ext=cpp
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47122 /* end confdefs.h. */
47123 #include <math.h>
47124 #ifdef HAVE_IEEEFP_H
47125 #include <ieeefp.h>
47126 #endif
47129 main ()
47131 logf(0);
47133 return 0;
47135 _ACEOF
47136 if ac_fn_cxx_try_compile "$LINENO"; then :
47137 glibcxx_cv_func_logf_use=yes
47138 else
47139 glibcxx_cv_func_logf_use=no
47141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47142 ac_ext=c
47143 ac_cpp='$CPP $CPPFLAGS'
47144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47153 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47155 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47156 for ac_func in logf
47157 do :
47158 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47159 if test "x$ac_cv_func_logf" = x""yes; then :
47160 cat >>confdefs.h <<_ACEOF
47161 #define HAVE_LOGF 1
47162 _ACEOF
47165 done
47167 else
47169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47170 $as_echo_n "checking for _logf declaration... " >&6; }
47171 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47172 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47173 $as_echo_n "(cached) " >&6
47174 else
47177 ac_ext=cpp
47178 ac_cpp='$CXXCPP $CPPFLAGS'
47179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47184 /* end confdefs.h. */
47185 #include <math.h>
47186 #ifdef HAVE_IEEEFP_H
47187 #include <ieeefp.h>
47188 #endif
47191 main ()
47193 _logf(0);
47195 return 0;
47197 _ACEOF
47198 if ac_fn_cxx_try_compile "$LINENO"; then :
47199 glibcxx_cv_func__logf_use=yes
47200 else
47201 glibcxx_cv_func__logf_use=no
47203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47204 ac_ext=c
47205 ac_cpp='$CPP $CPPFLAGS'
47206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47215 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47217 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47218 for ac_func in _logf
47219 do :
47220 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47221 if test "x$ac_cv_func__logf" = x""yes; then :
47222 cat >>confdefs.h <<_ACEOF
47223 #define HAVE__LOGF 1
47224 _ACEOF
47227 done
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47237 $as_echo_n "checking for log10f declaration... " >&6; }
47238 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47239 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47240 $as_echo_n "(cached) " >&6
47241 else
47244 ac_ext=cpp
47245 ac_cpp='$CXXCPP $CPPFLAGS'
47246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47251 /* end confdefs.h. */
47252 #include <math.h>
47253 #ifdef HAVE_IEEEFP_H
47254 #include <ieeefp.h>
47255 #endif
47258 main ()
47260 log10f(0);
47262 return 0;
47264 _ACEOF
47265 if ac_fn_cxx_try_compile "$LINENO"; then :
47266 glibcxx_cv_func_log10f_use=yes
47267 else
47268 glibcxx_cv_func_log10f_use=no
47270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47271 ac_ext=c
47272 ac_cpp='$CPP $CPPFLAGS'
47273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47282 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47284 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47285 for ac_func in log10f
47286 do :
47287 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47288 if test "x$ac_cv_func_log10f" = x""yes; then :
47289 cat >>confdefs.h <<_ACEOF
47290 #define HAVE_LOG10F 1
47291 _ACEOF
47294 done
47296 else
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47299 $as_echo_n "checking for _log10f declaration... " >&6; }
47300 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47301 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47302 $as_echo_n "(cached) " >&6
47303 else
47306 ac_ext=cpp
47307 ac_cpp='$CXXCPP $CPPFLAGS'
47308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47313 /* end confdefs.h. */
47314 #include <math.h>
47315 #ifdef HAVE_IEEEFP_H
47316 #include <ieeefp.h>
47317 #endif
47320 main ()
47322 _log10f(0);
47324 return 0;
47326 _ACEOF
47327 if ac_fn_cxx_try_compile "$LINENO"; then :
47328 glibcxx_cv_func__log10f_use=yes
47329 else
47330 glibcxx_cv_func__log10f_use=no
47332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47333 ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47344 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47346 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47347 for ac_func in _log10f
47348 do :
47349 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47350 if test "x$ac_cv_func__log10f" = x""yes; then :
47351 cat >>confdefs.h <<_ACEOF
47352 #define HAVE__LOG10F 1
47353 _ACEOF
47356 done
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47366 $as_echo_n "checking for modff declaration... " >&6; }
47367 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47368 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47369 $as_echo_n "(cached) " >&6
47370 else
47373 ac_ext=cpp
47374 ac_cpp='$CXXCPP $CPPFLAGS'
47375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47380 /* end confdefs.h. */
47381 #include <math.h>
47383 main ()
47385 modff(0, 0);
47387 return 0;
47389 _ACEOF
47390 if ac_fn_cxx_try_compile "$LINENO"; then :
47391 glibcxx_cv_func_modff_use=yes
47392 else
47393 glibcxx_cv_func_modff_use=no
47395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47396 ac_ext=c
47397 ac_cpp='$CPP $CPPFLAGS'
47398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47407 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47409 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47410 for ac_func in modff
47411 do :
47412 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47413 if test "x$ac_cv_func_modff" = x""yes; then :
47414 cat >>confdefs.h <<_ACEOF
47415 #define HAVE_MODFF 1
47416 _ACEOF
47419 done
47421 else
47423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47424 $as_echo_n "checking for _modff declaration... " >&6; }
47425 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47426 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47427 $as_echo_n "(cached) " >&6
47428 else
47431 ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <math.h>
47441 main ()
47443 _modff(0, 0);
47445 return 0;
47447 _ACEOF
47448 if ac_fn_cxx_try_compile "$LINENO"; then :
47449 glibcxx_cv_func__modff_use=yes
47450 else
47451 glibcxx_cv_func__modff_use=no
47453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47454 ac_ext=c
47455 ac_cpp='$CPP $CPPFLAGS'
47456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47465 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47467 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47468 for ac_func in _modff
47469 do :
47470 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47471 if test "x$ac_cv_func__modff" = x""yes; then :
47472 cat >>confdefs.h <<_ACEOF
47473 #define HAVE__MODFF 1
47474 _ACEOF
47477 done
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47487 $as_echo_n "checking for modf declaration... " >&6; }
47488 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47489 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47490 $as_echo_n "(cached) " >&6
47491 else
47494 ac_ext=cpp
47495 ac_cpp='$CXXCPP $CPPFLAGS'
47496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47501 /* end confdefs.h. */
47502 #include <math.h>
47504 main ()
47506 modf(0, 0);
47508 return 0;
47510 _ACEOF
47511 if ac_fn_cxx_try_compile "$LINENO"; then :
47512 glibcxx_cv_func_modf_use=yes
47513 else
47514 glibcxx_cv_func_modf_use=no
47516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47517 ac_ext=c
47518 ac_cpp='$CPP $CPPFLAGS'
47519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47528 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47530 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47531 for ac_func in modf
47532 do :
47533 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47534 if test "x$ac_cv_func_modf" = x""yes; then :
47535 cat >>confdefs.h <<_ACEOF
47536 #define HAVE_MODF 1
47537 _ACEOF
47540 done
47542 else
47544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47545 $as_echo_n "checking for _modf declaration... " >&6; }
47546 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47547 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47548 $as_echo_n "(cached) " >&6
47549 else
47552 ac_ext=cpp
47553 ac_cpp='$CXXCPP $CPPFLAGS'
47554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47559 /* end confdefs.h. */
47560 #include <math.h>
47562 main ()
47564 _modf(0, 0);
47566 return 0;
47568 _ACEOF
47569 if ac_fn_cxx_try_compile "$LINENO"; then :
47570 glibcxx_cv_func__modf_use=yes
47571 else
47572 glibcxx_cv_func__modf_use=no
47574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47575 ac_ext=c
47576 ac_cpp='$CPP $CPPFLAGS'
47577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47586 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47588 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47589 for ac_func in _modf
47590 do :
47591 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47592 if test "x$ac_cv_func__modf" = x""yes; then :
47593 cat >>confdefs.h <<_ACEOF
47594 #define HAVE__MODF 1
47595 _ACEOF
47598 done
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47608 $as_echo_n "checking for powf declaration... " >&6; }
47609 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47610 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47611 $as_echo_n "(cached) " >&6
47612 else
47615 ac_ext=cpp
47616 ac_cpp='$CXXCPP $CPPFLAGS'
47617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47622 /* end confdefs.h. */
47623 #include <math.h>
47625 main ()
47627 powf(0, 0);
47629 return 0;
47631 _ACEOF
47632 if ac_fn_cxx_try_compile "$LINENO"; then :
47633 glibcxx_cv_func_powf_use=yes
47634 else
47635 glibcxx_cv_func_powf_use=no
47637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47638 ac_ext=c
47639 ac_cpp='$CPP $CPPFLAGS'
47640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47649 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47651 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47652 for ac_func in powf
47653 do :
47654 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47655 if test "x$ac_cv_func_powf" = x""yes; then :
47656 cat >>confdefs.h <<_ACEOF
47657 #define HAVE_POWF 1
47658 _ACEOF
47661 done
47663 else
47665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47666 $as_echo_n "checking for _powf declaration... " >&6; }
47667 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47668 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47669 $as_echo_n "(cached) " >&6
47670 else
47673 ac_ext=cpp
47674 ac_cpp='$CXXCPP $CPPFLAGS'
47675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47680 /* end confdefs.h. */
47681 #include <math.h>
47683 main ()
47685 _powf(0, 0);
47687 return 0;
47689 _ACEOF
47690 if ac_fn_cxx_try_compile "$LINENO"; then :
47691 glibcxx_cv_func__powf_use=yes
47692 else
47693 glibcxx_cv_func__powf_use=no
47695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47696 ac_ext=c
47697 ac_cpp='$CPP $CPPFLAGS'
47698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47707 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47709 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47710 for ac_func in _powf
47711 do :
47712 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47713 if test "x$ac_cv_func__powf" = x""yes; then :
47714 cat >>confdefs.h <<_ACEOF
47715 #define HAVE__POWF 1
47716 _ACEOF
47719 done
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47729 $as_echo_n "checking for sqrtf declaration... " >&6; }
47730 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47731 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47732 $as_echo_n "(cached) " >&6
47733 else
47736 ac_ext=cpp
47737 ac_cpp='$CXXCPP $CPPFLAGS'
47738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47743 /* end confdefs.h. */
47744 #include <math.h>
47745 #ifdef HAVE_IEEEFP_H
47746 #include <ieeefp.h>
47747 #endif
47750 main ()
47752 sqrtf(0);
47754 return 0;
47756 _ACEOF
47757 if ac_fn_cxx_try_compile "$LINENO"; then :
47758 glibcxx_cv_func_sqrtf_use=yes
47759 else
47760 glibcxx_cv_func_sqrtf_use=no
47762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47763 ac_ext=c
47764 ac_cpp='$CPP $CPPFLAGS'
47765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47774 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47776 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47777 for ac_func in sqrtf
47778 do :
47779 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47780 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47781 cat >>confdefs.h <<_ACEOF
47782 #define HAVE_SQRTF 1
47783 _ACEOF
47786 done
47788 else
47790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47791 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47792 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47793 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47794 $as_echo_n "(cached) " >&6
47795 else
47798 ac_ext=cpp
47799 ac_cpp='$CXXCPP $CPPFLAGS'
47800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805 /* end confdefs.h. */
47806 #include <math.h>
47807 #ifdef HAVE_IEEEFP_H
47808 #include <ieeefp.h>
47809 #endif
47812 main ()
47814 _sqrtf(0);
47816 return 0;
47818 _ACEOF
47819 if ac_fn_cxx_try_compile "$LINENO"; then :
47820 glibcxx_cv_func__sqrtf_use=yes
47821 else
47822 glibcxx_cv_func__sqrtf_use=no
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47825 ac_ext=c
47826 ac_cpp='$CPP $CPPFLAGS'
47827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47836 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47838 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47839 for ac_func in _sqrtf
47840 do :
47841 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47842 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47843 cat >>confdefs.h <<_ACEOF
47844 #define HAVE__SQRTF 1
47845 _ACEOF
47848 done
47857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47858 $as_echo_n "checking for sincosf declaration... " >&6; }
47859 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47860 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47861 $as_echo_n "(cached) " >&6
47862 else
47865 ac_ext=cpp
47866 ac_cpp='$CXXCPP $CPPFLAGS'
47867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47872 /* end confdefs.h. */
47873 #include <math.h>
47875 main ()
47877 sincosf(0, 0, 0);
47879 return 0;
47881 _ACEOF
47882 if ac_fn_cxx_try_compile "$LINENO"; then :
47883 glibcxx_cv_func_sincosf_use=yes
47884 else
47885 glibcxx_cv_func_sincosf_use=no
47887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47888 ac_ext=c
47889 ac_cpp='$CPP $CPPFLAGS'
47890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47899 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47901 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47902 for ac_func in sincosf
47903 do :
47904 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47905 if test "x$ac_cv_func_sincosf" = x""yes; then :
47906 cat >>confdefs.h <<_ACEOF
47907 #define HAVE_SINCOSF 1
47908 _ACEOF
47911 done
47913 else
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47916 $as_echo_n "checking for _sincosf declaration... " >&6; }
47917 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47918 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47919 $as_echo_n "(cached) " >&6
47920 else
47923 ac_ext=cpp
47924 ac_cpp='$CXXCPP $CPPFLAGS'
47925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47930 /* end confdefs.h. */
47931 #include <math.h>
47933 main ()
47935 _sincosf(0, 0, 0);
47937 return 0;
47939 _ACEOF
47940 if ac_fn_cxx_try_compile "$LINENO"; then :
47941 glibcxx_cv_func__sincosf_use=yes
47942 else
47943 glibcxx_cv_func__sincosf_use=no
47945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47946 ac_ext=c
47947 ac_cpp='$CPP $CPPFLAGS'
47948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47957 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47959 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47960 for ac_func in _sincosf
47961 do :
47962 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47963 if test "x$ac_cv_func__sincosf" = x""yes; then :
47964 cat >>confdefs.h <<_ACEOF
47965 #define HAVE__SINCOSF 1
47966 _ACEOF
47969 done
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47979 $as_echo_n "checking for finitef declaration... " >&6; }
47980 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47981 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47982 $as_echo_n "(cached) " >&6
47983 else
47986 ac_ext=cpp
47987 ac_cpp='$CXXCPP $CPPFLAGS'
47988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47993 /* end confdefs.h. */
47994 #include <math.h>
47995 #ifdef HAVE_IEEEFP_H
47996 #include <ieeefp.h>
47997 #endif
48000 main ()
48002 finitef(0);
48004 return 0;
48006 _ACEOF
48007 if ac_fn_cxx_try_compile "$LINENO"; then :
48008 glibcxx_cv_func_finitef_use=yes
48009 else
48010 glibcxx_cv_func_finitef_use=no
48012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48013 ac_ext=c
48014 ac_cpp='$CPP $CPPFLAGS'
48015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48024 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48026 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48027 for ac_func in finitef
48028 do :
48029 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48030 if test "x$ac_cv_func_finitef" = x""yes; then :
48031 cat >>confdefs.h <<_ACEOF
48032 #define HAVE_FINITEF 1
48033 _ACEOF
48036 done
48038 else
48040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48041 $as_echo_n "checking for _finitef declaration... " >&6; }
48042 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48043 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48044 $as_echo_n "(cached) " >&6
48045 else
48048 ac_ext=cpp
48049 ac_cpp='$CXXCPP $CPPFLAGS'
48050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48055 /* end confdefs.h. */
48056 #include <math.h>
48057 #ifdef HAVE_IEEEFP_H
48058 #include <ieeefp.h>
48059 #endif
48062 main ()
48064 _finitef(0);
48066 return 0;
48068 _ACEOF
48069 if ac_fn_cxx_try_compile "$LINENO"; then :
48070 glibcxx_cv_func__finitef_use=yes
48071 else
48072 glibcxx_cv_func__finitef_use=no
48074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48075 ac_ext=c
48076 ac_cpp='$CPP $CPPFLAGS'
48077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48086 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48088 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48089 for ac_func in _finitef
48090 do :
48091 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48092 if test "x$ac_cv_func__finitef" = x""yes; then :
48093 cat >>confdefs.h <<_ACEOF
48094 #define HAVE__FINITEF 1
48095 _ACEOF
48098 done
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48108 $as_echo_n "checking for long double trig functions... " >&6; }
48109 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48111 else
48114 ac_ext=cpp
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48122 #include <math.h>
48124 main ()
48126 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48128 return 0;
48130 _ACEOF
48131 if ac_fn_cxx_try_compile "$LINENO"; then :
48132 glibcxx_cv_func_long_double_trig_use=yes
48133 else
48134 glibcxx_cv_func_long_double_trig_use=no
48136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48137 ac_ext=c
48138 ac_cpp='$CPP $CPPFLAGS'
48139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48146 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48147 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48148 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48149 do :
48150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48152 eval as_val=\$$as_ac_var
48153 if test "x$as_val" = x""yes; then :
48154 cat >>confdefs.h <<_ACEOF
48155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48156 _ACEOF
48159 done
48161 else
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48163 $as_echo_n "checking for _long double trig functions... " >&6; }
48164 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48165 $as_echo_n "(cached) " >&6
48166 else
48169 ac_ext=cpp
48170 ac_cpp='$CXXCPP $CPPFLAGS'
48171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48176 /* end confdefs.h. */
48177 #include <math.h>
48179 main ()
48181 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48183 return 0;
48185 _ACEOF
48186 if ac_fn_cxx_try_compile "$LINENO"; then :
48187 glibcxx_cv_func__long_double_trig_use=yes
48188 else
48189 glibcxx_cv_func__long_double_trig_use=no
48191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48192 ac_ext=c
48193 ac_cpp='$CPP $CPPFLAGS'
48194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48201 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48202 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48203 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48204 do :
48205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48207 eval as_val=\$$as_ac_var
48208 if test "x$as_val" = x""yes; then :
48209 cat >>confdefs.h <<_ACEOF
48210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48211 _ACEOF
48214 done
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48224 $as_echo_n "checking for long double round functions... " >&6; }
48225 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48226 $as_echo_n "(cached) " >&6
48227 else
48230 ac_ext=cpp
48231 ac_cpp='$CXXCPP $CPPFLAGS'
48232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48237 /* end confdefs.h. */
48238 #include <math.h>
48240 main ()
48242 ceill (0); floorl (0);
48244 return 0;
48246 _ACEOF
48247 if ac_fn_cxx_try_compile "$LINENO"; then :
48248 glibcxx_cv_func_long_double_round_use=yes
48249 else
48250 glibcxx_cv_func_long_double_round_use=no
48252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48253 ac_ext=c
48254 ac_cpp='$CPP $CPPFLAGS'
48255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48262 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48263 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48264 for ac_func in ceill floorl
48265 do :
48266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48268 eval as_val=\$$as_ac_var
48269 if test "x$as_val" = x""yes; then :
48270 cat >>confdefs.h <<_ACEOF
48271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48272 _ACEOF
48275 done
48277 else
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48279 $as_echo_n "checking for _long double round functions... " >&6; }
48280 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48281 $as_echo_n "(cached) " >&6
48282 else
48285 ac_ext=cpp
48286 ac_cpp='$CXXCPP $CPPFLAGS'
48287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48292 /* end confdefs.h. */
48293 #include <math.h>
48295 main ()
48297 _ceill (0); _floorl (0);
48299 return 0;
48301 _ACEOF
48302 if ac_fn_cxx_try_compile "$LINENO"; then :
48303 glibcxx_cv_func__long_double_round_use=yes
48304 else
48305 glibcxx_cv_func__long_double_round_use=no
48307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48308 ac_ext=c
48309 ac_cpp='$CPP $CPPFLAGS'
48310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48317 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48318 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48319 for ac_func in _ceill _floorl
48320 do :
48321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48323 eval as_val=\$$as_ac_var
48324 if test "x$as_val" = x""yes; then :
48325 cat >>confdefs.h <<_ACEOF
48326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48327 _ACEOF
48330 done
48340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48341 $as_echo_n "checking for isnanl declaration... " >&6; }
48342 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48343 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48344 $as_echo_n "(cached) " >&6
48345 else
48348 ac_ext=cpp
48349 ac_cpp='$CXXCPP $CPPFLAGS'
48350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48355 /* end confdefs.h. */
48356 #include <math.h>
48357 #ifdef HAVE_IEEEFP_H
48358 #include <ieeefp.h>
48359 #endif
48362 main ()
48364 isnanl(0);
48366 return 0;
48368 _ACEOF
48369 if ac_fn_cxx_try_compile "$LINENO"; then :
48370 glibcxx_cv_func_isnanl_use=yes
48371 else
48372 glibcxx_cv_func_isnanl_use=no
48374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48375 ac_ext=c
48376 ac_cpp='$CPP $CPPFLAGS'
48377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48386 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48388 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48389 for ac_func in isnanl
48390 do :
48391 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48392 if test "x$ac_cv_func_isnanl" = x""yes; then :
48393 cat >>confdefs.h <<_ACEOF
48394 #define HAVE_ISNANL 1
48395 _ACEOF
48398 done
48400 else
48402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48403 $as_echo_n "checking for _isnanl declaration... " >&6; }
48404 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48405 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48406 $as_echo_n "(cached) " >&6
48407 else
48410 ac_ext=cpp
48411 ac_cpp='$CXXCPP $CPPFLAGS'
48412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48417 /* end confdefs.h. */
48418 #include <math.h>
48419 #ifdef HAVE_IEEEFP_H
48420 #include <ieeefp.h>
48421 #endif
48424 main ()
48426 _isnanl(0);
48428 return 0;
48430 _ACEOF
48431 if ac_fn_cxx_try_compile "$LINENO"; then :
48432 glibcxx_cv_func__isnanl_use=yes
48433 else
48434 glibcxx_cv_func__isnanl_use=no
48436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48437 ac_ext=c
48438 ac_cpp='$CPP $CPPFLAGS'
48439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48448 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48450 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48451 for ac_func in _isnanl
48452 do :
48453 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48454 if test "x$ac_cv_func__isnanl" = x""yes; then :
48455 cat >>confdefs.h <<_ACEOF
48456 #define HAVE__ISNANL 1
48457 _ACEOF
48460 done
48469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48470 $as_echo_n "checking for isinfl declaration... " >&6; }
48471 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48472 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48473 $as_echo_n "(cached) " >&6
48474 else
48477 ac_ext=cpp
48478 ac_cpp='$CXXCPP $CPPFLAGS'
48479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48484 /* end confdefs.h. */
48485 #include <math.h>
48486 #ifdef HAVE_IEEEFP_H
48487 #include <ieeefp.h>
48488 #endif
48491 main ()
48493 isinfl(0);
48495 return 0;
48497 _ACEOF
48498 if ac_fn_cxx_try_compile "$LINENO"; then :
48499 glibcxx_cv_func_isinfl_use=yes
48500 else
48501 glibcxx_cv_func_isinfl_use=no
48503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504 ac_ext=c
48505 ac_cpp='$CPP $CPPFLAGS'
48506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48515 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48517 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48518 for ac_func in isinfl
48519 do :
48520 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48521 if test "x$ac_cv_func_isinfl" = x""yes; then :
48522 cat >>confdefs.h <<_ACEOF
48523 #define HAVE_ISINFL 1
48524 _ACEOF
48527 done
48529 else
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48532 $as_echo_n "checking for _isinfl declaration... " >&6; }
48533 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48534 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48535 $as_echo_n "(cached) " >&6
48536 else
48539 ac_ext=cpp
48540 ac_cpp='$CXXCPP $CPPFLAGS'
48541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48546 /* end confdefs.h. */
48547 #include <math.h>
48548 #ifdef HAVE_IEEEFP_H
48549 #include <ieeefp.h>
48550 #endif
48553 main ()
48555 _isinfl(0);
48557 return 0;
48559 _ACEOF
48560 if ac_fn_cxx_try_compile "$LINENO"; then :
48561 glibcxx_cv_func__isinfl_use=yes
48562 else
48563 glibcxx_cv_func__isinfl_use=no
48565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48566 ac_ext=c
48567 ac_cpp='$CPP $CPPFLAGS'
48568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48577 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48579 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48580 for ac_func in _isinfl
48581 do :
48582 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48583 if test "x$ac_cv_func__isinfl" = x""yes; then :
48584 cat >>confdefs.h <<_ACEOF
48585 #define HAVE__ISINFL 1
48586 _ACEOF
48589 done
48598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48599 $as_echo_n "checking for atan2l declaration... " >&6; }
48600 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48601 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48602 $as_echo_n "(cached) " >&6
48603 else
48606 ac_ext=cpp
48607 ac_cpp='$CXXCPP $CPPFLAGS'
48608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48613 /* end confdefs.h. */
48614 #include <math.h>
48616 main ()
48618 atan2l(0, 0);
48620 return 0;
48622 _ACEOF
48623 if ac_fn_cxx_try_compile "$LINENO"; then :
48624 glibcxx_cv_func_atan2l_use=yes
48625 else
48626 glibcxx_cv_func_atan2l_use=no
48628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48629 ac_ext=c
48630 ac_cpp='$CPP $CPPFLAGS'
48631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48640 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48642 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48643 for ac_func in atan2l
48644 do :
48645 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48646 if test "x$ac_cv_func_atan2l" = x""yes; then :
48647 cat >>confdefs.h <<_ACEOF
48648 #define HAVE_ATAN2L 1
48649 _ACEOF
48652 done
48654 else
48656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48657 $as_echo_n "checking for _atan2l declaration... " >&6; }
48658 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48659 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48660 $as_echo_n "(cached) " >&6
48661 else
48664 ac_ext=cpp
48665 ac_cpp='$CXXCPP $CPPFLAGS'
48666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48671 /* end confdefs.h. */
48672 #include <math.h>
48674 main ()
48676 _atan2l(0, 0);
48678 return 0;
48680 _ACEOF
48681 if ac_fn_cxx_try_compile "$LINENO"; then :
48682 glibcxx_cv_func__atan2l_use=yes
48683 else
48684 glibcxx_cv_func__atan2l_use=no
48686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48687 ac_ext=c
48688 ac_cpp='$CPP $CPPFLAGS'
48689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48698 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48700 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48701 for ac_func in _atan2l
48702 do :
48703 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48704 if test "x$ac_cv_func__atan2l" = x""yes; then :
48705 cat >>confdefs.h <<_ACEOF
48706 #define HAVE__ATAN2L 1
48707 _ACEOF
48710 done
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48720 $as_echo_n "checking for expl declaration... " >&6; }
48721 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48722 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48723 $as_echo_n "(cached) " >&6
48724 else
48727 ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h. */
48735 #include <math.h>
48736 #ifdef HAVE_IEEEFP_H
48737 #include <ieeefp.h>
48738 #endif
48741 main ()
48743 expl(0);
48745 return 0;
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func_expl_use=yes
48750 else
48751 glibcxx_cv_func_expl_use=no
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48765 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48767 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48768 for ac_func in expl
48769 do :
48770 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48771 if test "x$ac_cv_func_expl" = x""yes; then :
48772 cat >>confdefs.h <<_ACEOF
48773 #define HAVE_EXPL 1
48774 _ACEOF
48777 done
48779 else
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48782 $as_echo_n "checking for _expl declaration... " >&6; }
48783 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48784 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48785 $as_echo_n "(cached) " >&6
48786 else
48789 ac_ext=cpp
48790 ac_cpp='$CXXCPP $CPPFLAGS'
48791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48796 /* end confdefs.h. */
48797 #include <math.h>
48798 #ifdef HAVE_IEEEFP_H
48799 #include <ieeefp.h>
48800 #endif
48803 main ()
48805 _expl(0);
48807 return 0;
48809 _ACEOF
48810 if ac_fn_cxx_try_compile "$LINENO"; then :
48811 glibcxx_cv_func__expl_use=yes
48812 else
48813 glibcxx_cv_func__expl_use=no
48815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 ac_ext=c
48817 ac_cpp='$CPP $CPPFLAGS'
48818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48827 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48829 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48830 for ac_func in _expl
48831 do :
48832 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48833 if test "x$ac_cv_func__expl" = x""yes; then :
48834 cat >>confdefs.h <<_ACEOF
48835 #define HAVE__EXPL 1
48836 _ACEOF
48839 done
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48849 $as_echo_n "checking for fabsl declaration... " >&6; }
48850 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48851 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48852 $as_echo_n "(cached) " >&6
48853 else
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48863 /* end confdefs.h. */
48864 #include <math.h>
48865 #ifdef HAVE_IEEEFP_H
48866 #include <ieeefp.h>
48867 #endif
48870 main ()
48872 fabsl(0);
48874 return 0;
48876 _ACEOF
48877 if ac_fn_cxx_try_compile "$LINENO"; then :
48878 glibcxx_cv_func_fabsl_use=yes
48879 else
48880 glibcxx_cv_func_fabsl_use=no
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883 ac_ext=c
48884 ac_cpp='$CPP $CPPFLAGS'
48885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48894 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48896 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48897 for ac_func in fabsl
48898 do :
48899 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48900 if test "x$ac_cv_func_fabsl" = x""yes; then :
48901 cat >>confdefs.h <<_ACEOF
48902 #define HAVE_FABSL 1
48903 _ACEOF
48906 done
48908 else
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48911 $as_echo_n "checking for _fabsl declaration... " >&6; }
48912 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48913 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48914 $as_echo_n "(cached) " >&6
48915 else
48918 ac_ext=cpp
48919 ac_cpp='$CXXCPP $CPPFLAGS'
48920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925 /* end confdefs.h. */
48926 #include <math.h>
48927 #ifdef HAVE_IEEEFP_H
48928 #include <ieeefp.h>
48929 #endif
48932 main ()
48934 _fabsl(0);
48936 return 0;
48938 _ACEOF
48939 if ac_fn_cxx_try_compile "$LINENO"; then :
48940 glibcxx_cv_func__fabsl_use=yes
48941 else
48942 glibcxx_cv_func__fabsl_use=no
48944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48945 ac_ext=c
48946 ac_cpp='$CPP $CPPFLAGS'
48947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48956 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48958 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48959 for ac_func in _fabsl
48960 do :
48961 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48962 if test "x$ac_cv_func__fabsl" = x""yes; then :
48963 cat >>confdefs.h <<_ACEOF
48964 #define HAVE__FABSL 1
48965 _ACEOF
48968 done
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48978 $as_echo_n "checking for fmodl declaration... " >&6; }
48979 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48980 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48981 $as_echo_n "(cached) " >&6
48982 else
48985 ac_ext=cpp
48986 ac_cpp='$CXXCPP $CPPFLAGS'
48987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48992 /* end confdefs.h. */
48993 #include <math.h>
48995 main ()
48997 fmodl(0, 0);
48999 return 0;
49001 _ACEOF
49002 if ac_fn_cxx_try_compile "$LINENO"; then :
49003 glibcxx_cv_func_fmodl_use=yes
49004 else
49005 glibcxx_cv_func_fmodl_use=no
49007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49008 ac_ext=c
49009 ac_cpp='$CPP $CPPFLAGS'
49010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49019 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49021 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49022 for ac_func in fmodl
49023 do :
49024 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49025 if test "x$ac_cv_func_fmodl" = x""yes; then :
49026 cat >>confdefs.h <<_ACEOF
49027 #define HAVE_FMODL 1
49028 _ACEOF
49031 done
49033 else
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49036 $as_echo_n "checking for _fmodl declaration... " >&6; }
49037 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49038 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49039 $as_echo_n "(cached) " >&6
49040 else
49043 ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h. */
49051 #include <math.h>
49053 main ()
49055 _fmodl(0, 0);
49057 return 0;
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func__fmodl_use=yes
49062 else
49063 glibcxx_cv_func__fmodl_use=no
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49077 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49079 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49080 for ac_func in _fmodl
49081 do :
49082 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49083 if test "x$ac_cv_func__fmodl" = x""yes; then :
49084 cat >>confdefs.h <<_ACEOF
49085 #define HAVE__FMODL 1
49086 _ACEOF
49089 done
49098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49099 $as_echo_n "checking for frexpl declaration... " >&6; }
49100 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49101 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49102 $as_echo_n "(cached) " >&6
49103 else
49106 ac_ext=cpp
49107 ac_cpp='$CXXCPP $CPPFLAGS'
49108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49113 /* end confdefs.h. */
49114 #include <math.h>
49116 main ()
49118 frexpl(0, 0);
49120 return 0;
49122 _ACEOF
49123 if ac_fn_cxx_try_compile "$LINENO"; then :
49124 glibcxx_cv_func_frexpl_use=yes
49125 else
49126 glibcxx_cv_func_frexpl_use=no
49128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49129 ac_ext=c
49130 ac_cpp='$CPP $CPPFLAGS'
49131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49140 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49142 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49143 for ac_func in frexpl
49144 do :
49145 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49146 if test "x$ac_cv_func_frexpl" = x""yes; then :
49147 cat >>confdefs.h <<_ACEOF
49148 #define HAVE_FREXPL 1
49149 _ACEOF
49152 done
49154 else
49156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49157 $as_echo_n "checking for _frexpl declaration... " >&6; }
49158 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49159 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49160 $as_echo_n "(cached) " >&6
49161 else
49164 ac_ext=cpp
49165 ac_cpp='$CXXCPP $CPPFLAGS'
49166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49171 /* end confdefs.h. */
49172 #include <math.h>
49174 main ()
49176 _frexpl(0, 0);
49178 return 0;
49180 _ACEOF
49181 if ac_fn_cxx_try_compile "$LINENO"; then :
49182 glibcxx_cv_func__frexpl_use=yes
49183 else
49184 glibcxx_cv_func__frexpl_use=no
49186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49187 ac_ext=c
49188 ac_cpp='$CPP $CPPFLAGS'
49189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49198 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49200 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49201 for ac_func in _frexpl
49202 do :
49203 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49204 if test "x$ac_cv_func__frexpl" = x""yes; then :
49205 cat >>confdefs.h <<_ACEOF
49206 #define HAVE__FREXPL 1
49207 _ACEOF
49210 done
49219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49220 $as_echo_n "checking for hypotl declaration... " >&6; }
49221 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49222 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49223 $as_echo_n "(cached) " >&6
49224 else
49227 ac_ext=cpp
49228 ac_cpp='$CXXCPP $CPPFLAGS'
49229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49234 /* end confdefs.h. */
49235 #include <math.h>
49237 main ()
49239 hypotl(0, 0);
49241 return 0;
49243 _ACEOF
49244 if ac_fn_cxx_try_compile "$LINENO"; then :
49245 glibcxx_cv_func_hypotl_use=yes
49246 else
49247 glibcxx_cv_func_hypotl_use=no
49249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49250 ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49261 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49263 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49264 for ac_func in hypotl
49265 do :
49266 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49267 if test "x$ac_cv_func_hypotl" = x""yes; then :
49268 cat >>confdefs.h <<_ACEOF
49269 #define HAVE_HYPOTL 1
49270 _ACEOF
49273 done
49275 else
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49278 $as_echo_n "checking for _hypotl declaration... " >&6; }
49279 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49280 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49281 $as_echo_n "(cached) " >&6
49282 else
49285 ac_ext=cpp
49286 ac_cpp='$CXXCPP $CPPFLAGS'
49287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49292 /* end confdefs.h. */
49293 #include <math.h>
49295 main ()
49297 _hypotl(0, 0);
49299 return 0;
49301 _ACEOF
49302 if ac_fn_cxx_try_compile "$LINENO"; then :
49303 glibcxx_cv_func__hypotl_use=yes
49304 else
49305 glibcxx_cv_func__hypotl_use=no
49307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49308 ac_ext=c
49309 ac_cpp='$CPP $CPPFLAGS'
49310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49319 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49321 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49322 for ac_func in _hypotl
49323 do :
49324 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49325 if test "x$ac_cv_func__hypotl" = x""yes; then :
49326 cat >>confdefs.h <<_ACEOF
49327 #define HAVE__HYPOTL 1
49328 _ACEOF
49331 done
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49341 $as_echo_n "checking for ldexpl declaration... " >&6; }
49342 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49343 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49344 $as_echo_n "(cached) " >&6
49345 else
49348 ac_ext=cpp
49349 ac_cpp='$CXXCPP $CPPFLAGS'
49350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49355 /* end confdefs.h. */
49356 #include <math.h>
49358 main ()
49360 ldexpl(0, 0);
49362 return 0;
49364 _ACEOF
49365 if ac_fn_cxx_try_compile "$LINENO"; then :
49366 glibcxx_cv_func_ldexpl_use=yes
49367 else
49368 glibcxx_cv_func_ldexpl_use=no
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 ac_ext=c
49372 ac_cpp='$CPP $CPPFLAGS'
49373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49382 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49384 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49385 for ac_func in ldexpl
49386 do :
49387 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49388 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49389 cat >>confdefs.h <<_ACEOF
49390 #define HAVE_LDEXPL 1
49391 _ACEOF
49394 done
49396 else
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49399 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49400 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49401 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49416 main ()
49418 _ldexpl(0, 0);
49420 return 0;
49422 _ACEOF
49423 if ac_fn_cxx_try_compile "$LINENO"; then :
49424 glibcxx_cv_func__ldexpl_use=yes
49425 else
49426 glibcxx_cv_func__ldexpl_use=no
49428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49429 ac_ext=c
49430 ac_cpp='$CPP $CPPFLAGS'
49431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49440 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49442 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49443 for ac_func in _ldexpl
49444 do :
49445 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49446 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49447 cat >>confdefs.h <<_ACEOF
49448 #define HAVE__LDEXPL 1
49449 _ACEOF
49452 done
49461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49462 $as_echo_n "checking for logl declaration... " >&6; }
49463 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49464 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49465 $as_echo_n "(cached) " >&6
49466 else
49469 ac_ext=cpp
49470 ac_cpp='$CXXCPP $CPPFLAGS'
49471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49476 /* end confdefs.h. */
49477 #include <math.h>
49478 #ifdef HAVE_IEEEFP_H
49479 #include <ieeefp.h>
49480 #endif
49483 main ()
49485 logl(0);
49487 return 0;
49489 _ACEOF
49490 if ac_fn_cxx_try_compile "$LINENO"; then :
49491 glibcxx_cv_func_logl_use=yes
49492 else
49493 glibcxx_cv_func_logl_use=no
49495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49496 ac_ext=c
49497 ac_cpp='$CPP $CPPFLAGS'
49498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49509 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49510 for ac_func in logl
49511 do :
49512 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49513 if test "x$ac_cv_func_logl" = x""yes; then :
49514 cat >>confdefs.h <<_ACEOF
49515 #define HAVE_LOGL 1
49516 _ACEOF
49519 done
49521 else
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49524 $as_echo_n "checking for _logl declaration... " >&6; }
49525 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49526 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49527 $as_echo_n "(cached) " >&6
49528 else
49531 ac_ext=cpp
49532 ac_cpp='$CXXCPP $CPPFLAGS'
49533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49538 /* end confdefs.h. */
49539 #include <math.h>
49540 #ifdef HAVE_IEEEFP_H
49541 #include <ieeefp.h>
49542 #endif
49545 main ()
49547 _logl(0);
49549 return 0;
49551 _ACEOF
49552 if ac_fn_cxx_try_compile "$LINENO"; then :
49553 glibcxx_cv_func__logl_use=yes
49554 else
49555 glibcxx_cv_func__logl_use=no
49557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49558 ac_ext=c
49559 ac_cpp='$CPP $CPPFLAGS'
49560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49569 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49571 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49572 for ac_func in _logl
49573 do :
49574 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49575 if test "x$ac_cv_func__logl" = x""yes; then :
49576 cat >>confdefs.h <<_ACEOF
49577 #define HAVE__LOGL 1
49578 _ACEOF
49581 done
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49591 $as_echo_n "checking for log10l declaration... " >&6; }
49592 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49593 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49594 $as_echo_n "(cached) " >&6
49595 else
49598 ac_ext=cpp
49599 ac_cpp='$CXXCPP $CPPFLAGS'
49600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49605 /* end confdefs.h. */
49606 #include <math.h>
49607 #ifdef HAVE_IEEEFP_H
49608 #include <ieeefp.h>
49609 #endif
49612 main ()
49614 log10l(0);
49616 return 0;
49618 _ACEOF
49619 if ac_fn_cxx_try_compile "$LINENO"; then :
49620 glibcxx_cv_func_log10l_use=yes
49621 else
49622 glibcxx_cv_func_log10l_use=no
49624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49625 ac_ext=c
49626 ac_cpp='$CPP $CPPFLAGS'
49627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49636 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49638 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49639 for ac_func in log10l
49640 do :
49641 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49642 if test "x$ac_cv_func_log10l" = x""yes; then :
49643 cat >>confdefs.h <<_ACEOF
49644 #define HAVE_LOG10L 1
49645 _ACEOF
49648 done
49650 else
49652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49653 $as_echo_n "checking for _log10l declaration... " >&6; }
49654 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49655 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49656 $as_echo_n "(cached) " >&6
49657 else
49660 ac_ext=cpp
49661 ac_cpp='$CXXCPP $CPPFLAGS'
49662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49667 /* end confdefs.h. */
49668 #include <math.h>
49669 #ifdef HAVE_IEEEFP_H
49670 #include <ieeefp.h>
49671 #endif
49674 main ()
49676 _log10l(0);
49678 return 0;
49680 _ACEOF
49681 if ac_fn_cxx_try_compile "$LINENO"; then :
49682 glibcxx_cv_func__log10l_use=yes
49683 else
49684 glibcxx_cv_func__log10l_use=no
49686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49687 ac_ext=c
49688 ac_cpp='$CPP $CPPFLAGS'
49689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49698 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49700 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49701 for ac_func in _log10l
49702 do :
49703 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49704 if test "x$ac_cv_func__log10l" = x""yes; then :
49705 cat >>confdefs.h <<_ACEOF
49706 #define HAVE__LOG10L 1
49707 _ACEOF
49710 done
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49720 $as_echo_n "checking for modfl declaration... " >&6; }
49721 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49722 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49723 $as_echo_n "(cached) " >&6
49724 else
49727 ac_ext=cpp
49728 ac_cpp='$CXXCPP $CPPFLAGS'
49729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734 /* end confdefs.h. */
49735 #include <math.h>
49737 main ()
49739 modfl(0, 0);
49741 return 0;
49743 _ACEOF
49744 if ac_fn_cxx_try_compile "$LINENO"; then :
49745 glibcxx_cv_func_modfl_use=yes
49746 else
49747 glibcxx_cv_func_modfl_use=no
49749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49750 ac_ext=c
49751 ac_cpp='$CPP $CPPFLAGS'
49752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49761 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49763 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49764 for ac_func in modfl
49765 do :
49766 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49767 if test "x$ac_cv_func_modfl" = x""yes; then :
49768 cat >>confdefs.h <<_ACEOF
49769 #define HAVE_MODFL 1
49770 _ACEOF
49773 done
49775 else
49777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49778 $as_echo_n "checking for _modfl declaration... " >&6; }
49779 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49780 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49781 $as_echo_n "(cached) " >&6
49782 else
49785 ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h. */
49793 #include <math.h>
49795 main ()
49797 _modfl(0, 0);
49799 return 0;
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func__modfl_use=yes
49804 else
49805 glibcxx_cv_func__modfl_use=no
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49819 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49821 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49822 for ac_func in _modfl
49823 do :
49824 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49825 if test "x$ac_cv_func__modfl" = x""yes; then :
49826 cat >>confdefs.h <<_ACEOF
49827 #define HAVE__MODFL 1
49828 _ACEOF
49831 done
49840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49841 $as_echo_n "checking for powl declaration... " >&6; }
49842 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49843 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49844 $as_echo_n "(cached) " >&6
49845 else
49848 ac_ext=cpp
49849 ac_cpp='$CXXCPP $CPPFLAGS'
49850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49855 /* end confdefs.h. */
49856 #include <math.h>
49858 main ()
49860 powl(0, 0);
49862 return 0;
49864 _ACEOF
49865 if ac_fn_cxx_try_compile "$LINENO"; then :
49866 glibcxx_cv_func_powl_use=yes
49867 else
49868 glibcxx_cv_func_powl_use=no
49870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49871 ac_ext=c
49872 ac_cpp='$CPP $CPPFLAGS'
49873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49882 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49884 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49885 for ac_func in powl
49886 do :
49887 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49888 if test "x$ac_cv_func_powl" = x""yes; then :
49889 cat >>confdefs.h <<_ACEOF
49890 #define HAVE_POWL 1
49891 _ACEOF
49894 done
49896 else
49898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49899 $as_echo_n "checking for _powl declaration... " >&6; }
49900 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49901 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49902 $as_echo_n "(cached) " >&6
49903 else
49906 ac_ext=cpp
49907 ac_cpp='$CXXCPP $CPPFLAGS'
49908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49913 /* end confdefs.h. */
49914 #include <math.h>
49916 main ()
49918 _powl(0, 0);
49920 return 0;
49922 _ACEOF
49923 if ac_fn_cxx_try_compile "$LINENO"; then :
49924 glibcxx_cv_func__powl_use=yes
49925 else
49926 glibcxx_cv_func__powl_use=no
49928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49929 ac_ext=c
49930 ac_cpp='$CPP $CPPFLAGS'
49931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49940 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49942 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49943 for ac_func in _powl
49944 do :
49945 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49946 if test "x$ac_cv_func__powl" = x""yes; then :
49947 cat >>confdefs.h <<_ACEOF
49948 #define HAVE__POWL 1
49949 _ACEOF
49952 done
49961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49962 $as_echo_n "checking for sqrtl declaration... " >&6; }
49963 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49964 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49965 $as_echo_n "(cached) " >&6
49966 else
49969 ac_ext=cpp
49970 ac_cpp='$CXXCPP $CPPFLAGS'
49971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49976 /* end confdefs.h. */
49977 #include <math.h>
49978 #ifdef HAVE_IEEEFP_H
49979 #include <ieeefp.h>
49980 #endif
49983 main ()
49985 sqrtl(0);
49987 return 0;
49989 _ACEOF
49990 if ac_fn_cxx_try_compile "$LINENO"; then :
49991 glibcxx_cv_func_sqrtl_use=yes
49992 else
49993 glibcxx_cv_func_sqrtl_use=no
49995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49996 ac_ext=c
49997 ac_cpp='$CPP $CPPFLAGS'
49998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50009 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50010 for ac_func in sqrtl
50011 do :
50012 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50013 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50014 cat >>confdefs.h <<_ACEOF
50015 #define HAVE_SQRTL 1
50016 _ACEOF
50019 done
50021 else
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50024 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50025 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50026 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50027 $as_echo_n "(cached) " >&6
50028 else
50031 ac_ext=cpp
50032 ac_cpp='$CXXCPP $CPPFLAGS'
50033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50038 /* end confdefs.h. */
50039 #include <math.h>
50040 #ifdef HAVE_IEEEFP_H
50041 #include <ieeefp.h>
50042 #endif
50045 main ()
50047 _sqrtl(0);
50049 return 0;
50051 _ACEOF
50052 if ac_fn_cxx_try_compile "$LINENO"; then :
50053 glibcxx_cv_func__sqrtl_use=yes
50054 else
50055 glibcxx_cv_func__sqrtl_use=no
50057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50058 ac_ext=c
50059 ac_cpp='$CPP $CPPFLAGS'
50060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50069 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50071 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50072 for ac_func in _sqrtl
50073 do :
50074 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50075 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50076 cat >>confdefs.h <<_ACEOF
50077 #define HAVE__SQRTL 1
50078 _ACEOF
50081 done
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50091 $as_echo_n "checking for sincosl declaration... " >&6; }
50092 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50093 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50094 $as_echo_n "(cached) " >&6
50095 else
50098 ac_ext=cpp
50099 ac_cpp='$CXXCPP $CPPFLAGS'
50100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50105 /* end confdefs.h. */
50106 #include <math.h>
50108 main ()
50110 sincosl(0, 0, 0);
50112 return 0;
50114 _ACEOF
50115 if ac_fn_cxx_try_compile "$LINENO"; then :
50116 glibcxx_cv_func_sincosl_use=yes
50117 else
50118 glibcxx_cv_func_sincosl_use=no
50120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50121 ac_ext=c
50122 ac_cpp='$CPP $CPPFLAGS'
50123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50132 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50134 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50135 for ac_func in sincosl
50136 do :
50137 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50138 if test "x$ac_cv_func_sincosl" = x""yes; then :
50139 cat >>confdefs.h <<_ACEOF
50140 #define HAVE_SINCOSL 1
50141 _ACEOF
50144 done
50146 else
50148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50149 $as_echo_n "checking for _sincosl declaration... " >&6; }
50150 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50151 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50152 $as_echo_n "(cached) " >&6
50153 else
50156 ac_ext=cpp
50157 ac_cpp='$CXXCPP $CPPFLAGS'
50158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50163 /* end confdefs.h. */
50164 #include <math.h>
50166 main ()
50168 _sincosl(0, 0, 0);
50170 return 0;
50172 _ACEOF
50173 if ac_fn_cxx_try_compile "$LINENO"; then :
50174 glibcxx_cv_func__sincosl_use=yes
50175 else
50176 glibcxx_cv_func__sincosl_use=no
50178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50179 ac_ext=c
50180 ac_cpp='$CPP $CPPFLAGS'
50181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50190 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50192 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50193 for ac_func in _sincosl
50194 do :
50195 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50196 if test "x$ac_cv_func__sincosl" = x""yes; then :
50197 cat >>confdefs.h <<_ACEOF
50198 #define HAVE__SINCOSL 1
50199 _ACEOF
50202 done
50211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50212 $as_echo_n "checking for finitel declaration... " >&6; }
50213 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50214 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50215 $as_echo_n "(cached) " >&6
50216 else
50219 ac_ext=cpp
50220 ac_cpp='$CXXCPP $CPPFLAGS'
50221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50226 /* end confdefs.h. */
50227 #include <math.h>
50228 #ifdef HAVE_IEEEFP_H
50229 #include <ieeefp.h>
50230 #endif
50233 main ()
50235 finitel(0);
50237 return 0;
50239 _ACEOF
50240 if ac_fn_cxx_try_compile "$LINENO"; then :
50241 glibcxx_cv_func_finitel_use=yes
50242 else
50243 glibcxx_cv_func_finitel_use=no
50245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50257 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50259 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50260 for ac_func in finitel
50261 do :
50262 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50263 if test "x$ac_cv_func_finitel" = x""yes; then :
50264 cat >>confdefs.h <<_ACEOF
50265 #define HAVE_FINITEL 1
50266 _ACEOF
50269 done
50271 else
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50274 $as_echo_n "checking for _finitel declaration... " >&6; }
50275 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50276 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50277 $as_echo_n "(cached) " >&6
50278 else
50281 ac_ext=cpp
50282 ac_cpp='$CXXCPP $CPPFLAGS'
50283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50288 /* end confdefs.h. */
50289 #include <math.h>
50290 #ifdef HAVE_IEEEFP_H
50291 #include <ieeefp.h>
50292 #endif
50295 main ()
50297 _finitel(0);
50299 return 0;
50301 _ACEOF
50302 if ac_fn_cxx_try_compile "$LINENO"; then :
50303 glibcxx_cv_func__finitel_use=yes
50304 else
50305 glibcxx_cv_func__finitel_use=no
50307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50308 ac_ext=c
50309 ac_cpp='$CPP $CPPFLAGS'
50310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50319 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50321 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50322 for ac_func in _finitel
50323 do :
50324 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50325 if test "x$ac_cv_func__finitel" = x""yes; then :
50326 cat >>confdefs.h <<_ACEOF
50327 #define HAVE__FINITEL 1
50328 _ACEOF
50331 done
50339 LIBS="$ac_save_LIBS"
50340 CXXFLAGS="$ac_save_CXXFLAGS"
50343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50344 ac_save_CXXFLAGS="$CXXFLAGS"
50345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50349 $as_echo_n "checking for strtold declaration... " >&6; }
50350 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50351 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <stdlib.h>
50366 main ()
50368 strtold(0, 0);
50370 return 0;
50372 _ACEOF
50373 if ac_fn_cxx_try_compile "$LINENO"; then :
50374 glibcxx_cv_func_strtold_use=yes
50375 else
50376 glibcxx_cv_func_strtold_use=no
50378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50379 ac_ext=c
50380 ac_cpp='$CPP $CPPFLAGS'
50381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50390 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50391 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50392 for ac_func in strtold
50393 do :
50394 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50395 if test "x$ac_cv_func_strtold" = x""yes; then :
50396 cat >>confdefs.h <<_ACEOF
50397 #define HAVE_STRTOLD 1
50398 _ACEOF
50401 done
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50409 $as_echo_n "checking for strtof declaration... " >&6; }
50410 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50411 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50412 $as_echo_n "(cached) " >&6
50413 else
50416 ac_ext=cpp
50417 ac_cpp='$CXXCPP $CPPFLAGS'
50418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50423 /* end confdefs.h. */
50424 #include <stdlib.h>
50426 main ()
50428 strtof(0, 0);
50430 return 0;
50432 _ACEOF
50433 if ac_fn_cxx_try_compile "$LINENO"; then :
50434 glibcxx_cv_func_strtof_use=yes
50435 else
50436 glibcxx_cv_func_strtof_use=no
50438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50439 ac_ext=c
50440 ac_cpp='$CPP $CPPFLAGS'
50441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50450 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50451 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50452 for ac_func in strtof
50453 do :
50454 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50455 if test "x$ac_cv_func_strtof" = x""yes; then :
50456 cat >>confdefs.h <<_ACEOF
50457 #define HAVE_STRTOF 1
50458 _ACEOF
50461 done
50468 CXXFLAGS="$ac_save_CXXFLAGS"
50470 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50474 # Check whether --enable-tls was given.
50475 if test "${enable_tls+set}" = set; then :
50476 enableval=$enable_tls;
50477 case "$enableval" in
50478 yes|no) ;;
50479 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50480 esac
50482 else
50483 enable_tls=yes
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50488 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50489 if test "${gcc_cv_have_tls+set}" = set; then :
50490 $as_echo_n "(cached) " >&6
50491 else
50493 if test "$cross_compiling" = yes; then :
50494 if test x$gcc_no_link = xyes; then
50495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h. */
50499 __thread int a; int b; int main() { return a = b; }
50500 _ACEOF
50501 if ac_fn_c_try_link "$LINENO"; then :
50502 chktls_save_LDFLAGS="$LDFLAGS"
50503 case $host in
50504 *-*-linux*)
50505 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50507 esac
50508 chktls_save_CFLAGS="$CFLAGS"
50509 CFLAGS="-fPIC $CFLAGS"
50510 if test x$gcc_no_link = xyes; then
50511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 int f() { return 0; }
50516 _ACEOF
50517 if ac_fn_c_try_link "$LINENO"; then :
50518 if test x$gcc_no_link = xyes; then
50519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h. */
50523 __thread int a; int b; int f() { return a = b; }
50524 _ACEOF
50525 if ac_fn_c_try_link "$LINENO"; then :
50526 gcc_cv_have_tls=yes
50527 else
50528 gcc_cv_have_tls=no
50530 rm -f core conftest.err conftest.$ac_objext \
50531 conftest$ac_exeext conftest.$ac_ext
50532 else
50533 gcc_cv_have_tls=yes
50535 rm -f core conftest.err conftest.$ac_objext \
50536 conftest$ac_exeext conftest.$ac_ext
50537 CFLAGS="$chktls_save_CFLAGS"
50538 LDFLAGS="$chktls_save_LDFLAGS"
50539 else
50540 gcc_cv_have_tls=no
50542 rm -f core conftest.err conftest.$ac_objext \
50543 conftest$ac_exeext conftest.$ac_ext
50546 else
50547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50548 /* end confdefs.h. */
50549 __thread int a; int b; int main() { return a = b; }
50550 _ACEOF
50551 if ac_fn_c_try_run "$LINENO"; then :
50552 chktls_save_LDFLAGS="$LDFLAGS"
50553 LDFLAGS="-static $LDFLAGS"
50554 if test x$gcc_no_link = xyes; then
50555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50558 /* end confdefs.h. */
50559 int main() { return 0; }
50560 _ACEOF
50561 if ac_fn_c_try_link "$LINENO"; then :
50562 if test "$cross_compiling" = yes; then :
50563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50565 as_fn_error "cannot run test program while cross compiling
50566 See \`config.log' for more details." "$LINENO" 5; }
50567 else
50568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50569 /* end confdefs.h. */
50570 __thread int a; int b; int main() { return a = b; }
50571 _ACEOF
50572 if ac_fn_c_try_run "$LINENO"; then :
50573 gcc_cv_have_tls=yes
50574 else
50575 gcc_cv_have_tls=no
50577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50578 conftest.$ac_objext conftest.beam conftest.$ac_ext
50581 else
50582 gcc_cv_have_tls=yes
50584 rm -f core conftest.err conftest.$ac_objext \
50585 conftest$ac_exeext conftest.$ac_ext
50586 LDFLAGS="$chktls_save_LDFLAGS"
50587 if test $gcc_cv_have_tls = yes; then
50588 chktls_save_CFLAGS="$CFLAGS"
50589 thread_CFLAGS=failed
50590 for flag in '' '-pthread' '-lpthread'; do
50591 CFLAGS="$flag $chktls_save_CFLAGS"
50592 if test x$gcc_no_link = xyes; then
50593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h. */
50597 #include <pthread.h>
50598 void *g(void *d) { return NULL; }
50600 main ()
50602 pthread_t t; pthread_create(&t,NULL,g,NULL);
50604 return 0;
50606 _ACEOF
50607 if ac_fn_c_try_link "$LINENO"; then :
50608 thread_CFLAGS="$flag"
50610 rm -f core conftest.err conftest.$ac_objext \
50611 conftest$ac_exeext conftest.$ac_ext
50612 if test "X$thread_CFLAGS" != Xfailed; then
50613 break
50615 done
50616 CFLAGS="$chktls_save_CFLAGS"
50617 if test "X$thread_CFLAGS" != Xfailed; then
50618 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50619 if test "$cross_compiling" = yes; then :
50620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50622 as_fn_error "cannot run test program while cross compiling
50623 See \`config.log' for more details." "$LINENO" 5; }
50624 else
50625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50626 /* end confdefs.h. */
50627 #include <pthread.h>
50628 __thread int a;
50629 static int *volatile a_in_other_thread;
50630 static void *
50631 thread_func (void *arg)
50633 a_in_other_thread = &a;
50634 return (void *)0;
50637 main ()
50639 pthread_t thread;
50640 void *thread_retval;
50641 int *volatile a_in_main_thread;
50642 a_in_main_thread = &a;
50643 if (pthread_create (&thread, (pthread_attr_t *)0,
50644 thread_func, (void *)0))
50645 return 0;
50646 if (pthread_join (thread, &thread_retval))
50647 return 0;
50648 return (a_in_other_thread == a_in_main_thread);
50650 return 0;
50652 _ACEOF
50653 if ac_fn_c_try_run "$LINENO"; then :
50654 gcc_cv_have_tls=yes
50655 else
50656 gcc_cv_have_tls=no
50658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50659 conftest.$ac_objext conftest.beam conftest.$ac_ext
50662 CFLAGS="$chktls_save_CFLAGS"
50665 else
50666 gcc_cv_have_tls=no
50668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50669 conftest.$ac_objext conftest.beam conftest.$ac_ext
50673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50674 $as_echo "$gcc_cv_have_tls" >&6; }
50675 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50677 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50685 am_save_CPPFLAGS="$CPPFLAGS"
50687 for element in $INCICONV; do
50688 haveit=
50689 for x in $CPPFLAGS; do
50691 acl_save_prefix="$prefix"
50692 prefix="$acl_final_prefix"
50693 acl_save_exec_prefix="$exec_prefix"
50694 exec_prefix="$acl_final_exec_prefix"
50695 eval x=\"$x\"
50696 exec_prefix="$acl_save_exec_prefix"
50697 prefix="$acl_save_prefix"
50699 if test "X$x" = "X$element"; then
50700 haveit=yes
50701 break
50703 done
50704 if test -z "$haveit"; then
50705 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50707 done
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50711 $as_echo_n "checking for iconv... " >&6; }
50712 if test "${am_cv_func_iconv+set}" = set; then :
50713 $as_echo_n "(cached) " >&6
50714 else
50716 am_cv_func_iconv="no, consider installing GNU libiconv"
50717 am_cv_lib_iconv=no
50718 if test x$gcc_no_link = xyes; then
50719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50722 /* end confdefs.h. */
50723 #include <stdlib.h>
50724 #include <iconv.h>
50726 main ()
50728 iconv_t cd = iconv_open("","");
50729 iconv(cd,NULL,NULL,NULL,NULL);
50730 iconv_close(cd);
50732 return 0;
50734 _ACEOF
50735 if ac_fn_c_try_link "$LINENO"; then :
50736 am_cv_func_iconv=yes
50738 rm -f core conftest.err conftest.$ac_objext \
50739 conftest$ac_exeext conftest.$ac_ext
50740 if test "$am_cv_func_iconv" != yes; then
50741 am_save_LIBS="$LIBS"
50742 LIBS="$LIBS $LIBICONV"
50743 if test x$gcc_no_link = xyes; then
50744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50747 /* end confdefs.h. */
50748 #include <stdlib.h>
50749 #include <iconv.h>
50751 main ()
50753 iconv_t cd = iconv_open("","");
50754 iconv(cd,NULL,NULL,NULL,NULL);
50755 iconv_close(cd);
50757 return 0;
50759 _ACEOF
50760 if ac_fn_c_try_link "$LINENO"; then :
50761 am_cv_lib_iconv=yes
50762 am_cv_func_iconv=yes
50764 rm -f core conftest.err conftest.$ac_objext \
50765 conftest$ac_exeext conftest.$ac_ext
50766 LIBS="$am_save_LIBS"
50770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50771 $as_echo "$am_cv_func_iconv" >&6; }
50772 if test "$am_cv_func_iconv" = yes; then
50774 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50777 if test "$am_cv_lib_iconv" = yes; then
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50779 $as_echo_n "checking how to link with libiconv... " >&6; }
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50781 $as_echo "$LIBICONV" >&6; }
50782 else
50783 CPPFLAGS="$am_save_CPPFLAGS"
50784 LIBICONV=
50785 LTLIBICONV=
50790 if test "$am_cv_func_iconv" = yes; then
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50792 $as_echo_n "checking for iconv declaration... " >&6; }
50793 if test "${am_cv_proto_iconv+set}" = set; then :
50794 $as_echo_n "(cached) " >&6
50795 else
50797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50798 /* end confdefs.h. */
50800 #include <stdlib.h>
50801 #include <iconv.h>
50802 extern
50803 #ifdef __cplusplus
50805 #endif
50806 #if defined(__STDC__) || defined(__cplusplus)
50807 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50808 #else
50809 size_t iconv();
50810 #endif
50813 main ()
50817 return 0;
50819 _ACEOF
50820 if ac_fn_c_try_compile "$LINENO"; then :
50821 am_cv_proto_iconv_arg1=""
50822 else
50823 am_cv_proto_iconv_arg1="const"
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826 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);"
50829 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50831 }$am_cv_proto_iconv" >&5
50832 $as_echo "${ac_t:-
50833 }$am_cv_proto_iconv" >&6; }
50835 cat >>confdefs.h <<_ACEOF
50836 #define ICONV_CONST $am_cv_proto_iconv_arg1
50837 _ACEOF
50842 *-mingw32*)
50844 # If we're not using GNU ld, then there's no point in even trying these
50845 # tests. Check for that first. We should have already tested for gld
50846 # by now (in libtool), but require it now just to be safe...
50847 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50848 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50852 # The name set by libtool depends on the version of libtool. Shame on us
50853 # for depending on an impl detail, but c'est la vie. Older versions used
50854 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50855 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50856 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50857 # set (hence we're using an older libtool), then set it.
50858 if test x${with_gnu_ld+set} != xset; then
50859 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50860 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50861 with_gnu_ld=no
50862 else
50863 with_gnu_ld=$ac_cv_prog_gnu_ld
50867 # Start by getting the version number. I think the libtool test already
50868 # does some of this, but throws away the result.
50869 glibcxx_ld_is_gold=no
50870 if test x"$with_gnu_ld" = x"yes"; then
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50872 $as_echo_n "checking for ld version... " >&6; }
50874 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50875 glibcxx_ld_is_gold=yes
50877 ldver=`$LD --version 2>/dev/null |
50878 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'`
50880 glibcxx_gnu_ld_version=`echo $ldver | \
50881 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50883 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50886 # Set --gc-sections.
50887 glibcxx_have_gc_sections=no
50888 if test "$glibcxx_ld_is_gold" = "yes"; then
50889 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50890 glibcxx_have_gc_sections=yes
50892 else
50893 glibcxx_gcsections_min_ld=21602
50894 if test x"$with_gnu_ld" = x"yes" &&
50895 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50896 glibcxx_have_gc_sections=yes
50899 if test "$glibcxx_have_gc_sections" = "yes"; then
50900 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50901 # NB: This flag only works reliably after 2.16.1. Configure tests
50902 # for this are difficult, so hard wire a value that should work.
50904 ac_test_CFLAGS="${CFLAGS+set}"
50905 ac_save_CFLAGS="$CFLAGS"
50906 CFLAGS='-Wl,--gc-sections'
50908 # Check for -Wl,--gc-sections
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50910 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50911 if test x$gcc_no_link = xyes; then
50912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50915 /* end confdefs.h. */
50916 int one(void) { return 1; }
50917 int two(void) { return 2; }
50920 main ()
50922 two();
50924 return 0;
50926 _ACEOF
50927 if ac_fn_c_try_link "$LINENO"; then :
50928 ac_gcsections=yes
50929 else
50930 ac_gcsections=no
50932 rm -f core conftest.err conftest.$ac_objext \
50933 conftest$ac_exeext conftest.$ac_ext
50934 if test "$ac_gcsections" = "yes"; then
50935 rm -f conftest.c
50936 touch conftest.c
50937 if $CC -c conftest.c; then
50938 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50939 grep "Warning: gc-sections option ignored" > /dev/null; then
50940 ac_gcsections=no
50943 rm -f conftest.c conftest.o conftest
50945 if test "$ac_gcsections" = "yes"; then
50946 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50949 $as_echo "$ac_gcsections" >&6; }
50951 if test "$ac_test_CFLAGS" = set; then
50952 CFLAGS="$ac_save_CFLAGS"
50953 else
50954 # this is the suspicious part
50955 CFLAGS=''
50959 # Set -z,relro.
50960 # Note this is only for shared objects.
50961 ac_ld_relro=no
50962 if test x"$with_gnu_ld" = x"yes"; then
50963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50964 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50965 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50966 if test -n "$cxx_z_relo"; then
50967 OPT_LDFLAGS="-Wl,-z,relro"
50968 ac_ld_relro=yes
50970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50971 $as_echo "$ac_ld_relro" >&6; }
50974 # Set linker optimization flags.
50975 if test x"$with_gnu_ld" = x"yes"; then
50976 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50984 ac_save_CXXFLAGS="$CXXFLAGS"
50985 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50988 $as_echo_n "checking for sin in -lm... " >&6; }
50989 if test "${ac_cv_lib_m_sin+set}" = set; then :
50990 $as_echo_n "(cached) " >&6
50991 else
50992 ac_check_lib_save_LIBS=$LIBS
50993 LIBS="-lm $LIBS"
50994 if test x$gcc_no_link = xyes; then
50995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50998 /* end confdefs.h. */
51000 /* Override any GCC internal prototype to avoid an error.
51001 Use char because int might match the return type of a GCC
51002 builtin and then its argument prototype would still apply. */
51003 #ifdef __cplusplus
51004 extern "C"
51005 #endif
51006 char sin ();
51008 main ()
51010 return sin ();
51012 return 0;
51014 _ACEOF
51015 if ac_fn_c_try_link "$LINENO"; then :
51016 ac_cv_lib_m_sin=yes
51017 else
51018 ac_cv_lib_m_sin=no
51020 rm -f core conftest.err conftest.$ac_objext \
51021 conftest$ac_exeext conftest.$ac_ext
51022 LIBS=$ac_check_lib_save_LIBS
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51025 $as_echo "$ac_cv_lib_m_sin" >&6; }
51026 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51027 libm="-lm"
51030 ac_save_LIBS="$LIBS"
51031 LIBS="$LIBS $libm"
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51036 $as_echo_n "checking for isinf declaration... " >&6; }
51037 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51038 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51039 $as_echo_n "(cached) " >&6
51040 else
51043 ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51051 #include <math.h>
51052 #ifdef HAVE_IEEEFP_H
51053 #include <ieeefp.h>
51054 #endif
51057 main ()
51059 isinf(0);
51061 return 0;
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func_isinf_use=yes
51066 else
51067 glibcxx_cv_func_isinf_use=no
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51081 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51083 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51084 for ac_func in isinf
51085 do :
51086 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51087 if test "x$ac_cv_func_isinf" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE_ISINF 1
51090 _ACEOF
51093 done
51095 else
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51098 $as_echo_n "checking for _isinf declaration... " >&6; }
51099 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51100 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51101 $as_echo_n "(cached) " >&6
51102 else
51105 ac_ext=cpp
51106 ac_cpp='$CXXCPP $CPPFLAGS'
51107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51112 /* end confdefs.h. */
51113 #include <math.h>
51114 #ifdef HAVE_IEEEFP_H
51115 #include <ieeefp.h>
51116 #endif
51119 main ()
51121 _isinf(0);
51123 return 0;
51125 _ACEOF
51126 if ac_fn_cxx_try_compile "$LINENO"; then :
51127 glibcxx_cv_func__isinf_use=yes
51128 else
51129 glibcxx_cv_func__isinf_use=no
51131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51132 ac_ext=c
51133 ac_cpp='$CPP $CPPFLAGS'
51134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51143 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51145 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51146 for ac_func in _isinf
51147 do :
51148 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51149 if test "x$ac_cv_func__isinf" = x""yes; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define HAVE__ISINF 1
51152 _ACEOF
51155 done
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51165 $as_echo_n "checking for isnan declaration... " >&6; }
51166 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51167 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51168 $as_echo_n "(cached) " >&6
51169 else
51172 ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h. */
51180 #include <math.h>
51181 #ifdef HAVE_IEEEFP_H
51182 #include <ieeefp.h>
51183 #endif
51186 main ()
51188 isnan(0);
51190 return 0;
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func_isnan_use=yes
51195 else
51196 glibcxx_cv_func_isnan_use=no
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51210 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51212 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51213 for ac_func in isnan
51214 do :
51215 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51216 if test "x$ac_cv_func_isnan" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE_ISNAN 1
51219 _ACEOF
51222 done
51224 else
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51227 $as_echo_n "checking for _isnan declaration... " >&6; }
51228 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51229 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51230 $as_echo_n "(cached) " >&6
51231 else
51234 ac_ext=cpp
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51241 /* end confdefs.h. */
51242 #include <math.h>
51243 #ifdef HAVE_IEEEFP_H
51244 #include <ieeefp.h>
51245 #endif
51248 main ()
51250 _isnan(0);
51252 return 0;
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func__isnan_use=yes
51257 else
51258 glibcxx_cv_func__isnan_use=no
51260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51261 ac_ext=c
51262 ac_cpp='$CPP $CPPFLAGS'
51263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51272 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51274 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51275 for ac_func in _isnan
51276 do :
51277 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51278 if test "x$ac_cv_func__isnan" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE__ISNAN 1
51281 _ACEOF
51284 done
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51294 $as_echo_n "checking for finite declaration... " >&6; }
51295 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51296 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51297 $as_echo_n "(cached) " >&6
51298 else
51301 ac_ext=cpp
51302 ac_cpp='$CXXCPP $CPPFLAGS'
51303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51309 #include <math.h>
51310 #ifdef HAVE_IEEEFP_H
51311 #include <ieeefp.h>
51312 #endif
51315 main ()
51317 finite(0);
51319 return 0;
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func_finite_use=yes
51324 else
51325 glibcxx_cv_func_finite_use=no
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51339 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51341 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51342 for ac_func in finite
51343 do :
51344 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51345 if test "x$ac_cv_func_finite" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE_FINITE 1
51348 _ACEOF
51351 done
51353 else
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51356 $as_echo_n "checking for _finite declaration... " >&6; }
51357 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51358 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51372 #ifdef HAVE_IEEEFP_H
51373 #include <ieeefp.h>
51374 #endif
51377 main ()
51379 _finite(0);
51381 return 0;
51383 _ACEOF
51384 if ac_fn_cxx_try_compile "$LINENO"; then :
51385 glibcxx_cv_func__finite_use=yes
51386 else
51387 glibcxx_cv_func__finite_use=no
51389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51390 ac_ext=c
51391 ac_cpp='$CPP $CPPFLAGS'
51392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51401 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51403 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51404 for ac_func in _finite
51405 do :
51406 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51407 if test "x$ac_cv_func__finite" = x""yes; then :
51408 cat >>confdefs.h <<_ACEOF
51409 #define HAVE__FINITE 1
51410 _ACEOF
51413 done
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51423 $as_echo_n "checking for sincos declaration... " >&6; }
51424 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51425 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51440 main ()
51442 sincos(0, 0, 0);
51444 return 0;
51446 _ACEOF
51447 if ac_fn_cxx_try_compile "$LINENO"; then :
51448 glibcxx_cv_func_sincos_use=yes
51449 else
51450 glibcxx_cv_func_sincos_use=no
51452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51464 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51466 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51467 for ac_func in sincos
51468 do :
51469 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51470 if test "x$ac_cv_func_sincos" = x""yes; then :
51471 cat >>confdefs.h <<_ACEOF
51472 #define HAVE_SINCOS 1
51473 _ACEOF
51476 done
51478 else
51480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51481 $as_echo_n "checking for _sincos declaration... " >&6; }
51482 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51483 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51484 $as_echo_n "(cached) " >&6
51485 else
51488 ac_ext=cpp
51489 ac_cpp='$CXXCPP $CPPFLAGS'
51490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51495 /* end confdefs.h. */
51496 #include <math.h>
51498 main ()
51500 _sincos(0, 0, 0);
51502 return 0;
51504 _ACEOF
51505 if ac_fn_cxx_try_compile "$LINENO"; then :
51506 glibcxx_cv_func__sincos_use=yes
51507 else
51508 glibcxx_cv_func__sincos_use=no
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51511 ac_ext=c
51512 ac_cpp='$CPP $CPPFLAGS'
51513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51522 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51524 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51525 for ac_func in _sincos
51526 do :
51527 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51528 if test "x$ac_cv_func__sincos" = x""yes; then :
51529 cat >>confdefs.h <<_ACEOF
51530 #define HAVE__SINCOS 1
51531 _ACEOF
51534 done
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51544 $as_echo_n "checking for fpclass declaration... " >&6; }
51545 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51546 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51547 $as_echo_n "(cached) " >&6
51548 else
51551 ac_ext=cpp
51552 ac_cpp='$CXXCPP $CPPFLAGS'
51553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51558 /* end confdefs.h. */
51559 #include <math.h>
51560 #ifdef HAVE_IEEEFP_H
51561 #include <ieeefp.h>
51562 #endif
51565 main ()
51567 fpclass(0);
51569 return 0;
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func_fpclass_use=yes
51574 else
51575 glibcxx_cv_func_fpclass_use=no
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51589 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51591 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51592 for ac_func in fpclass
51593 do :
51594 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51595 if test "x$ac_cv_func_fpclass" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE_FPCLASS 1
51598 _ACEOF
51601 done
51603 else
51605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51606 $as_echo_n "checking for _fpclass declaration... " >&6; }
51607 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51608 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51609 $as_echo_n "(cached) " >&6
51610 else
51613 ac_ext=cpp
51614 ac_cpp='$CXXCPP $CPPFLAGS'
51615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51620 /* end confdefs.h. */
51621 #include <math.h>
51622 #ifdef HAVE_IEEEFP_H
51623 #include <ieeefp.h>
51624 #endif
51627 main ()
51629 _fpclass(0);
51631 return 0;
51633 _ACEOF
51634 if ac_fn_cxx_try_compile "$LINENO"; then :
51635 glibcxx_cv_func__fpclass_use=yes
51636 else
51637 glibcxx_cv_func__fpclass_use=no
51639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51640 ac_ext=c
51641 ac_cpp='$CPP $CPPFLAGS'
51642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51651 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51653 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51654 for ac_func in _fpclass
51655 do :
51656 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51657 if test "x$ac_cv_func__fpclass" = x""yes; then :
51658 cat >>confdefs.h <<_ACEOF
51659 #define HAVE__FPCLASS 1
51660 _ACEOF
51663 done
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51673 $as_echo_n "checking for qfpclass declaration... " >&6; }
51674 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51675 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51676 $as_echo_n "(cached) " >&6
51677 else
51680 ac_ext=cpp
51681 ac_cpp='$CXXCPP $CPPFLAGS'
51682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51687 /* end confdefs.h. */
51688 #include <math.h>
51689 #ifdef HAVE_IEEEFP_H
51690 #include <ieeefp.h>
51691 #endif
51694 main ()
51696 qfpclass(0);
51698 return 0;
51700 _ACEOF
51701 if ac_fn_cxx_try_compile "$LINENO"; then :
51702 glibcxx_cv_func_qfpclass_use=yes
51703 else
51704 glibcxx_cv_func_qfpclass_use=no
51706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51707 ac_ext=c
51708 ac_cpp='$CPP $CPPFLAGS'
51709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51718 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51720 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51721 for ac_func in qfpclass
51722 do :
51723 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51724 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51725 cat >>confdefs.h <<_ACEOF
51726 #define HAVE_QFPCLASS 1
51727 _ACEOF
51730 done
51732 else
51734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51735 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51736 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51737 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51738 $as_echo_n "(cached) " >&6
51739 else
51742 ac_ext=cpp
51743 ac_cpp='$CXXCPP $CPPFLAGS'
51744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51749 /* end confdefs.h. */
51750 #include <math.h>
51751 #ifdef HAVE_IEEEFP_H
51752 #include <ieeefp.h>
51753 #endif
51756 main ()
51758 _qfpclass(0);
51760 return 0;
51762 _ACEOF
51763 if ac_fn_cxx_try_compile "$LINENO"; then :
51764 glibcxx_cv_func__qfpclass_use=yes
51765 else
51766 glibcxx_cv_func__qfpclass_use=no
51768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51769 ac_ext=c
51770 ac_cpp='$CPP $CPPFLAGS'
51771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51780 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51782 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51783 for ac_func in _qfpclass
51784 do :
51785 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51786 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51787 cat >>confdefs.h <<_ACEOF
51788 #define HAVE__QFPCLASS 1
51789 _ACEOF
51792 done
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51802 $as_echo_n "checking for hypot declaration... " >&6; }
51803 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51804 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51805 $as_echo_n "(cached) " >&6
51806 else
51809 ac_ext=cpp
51810 ac_cpp='$CXXCPP $CPPFLAGS'
51811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51816 /* end confdefs.h. */
51817 #include <math.h>
51819 main ()
51821 hypot(0, 0);
51823 return 0;
51825 _ACEOF
51826 if ac_fn_cxx_try_compile "$LINENO"; then :
51827 glibcxx_cv_func_hypot_use=yes
51828 else
51829 glibcxx_cv_func_hypot_use=no
51831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51832 ac_ext=c
51833 ac_cpp='$CPP $CPPFLAGS'
51834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51843 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51845 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51846 for ac_func in hypot
51847 do :
51848 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51849 if test "x$ac_cv_func_hypot" = x""yes; then :
51850 cat >>confdefs.h <<_ACEOF
51851 #define HAVE_HYPOT 1
51852 _ACEOF
51855 done
51857 else
51859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51860 $as_echo_n "checking for _hypot declaration... " >&6; }
51861 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51862 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51863 $as_echo_n "(cached) " >&6
51864 else
51867 ac_ext=cpp
51868 ac_cpp='$CXXCPP $CPPFLAGS'
51869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51874 /* end confdefs.h. */
51875 #include <math.h>
51877 main ()
51879 _hypot(0, 0);
51881 return 0;
51883 _ACEOF
51884 if ac_fn_cxx_try_compile "$LINENO"; then :
51885 glibcxx_cv_func__hypot_use=yes
51886 else
51887 glibcxx_cv_func__hypot_use=no
51889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51890 ac_ext=c
51891 ac_cpp='$CPP $CPPFLAGS'
51892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51901 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51903 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51904 for ac_func in _hypot
51905 do :
51906 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51907 if test "x$ac_cv_func__hypot" = x""yes; then :
51908 cat >>confdefs.h <<_ACEOF
51909 #define HAVE__HYPOT 1
51910 _ACEOF
51913 done
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51923 $as_echo_n "checking for float trig functions... " >&6; }
51924 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51926 else
51929 ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51937 #include <math.h>
51939 main ()
51941 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51943 return 0;
51945 _ACEOF
51946 if ac_fn_cxx_try_compile "$LINENO"; then :
51947 glibcxx_cv_func_float_trig_use=yes
51948 else
51949 glibcxx_cv_func_float_trig_use=no
51951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51952 ac_ext=c
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51961 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51962 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51963 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51964 do :
51965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51967 eval as_val=\$$as_ac_var
51968 if test "x$as_val" = x""yes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51971 _ACEOF
51974 done
51976 else
51977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51978 $as_echo_n "checking for _float trig functions... " >&6; }
51979 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51980 $as_echo_n "(cached) " >&6
51981 else
51984 ac_ext=cpp
51985 ac_cpp='$CXXCPP $CPPFLAGS'
51986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51991 /* end confdefs.h. */
51992 #include <math.h>
51994 main ()
51996 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51998 return 0;
52000 _ACEOF
52001 if ac_fn_cxx_try_compile "$LINENO"; then :
52002 glibcxx_cv_func__float_trig_use=yes
52003 else
52004 glibcxx_cv_func__float_trig_use=no
52006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52007 ac_ext=c
52008 ac_cpp='$CPP $CPPFLAGS'
52009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52016 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52017 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52018 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52019 do :
52020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52022 eval as_val=\$$as_ac_var
52023 if test "x$as_val" = x""yes; then :
52024 cat >>confdefs.h <<_ACEOF
52025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52026 _ACEOF
52029 done
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52039 $as_echo_n "checking for float round functions... " >&6; }
52040 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52041 $as_echo_n "(cached) " >&6
52042 else
52045 ac_ext=cpp
52046 ac_cpp='$CXXCPP $CPPFLAGS'
52047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52052 /* end confdefs.h. */
52053 #include <math.h>
52055 main ()
52057 ceilf (0); floorf (0);
52059 return 0;
52061 _ACEOF
52062 if ac_fn_cxx_try_compile "$LINENO"; then :
52063 glibcxx_cv_func_float_round_use=yes
52064 else
52065 glibcxx_cv_func_float_round_use=no
52067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52068 ac_ext=c
52069 ac_cpp='$CPP $CPPFLAGS'
52070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52077 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52078 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52079 for ac_func in ceilf floorf
52080 do :
52081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52083 eval as_val=\$$as_ac_var
52084 if test "x$as_val" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52087 _ACEOF
52090 done
52092 else
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52094 $as_echo_n "checking for _float round functions... " >&6; }
52095 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52096 $as_echo_n "(cached) " >&6
52097 else
52100 ac_ext=cpp
52101 ac_cpp='$CXXCPP $CPPFLAGS'
52102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52107 /* end confdefs.h. */
52108 #include <math.h>
52110 main ()
52112 _ceilf (0); _floorf (0);
52114 return 0;
52116 _ACEOF
52117 if ac_fn_cxx_try_compile "$LINENO"; then :
52118 glibcxx_cv_func__float_round_use=yes
52119 else
52120 glibcxx_cv_func__float_round_use=no
52122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52123 ac_ext=c
52124 ac_cpp='$CPP $CPPFLAGS'
52125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52132 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52133 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52134 for ac_func in _ceilf _floorf
52135 do :
52136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52138 eval as_val=\$$as_ac_var
52139 if test "x$as_val" = x""yes; then :
52140 cat >>confdefs.h <<_ACEOF
52141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52142 _ACEOF
52145 done
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52156 $as_echo_n "checking for expf declaration... " >&6; }
52157 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52158 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52159 $as_echo_n "(cached) " >&6
52160 else
52163 ac_ext=cpp
52164 ac_cpp='$CXXCPP $CPPFLAGS'
52165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170 /* end confdefs.h. */
52171 #include <math.h>
52172 #ifdef HAVE_IEEEFP_H
52173 #include <ieeefp.h>
52174 #endif
52177 main ()
52179 expf(0);
52181 return 0;
52183 _ACEOF
52184 if ac_fn_cxx_try_compile "$LINENO"; then :
52185 glibcxx_cv_func_expf_use=yes
52186 else
52187 glibcxx_cv_func_expf_use=no
52189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52190 ac_ext=c
52191 ac_cpp='$CPP $CPPFLAGS'
52192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52201 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52203 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52204 for ac_func in expf
52205 do :
52206 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52207 if test "x$ac_cv_func_expf" = x""yes; then :
52208 cat >>confdefs.h <<_ACEOF
52209 #define HAVE_EXPF 1
52210 _ACEOF
52213 done
52215 else
52217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52218 $as_echo_n "checking for _expf declaration... " >&6; }
52219 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52220 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52221 $as_echo_n "(cached) " >&6
52222 else
52225 ac_ext=cpp
52226 ac_cpp='$CXXCPP $CPPFLAGS'
52227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52232 /* end confdefs.h. */
52233 #include <math.h>
52234 #ifdef HAVE_IEEEFP_H
52235 #include <ieeefp.h>
52236 #endif
52239 main ()
52241 _expf(0);
52243 return 0;
52245 _ACEOF
52246 if ac_fn_cxx_try_compile "$LINENO"; then :
52247 glibcxx_cv_func__expf_use=yes
52248 else
52249 glibcxx_cv_func__expf_use=no
52251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52252 ac_ext=c
52253 ac_cpp='$CPP $CPPFLAGS'
52254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52263 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52265 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52266 for ac_func in _expf
52267 do :
52268 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52269 if test "x$ac_cv_func__expf" = x""yes; then :
52270 cat >>confdefs.h <<_ACEOF
52271 #define HAVE__EXPF 1
52272 _ACEOF
52275 done
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52285 $as_echo_n "checking for isnanf declaration... " >&6; }
52286 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52287 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52288 $as_echo_n "(cached) " >&6
52289 else
52292 ac_ext=cpp
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52299 /* end confdefs.h. */
52300 #include <math.h>
52301 #ifdef HAVE_IEEEFP_H
52302 #include <ieeefp.h>
52303 #endif
52306 main ()
52308 isnanf(0);
52310 return 0;
52312 _ACEOF
52313 if ac_fn_cxx_try_compile "$LINENO"; then :
52314 glibcxx_cv_func_isnanf_use=yes
52315 else
52316 glibcxx_cv_func_isnanf_use=no
52318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52319 ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52330 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52332 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52333 for ac_func in isnanf
52334 do :
52335 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52336 if test "x$ac_cv_func_isnanf" = x""yes; then :
52337 cat >>confdefs.h <<_ACEOF
52338 #define HAVE_ISNANF 1
52339 _ACEOF
52342 done
52344 else
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52347 $as_echo_n "checking for _isnanf declaration... " >&6; }
52348 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52349 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52350 $as_echo_n "(cached) " >&6
52351 else
52354 ac_ext=cpp
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 #include <math.h>
52363 #ifdef HAVE_IEEEFP_H
52364 #include <ieeefp.h>
52365 #endif
52368 main ()
52370 _isnanf(0);
52372 return 0;
52374 _ACEOF
52375 if ac_fn_cxx_try_compile "$LINENO"; then :
52376 glibcxx_cv_func__isnanf_use=yes
52377 else
52378 glibcxx_cv_func__isnanf_use=no
52380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52381 ac_ext=c
52382 ac_cpp='$CPP $CPPFLAGS'
52383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52392 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52394 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52395 for ac_func in _isnanf
52396 do :
52397 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52398 if test "x$ac_cv_func__isnanf" = x""yes; then :
52399 cat >>confdefs.h <<_ACEOF
52400 #define HAVE__ISNANF 1
52401 _ACEOF
52404 done
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52414 $as_echo_n "checking for isinff declaration... " >&6; }
52415 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52416 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52417 $as_echo_n "(cached) " >&6
52418 else
52421 ac_ext=cpp
52422 ac_cpp='$CXXCPP $CPPFLAGS'
52423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52428 /* end confdefs.h. */
52429 #include <math.h>
52430 #ifdef HAVE_IEEEFP_H
52431 #include <ieeefp.h>
52432 #endif
52435 main ()
52437 isinff(0);
52439 return 0;
52441 _ACEOF
52442 if ac_fn_cxx_try_compile "$LINENO"; then :
52443 glibcxx_cv_func_isinff_use=yes
52444 else
52445 glibcxx_cv_func_isinff_use=no
52447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52459 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52461 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52462 for ac_func in isinff
52463 do :
52464 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52465 if test "x$ac_cv_func_isinff" = x""yes; then :
52466 cat >>confdefs.h <<_ACEOF
52467 #define HAVE_ISINFF 1
52468 _ACEOF
52471 done
52473 else
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52476 $as_echo_n "checking for _isinff declaration... " >&6; }
52477 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52478 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52479 $as_echo_n "(cached) " >&6
52480 else
52483 ac_ext=cpp
52484 ac_cpp='$CXXCPP $CPPFLAGS'
52485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490 /* end confdefs.h. */
52491 #include <math.h>
52492 #ifdef HAVE_IEEEFP_H
52493 #include <ieeefp.h>
52494 #endif
52497 main ()
52499 _isinff(0);
52501 return 0;
52503 _ACEOF
52504 if ac_fn_cxx_try_compile "$LINENO"; then :
52505 glibcxx_cv_func__isinff_use=yes
52506 else
52507 glibcxx_cv_func__isinff_use=no
52509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52510 ac_ext=c
52511 ac_cpp='$CPP $CPPFLAGS'
52512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52521 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52523 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52524 for ac_func in _isinff
52525 do :
52526 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52527 if test "x$ac_cv_func__isinff" = x""yes; then :
52528 cat >>confdefs.h <<_ACEOF
52529 #define HAVE__ISINFF 1
52530 _ACEOF
52533 done
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52543 $as_echo_n "checking for atan2f declaration... " >&6; }
52544 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52545 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52546 $as_echo_n "(cached) " >&6
52547 else
52550 ac_ext=cpp
52551 ac_cpp='$CXXCPP $CPPFLAGS'
52552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h. */
52558 #include <math.h>
52560 main ()
52562 atan2f(0, 0);
52564 return 0;
52566 _ACEOF
52567 if ac_fn_cxx_try_compile "$LINENO"; then :
52568 glibcxx_cv_func_atan2f_use=yes
52569 else
52570 glibcxx_cv_func_atan2f_use=no
52572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52573 ac_ext=c
52574 ac_cpp='$CPP $CPPFLAGS'
52575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52584 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52586 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52587 for ac_func in atan2f
52588 do :
52589 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52590 if test "x$ac_cv_func_atan2f" = x""yes; then :
52591 cat >>confdefs.h <<_ACEOF
52592 #define HAVE_ATAN2F 1
52593 _ACEOF
52596 done
52598 else
52600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52601 $as_echo_n "checking for _atan2f declaration... " >&6; }
52602 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52603 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52604 $as_echo_n "(cached) " >&6
52605 else
52608 ac_ext=cpp
52609 ac_cpp='$CXXCPP $CPPFLAGS'
52610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52615 /* end confdefs.h. */
52616 #include <math.h>
52618 main ()
52620 _atan2f(0, 0);
52622 return 0;
52624 _ACEOF
52625 if ac_fn_cxx_try_compile "$LINENO"; then :
52626 glibcxx_cv_func__atan2f_use=yes
52627 else
52628 glibcxx_cv_func__atan2f_use=no
52630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52631 ac_ext=c
52632 ac_cpp='$CPP $CPPFLAGS'
52633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52642 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52644 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52645 for ac_func in _atan2f
52646 do :
52647 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52648 if test "x$ac_cv_func__atan2f" = x""yes; then :
52649 cat >>confdefs.h <<_ACEOF
52650 #define HAVE__ATAN2F 1
52651 _ACEOF
52654 done
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52664 $as_echo_n "checking for fabsf declaration... " >&6; }
52665 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52666 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52667 $as_echo_n "(cached) " >&6
52668 else
52671 ac_ext=cpp
52672 ac_cpp='$CXXCPP $CPPFLAGS'
52673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678 /* end confdefs.h. */
52679 #include <math.h>
52680 #ifdef HAVE_IEEEFP_H
52681 #include <ieeefp.h>
52682 #endif
52685 main ()
52687 fabsf(0);
52689 return 0;
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693 glibcxx_cv_func_fabsf_use=yes
52694 else
52695 glibcxx_cv_func_fabsf_use=no
52697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52698 ac_ext=c
52699 ac_cpp='$CPP $CPPFLAGS'
52700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52709 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52711 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52712 for ac_func in fabsf
52713 do :
52714 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52715 if test "x$ac_cv_func_fabsf" = x""yes; then :
52716 cat >>confdefs.h <<_ACEOF
52717 #define HAVE_FABSF 1
52718 _ACEOF
52721 done
52723 else
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52726 $as_echo_n "checking for _fabsf declaration... " >&6; }
52727 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52728 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52729 $as_echo_n "(cached) " >&6
52730 else
52733 ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h. */
52741 #include <math.h>
52742 #ifdef HAVE_IEEEFP_H
52743 #include <ieeefp.h>
52744 #endif
52747 main ()
52749 _fabsf(0);
52751 return 0;
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func__fabsf_use=yes
52756 else
52757 glibcxx_cv_func__fabsf_use=no
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52771 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52773 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52774 for ac_func in _fabsf
52775 do :
52776 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52777 if test "x$ac_cv_func__fabsf" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE__FABSF 1
52780 _ACEOF
52783 done
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52793 $as_echo_n "checking for fmodf declaration... " >&6; }
52794 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52795 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52796 $as_echo_n "(cached) " >&6
52797 else
52800 ac_ext=cpp
52801 ac_cpp='$CXXCPP $CPPFLAGS'
52802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52807 /* end confdefs.h. */
52808 #include <math.h>
52810 main ()
52812 fmodf(0, 0);
52814 return 0;
52816 _ACEOF
52817 if ac_fn_cxx_try_compile "$LINENO"; then :
52818 glibcxx_cv_func_fmodf_use=yes
52819 else
52820 glibcxx_cv_func_fmodf_use=no
52822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52823 ac_ext=c
52824 ac_cpp='$CPP $CPPFLAGS'
52825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52834 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52836 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52837 for ac_func in fmodf
52838 do :
52839 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52840 if test "x$ac_cv_func_fmodf" = x""yes; then :
52841 cat >>confdefs.h <<_ACEOF
52842 #define HAVE_FMODF 1
52843 _ACEOF
52846 done
52848 else
52850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52851 $as_echo_n "checking for _fmodf declaration... " >&6; }
52852 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52853 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52854 $as_echo_n "(cached) " >&6
52855 else
52858 ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h. */
52866 #include <math.h>
52868 main ()
52870 _fmodf(0, 0);
52872 return 0;
52874 _ACEOF
52875 if ac_fn_cxx_try_compile "$LINENO"; then :
52876 glibcxx_cv_func__fmodf_use=yes
52877 else
52878 glibcxx_cv_func__fmodf_use=no
52880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52881 ac_ext=c
52882 ac_cpp='$CPP $CPPFLAGS'
52883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52892 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52894 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52895 for ac_func in _fmodf
52896 do :
52897 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52898 if test "x$ac_cv_func__fmodf" = x""yes; then :
52899 cat >>confdefs.h <<_ACEOF
52900 #define HAVE__FMODF 1
52901 _ACEOF
52904 done
52913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52914 $as_echo_n "checking for frexpf declaration... " >&6; }
52915 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52916 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52917 $as_echo_n "(cached) " >&6
52918 else
52921 ac_ext=cpp
52922 ac_cpp='$CXXCPP $CPPFLAGS'
52923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52928 /* end confdefs.h. */
52929 #include <math.h>
52931 main ()
52933 frexpf(0, 0);
52935 return 0;
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func_frexpf_use=yes
52940 else
52941 glibcxx_cv_func_frexpf_use=no
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52955 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52957 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52958 for ac_func in frexpf
52959 do :
52960 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52961 if test "x$ac_cv_func_frexpf" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE_FREXPF 1
52964 _ACEOF
52967 done
52969 else
52971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52972 $as_echo_n "checking for _frexpf declaration... " >&6; }
52973 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52974 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52975 $as_echo_n "(cached) " >&6
52976 else
52979 ac_ext=cpp
52980 ac_cpp='$CXXCPP $CPPFLAGS'
52981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52986 /* end confdefs.h. */
52987 #include <math.h>
52989 main ()
52991 _frexpf(0, 0);
52993 return 0;
52995 _ACEOF
52996 if ac_fn_cxx_try_compile "$LINENO"; then :
52997 glibcxx_cv_func__frexpf_use=yes
52998 else
52999 glibcxx_cv_func__frexpf_use=no
53001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53002 ac_ext=c
53003 ac_cpp='$CPP $CPPFLAGS'
53004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53013 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53015 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53016 for ac_func in _frexpf
53017 do :
53018 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53019 if test "x$ac_cv_func__frexpf" = x""yes; then :
53020 cat >>confdefs.h <<_ACEOF
53021 #define HAVE__FREXPF 1
53022 _ACEOF
53025 done
53034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53035 $as_echo_n "checking for hypotf declaration... " >&6; }
53036 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53037 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53038 $as_echo_n "(cached) " >&6
53039 else
53042 ac_ext=cpp
53043 ac_cpp='$CXXCPP $CPPFLAGS'
53044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53049 /* end confdefs.h. */
53050 #include <math.h>
53052 main ()
53054 hypotf(0, 0);
53056 return 0;
53058 _ACEOF
53059 if ac_fn_cxx_try_compile "$LINENO"; then :
53060 glibcxx_cv_func_hypotf_use=yes
53061 else
53062 glibcxx_cv_func_hypotf_use=no
53064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53065 ac_ext=c
53066 ac_cpp='$CPP $CPPFLAGS'
53067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53076 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53078 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53079 for ac_func in hypotf
53080 do :
53081 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53082 if test "x$ac_cv_func_hypotf" = x""yes; then :
53083 cat >>confdefs.h <<_ACEOF
53084 #define HAVE_HYPOTF 1
53085 _ACEOF
53088 done
53090 else
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53093 $as_echo_n "checking for _hypotf declaration... " >&6; }
53094 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53095 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53096 $as_echo_n "(cached) " >&6
53097 else
53100 ac_ext=cpp
53101 ac_cpp='$CXXCPP $CPPFLAGS'
53102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53107 /* end confdefs.h. */
53108 #include <math.h>
53110 main ()
53112 _hypotf(0, 0);
53114 return 0;
53116 _ACEOF
53117 if ac_fn_cxx_try_compile "$LINENO"; then :
53118 glibcxx_cv_func__hypotf_use=yes
53119 else
53120 glibcxx_cv_func__hypotf_use=no
53122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53123 ac_ext=c
53124 ac_cpp='$CPP $CPPFLAGS'
53125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53134 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53136 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53137 for ac_func in _hypotf
53138 do :
53139 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53140 if test "x$ac_cv_func__hypotf" = x""yes; then :
53141 cat >>confdefs.h <<_ACEOF
53142 #define HAVE__HYPOTF 1
53143 _ACEOF
53146 done
53155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53156 $as_echo_n "checking for ldexpf declaration... " >&6; }
53157 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53158 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53159 $as_echo_n "(cached) " >&6
53160 else
53163 ac_ext=cpp
53164 ac_cpp='$CXXCPP $CPPFLAGS'
53165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53170 /* end confdefs.h. */
53171 #include <math.h>
53173 main ()
53175 ldexpf(0, 0);
53177 return 0;
53179 _ACEOF
53180 if ac_fn_cxx_try_compile "$LINENO"; then :
53181 glibcxx_cv_func_ldexpf_use=yes
53182 else
53183 glibcxx_cv_func_ldexpf_use=no
53185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53186 ac_ext=c
53187 ac_cpp='$CPP $CPPFLAGS'
53188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53197 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53199 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53200 for ac_func in ldexpf
53201 do :
53202 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53203 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53204 cat >>confdefs.h <<_ACEOF
53205 #define HAVE_LDEXPF 1
53206 _ACEOF
53209 done
53211 else
53213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53214 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53215 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53216 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53217 $as_echo_n "(cached) " >&6
53218 else
53221 ac_ext=cpp
53222 ac_cpp='$CXXCPP $CPPFLAGS'
53223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h. */
53229 #include <math.h>
53231 main ()
53233 _ldexpf(0, 0);
53235 return 0;
53237 _ACEOF
53238 if ac_fn_cxx_try_compile "$LINENO"; then :
53239 glibcxx_cv_func__ldexpf_use=yes
53240 else
53241 glibcxx_cv_func__ldexpf_use=no
53243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53244 ac_ext=c
53245 ac_cpp='$CPP $CPPFLAGS'
53246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53255 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53257 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53258 for ac_func in _ldexpf
53259 do :
53260 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53261 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53262 cat >>confdefs.h <<_ACEOF
53263 #define HAVE__LDEXPF 1
53264 _ACEOF
53267 done
53276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53277 $as_echo_n "checking for logf declaration... " >&6; }
53278 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53279 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53280 $as_echo_n "(cached) " >&6
53281 else
53284 ac_ext=cpp
53285 ac_cpp='$CXXCPP $CPPFLAGS'
53286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53291 /* end confdefs.h. */
53292 #include <math.h>
53293 #ifdef HAVE_IEEEFP_H
53294 #include <ieeefp.h>
53295 #endif
53298 main ()
53300 logf(0);
53302 return 0;
53304 _ACEOF
53305 if ac_fn_cxx_try_compile "$LINENO"; then :
53306 glibcxx_cv_func_logf_use=yes
53307 else
53308 glibcxx_cv_func_logf_use=no
53310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53311 ac_ext=c
53312 ac_cpp='$CPP $CPPFLAGS'
53313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53322 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53324 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53325 for ac_func in logf
53326 do :
53327 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53328 if test "x$ac_cv_func_logf" = x""yes; then :
53329 cat >>confdefs.h <<_ACEOF
53330 #define HAVE_LOGF 1
53331 _ACEOF
53334 done
53336 else
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53339 $as_echo_n "checking for _logf declaration... " >&6; }
53340 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53341 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53342 $as_echo_n "(cached) " >&6
53343 else
53346 ac_ext=cpp
53347 ac_cpp='$CXXCPP $CPPFLAGS'
53348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53353 /* end confdefs.h. */
53354 #include <math.h>
53355 #ifdef HAVE_IEEEFP_H
53356 #include <ieeefp.h>
53357 #endif
53360 main ()
53362 _logf(0);
53364 return 0;
53366 _ACEOF
53367 if ac_fn_cxx_try_compile "$LINENO"; then :
53368 glibcxx_cv_func__logf_use=yes
53369 else
53370 glibcxx_cv_func__logf_use=no
53372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53373 ac_ext=c
53374 ac_cpp='$CPP $CPPFLAGS'
53375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53384 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53386 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53387 for ac_func in _logf
53388 do :
53389 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53390 if test "x$ac_cv_func__logf" = x""yes; then :
53391 cat >>confdefs.h <<_ACEOF
53392 #define HAVE__LOGF 1
53393 _ACEOF
53396 done
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53406 $as_echo_n "checking for log10f declaration... " >&6; }
53407 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53408 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53409 $as_echo_n "(cached) " >&6
53410 else
53413 ac_ext=cpp
53414 ac_cpp='$CXXCPP $CPPFLAGS'
53415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53420 /* end confdefs.h. */
53421 #include <math.h>
53422 #ifdef HAVE_IEEEFP_H
53423 #include <ieeefp.h>
53424 #endif
53427 main ()
53429 log10f(0);
53431 return 0;
53433 _ACEOF
53434 if ac_fn_cxx_try_compile "$LINENO"; then :
53435 glibcxx_cv_func_log10f_use=yes
53436 else
53437 glibcxx_cv_func_log10f_use=no
53439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53440 ac_ext=c
53441 ac_cpp='$CPP $CPPFLAGS'
53442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53451 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53453 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53454 for ac_func in log10f
53455 do :
53456 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53457 if test "x$ac_cv_func_log10f" = x""yes; then :
53458 cat >>confdefs.h <<_ACEOF
53459 #define HAVE_LOG10F 1
53460 _ACEOF
53463 done
53465 else
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53468 $as_echo_n "checking for _log10f declaration... " >&6; }
53469 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53470 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53471 $as_echo_n "(cached) " >&6
53472 else
53475 ac_ext=cpp
53476 ac_cpp='$CXXCPP $CPPFLAGS'
53477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53482 /* end confdefs.h. */
53483 #include <math.h>
53484 #ifdef HAVE_IEEEFP_H
53485 #include <ieeefp.h>
53486 #endif
53489 main ()
53491 _log10f(0);
53493 return 0;
53495 _ACEOF
53496 if ac_fn_cxx_try_compile "$LINENO"; then :
53497 glibcxx_cv_func__log10f_use=yes
53498 else
53499 glibcxx_cv_func__log10f_use=no
53501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53502 ac_ext=c
53503 ac_cpp='$CPP $CPPFLAGS'
53504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53513 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53515 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53516 for ac_func in _log10f
53517 do :
53518 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53519 if test "x$ac_cv_func__log10f" = x""yes; then :
53520 cat >>confdefs.h <<_ACEOF
53521 #define HAVE__LOG10F 1
53522 _ACEOF
53525 done
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53535 $as_echo_n "checking for modff declaration... " >&6; }
53536 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53537 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53538 $as_echo_n "(cached) " >&6
53539 else
53542 ac_ext=cpp
53543 ac_cpp='$CXXCPP $CPPFLAGS'
53544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53549 /* end confdefs.h. */
53550 #include <math.h>
53552 main ()
53554 modff(0, 0);
53556 return 0;
53558 _ACEOF
53559 if ac_fn_cxx_try_compile "$LINENO"; then :
53560 glibcxx_cv_func_modff_use=yes
53561 else
53562 glibcxx_cv_func_modff_use=no
53564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53565 ac_ext=c
53566 ac_cpp='$CPP $CPPFLAGS'
53567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53576 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53578 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53579 for ac_func in modff
53580 do :
53581 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53582 if test "x$ac_cv_func_modff" = x""yes; then :
53583 cat >>confdefs.h <<_ACEOF
53584 #define HAVE_MODFF 1
53585 _ACEOF
53588 done
53590 else
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53593 $as_echo_n "checking for _modff declaration... " >&6; }
53594 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53595 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53596 $as_echo_n "(cached) " >&6
53597 else
53600 ac_ext=cpp
53601 ac_cpp='$CXXCPP $CPPFLAGS'
53602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53607 /* end confdefs.h. */
53608 #include <math.h>
53610 main ()
53612 _modff(0, 0);
53614 return 0;
53616 _ACEOF
53617 if ac_fn_cxx_try_compile "$LINENO"; then :
53618 glibcxx_cv_func__modff_use=yes
53619 else
53620 glibcxx_cv_func__modff_use=no
53622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53623 ac_ext=c
53624 ac_cpp='$CPP $CPPFLAGS'
53625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53634 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53636 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53637 for ac_func in _modff
53638 do :
53639 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53640 if test "x$ac_cv_func__modff" = x""yes; then :
53641 cat >>confdefs.h <<_ACEOF
53642 #define HAVE__MODFF 1
53643 _ACEOF
53646 done
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53656 $as_echo_n "checking for modf declaration... " >&6; }
53657 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53658 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53659 $as_echo_n "(cached) " >&6
53660 else
53663 ac_ext=cpp
53664 ac_cpp='$CXXCPP $CPPFLAGS'
53665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53670 /* end confdefs.h. */
53671 #include <math.h>
53673 main ()
53675 modf(0, 0);
53677 return 0;
53679 _ACEOF
53680 if ac_fn_cxx_try_compile "$LINENO"; then :
53681 glibcxx_cv_func_modf_use=yes
53682 else
53683 glibcxx_cv_func_modf_use=no
53685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53686 ac_ext=c
53687 ac_cpp='$CPP $CPPFLAGS'
53688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53697 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53699 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53700 for ac_func in modf
53701 do :
53702 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53703 if test "x$ac_cv_func_modf" = x""yes; then :
53704 cat >>confdefs.h <<_ACEOF
53705 #define HAVE_MODF 1
53706 _ACEOF
53709 done
53711 else
53713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53714 $as_echo_n "checking for _modf declaration... " >&6; }
53715 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53716 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53717 $as_echo_n "(cached) " >&6
53718 else
53721 ac_ext=cpp
53722 ac_cpp='$CXXCPP $CPPFLAGS'
53723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53728 /* end confdefs.h. */
53729 #include <math.h>
53731 main ()
53733 _modf(0, 0);
53735 return 0;
53737 _ACEOF
53738 if ac_fn_cxx_try_compile "$LINENO"; then :
53739 glibcxx_cv_func__modf_use=yes
53740 else
53741 glibcxx_cv_func__modf_use=no
53743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53744 ac_ext=c
53745 ac_cpp='$CPP $CPPFLAGS'
53746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53755 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53757 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53758 for ac_func in _modf
53759 do :
53760 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53761 if test "x$ac_cv_func__modf" = x""yes; then :
53762 cat >>confdefs.h <<_ACEOF
53763 #define HAVE__MODF 1
53764 _ACEOF
53767 done
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53777 $as_echo_n "checking for powf declaration... " >&6; }
53778 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53779 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53780 $as_echo_n "(cached) " >&6
53781 else
53784 ac_ext=cpp
53785 ac_cpp='$CXXCPP $CPPFLAGS'
53786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53791 /* end confdefs.h. */
53792 #include <math.h>
53794 main ()
53796 powf(0, 0);
53798 return 0;
53800 _ACEOF
53801 if ac_fn_cxx_try_compile "$LINENO"; then :
53802 glibcxx_cv_func_powf_use=yes
53803 else
53804 glibcxx_cv_func_powf_use=no
53806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53807 ac_ext=c
53808 ac_cpp='$CPP $CPPFLAGS'
53809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53818 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53820 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53821 for ac_func in powf
53822 do :
53823 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53824 if test "x$ac_cv_func_powf" = x""yes; then :
53825 cat >>confdefs.h <<_ACEOF
53826 #define HAVE_POWF 1
53827 _ACEOF
53830 done
53832 else
53834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53835 $as_echo_n "checking for _powf declaration... " >&6; }
53836 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53837 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53838 $as_echo_n "(cached) " >&6
53839 else
53842 ac_ext=cpp
53843 ac_cpp='$CXXCPP $CPPFLAGS'
53844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53849 /* end confdefs.h. */
53850 #include <math.h>
53852 main ()
53854 _powf(0, 0);
53856 return 0;
53858 _ACEOF
53859 if ac_fn_cxx_try_compile "$LINENO"; then :
53860 glibcxx_cv_func__powf_use=yes
53861 else
53862 glibcxx_cv_func__powf_use=no
53864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53865 ac_ext=c
53866 ac_cpp='$CPP $CPPFLAGS'
53867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53876 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53878 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53879 for ac_func in _powf
53880 do :
53881 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53882 if test "x$ac_cv_func__powf" = x""yes; then :
53883 cat >>confdefs.h <<_ACEOF
53884 #define HAVE__POWF 1
53885 _ACEOF
53888 done
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53898 $as_echo_n "checking for sqrtf declaration... " >&6; }
53899 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53900 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53901 $as_echo_n "(cached) " >&6
53902 else
53905 ac_ext=cpp
53906 ac_cpp='$CXXCPP $CPPFLAGS'
53907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912 /* end confdefs.h. */
53913 #include <math.h>
53914 #ifdef HAVE_IEEEFP_H
53915 #include <ieeefp.h>
53916 #endif
53919 main ()
53921 sqrtf(0);
53923 return 0;
53925 _ACEOF
53926 if ac_fn_cxx_try_compile "$LINENO"; then :
53927 glibcxx_cv_func_sqrtf_use=yes
53928 else
53929 glibcxx_cv_func_sqrtf_use=no
53931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53932 ac_ext=c
53933 ac_cpp='$CPP $CPPFLAGS'
53934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53943 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53945 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53946 for ac_func in sqrtf
53947 do :
53948 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53949 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53950 cat >>confdefs.h <<_ACEOF
53951 #define HAVE_SQRTF 1
53952 _ACEOF
53955 done
53957 else
53959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53960 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53961 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53962 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53963 $as_echo_n "(cached) " >&6
53964 else
53967 ac_ext=cpp
53968 ac_cpp='$CXXCPP $CPPFLAGS'
53969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53974 /* end confdefs.h. */
53975 #include <math.h>
53976 #ifdef HAVE_IEEEFP_H
53977 #include <ieeefp.h>
53978 #endif
53981 main ()
53983 _sqrtf(0);
53985 return 0;
53987 _ACEOF
53988 if ac_fn_cxx_try_compile "$LINENO"; then :
53989 glibcxx_cv_func__sqrtf_use=yes
53990 else
53991 glibcxx_cv_func__sqrtf_use=no
53993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53994 ac_ext=c
53995 ac_cpp='$CPP $CPPFLAGS'
53996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54005 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54007 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54008 for ac_func in _sqrtf
54009 do :
54010 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54011 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54012 cat >>confdefs.h <<_ACEOF
54013 #define HAVE__SQRTF 1
54014 _ACEOF
54017 done
54026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54027 $as_echo_n "checking for sincosf declaration... " >&6; }
54028 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54029 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54030 $as_echo_n "(cached) " >&6
54031 else
54034 ac_ext=cpp
54035 ac_cpp='$CXXCPP $CPPFLAGS'
54036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54041 /* end confdefs.h. */
54042 #include <math.h>
54044 main ()
54046 sincosf(0, 0, 0);
54048 return 0;
54050 _ACEOF
54051 if ac_fn_cxx_try_compile "$LINENO"; then :
54052 glibcxx_cv_func_sincosf_use=yes
54053 else
54054 glibcxx_cv_func_sincosf_use=no
54056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54057 ac_ext=c
54058 ac_cpp='$CPP $CPPFLAGS'
54059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54068 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54070 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54071 for ac_func in sincosf
54072 do :
54073 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54074 if test "x$ac_cv_func_sincosf" = x""yes; then :
54075 cat >>confdefs.h <<_ACEOF
54076 #define HAVE_SINCOSF 1
54077 _ACEOF
54080 done
54082 else
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54085 $as_echo_n "checking for _sincosf declaration... " >&6; }
54086 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54087 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54088 $as_echo_n "(cached) " >&6
54089 else
54092 ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h. */
54100 #include <math.h>
54102 main ()
54104 _sincosf(0, 0, 0);
54106 return 0;
54108 _ACEOF
54109 if ac_fn_cxx_try_compile "$LINENO"; then :
54110 glibcxx_cv_func__sincosf_use=yes
54111 else
54112 glibcxx_cv_func__sincosf_use=no
54114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54115 ac_ext=c
54116 ac_cpp='$CPP $CPPFLAGS'
54117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54126 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54128 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54129 for ac_func in _sincosf
54130 do :
54131 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54132 if test "x$ac_cv_func__sincosf" = x""yes; then :
54133 cat >>confdefs.h <<_ACEOF
54134 #define HAVE__SINCOSF 1
54135 _ACEOF
54138 done
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54148 $as_echo_n "checking for finitef declaration... " >&6; }
54149 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54150 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54151 $as_echo_n "(cached) " >&6
54152 else
54155 ac_ext=cpp
54156 ac_cpp='$CXXCPP $CPPFLAGS'
54157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54162 /* end confdefs.h. */
54163 #include <math.h>
54164 #ifdef HAVE_IEEEFP_H
54165 #include <ieeefp.h>
54166 #endif
54169 main ()
54171 finitef(0);
54173 return 0;
54175 _ACEOF
54176 if ac_fn_cxx_try_compile "$LINENO"; then :
54177 glibcxx_cv_func_finitef_use=yes
54178 else
54179 glibcxx_cv_func_finitef_use=no
54181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54182 ac_ext=c
54183 ac_cpp='$CPP $CPPFLAGS'
54184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54193 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54195 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54196 for ac_func in finitef
54197 do :
54198 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54199 if test "x$ac_cv_func_finitef" = x""yes; then :
54200 cat >>confdefs.h <<_ACEOF
54201 #define HAVE_FINITEF 1
54202 _ACEOF
54205 done
54207 else
54209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54210 $as_echo_n "checking for _finitef declaration... " >&6; }
54211 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54212 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54213 $as_echo_n "(cached) " >&6
54214 else
54217 ac_ext=cpp
54218 ac_cpp='$CXXCPP $CPPFLAGS'
54219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54224 /* end confdefs.h. */
54225 #include <math.h>
54226 #ifdef HAVE_IEEEFP_H
54227 #include <ieeefp.h>
54228 #endif
54231 main ()
54233 _finitef(0);
54235 return 0;
54237 _ACEOF
54238 if ac_fn_cxx_try_compile "$LINENO"; then :
54239 glibcxx_cv_func__finitef_use=yes
54240 else
54241 glibcxx_cv_func__finitef_use=no
54243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54244 ac_ext=c
54245 ac_cpp='$CPP $CPPFLAGS'
54246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54255 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54257 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54258 for ac_func in _finitef
54259 do :
54260 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54261 if test "x$ac_cv_func__finitef" = x""yes; then :
54262 cat >>confdefs.h <<_ACEOF
54263 #define HAVE__FINITEF 1
54264 _ACEOF
54267 done
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54277 $as_echo_n "checking for long double trig functions... " >&6; }
54278 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54293 main ()
54295 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54297 return 0;
54299 _ACEOF
54300 if ac_fn_cxx_try_compile "$LINENO"; then :
54301 glibcxx_cv_func_long_double_trig_use=yes
54302 else
54303 glibcxx_cv_func_long_double_trig_use=no
54305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54306 ac_ext=c
54307 ac_cpp='$CPP $CPPFLAGS'
54308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54315 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54316 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54317 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54318 do :
54319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54321 eval as_val=\$$as_ac_var
54322 if test "x$as_val" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54328 done
54330 else
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54332 $as_echo_n "checking for _long double trig functions... " >&6; }
54333 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54334 $as_echo_n "(cached) " >&6
54335 else
54338 ac_ext=cpp
54339 ac_cpp='$CXXCPP $CPPFLAGS'
54340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54345 /* end confdefs.h. */
54346 #include <math.h>
54348 main ()
54350 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54352 return 0;
54354 _ACEOF
54355 if ac_fn_cxx_try_compile "$LINENO"; then :
54356 glibcxx_cv_func__long_double_trig_use=yes
54357 else
54358 glibcxx_cv_func__long_double_trig_use=no
54360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54361 ac_ext=c
54362 ac_cpp='$CPP $CPPFLAGS'
54363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54370 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54371 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54372 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54373 do :
54374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54376 eval as_val=\$$as_ac_var
54377 if test "x$as_val" = x""yes; then :
54378 cat >>confdefs.h <<_ACEOF
54379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54380 _ACEOF
54383 done
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54393 $as_echo_n "checking for long double round functions... " >&6; }
54394 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54395 $as_echo_n "(cached) " >&6
54396 else
54399 ac_ext=cpp
54400 ac_cpp='$CXXCPP $CPPFLAGS'
54401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54406 /* end confdefs.h. */
54407 #include <math.h>
54409 main ()
54411 ceill (0); floorl (0);
54413 return 0;
54415 _ACEOF
54416 if ac_fn_cxx_try_compile "$LINENO"; then :
54417 glibcxx_cv_func_long_double_round_use=yes
54418 else
54419 glibcxx_cv_func_long_double_round_use=no
54421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54422 ac_ext=c
54423 ac_cpp='$CPP $CPPFLAGS'
54424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54431 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54432 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54433 for ac_func in ceill floorl
54434 do :
54435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54437 eval as_val=\$$as_ac_var
54438 if test "x$as_val" = x""yes; then :
54439 cat >>confdefs.h <<_ACEOF
54440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54441 _ACEOF
54444 done
54446 else
54447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54448 $as_echo_n "checking for _long double round functions... " >&6; }
54449 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54450 $as_echo_n "(cached) " >&6
54451 else
54454 ac_ext=cpp
54455 ac_cpp='$CXXCPP $CPPFLAGS'
54456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54461 /* end confdefs.h. */
54462 #include <math.h>
54464 main ()
54466 _ceill (0); _floorl (0);
54468 return 0;
54470 _ACEOF
54471 if ac_fn_cxx_try_compile "$LINENO"; then :
54472 glibcxx_cv_func__long_double_round_use=yes
54473 else
54474 glibcxx_cv_func__long_double_round_use=no
54476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54477 ac_ext=c
54478 ac_cpp='$CPP $CPPFLAGS'
54479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54486 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54487 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54488 for ac_func in _ceill _floorl
54489 do :
54490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54492 eval as_val=\$$as_ac_var
54493 if test "x$as_val" = x""yes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54496 _ACEOF
54499 done
54509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54510 $as_echo_n "checking for isnanl declaration... " >&6; }
54511 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54512 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54513 $as_echo_n "(cached) " >&6
54514 else
54517 ac_ext=cpp
54518 ac_cpp='$CXXCPP $CPPFLAGS'
54519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54524 /* end confdefs.h. */
54525 #include <math.h>
54526 #ifdef HAVE_IEEEFP_H
54527 #include <ieeefp.h>
54528 #endif
54531 main ()
54533 isnanl(0);
54535 return 0;
54537 _ACEOF
54538 if ac_fn_cxx_try_compile "$LINENO"; then :
54539 glibcxx_cv_func_isnanl_use=yes
54540 else
54541 glibcxx_cv_func_isnanl_use=no
54543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54544 ac_ext=c
54545 ac_cpp='$CPP $CPPFLAGS'
54546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54555 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54557 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54558 for ac_func in isnanl
54559 do :
54560 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54561 if test "x$ac_cv_func_isnanl" = x""yes; then :
54562 cat >>confdefs.h <<_ACEOF
54563 #define HAVE_ISNANL 1
54564 _ACEOF
54567 done
54569 else
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54572 $as_echo_n "checking for _isnanl declaration... " >&6; }
54573 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54574 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54575 $as_echo_n "(cached) " >&6
54576 else
54579 ac_ext=cpp
54580 ac_cpp='$CXXCPP $CPPFLAGS'
54581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54586 /* end confdefs.h. */
54587 #include <math.h>
54588 #ifdef HAVE_IEEEFP_H
54589 #include <ieeefp.h>
54590 #endif
54593 main ()
54595 _isnanl(0);
54597 return 0;
54599 _ACEOF
54600 if ac_fn_cxx_try_compile "$LINENO"; then :
54601 glibcxx_cv_func__isnanl_use=yes
54602 else
54603 glibcxx_cv_func__isnanl_use=no
54605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54606 ac_ext=c
54607 ac_cpp='$CPP $CPPFLAGS'
54608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54617 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54619 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54620 for ac_func in _isnanl
54621 do :
54622 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54623 if test "x$ac_cv_func__isnanl" = x""yes; then :
54624 cat >>confdefs.h <<_ACEOF
54625 #define HAVE__ISNANL 1
54626 _ACEOF
54629 done
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54639 $as_echo_n "checking for isinfl declaration... " >&6; }
54640 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54641 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54642 $as_echo_n "(cached) " >&6
54643 else
54646 ac_ext=cpp
54647 ac_cpp='$CXXCPP $CPPFLAGS'
54648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 #include <math.h>
54655 #ifdef HAVE_IEEEFP_H
54656 #include <ieeefp.h>
54657 #endif
54660 main ()
54662 isinfl(0);
54664 return 0;
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func_isinfl_use=yes
54669 else
54670 glibcxx_cv_func_isinfl_use=no
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54684 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54686 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54687 for ac_func in isinfl
54688 do :
54689 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54690 if test "x$ac_cv_func_isinfl" = x""yes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE_ISINFL 1
54693 _ACEOF
54696 done
54698 else
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54701 $as_echo_n "checking for _isinfl declaration... " >&6; }
54702 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54703 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54717 #ifdef HAVE_IEEEFP_H
54718 #include <ieeefp.h>
54719 #endif
54722 main ()
54724 _isinfl(0);
54726 return 0;
54728 _ACEOF
54729 if ac_fn_cxx_try_compile "$LINENO"; then :
54730 glibcxx_cv_func__isinfl_use=yes
54731 else
54732 glibcxx_cv_func__isinfl_use=no
54734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54735 ac_ext=c
54736 ac_cpp='$CPP $CPPFLAGS'
54737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54746 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54748 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54749 for ac_func in _isinfl
54750 do :
54751 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54752 if test "x$ac_cv_func__isinfl" = x""yes; then :
54753 cat >>confdefs.h <<_ACEOF
54754 #define HAVE__ISINFL 1
54755 _ACEOF
54758 done
54767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54768 $as_echo_n "checking for atan2l declaration... " >&6; }
54769 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54770 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54785 main ()
54787 atan2l(0, 0);
54789 return 0;
54791 _ACEOF
54792 if ac_fn_cxx_try_compile "$LINENO"; then :
54793 glibcxx_cv_func_atan2l_use=yes
54794 else
54795 glibcxx_cv_func_atan2l_use=no
54797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54798 ac_ext=c
54799 ac_cpp='$CPP $CPPFLAGS'
54800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54809 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54811 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54812 for ac_func in atan2l
54813 do :
54814 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54815 if test "x$ac_cv_func_atan2l" = x""yes; then :
54816 cat >>confdefs.h <<_ACEOF
54817 #define HAVE_ATAN2L 1
54818 _ACEOF
54821 done
54823 else
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54826 $as_echo_n "checking for _atan2l declaration... " >&6; }
54827 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54828 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54829 $as_echo_n "(cached) " >&6
54830 else
54833 ac_ext=cpp
54834 ac_cpp='$CXXCPP $CPPFLAGS'
54835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54840 /* end confdefs.h. */
54841 #include <math.h>
54843 main ()
54845 _atan2l(0, 0);
54847 return 0;
54849 _ACEOF
54850 if ac_fn_cxx_try_compile "$LINENO"; then :
54851 glibcxx_cv_func__atan2l_use=yes
54852 else
54853 glibcxx_cv_func__atan2l_use=no
54855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54856 ac_ext=c
54857 ac_cpp='$CPP $CPPFLAGS'
54858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54867 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54869 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54870 for ac_func in _atan2l
54871 do :
54872 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54873 if test "x$ac_cv_func__atan2l" = x""yes; then :
54874 cat >>confdefs.h <<_ACEOF
54875 #define HAVE__ATAN2L 1
54876 _ACEOF
54879 done
54888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54889 $as_echo_n "checking for expl declaration... " >&6; }
54890 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54891 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54892 $as_echo_n "(cached) " >&6
54893 else
54896 ac_ext=cpp
54897 ac_cpp='$CXXCPP $CPPFLAGS'
54898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54903 /* end confdefs.h. */
54904 #include <math.h>
54905 #ifdef HAVE_IEEEFP_H
54906 #include <ieeefp.h>
54907 #endif
54910 main ()
54912 expl(0);
54914 return 0;
54916 _ACEOF
54917 if ac_fn_cxx_try_compile "$LINENO"; then :
54918 glibcxx_cv_func_expl_use=yes
54919 else
54920 glibcxx_cv_func_expl_use=no
54922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54923 ac_ext=c
54924 ac_cpp='$CPP $CPPFLAGS'
54925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54934 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54936 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54937 for ac_func in expl
54938 do :
54939 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54940 if test "x$ac_cv_func_expl" = x""yes; then :
54941 cat >>confdefs.h <<_ACEOF
54942 #define HAVE_EXPL 1
54943 _ACEOF
54946 done
54948 else
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54951 $as_echo_n "checking for _expl declaration... " >&6; }
54952 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54953 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54954 $as_echo_n "(cached) " >&6
54955 else
54958 ac_ext=cpp
54959 ac_cpp='$CXXCPP $CPPFLAGS'
54960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54965 /* end confdefs.h. */
54966 #include <math.h>
54967 #ifdef HAVE_IEEEFP_H
54968 #include <ieeefp.h>
54969 #endif
54972 main ()
54974 _expl(0);
54976 return 0;
54978 _ACEOF
54979 if ac_fn_cxx_try_compile "$LINENO"; then :
54980 glibcxx_cv_func__expl_use=yes
54981 else
54982 glibcxx_cv_func__expl_use=no
54984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54985 ac_ext=c
54986 ac_cpp='$CPP $CPPFLAGS'
54987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54996 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54998 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54999 for ac_func in _expl
55000 do :
55001 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55002 if test "x$ac_cv_func__expl" = x""yes; then :
55003 cat >>confdefs.h <<_ACEOF
55004 #define HAVE__EXPL 1
55005 _ACEOF
55008 done
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55018 $as_echo_n "checking for fabsl declaration... " >&6; }
55019 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55020 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55021 $as_echo_n "(cached) " >&6
55022 else
55025 ac_ext=cpp
55026 ac_cpp='$CXXCPP $CPPFLAGS'
55027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55032 /* end confdefs.h. */
55033 #include <math.h>
55034 #ifdef HAVE_IEEEFP_H
55035 #include <ieeefp.h>
55036 #endif
55039 main ()
55041 fabsl(0);
55043 return 0;
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_fabsl_use=yes
55048 else
55049 glibcxx_cv_func_fabsl_use=no
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55063 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55065 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55066 for ac_func in fabsl
55067 do :
55068 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55069 if test "x$ac_cv_func_fabsl" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_FABSL 1
55072 _ACEOF
55075 done
55077 else
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55080 $as_echo_n "checking for _fabsl declaration... " >&6; }
55081 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55082 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55096 #ifdef HAVE_IEEEFP_H
55097 #include <ieeefp.h>
55098 #endif
55101 main ()
55103 _fabsl(0);
55105 return 0;
55107 _ACEOF
55108 if ac_fn_cxx_try_compile "$LINENO"; then :
55109 glibcxx_cv_func__fabsl_use=yes
55110 else
55111 glibcxx_cv_func__fabsl_use=no
55113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55125 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55127 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55128 for ac_func in _fabsl
55129 do :
55130 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55131 if test "x$ac_cv_func__fabsl" = x""yes; then :
55132 cat >>confdefs.h <<_ACEOF
55133 #define HAVE__FABSL 1
55134 _ACEOF
55137 done
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55147 $as_echo_n "checking for fmodl declaration... " >&6; }
55148 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55149 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55150 $as_echo_n "(cached) " >&6
55151 else
55154 ac_ext=cpp
55155 ac_cpp='$CXXCPP $CPPFLAGS'
55156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55161 /* end confdefs.h. */
55162 #include <math.h>
55164 main ()
55166 fmodl(0, 0);
55168 return 0;
55170 _ACEOF
55171 if ac_fn_cxx_try_compile "$LINENO"; then :
55172 glibcxx_cv_func_fmodl_use=yes
55173 else
55174 glibcxx_cv_func_fmodl_use=no
55176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55177 ac_ext=c
55178 ac_cpp='$CPP $CPPFLAGS'
55179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55188 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55190 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55191 for ac_func in fmodl
55192 do :
55193 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55194 if test "x$ac_cv_func_fmodl" = x""yes; then :
55195 cat >>confdefs.h <<_ACEOF
55196 #define HAVE_FMODL 1
55197 _ACEOF
55200 done
55202 else
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55205 $as_echo_n "checking for _fmodl declaration... " >&6; }
55206 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55207 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55222 main ()
55224 _fmodl(0, 0);
55226 return 0;
55228 _ACEOF
55229 if ac_fn_cxx_try_compile "$LINENO"; then :
55230 glibcxx_cv_func__fmodl_use=yes
55231 else
55232 glibcxx_cv_func__fmodl_use=no
55234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55235 ac_ext=c
55236 ac_cpp='$CPP $CPPFLAGS'
55237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55246 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55248 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55249 for ac_func in _fmodl
55250 do :
55251 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55252 if test "x$ac_cv_func__fmodl" = x""yes; then :
55253 cat >>confdefs.h <<_ACEOF
55254 #define HAVE__FMODL 1
55255 _ACEOF
55258 done
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55268 $as_echo_n "checking for frexpl declaration... " >&6; }
55269 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55270 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55271 $as_echo_n "(cached) " >&6
55272 else
55275 ac_ext=cpp
55276 ac_cpp='$CXXCPP $CPPFLAGS'
55277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55282 /* end confdefs.h. */
55283 #include <math.h>
55285 main ()
55287 frexpl(0, 0);
55289 return 0;
55291 _ACEOF
55292 if ac_fn_cxx_try_compile "$LINENO"; then :
55293 glibcxx_cv_func_frexpl_use=yes
55294 else
55295 glibcxx_cv_func_frexpl_use=no
55297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55298 ac_ext=c
55299 ac_cpp='$CPP $CPPFLAGS'
55300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55309 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55311 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55312 for ac_func in frexpl
55313 do :
55314 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55315 if test "x$ac_cv_func_frexpl" = x""yes; then :
55316 cat >>confdefs.h <<_ACEOF
55317 #define HAVE_FREXPL 1
55318 _ACEOF
55321 done
55323 else
55325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55326 $as_echo_n "checking for _frexpl declaration... " >&6; }
55327 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55328 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55329 $as_echo_n "(cached) " >&6
55330 else
55333 ac_ext=cpp
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55340 /* end confdefs.h. */
55341 #include <math.h>
55343 main ()
55345 _frexpl(0, 0);
55347 return 0;
55349 _ACEOF
55350 if ac_fn_cxx_try_compile "$LINENO"; then :
55351 glibcxx_cv_func__frexpl_use=yes
55352 else
55353 glibcxx_cv_func__frexpl_use=no
55355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55356 ac_ext=c
55357 ac_cpp='$CPP $CPPFLAGS'
55358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55367 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55369 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55370 for ac_func in _frexpl
55371 do :
55372 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55373 if test "x$ac_cv_func__frexpl" = x""yes; then :
55374 cat >>confdefs.h <<_ACEOF
55375 #define HAVE__FREXPL 1
55376 _ACEOF
55379 done
55388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55389 $as_echo_n "checking for hypotl declaration... " >&6; }
55390 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55391 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55392 $as_echo_n "(cached) " >&6
55393 else
55396 ac_ext=cpp
55397 ac_cpp='$CXXCPP $CPPFLAGS'
55398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55403 /* end confdefs.h. */
55404 #include <math.h>
55406 main ()
55408 hypotl(0, 0);
55410 return 0;
55412 _ACEOF
55413 if ac_fn_cxx_try_compile "$LINENO"; then :
55414 glibcxx_cv_func_hypotl_use=yes
55415 else
55416 glibcxx_cv_func_hypotl_use=no
55418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55419 ac_ext=c
55420 ac_cpp='$CPP $CPPFLAGS'
55421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55430 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55432 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55433 for ac_func in hypotl
55434 do :
55435 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55436 if test "x$ac_cv_func_hypotl" = x""yes; then :
55437 cat >>confdefs.h <<_ACEOF
55438 #define HAVE_HYPOTL 1
55439 _ACEOF
55442 done
55444 else
55446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55447 $as_echo_n "checking for _hypotl declaration... " >&6; }
55448 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55449 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55450 $as_echo_n "(cached) " >&6
55451 else
55454 ac_ext=cpp
55455 ac_cpp='$CXXCPP $CPPFLAGS'
55456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55461 /* end confdefs.h. */
55462 #include <math.h>
55464 main ()
55466 _hypotl(0, 0);
55468 return 0;
55470 _ACEOF
55471 if ac_fn_cxx_try_compile "$LINENO"; then :
55472 glibcxx_cv_func__hypotl_use=yes
55473 else
55474 glibcxx_cv_func__hypotl_use=no
55476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55477 ac_ext=c
55478 ac_cpp='$CPP $CPPFLAGS'
55479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55488 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55490 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55491 for ac_func in _hypotl
55492 do :
55493 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55494 if test "x$ac_cv_func__hypotl" = x""yes; then :
55495 cat >>confdefs.h <<_ACEOF
55496 #define HAVE__HYPOTL 1
55497 _ACEOF
55500 done
55509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55510 $as_echo_n "checking for ldexpl declaration... " >&6; }
55511 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55512 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55513 $as_echo_n "(cached) " >&6
55514 else
55517 ac_ext=cpp
55518 ac_cpp='$CXXCPP $CPPFLAGS'
55519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55524 /* end confdefs.h. */
55525 #include <math.h>
55527 main ()
55529 ldexpl(0, 0);
55531 return 0;
55533 _ACEOF
55534 if ac_fn_cxx_try_compile "$LINENO"; then :
55535 glibcxx_cv_func_ldexpl_use=yes
55536 else
55537 glibcxx_cv_func_ldexpl_use=no
55539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55540 ac_ext=c
55541 ac_cpp='$CPP $CPPFLAGS'
55542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55551 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55553 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55554 for ac_func in ldexpl
55555 do :
55556 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55557 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55558 cat >>confdefs.h <<_ACEOF
55559 #define HAVE_LDEXPL 1
55560 _ACEOF
55563 done
55565 else
55567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55568 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55569 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55570 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55571 $as_echo_n "(cached) " >&6
55572 else
55575 ac_ext=cpp
55576 ac_cpp='$CXXCPP $CPPFLAGS'
55577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55582 /* end confdefs.h. */
55583 #include <math.h>
55585 main ()
55587 _ldexpl(0, 0);
55589 return 0;
55591 _ACEOF
55592 if ac_fn_cxx_try_compile "$LINENO"; then :
55593 glibcxx_cv_func__ldexpl_use=yes
55594 else
55595 glibcxx_cv_func__ldexpl_use=no
55597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55598 ac_ext=c
55599 ac_cpp='$CPP $CPPFLAGS'
55600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55609 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55611 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55612 for ac_func in _ldexpl
55613 do :
55614 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55615 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55616 cat >>confdefs.h <<_ACEOF
55617 #define HAVE__LDEXPL 1
55618 _ACEOF
55621 done
55630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55631 $as_echo_n "checking for logl declaration... " >&6; }
55632 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55633 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55634 $as_echo_n "(cached) " >&6
55635 else
55638 ac_ext=cpp
55639 ac_cpp='$CXXCPP $CPPFLAGS'
55640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55645 /* end confdefs.h. */
55646 #include <math.h>
55647 #ifdef HAVE_IEEEFP_H
55648 #include <ieeefp.h>
55649 #endif
55652 main ()
55654 logl(0);
55656 return 0;
55658 _ACEOF
55659 if ac_fn_cxx_try_compile "$LINENO"; then :
55660 glibcxx_cv_func_logl_use=yes
55661 else
55662 glibcxx_cv_func_logl_use=no
55664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55665 ac_ext=c
55666 ac_cpp='$CPP $CPPFLAGS'
55667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55676 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55678 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55679 for ac_func in logl
55680 do :
55681 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55682 if test "x$ac_cv_func_logl" = x""yes; then :
55683 cat >>confdefs.h <<_ACEOF
55684 #define HAVE_LOGL 1
55685 _ACEOF
55688 done
55690 else
55692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55693 $as_echo_n "checking for _logl declaration... " >&6; }
55694 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55695 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55696 $as_echo_n "(cached) " >&6
55697 else
55700 ac_ext=cpp
55701 ac_cpp='$CXXCPP $CPPFLAGS'
55702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55707 /* end confdefs.h. */
55708 #include <math.h>
55709 #ifdef HAVE_IEEEFP_H
55710 #include <ieeefp.h>
55711 #endif
55714 main ()
55716 _logl(0);
55718 return 0;
55720 _ACEOF
55721 if ac_fn_cxx_try_compile "$LINENO"; then :
55722 glibcxx_cv_func__logl_use=yes
55723 else
55724 glibcxx_cv_func__logl_use=no
55726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55727 ac_ext=c
55728 ac_cpp='$CPP $CPPFLAGS'
55729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55738 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55740 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55741 for ac_func in _logl
55742 do :
55743 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55744 if test "x$ac_cv_func__logl" = x""yes; then :
55745 cat >>confdefs.h <<_ACEOF
55746 #define HAVE__LOGL 1
55747 _ACEOF
55750 done
55759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55760 $as_echo_n "checking for log10l declaration... " >&6; }
55761 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55762 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55763 $as_echo_n "(cached) " >&6
55764 else
55767 ac_ext=cpp
55768 ac_cpp='$CXXCPP $CPPFLAGS'
55769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55774 /* end confdefs.h. */
55775 #include <math.h>
55776 #ifdef HAVE_IEEEFP_H
55777 #include <ieeefp.h>
55778 #endif
55781 main ()
55783 log10l(0);
55785 return 0;
55787 _ACEOF
55788 if ac_fn_cxx_try_compile "$LINENO"; then :
55789 glibcxx_cv_func_log10l_use=yes
55790 else
55791 glibcxx_cv_func_log10l_use=no
55793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55794 ac_ext=c
55795 ac_cpp='$CPP $CPPFLAGS'
55796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55805 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55807 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55808 for ac_func in log10l
55809 do :
55810 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55811 if test "x$ac_cv_func_log10l" = x""yes; then :
55812 cat >>confdefs.h <<_ACEOF
55813 #define HAVE_LOG10L 1
55814 _ACEOF
55817 done
55819 else
55821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55822 $as_echo_n "checking for _log10l declaration... " >&6; }
55823 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55824 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55825 $as_echo_n "(cached) " >&6
55826 else
55829 ac_ext=cpp
55830 ac_cpp='$CXXCPP $CPPFLAGS'
55831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55836 /* end confdefs.h. */
55837 #include <math.h>
55838 #ifdef HAVE_IEEEFP_H
55839 #include <ieeefp.h>
55840 #endif
55843 main ()
55845 _log10l(0);
55847 return 0;
55849 _ACEOF
55850 if ac_fn_cxx_try_compile "$LINENO"; then :
55851 glibcxx_cv_func__log10l_use=yes
55852 else
55853 glibcxx_cv_func__log10l_use=no
55855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55856 ac_ext=c
55857 ac_cpp='$CPP $CPPFLAGS'
55858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55867 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55869 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55870 for ac_func in _log10l
55871 do :
55872 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55873 if test "x$ac_cv_func__log10l" = x""yes; then :
55874 cat >>confdefs.h <<_ACEOF
55875 #define HAVE__LOG10L 1
55876 _ACEOF
55879 done
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55889 $as_echo_n "checking for modfl declaration... " >&6; }
55890 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55891 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55892 $as_echo_n "(cached) " >&6
55893 else
55896 ac_ext=cpp
55897 ac_cpp='$CXXCPP $CPPFLAGS'
55898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55903 /* end confdefs.h. */
55904 #include <math.h>
55906 main ()
55908 modfl(0, 0);
55910 return 0;
55912 _ACEOF
55913 if ac_fn_cxx_try_compile "$LINENO"; then :
55914 glibcxx_cv_func_modfl_use=yes
55915 else
55916 glibcxx_cv_func_modfl_use=no
55918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55919 ac_ext=c
55920 ac_cpp='$CPP $CPPFLAGS'
55921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55930 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55932 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55933 for ac_func in modfl
55934 do :
55935 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55936 if test "x$ac_cv_func_modfl" = x""yes; then :
55937 cat >>confdefs.h <<_ACEOF
55938 #define HAVE_MODFL 1
55939 _ACEOF
55942 done
55944 else
55946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55947 $as_echo_n "checking for _modfl declaration... " >&6; }
55948 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55949 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55950 $as_echo_n "(cached) " >&6
55951 else
55954 ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h. */
55962 #include <math.h>
55964 main ()
55966 _modfl(0, 0);
55968 return 0;
55970 _ACEOF
55971 if ac_fn_cxx_try_compile "$LINENO"; then :
55972 glibcxx_cv_func__modfl_use=yes
55973 else
55974 glibcxx_cv_func__modfl_use=no
55976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55977 ac_ext=c
55978 ac_cpp='$CPP $CPPFLAGS'
55979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55988 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55990 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55991 for ac_func in _modfl
55992 do :
55993 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55994 if test "x$ac_cv_func__modfl" = x""yes; then :
55995 cat >>confdefs.h <<_ACEOF
55996 #define HAVE__MODFL 1
55997 _ACEOF
56000 done
56009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56010 $as_echo_n "checking for powl declaration... " >&6; }
56011 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56012 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56013 $as_echo_n "(cached) " >&6
56014 else
56017 ac_ext=cpp
56018 ac_cpp='$CXXCPP $CPPFLAGS'
56019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56024 /* end confdefs.h. */
56025 #include <math.h>
56027 main ()
56029 powl(0, 0);
56031 return 0;
56033 _ACEOF
56034 if ac_fn_cxx_try_compile "$LINENO"; then :
56035 glibcxx_cv_func_powl_use=yes
56036 else
56037 glibcxx_cv_func_powl_use=no
56039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56040 ac_ext=c
56041 ac_cpp='$CPP $CPPFLAGS'
56042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56051 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56053 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56054 for ac_func in powl
56055 do :
56056 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56057 if test "x$ac_cv_func_powl" = x""yes; then :
56058 cat >>confdefs.h <<_ACEOF
56059 #define HAVE_POWL 1
56060 _ACEOF
56063 done
56065 else
56067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56068 $as_echo_n "checking for _powl declaration... " >&6; }
56069 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56070 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56071 $as_echo_n "(cached) " >&6
56072 else
56075 ac_ext=cpp
56076 ac_cpp='$CXXCPP $CPPFLAGS'
56077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56082 /* end confdefs.h. */
56083 #include <math.h>
56085 main ()
56087 _powl(0, 0);
56089 return 0;
56091 _ACEOF
56092 if ac_fn_cxx_try_compile "$LINENO"; then :
56093 glibcxx_cv_func__powl_use=yes
56094 else
56095 glibcxx_cv_func__powl_use=no
56097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56098 ac_ext=c
56099 ac_cpp='$CPP $CPPFLAGS'
56100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56109 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56111 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56112 for ac_func in _powl
56113 do :
56114 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56115 if test "x$ac_cv_func__powl" = x""yes; then :
56116 cat >>confdefs.h <<_ACEOF
56117 #define HAVE__POWL 1
56118 _ACEOF
56121 done
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56131 $as_echo_n "checking for sqrtl declaration... " >&6; }
56132 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56133 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56134 $as_echo_n "(cached) " >&6
56135 else
56138 ac_ext=cpp
56139 ac_cpp='$CXXCPP $CPPFLAGS'
56140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56145 /* end confdefs.h. */
56146 #include <math.h>
56147 #ifdef HAVE_IEEEFP_H
56148 #include <ieeefp.h>
56149 #endif
56152 main ()
56154 sqrtl(0);
56156 return 0;
56158 _ACEOF
56159 if ac_fn_cxx_try_compile "$LINENO"; then :
56160 glibcxx_cv_func_sqrtl_use=yes
56161 else
56162 glibcxx_cv_func_sqrtl_use=no
56164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56165 ac_ext=c
56166 ac_cpp='$CPP $CPPFLAGS'
56167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56176 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56178 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56179 for ac_func in sqrtl
56180 do :
56181 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56182 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define HAVE_SQRTL 1
56185 _ACEOF
56188 done
56190 else
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56193 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56194 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56195 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56196 $as_echo_n "(cached) " >&6
56197 else
56200 ac_ext=cpp
56201 ac_cpp='$CXXCPP $CPPFLAGS'
56202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56207 /* end confdefs.h. */
56208 #include <math.h>
56209 #ifdef HAVE_IEEEFP_H
56210 #include <ieeefp.h>
56211 #endif
56214 main ()
56216 _sqrtl(0);
56218 return 0;
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222 glibcxx_cv_func__sqrtl_use=yes
56223 else
56224 glibcxx_cv_func__sqrtl_use=no
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227 ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56238 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56240 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56241 for ac_func in _sqrtl
56242 do :
56243 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56244 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56245 cat >>confdefs.h <<_ACEOF
56246 #define HAVE__SQRTL 1
56247 _ACEOF
56250 done
56259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56260 $as_echo_n "checking for sincosl declaration... " >&6; }
56261 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56262 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56263 $as_echo_n "(cached) " >&6
56264 else
56267 ac_ext=cpp
56268 ac_cpp='$CXXCPP $CPPFLAGS'
56269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56274 /* end confdefs.h. */
56275 #include <math.h>
56277 main ()
56279 sincosl(0, 0, 0);
56281 return 0;
56283 _ACEOF
56284 if ac_fn_cxx_try_compile "$LINENO"; then :
56285 glibcxx_cv_func_sincosl_use=yes
56286 else
56287 glibcxx_cv_func_sincosl_use=no
56289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56290 ac_ext=c
56291 ac_cpp='$CPP $CPPFLAGS'
56292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56301 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56303 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56304 for ac_func in sincosl
56305 do :
56306 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56307 if test "x$ac_cv_func_sincosl" = x""yes; then :
56308 cat >>confdefs.h <<_ACEOF
56309 #define HAVE_SINCOSL 1
56310 _ACEOF
56313 done
56315 else
56317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56318 $as_echo_n "checking for _sincosl declaration... " >&6; }
56319 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56320 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56321 $as_echo_n "(cached) " >&6
56322 else
56325 ac_ext=cpp
56326 ac_cpp='$CXXCPP $CPPFLAGS'
56327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56332 /* end confdefs.h. */
56333 #include <math.h>
56335 main ()
56337 _sincosl(0, 0, 0);
56339 return 0;
56341 _ACEOF
56342 if ac_fn_cxx_try_compile "$LINENO"; then :
56343 glibcxx_cv_func__sincosl_use=yes
56344 else
56345 glibcxx_cv_func__sincosl_use=no
56347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56348 ac_ext=c
56349 ac_cpp='$CPP $CPPFLAGS'
56350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56359 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56361 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56362 for ac_func in _sincosl
56363 do :
56364 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56365 if test "x$ac_cv_func__sincosl" = x""yes; then :
56366 cat >>confdefs.h <<_ACEOF
56367 #define HAVE__SINCOSL 1
56368 _ACEOF
56371 done
56380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56381 $as_echo_n "checking for finitel declaration... " >&6; }
56382 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56383 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56384 $as_echo_n "(cached) " >&6
56385 else
56388 ac_ext=cpp
56389 ac_cpp='$CXXCPP $CPPFLAGS'
56390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56395 /* end confdefs.h. */
56396 #include <math.h>
56397 #ifdef HAVE_IEEEFP_H
56398 #include <ieeefp.h>
56399 #endif
56402 main ()
56404 finitel(0);
56406 return 0;
56408 _ACEOF
56409 if ac_fn_cxx_try_compile "$LINENO"; then :
56410 glibcxx_cv_func_finitel_use=yes
56411 else
56412 glibcxx_cv_func_finitel_use=no
56414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56415 ac_ext=c
56416 ac_cpp='$CPP $CPPFLAGS'
56417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56426 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56428 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56429 for ac_func in finitel
56430 do :
56431 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56432 if test "x$ac_cv_func_finitel" = x""yes; then :
56433 cat >>confdefs.h <<_ACEOF
56434 #define HAVE_FINITEL 1
56435 _ACEOF
56438 done
56440 else
56442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56443 $as_echo_n "checking for _finitel declaration... " >&6; }
56444 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56445 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56446 $as_echo_n "(cached) " >&6
56447 else
56450 ac_ext=cpp
56451 ac_cpp='$CXXCPP $CPPFLAGS'
56452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56457 /* end confdefs.h. */
56458 #include <math.h>
56459 #ifdef HAVE_IEEEFP_H
56460 #include <ieeefp.h>
56461 #endif
56464 main ()
56466 _finitel(0);
56468 return 0;
56470 _ACEOF
56471 if ac_fn_cxx_try_compile "$LINENO"; then :
56472 glibcxx_cv_func__finitel_use=yes
56473 else
56474 glibcxx_cv_func__finitel_use=no
56476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56477 ac_ext=c
56478 ac_cpp='$CPP $CPPFLAGS'
56479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56488 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56490 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56491 for ac_func in _finitel
56492 do :
56493 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56494 if test "x$ac_cv_func__finitel" = x""yes; then :
56495 cat >>confdefs.h <<_ACEOF
56496 #define HAVE__FINITEL 1
56497 _ACEOF
56500 done
56508 LIBS="$ac_save_LIBS"
56509 CXXFLAGS="$ac_save_CXXFLAGS"
56512 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56513 ac_save_CXXFLAGS="$CXXFLAGS"
56514 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56518 $as_echo_n "checking for strtold declaration... " >&6; }
56519 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56520 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56521 $as_echo_n "(cached) " >&6
56522 else
56525 ac_ext=cpp
56526 ac_cpp='$CXXCPP $CPPFLAGS'
56527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56532 /* end confdefs.h. */
56533 #include <stdlib.h>
56535 main ()
56537 strtold(0, 0);
56539 return 0;
56541 _ACEOF
56542 if ac_fn_cxx_try_compile "$LINENO"; then :
56543 glibcxx_cv_func_strtold_use=yes
56544 else
56545 glibcxx_cv_func_strtold_use=no
56547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56548 ac_ext=c
56549 ac_cpp='$CPP $CPPFLAGS'
56550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56559 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56560 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56561 for ac_func in strtold
56562 do :
56563 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56564 if test "x$ac_cv_func_strtold" = x""yes; then :
56565 cat >>confdefs.h <<_ACEOF
56566 #define HAVE_STRTOLD 1
56567 _ACEOF
56570 done
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56578 $as_echo_n "checking for strtof declaration... " >&6; }
56579 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56580 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56581 $as_echo_n "(cached) " >&6
56582 else
56585 ac_ext=cpp
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592 /* end confdefs.h. */
56593 #include <stdlib.h>
56595 main ()
56597 strtof(0, 0);
56599 return 0;
56601 _ACEOF
56602 if ac_fn_cxx_try_compile "$LINENO"; then :
56603 glibcxx_cv_func_strtof_use=yes
56604 else
56605 glibcxx_cv_func_strtof_use=no
56607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56619 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56620 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56621 for ac_func in strtof
56622 do :
56623 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56624 if test "x$ac_cv_func_strtof" = x""yes; then :
56625 cat >>confdefs.h <<_ACEOF
56626 #define HAVE_STRTOF 1
56627 _ACEOF
56630 done
56637 CXXFLAGS="$ac_save_CXXFLAGS"
56640 *-netbsd*)
56641 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56644 # If we're not using GNU ld, then there's no point in even trying these
56645 # tests. Check for that first. We should have already tested for gld
56646 # by now (in libtool), but require it now just to be safe...
56647 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56648 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56652 # The name set by libtool depends on the version of libtool. Shame on us
56653 # for depending on an impl detail, but c'est la vie. Older versions used
56654 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56655 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56656 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56657 # set (hence we're using an older libtool), then set it.
56658 if test x${with_gnu_ld+set} != xset; then
56659 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56660 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56661 with_gnu_ld=no
56662 else
56663 with_gnu_ld=$ac_cv_prog_gnu_ld
56667 # Start by getting the version number. I think the libtool test already
56668 # does some of this, but throws away the result.
56669 glibcxx_ld_is_gold=no
56670 if test x"$with_gnu_ld" = x"yes"; then
56671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56672 $as_echo_n "checking for ld version... " >&6; }
56674 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56675 glibcxx_ld_is_gold=yes
56677 ldver=`$LD --version 2>/dev/null |
56678 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'`
56680 glibcxx_gnu_ld_version=`echo $ldver | \
56681 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56683 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56686 # Set --gc-sections.
56687 glibcxx_have_gc_sections=no
56688 if test "$glibcxx_ld_is_gold" = "yes"; then
56689 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56690 glibcxx_have_gc_sections=yes
56692 else
56693 glibcxx_gcsections_min_ld=21602
56694 if test x"$with_gnu_ld" = x"yes" &&
56695 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56696 glibcxx_have_gc_sections=yes
56699 if test "$glibcxx_have_gc_sections" = "yes"; then
56700 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56701 # NB: This flag only works reliably after 2.16.1. Configure tests
56702 # for this are difficult, so hard wire a value that should work.
56704 ac_test_CFLAGS="${CFLAGS+set}"
56705 ac_save_CFLAGS="$CFLAGS"
56706 CFLAGS='-Wl,--gc-sections'
56708 # Check for -Wl,--gc-sections
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56710 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56711 if test x$gcc_no_link = xyes; then
56712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h. */
56716 int one(void) { return 1; }
56717 int two(void) { return 2; }
56720 main ()
56722 two();
56724 return 0;
56726 _ACEOF
56727 if ac_fn_c_try_link "$LINENO"; then :
56728 ac_gcsections=yes
56729 else
56730 ac_gcsections=no
56732 rm -f core conftest.err conftest.$ac_objext \
56733 conftest$ac_exeext conftest.$ac_ext
56734 if test "$ac_gcsections" = "yes"; then
56735 rm -f conftest.c
56736 touch conftest.c
56737 if $CC -c conftest.c; then
56738 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56739 grep "Warning: gc-sections option ignored" > /dev/null; then
56740 ac_gcsections=no
56743 rm -f conftest.c conftest.o conftest
56745 if test "$ac_gcsections" = "yes"; then
56746 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56749 $as_echo "$ac_gcsections" >&6; }
56751 if test "$ac_test_CFLAGS" = set; then
56752 CFLAGS="$ac_save_CFLAGS"
56753 else
56754 # this is the suspicious part
56755 CFLAGS=''
56759 # Set -z,relro.
56760 # Note this is only for shared objects.
56761 ac_ld_relro=no
56762 if test x"$with_gnu_ld" = x"yes"; then
56763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56764 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56765 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56766 if test -n "$cxx_z_relo"; then
56767 OPT_LDFLAGS="-Wl,-z,relro"
56768 ac_ld_relro=yes
56770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56771 $as_echo "$ac_ld_relro" >&6; }
56774 # Set linker optimization flags.
56775 if test x"$with_gnu_ld" = x"yes"; then
56776 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56782 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56784 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56786 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56788 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56790 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56792 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56794 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56796 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56798 if test x"long_double_math_on_this_cpu" = x"yes"; then
56799 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56801 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56803 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56807 *-netware)
56808 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56811 # If we're not using GNU ld, then there's no point in even trying these
56812 # tests. Check for that first. We should have already tested for gld
56813 # by now (in libtool), but require it now just to be safe...
56814 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56815 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56819 # The name set by libtool depends on the version of libtool. Shame on us
56820 # for depending on an impl detail, but c'est la vie. Older versions used
56821 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56822 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56823 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56824 # set (hence we're using an older libtool), then set it.
56825 if test x${with_gnu_ld+set} != xset; then
56826 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56827 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56828 with_gnu_ld=no
56829 else
56830 with_gnu_ld=$ac_cv_prog_gnu_ld
56834 # Start by getting the version number. I think the libtool test already
56835 # does some of this, but throws away the result.
56836 glibcxx_ld_is_gold=no
56837 if test x"$with_gnu_ld" = x"yes"; then
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56839 $as_echo_n "checking for ld version... " >&6; }
56841 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56842 glibcxx_ld_is_gold=yes
56844 ldver=`$LD --version 2>/dev/null |
56845 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'`
56847 glibcxx_gnu_ld_version=`echo $ldver | \
56848 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56850 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56853 # Set --gc-sections.
56854 glibcxx_have_gc_sections=no
56855 if test "$glibcxx_ld_is_gold" = "yes"; then
56856 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56857 glibcxx_have_gc_sections=yes
56859 else
56860 glibcxx_gcsections_min_ld=21602
56861 if test x"$with_gnu_ld" = x"yes" &&
56862 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56863 glibcxx_have_gc_sections=yes
56866 if test "$glibcxx_have_gc_sections" = "yes"; then
56867 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56868 # NB: This flag only works reliably after 2.16.1. Configure tests
56869 # for this are difficult, so hard wire a value that should work.
56871 ac_test_CFLAGS="${CFLAGS+set}"
56872 ac_save_CFLAGS="$CFLAGS"
56873 CFLAGS='-Wl,--gc-sections'
56875 # Check for -Wl,--gc-sections
56876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56877 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56878 if test x$gcc_no_link = xyes; then
56879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56882 /* end confdefs.h. */
56883 int one(void) { return 1; }
56884 int two(void) { return 2; }
56887 main ()
56889 two();
56891 return 0;
56893 _ACEOF
56894 if ac_fn_c_try_link "$LINENO"; then :
56895 ac_gcsections=yes
56896 else
56897 ac_gcsections=no
56899 rm -f core conftest.err conftest.$ac_objext \
56900 conftest$ac_exeext conftest.$ac_ext
56901 if test "$ac_gcsections" = "yes"; then
56902 rm -f conftest.c
56903 touch conftest.c
56904 if $CC -c conftest.c; then
56905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56906 grep "Warning: gc-sections option ignored" > /dev/null; then
56907 ac_gcsections=no
56910 rm -f conftest.c conftest.o conftest
56912 if test "$ac_gcsections" = "yes"; then
56913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56916 $as_echo "$ac_gcsections" >&6; }
56918 if test "$ac_test_CFLAGS" = set; then
56919 CFLAGS="$ac_save_CFLAGS"
56920 else
56921 # this is the suspicious part
56922 CFLAGS=''
56926 # Set -z,relro.
56927 # Note this is only for shared objects.
56928 ac_ld_relro=no
56929 if test x"$with_gnu_ld" = x"yes"; then
56930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56931 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56933 if test -n "$cxx_z_relo"; then
56934 OPT_LDFLAGS="-Wl,-z,relro"
56935 ac_ld_relro=yes
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56938 $as_echo "$ac_ld_relro" >&6; }
56941 # Set linker optimization flags.
56942 if test x"$with_gnu_ld" = x"yes"; then
56943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56949 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56953 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56956 *-qnx6.1* | *-qnx6.2*)
56957 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56960 # If we're not using GNU ld, then there's no point in even trying these
56961 # tests. Check for that first. We should have already tested for gld
56962 # by now (in libtool), but require it now just to be safe...
56963 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56964 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56968 # The name set by libtool depends on the version of libtool. Shame on us
56969 # for depending on an impl detail, but c'est la vie. Older versions used
56970 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56971 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56972 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56973 # set (hence we're using an older libtool), then set it.
56974 if test x${with_gnu_ld+set} != xset; then
56975 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56976 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56977 with_gnu_ld=no
56978 else
56979 with_gnu_ld=$ac_cv_prog_gnu_ld
56983 # Start by getting the version number. I think the libtool test already
56984 # does some of this, but throws away the result.
56985 glibcxx_ld_is_gold=no
56986 if test x"$with_gnu_ld" = x"yes"; then
56987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56988 $as_echo_n "checking for ld version... " >&6; }
56990 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56991 glibcxx_ld_is_gold=yes
56993 ldver=`$LD --version 2>/dev/null |
56994 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'`
56996 glibcxx_gnu_ld_version=`echo $ldver | \
56997 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56999 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57002 # Set --gc-sections.
57003 glibcxx_have_gc_sections=no
57004 if test "$glibcxx_ld_is_gold" = "yes"; then
57005 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57006 glibcxx_have_gc_sections=yes
57008 else
57009 glibcxx_gcsections_min_ld=21602
57010 if test x"$with_gnu_ld" = x"yes" &&
57011 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57012 glibcxx_have_gc_sections=yes
57015 if test "$glibcxx_have_gc_sections" = "yes"; then
57016 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57017 # NB: This flag only works reliably after 2.16.1. Configure tests
57018 # for this are difficult, so hard wire a value that should work.
57020 ac_test_CFLAGS="${CFLAGS+set}"
57021 ac_save_CFLAGS="$CFLAGS"
57022 CFLAGS='-Wl,--gc-sections'
57024 # Check for -Wl,--gc-sections
57025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57026 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57027 if test x$gcc_no_link = xyes; then
57028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 int one(void) { return 1; }
57033 int two(void) { return 2; }
57036 main ()
57038 two();
57040 return 0;
57042 _ACEOF
57043 if ac_fn_c_try_link "$LINENO"; then :
57044 ac_gcsections=yes
57045 else
57046 ac_gcsections=no
57048 rm -f core conftest.err conftest.$ac_objext \
57049 conftest$ac_exeext conftest.$ac_ext
57050 if test "$ac_gcsections" = "yes"; then
57051 rm -f conftest.c
57052 touch conftest.c
57053 if $CC -c conftest.c; then
57054 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57055 grep "Warning: gc-sections option ignored" > /dev/null; then
57056 ac_gcsections=no
57059 rm -f conftest.c conftest.o conftest
57061 if test "$ac_gcsections" = "yes"; then
57062 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57065 $as_echo "$ac_gcsections" >&6; }
57067 if test "$ac_test_CFLAGS" = set; then
57068 CFLAGS="$ac_save_CFLAGS"
57069 else
57070 # this is the suspicious part
57071 CFLAGS=''
57075 # Set -z,relro.
57076 # Note this is only for shared objects.
57077 ac_ld_relro=no
57078 if test x"$with_gnu_ld" = x"yes"; then
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57080 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57081 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57082 if test -n "$cxx_z_relo"; then
57083 OPT_LDFLAGS="-Wl,-z,relro"
57084 ac_ld_relro=yes
57086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57087 $as_echo "$ac_ld_relro" >&6; }
57090 # Set linker optimization flags.
57091 if test x"$with_gnu_ld" = x"yes"; then
57092 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57098 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57100 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57102 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57104 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57106 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57108 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57110 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57112 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57114 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57116 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57118 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57120 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57123 *-solaris*)
57124 case "$target" in
57125 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57127 # If we're not using GNU ld, then there's no point in even trying these
57128 # tests. Check for that first. We should have already tested for gld
57129 # by now (in libtool), but require it now just to be safe...
57130 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57131 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57135 # The name set by libtool depends on the version of libtool. Shame on us
57136 # for depending on an impl detail, but c'est la vie. Older versions used
57137 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57138 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57139 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57140 # set (hence we're using an older libtool), then set it.
57141 if test x${with_gnu_ld+set} != xset; then
57142 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57143 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57144 with_gnu_ld=no
57145 else
57146 with_gnu_ld=$ac_cv_prog_gnu_ld
57150 # Start by getting the version number. I think the libtool test already
57151 # does some of this, but throws away the result.
57152 glibcxx_ld_is_gold=no
57153 if test x"$with_gnu_ld" = x"yes"; then
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57155 $as_echo_n "checking for ld version... " >&6; }
57157 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57158 glibcxx_ld_is_gold=yes
57160 ldver=`$LD --version 2>/dev/null |
57161 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'`
57163 glibcxx_gnu_ld_version=`echo $ldver | \
57164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57166 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57169 # Set --gc-sections.
57170 glibcxx_have_gc_sections=no
57171 if test "$glibcxx_ld_is_gold" = "yes"; then
57172 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57173 glibcxx_have_gc_sections=yes
57175 else
57176 glibcxx_gcsections_min_ld=21602
57177 if test x"$with_gnu_ld" = x"yes" &&
57178 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57179 glibcxx_have_gc_sections=yes
57182 if test "$glibcxx_have_gc_sections" = "yes"; then
57183 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57184 # NB: This flag only works reliably after 2.16.1. Configure tests
57185 # for this are difficult, so hard wire a value that should work.
57187 ac_test_CFLAGS="${CFLAGS+set}"
57188 ac_save_CFLAGS="$CFLAGS"
57189 CFLAGS='-Wl,--gc-sections'
57191 # Check for -Wl,--gc-sections
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57193 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57194 if test x$gcc_no_link = xyes; then
57195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57198 /* end confdefs.h. */
57199 int one(void) { return 1; }
57200 int two(void) { return 2; }
57203 main ()
57205 two();
57207 return 0;
57209 _ACEOF
57210 if ac_fn_c_try_link "$LINENO"; then :
57211 ac_gcsections=yes
57212 else
57213 ac_gcsections=no
57215 rm -f core conftest.err conftest.$ac_objext \
57216 conftest$ac_exeext conftest.$ac_ext
57217 if test "$ac_gcsections" = "yes"; then
57218 rm -f conftest.c
57219 touch conftest.c
57220 if $CC -c conftest.c; then
57221 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57222 grep "Warning: gc-sections option ignored" > /dev/null; then
57223 ac_gcsections=no
57226 rm -f conftest.c conftest.o conftest
57228 if test "$ac_gcsections" = "yes"; then
57229 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57232 $as_echo "$ac_gcsections" >&6; }
57234 if test "$ac_test_CFLAGS" = set; then
57235 CFLAGS="$ac_save_CFLAGS"
57236 else
57237 # this is the suspicious part
57238 CFLAGS=''
57242 # Set -z,relro.
57243 # Note this is only for shared objects.
57244 ac_ld_relro=no
57245 if test x"$with_gnu_ld" = x"yes"; then
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57248 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57249 if test -n "$cxx_z_relo"; then
57250 OPT_LDFLAGS="-Wl,-z,relro"
57251 ac_ld_relro=yes
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57254 $as_echo "$ac_ld_relro" >&6; }
57257 # Set linker optimization flags.
57258 if test x"$with_gnu_ld" = x"yes"; then
57259 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57265 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57267 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57269 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57271 # All of the dependencies for wide character support are here, so
57272 # turn it on.
57273 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57276 esac
57277 case "$target" in
57278 *-*-solaris2.10)
57279 # These two C99 functions are present only in Solaris >= 10
57280 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57282 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57285 esac
57286 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57288 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57290 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57292 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57295 *-tpf)
57296 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57299 # If we're not using GNU ld, then there's no point in even trying these
57300 # tests. Check for that first. We should have already tested for gld
57301 # by now (in libtool), but require it now just to be safe...
57302 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57303 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57307 # The name set by libtool depends on the version of libtool. Shame on us
57308 # for depending on an impl detail, but c'est la vie. Older versions used
57309 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57310 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57311 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57312 # set (hence we're using an older libtool), then set it.
57313 if test x${with_gnu_ld+set} != xset; then
57314 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57315 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57316 with_gnu_ld=no
57317 else
57318 with_gnu_ld=$ac_cv_prog_gnu_ld
57322 # Start by getting the version number. I think the libtool test already
57323 # does some of this, but throws away the result.
57324 glibcxx_ld_is_gold=no
57325 if test x"$with_gnu_ld" = x"yes"; then
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57327 $as_echo_n "checking for ld version... " >&6; }
57329 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57330 glibcxx_ld_is_gold=yes
57332 ldver=`$LD --version 2>/dev/null |
57333 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'`
57335 glibcxx_gnu_ld_version=`echo $ldver | \
57336 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57338 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57341 # Set --gc-sections.
57342 glibcxx_have_gc_sections=no
57343 if test "$glibcxx_ld_is_gold" = "yes"; then
57344 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57345 glibcxx_have_gc_sections=yes
57347 else
57348 glibcxx_gcsections_min_ld=21602
57349 if test x"$with_gnu_ld" = x"yes" &&
57350 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57351 glibcxx_have_gc_sections=yes
57354 if test "$glibcxx_have_gc_sections" = "yes"; then
57355 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57356 # NB: This flag only works reliably after 2.16.1. Configure tests
57357 # for this are difficult, so hard wire a value that should work.
57359 ac_test_CFLAGS="${CFLAGS+set}"
57360 ac_save_CFLAGS="$CFLAGS"
57361 CFLAGS='-Wl,--gc-sections'
57363 # Check for -Wl,--gc-sections
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57365 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57366 if test x$gcc_no_link = xyes; then
57367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h. */
57371 int one(void) { return 1; }
57372 int two(void) { return 2; }
57375 main ()
57377 two();
57379 return 0;
57381 _ACEOF
57382 if ac_fn_c_try_link "$LINENO"; then :
57383 ac_gcsections=yes
57384 else
57385 ac_gcsections=no
57387 rm -f core conftest.err conftest.$ac_objext \
57388 conftest$ac_exeext conftest.$ac_ext
57389 if test "$ac_gcsections" = "yes"; then
57390 rm -f conftest.c
57391 touch conftest.c
57392 if $CC -c conftest.c; then
57393 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57394 grep "Warning: gc-sections option ignored" > /dev/null; then
57395 ac_gcsections=no
57398 rm -f conftest.c conftest.o conftest
57400 if test "$ac_gcsections" = "yes"; then
57401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57404 $as_echo "$ac_gcsections" >&6; }
57406 if test "$ac_test_CFLAGS" = set; then
57407 CFLAGS="$ac_save_CFLAGS"
57408 else
57409 # this is the suspicious part
57410 CFLAGS=''
57414 # Set -z,relro.
57415 # Note this is only for shared objects.
57416 ac_ld_relro=no
57417 if test x"$with_gnu_ld" = x"yes"; then
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57419 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57420 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57421 if test -n "$cxx_z_relo"; then
57422 OPT_LDFLAGS="-Wl,-z,relro"
57423 ac_ld_relro=yes
57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57426 $as_echo "$ac_ld_relro" >&6; }
57429 # Set linker optimization flags.
57430 if test x"$with_gnu_ld" = x"yes"; then
57431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57437 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57439 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57441 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57443 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57445 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57447 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57449 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57451 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57453 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57455 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57457 if test x"long_double_math_on_this_cpu" = x"yes"; then
57458 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57460 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57462 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57464 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57468 *-vxworks)
57469 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57471 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57473 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57475 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57477 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57479 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57481 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57483 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57485 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57487 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57489 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57491 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57493 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57495 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57497 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57499 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57501 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57503 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57505 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57507 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57511 as_fn_error "No support for this host/target combination." "$LINENO" 5
57513 esac
57517 # At some point, we should differentiate between architectures
57518 # like x86, which have long double versions, and alpha/powerpc/etc.,
57519 # which don't. For the time being, punt.
57520 if test x"long_double_math_on_this_cpu" = x"yes"; then
57521 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57523 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57525 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57527 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57529 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57531 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57533 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57535 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57537 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57539 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57541 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57543 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57545 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57547 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57549 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57551 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57553 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57555 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57557 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57559 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57561 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57563 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57565 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57570 # Check for _Unwind_GetIPInfo.
57573 # Check whether --with-system-libunwind was given.
57574 if test "${with_system_libunwind+set}" = set; then :
57575 withval=$with_system_libunwind;
57578 # If system-libunwind was not specifically set, pick a default setting.
57579 if test x$with_system_libunwind = x; then
57580 case ${target} in
57581 ia64-*-hpux*) with_system_libunwind=yes ;;
57582 *) with_system_libunwind=no ;;
57583 esac
57585 # Based on system-libunwind and target, do we have ipinfo?
57586 if test x$with_system_libunwind = xyes; then
57587 case ${target} in
57588 ia64-*-*) have_unwind_getipinfo=no ;;
57589 *) have_unwind_getipinfo=yes ;;
57590 esac
57591 else
57592 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57594 case ${target} in
57595 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57596 *) have_unwind_getipinfo=yes ;;
57597 esac
57601 if test x$have_unwind_getipinfo = xyes; then
57603 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57609 # Check whether --enable-linux-futex was given.
57610 if test "${enable_linux_futex+set}" = set; then :
57611 enableval=$enable_linux_futex;
57612 case "$enableval" in
57613 yes|no|default) ;;
57614 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57615 esac
57617 else
57618 enable_linux_futex=default
57622 case "$target" in
57623 *-linux*)
57624 case "$enable_linux_futex" in
57625 default)
57626 # If headers don't have gettid/futex syscalls definition, then
57627 # default to no, otherwise there will be compile time failures.
57628 # Otherwise, default to yes. If we don't detect we are
57629 # compiled/linked against NPTL and not cross-compiling, check
57630 # if programs are run by default against NPTL and if not, issue
57631 # a warning.
57632 enable_linux_futex=no
57633 if test x$gcc_no_link = xyes; then
57634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57637 /* end confdefs.h. */
57638 #include <sys/syscall.h>
57639 int lk;
57641 main ()
57643 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57645 return 0;
57647 _ACEOF
57648 if ac_fn_c_try_link "$LINENO"; then :
57649 save_LIBS="$LIBS"
57650 LIBS="-lpthread $LIBS"
57651 if test x$gcc_no_link = xyes; then
57652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57655 /* end confdefs.h. */
57656 #ifndef _GNU_SOURCE
57657 #define _GNU_SOURCE 1
57658 #endif
57659 #include <pthread.h>
57660 pthread_t th; void *status;
57662 main ()
57664 pthread_tryjoin_np (th, &status);
57666 return 0;
57668 _ACEOF
57669 if ac_fn_c_try_link "$LINENO"; then :
57670 enable_linux_futex=yes
57671 else
57672 if test x$cross_compiling = xno; then
57673 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57674 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57676 If so, please configure with --disable-linux-futex" >&5
57677 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57678 If so, please configure with --disable-linux-futex" >&2;}
57681 enable_linux_futex=yes
57683 rm -f core conftest.err conftest.$ac_objext \
57684 conftest$ac_exeext conftest.$ac_ext
57685 LIBS="$save_LIBS"
57687 rm -f core conftest.err conftest.$ac_objext \
57688 conftest$ac_exeext conftest.$ac_ext
57690 yes)
57691 if test x$gcc_no_link = xyes; then
57692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57695 /* end confdefs.h. */
57696 #include <sys/syscall.h>
57697 int lk;
57699 main ()
57701 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57703 return 0;
57705 _ACEOF
57706 if ac_fn_c_try_link "$LINENO"; then :
57708 else
57709 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57711 rm -f core conftest.err conftest.$ac_objext \
57712 conftest$ac_exeext conftest.$ac_ext
57714 esac
57717 enable_linux_futex=no
57719 esac
57720 if test x$enable_linux_futex = xyes; then
57722 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57729 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57731 acx_cv_header_stdint=stddef.h
57732 acx_cv_header_stdint_kind="(already complete)"
57733 for i in stdint.h $inttype_headers; do
57734 unset ac_cv_type_uintptr_t
57735 unset ac_cv_type_uintmax_t
57736 unset ac_cv_type_int_least32_t
57737 unset ac_cv_type_int_fast32_t
57738 unset ac_cv_type_uint64_t
57739 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57740 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57741 #include <$i>
57743 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57744 acx_cv_header_stdint=$i
57745 else
57746 continue
57749 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57750 #include <$i>
57752 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57754 else
57755 acx_cv_header_stdint_kind="(mostly complete)"
57758 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57759 #include <$i>
57761 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57763 else
57764 acx_cv_header_stdint_kind="(mostly complete)"
57767 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57768 #include <$i>
57770 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57772 else
57773 acx_cv_header_stdint_kind="(mostly complete)"
57776 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57777 #include <$i>
57779 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57781 else
57782 acx_cv_header_stdint_kind="(lacks uint64_t)"
57785 break
57786 done
57787 if test "$acx_cv_header_stdint" = stddef.h; then
57788 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57789 for i in stdint.h $inttype_headers; do
57790 unset ac_cv_type_uintptr_t
57791 unset ac_cv_type_uint32_t
57792 unset ac_cv_type_uint64_t
57793 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57794 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57795 #include <$i>
57797 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57798 acx_cv_header_stdint=$i
57799 else
57800 continue
57803 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57804 #include <$i>
57806 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57810 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57811 #include <$i>
57813 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57817 break
57818 done
57820 if test "$acx_cv_header_stdint" = stddef.h; then
57821 acx_cv_header_stdint_kind="(u_intXX_t style)"
57822 for i in sys/types.h $inttype_headers; do
57823 unset ac_cv_type_u_int32_t
57824 unset ac_cv_type_u_int64_t
57825 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57826 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57827 #include <$i>
57829 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57830 acx_cv_header_stdint=$i
57831 else
57832 continue
57835 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57836 #include <$i>
57838 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57842 break
57843 done
57845 if test "$acx_cv_header_stdint" = stddef.h; then
57846 acx_cv_header_stdint_kind="(using manual detection)"
57849 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57850 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57851 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57852 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57853 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57855 # ----------------- Summarize what we found so far
57857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57858 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57860 case `$as_basename -- include/gstdint.h ||
57861 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57862 Xinclude/gstdint.h : 'X\(//\)$' \| \
57863 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57864 $as_echo X/include/gstdint.h |
57865 sed '/^.*\/\([^/][^/]*\)\/*$/{
57866 s//\1/
57869 /^X\/\(\/\/\)$/{
57870 s//\1/
57873 /^X\/\(\/\).*/{
57874 s//\1/
57877 s/.*/./; q'` in
57878 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57879 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57880 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57881 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57882 *) ;;
57883 esac
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57886 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57888 # ----------------- done included file, check C basic types --------
57890 # Lacking an uintptr_t? Test size of void *
57891 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57892 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57895 # This bug is HP SR number 8606223364.
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57897 $as_echo_n "checking size of void *... " >&6; }
57898 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57899 $as_echo_n "(cached) " >&6
57900 else
57901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57903 else
57904 if test "$ac_cv_type_void_p" = yes; then
57905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57907 { as_fn_set_status 77
57908 as_fn_error "cannot compute sizeof (void *)
57909 See \`config.log' for more details." "$LINENO" 5; }; }
57910 else
57911 ac_cv_sizeof_void_p=0
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57917 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57921 cat >>confdefs.h <<_ACEOF
57922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57923 _ACEOF
57926 esac
57928 # Lacking an uint64_t? Test size of long
57929 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57930 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57933 # This bug is HP SR number 8606223364.
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57935 $as_echo_n "checking size of long... " >&6; }
57936 if test "${ac_cv_sizeof_long+set}" = set; then :
57937 $as_echo_n "(cached) " >&6
57938 else
57939 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57941 else
57942 if test "$ac_cv_type_long" = yes; then
57943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57945 { as_fn_set_status 77
57946 as_fn_error "cannot compute sizeof (long)
57947 See \`config.log' for more details." "$LINENO" 5; }; }
57948 else
57949 ac_cv_sizeof_long=0
57954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57955 $as_echo "$ac_cv_sizeof_long" >&6; }
57959 cat >>confdefs.h <<_ACEOF
57960 #define SIZEOF_LONG $ac_cv_sizeof_long
57961 _ACEOF
57964 esac
57966 if test $acx_cv_header_stdint = stddef.h; then
57967 # Lacking a good header? Test size of everything and deduce all types.
57968 # The cast to long int works around a bug in the HP C Compiler
57969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57971 # This bug is HP SR number 8606223364.
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57973 $as_echo_n "checking size of int... " >&6; }
57974 if test "${ac_cv_sizeof_int+set}" = set; then :
57975 $as_echo_n "(cached) " >&6
57976 else
57977 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57979 else
57980 if test "$ac_cv_type_int" = yes; then
57981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57983 { as_fn_set_status 77
57984 as_fn_error "cannot compute sizeof (int)
57985 See \`config.log' for more details." "$LINENO" 5; }; }
57986 else
57987 ac_cv_sizeof_int=0
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57993 $as_echo "$ac_cv_sizeof_int" >&6; }
57997 cat >>confdefs.h <<_ACEOF
57998 #define SIZEOF_INT $ac_cv_sizeof_int
57999 _ACEOF
58002 # The cast to long int works around a bug in the HP C Compiler
58003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58005 # This bug is HP SR number 8606223364.
58006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
58007 $as_echo_n "checking size of short... " >&6; }
58008 if test "${ac_cv_sizeof_short+set}" = set; then :
58009 $as_echo_n "(cached) " >&6
58010 else
58011 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
58013 else
58014 if test "$ac_cv_type_short" = yes; then
58015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58017 { as_fn_set_status 77
58018 as_fn_error "cannot compute sizeof (short)
58019 See \`config.log' for more details." "$LINENO" 5; }; }
58020 else
58021 ac_cv_sizeof_short=0
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58027 $as_echo "$ac_cv_sizeof_short" >&6; }
58031 cat >>confdefs.h <<_ACEOF
58032 #define SIZEOF_SHORT $ac_cv_sizeof_short
58033 _ACEOF
58036 # The cast to long int works around a bug in the HP C Compiler
58037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58039 # This bug is HP SR number 8606223364.
58040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58041 $as_echo_n "checking size of char... " >&6; }
58042 if test "${ac_cv_sizeof_char+set}" = set; then :
58043 $as_echo_n "(cached) " >&6
58044 else
58045 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58047 else
58048 if test "$ac_cv_type_char" = yes; then
58049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58051 { as_fn_set_status 77
58052 as_fn_error "cannot compute sizeof (char)
58053 See \`config.log' for more details." "$LINENO" 5; }; }
58054 else
58055 ac_cv_sizeof_char=0
58060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58061 $as_echo "$ac_cv_sizeof_char" >&6; }
58065 cat >>confdefs.h <<_ACEOF
58066 #define SIZEOF_CHAR $ac_cv_sizeof_char
58067 _ACEOF
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58072 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58073 case "$ac_cv_sizeof_char" in
58074 1) acx_cv_type_int8_t=char ;;
58075 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
58076 esac
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58078 $as_echo "$acx_cv_type_int8_t" >&6; }
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58081 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58082 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58083 2:*) acx_cv_type_int16_t=int ;;
58084 *:2) acx_cv_type_int16_t=short ;;
58085 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
58086 esac
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58088 $as_echo "$acx_cv_type_int16_t" >&6; }
58090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58091 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58093 4:*) acx_cv_type_int32_t=int ;;
58094 *:4) acx_cv_type_int32_t=long ;;
58095 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
58096 esac
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58098 $as_echo "$acx_cv_type_int32_t" >&6; }
58101 # These tests are here to make the output prettier
58103 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58104 case "$ac_cv_sizeof_long" in
58105 8) acx_cv_type_int64_t=long ;;
58106 esac
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58108 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58110 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58113 # Now we can use the above types
58115 if test "$ac_cv_type_uintptr_t" != yes; then
58116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58117 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58118 case $ac_cv_sizeof_void_p in
58119 2) acx_cv_type_intptr_t=int16_t ;;
58120 4) acx_cv_type_intptr_t=int32_t ;;
58121 8) acx_cv_type_intptr_t=int64_t ;;
58122 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
58123 esac
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58125 $as_echo "$acx_cv_type_intptr_t" >&6; }
58128 # ----------------- done all checks, emit header -------------
58129 ac_config_commands="$ac_config_commands include/gstdint.h"
58134 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58137 $as_echo_n "checking for GNU c++filt... " >&6; }
58138 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58139 $as_echo_n "(cached) " >&6
58140 else
58141 if test -z "$CXXFILT"; then
58142 ac_path_CXXFILT_found=false
58143 # Loop through the user's path and test for each of PROGNAME-LIST
58144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58145 for as_dir in $PATH
58147 IFS=$as_save_IFS
58148 test -z "$as_dir" && as_dir=.
58149 for ac_prog in c++filt gc++filt; do
58150 for ac_exec_ext in '' $ac_executable_extensions; do
58151 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58152 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58153 # Check for GNU $ac_path_CXXFILT
58154 case `"$ac_path_CXXFILT" --version 2>&1` in
58155 *GNU*)
58156 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58157 esac
58159 $ac_path_CXXFILT_found && break 3
58160 done
58161 done
58162 done
58163 IFS=$as_save_IFS
58164 if test -z "$ac_cv_path_CXXFILT"; then
58167 else
58168 ac_cv_path_CXXFILT=$CXXFILT
58172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58173 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58174 CXXFILT=$ac_cv_path_CXXFILT
58178 # Check whether --enable-symvers was given.
58179 if test "${enable_symvers+set}" = set; then :
58180 enableval=$enable_symvers;
58181 case "$enableval" in
58182 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58183 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58184 esac
58186 else
58187 enable_symvers=yes
58192 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58193 # don't know enough about $LD to do tricks...
58195 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58196 # with extern "C++" in version scripts.
58199 # Turn a 'yes' into a suitable default.
58200 if test x$enable_symvers = xyes ; then
58201 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58202 enable_symvers=no
58203 else
58204 if test $with_gnu_ld = yes ; then
58205 case ${target_os} in
58206 hpux*)
58207 enable_symvers=no ;;
58209 enable_symvers=gnu ;;
58210 esac
58211 else
58212 case ${target_os} in
58213 darwin*)
58214 enable_symvers=darwin ;;
58215 # Sun symbol versioning exists since Solaris 2.5.
58216 solaris2.[5-9]* | solaris2.1[0-9]*)
58217 # make_sunver.pl needs GNU c++filt to support extern "C++" in
58218 # version scripts, so disable symbol versioning if none can be
58219 # found.
58220 if test -z "$ac_cv_path_CXXFILT"; then
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58222 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
58224 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
58225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58226 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58227 enable_symvers=no
58228 else
58229 enable_symvers=sun
58233 enable_symvers=no ;;
58234 esac
58239 # Check to see if 'darwin' or 'darwin-export' can win.
58240 if test x$enable_symvers = xdarwin-export ; then
58241 enable_symvers=darwin
58244 # Check if 'sun' was requested on non-Solaris 2 platforms.
58245 if test x$enable_symvers = xsun ; then
58246 case ${target_os} in
58247 solaris2*)
58248 # All fine.
58251 # Unlikely to work.
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58253 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58255 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58257 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58258 enable_symvers=no
58260 esac
58263 # Check to see if 'gnu' can win.
58264 if test $enable_symvers = gnu ||
58265 test $enable_symvers = gnu-versioned-namespace ||
58266 test $enable_symvers = sun; then
58267 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58269 $as_echo_n "checking for shared libgcc... " >&6; }
58270 ac_save_CFLAGS="$CFLAGS"
58271 CFLAGS=' -lgcc_s'
58272 if test x$gcc_no_link = xyes; then
58273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58279 main ()
58281 return 0;
58283 return 0;
58285 _ACEOF
58286 if ac_fn_c_try_link "$LINENO"; then :
58287 glibcxx_shared_libgcc=yes
58288 else
58289 glibcxx_shared_libgcc=no
58291 rm -f core conftest.err conftest.$ac_objext \
58292 conftest$ac_exeext conftest.$ac_ext
58293 CFLAGS="$ac_save_CFLAGS"
58294 if test $glibcxx_shared_libgcc = no; then
58295 cat > conftest.c <<EOF
58296 int main (void) { return 0; }
58298 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58299 -shared -shared-libgcc -o conftest.so \
58300 conftest.c -v 2>&1 >/dev/null \
58301 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58302 rm -f conftest.c conftest.so
58303 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58304 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58305 if test x$gcc_no_link = xyes; then
58306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58309 /* end confdefs.h. */
58312 main ()
58314 return 0;
58316 return 0;
58318 _ACEOF
58319 if ac_fn_c_try_link "$LINENO"; then :
58320 glibcxx_shared_libgcc=yes
58322 rm -f core conftest.err conftest.$ac_objext \
58323 conftest$ac_exeext conftest.$ac_ext
58324 CFLAGS="$ac_save_CFLAGS"
58327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58328 $as_echo "$glibcxx_shared_libgcc" >&6; }
58330 # For GNU ld, we need at least this version. The format is described in
58331 # GLIBCXX_CHECK_LINKER_FEATURES above.
58332 glibcxx_min_gnu_ld_version=21400
58334 # If no shared libgcc, can't win.
58335 if test $glibcxx_shared_libgcc != yes; then
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58337 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58339 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58341 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58342 enable_symvers=no
58343 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58344 : All interesting versions of Sun ld support sun style symbol versioning.
58345 elif test $with_gnu_ld != yes ; then
58346 # just fail for now
58347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58348 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58350 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&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
58354 elif test $glibcxx_ld_is_gold = yes ; then
58355 : All versions of gold support symbol versioning.
58356 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58357 # The right tools, the right setup, but too old. Fallbacks?
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58359 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58361 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58363 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58365 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58367 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58368 enable_symvers=no
58372 # Everything parsed; figure out what file to use.
58373 case $enable_symvers in
58375 SYMVER_FILE=config/abi/pre/none.ver
58377 gnu)
58378 SYMVER_FILE=config/abi/pre/gnu.ver
58380 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58383 gnu-versioned-namespace)
58384 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58386 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58389 darwin)
58390 SYMVER_FILE=config/abi/pre/gnu.ver
58392 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58395 sun)
58396 SYMVER_FILE=config/abi/pre/gnu.ver
58398 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58401 esac
58403 if test x$enable_symvers != xno ; then
58405 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58410 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58411 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58412 $as_echo_n "(cached) " >&6
58413 else
58415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h. */
58417 void foo (void); __asm (".symver foo, bar@SYMVER");
58419 main ()
58423 return 0;
58425 _ACEOF
58426 if ac_fn_c_try_compile "$LINENO"; then :
58427 glibcxx_cv_have_as_symver_directive=yes
58428 else
58429 glibcxx_cv_have_as_symver_directive=no
58431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58434 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58435 if test $glibcxx_cv_have_as_symver_directive = yes; then
58437 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58449 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58451 if test $enable_symvers != no ; then
58452 case ${target_os} in
58453 # The Solaris 2 runtime linker doesn't support the GNU extension of
58454 # binding the same symbol to different versions
58455 solaris2*)
58456 symvers_renaming=no ;;
58457 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58460 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58462 symvers_renaming=yes ;;
58463 esac
58464 else
58465 symvers_renaming=no
58469 # Now, set up compatibility support, if any.
58470 # In addition, need this to deal with std::size_t mangling in
58471 # src/compatibility.cc. In a perfect world, could use
58472 # typeid(std::size_t).name()[0] to do direct substitution.
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58474 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58475 ac_save_CFLAGS="$CFLAGS"
58476 CFLAGS="-Werror"
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58481 main ()
58483 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58485 return 0;
58487 _ACEOF
58488 if ac_fn_c_try_compile "$LINENO"; then :
58489 glibcxx_size_t_is_i=yes
58490 else
58491 glibcxx_size_t_is_i=no
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 CFLAGS=$ac_save_CFLAGS
58495 if test "$glibcxx_size_t_is_i" = yes; then
58497 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58501 $as_echo "$glibcxx_size_t_is_i" >&6; }
58503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58504 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58505 ac_save_CFLAGS="$CFLAGS"
58506 CFLAGS="-Werror"
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58511 main ()
58513 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58515 return 0;
58517 _ACEOF
58518 if ac_fn_c_try_compile "$LINENO"; then :
58519 glibcxx_ptrdiff_t_is_i=yes
58520 else
58521 glibcxx_ptrdiff_t_is_i=no
58523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58524 CFLAGS=$ac_save_CFLAGS
58525 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58527 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58531 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58534 # Check whether --enable-visibility was given.
58535 if test "${enable_visibility+set}" = set; then :
58536 enableval=$enable_visibility;
58537 case "$enableval" in
58538 yes|no) ;;
58539 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58540 esac
58542 else
58543 enable_visibility=yes
58548 if test x$enable_visibility = xyes ; then
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58550 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58551 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58552 $as_echo_n "(cached) " >&6
58553 else
58555 save_CFLAGS="$CFLAGS"
58556 CFLAGS="$CFLAGS -Werror"
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 void __attribute__((visibility("hidden"))) foo(void) { }
58561 main ()
58565 return 0;
58567 _ACEOF
58568 if ac_fn_c_try_compile "$LINENO"; then :
58569 glibcxx_cv_have_attribute_visibility=yes
58570 else
58571 glibcxx_cv_have_attribute_visibility=no
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 CFLAGS="$save_CFLAGS"
58576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58577 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58578 if test $glibcxx_cv_have_attribute_visibility = no; then
58579 enable_visibility=no
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58585 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58588 ac_ldbl_compat=no
58589 case "$target" in
58590 powerpc*-*-linux* | \
58591 powerpc*-*-gnu* | \
58592 sparc*-*-linux* | \
58593 s390*-*-linux* | \
58594 alpha*-*-linux*)
58595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58596 /* end confdefs.h. */
58599 main ()
58602 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58603 #error no need for long double compatibility
58604 #endif
58607 return 0;
58609 _ACEOF
58610 if ac_fn_c_try_compile "$LINENO"; then :
58611 ac_ldbl_compat=yes
58612 else
58613 ac_ldbl_compat=no
58615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58616 if test "$ac_ldbl_compat" = yes; then
58618 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58620 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58622 esac
58625 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58627 if $GLIBCXX_IS_NATIVE ; then
58628 # Do checks for resource limit functions.
58630 setrlimit_have_headers=yes
58631 for ac_header in unistd.h sys/time.h sys/resource.h
58632 do :
58633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58634 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58635 eval as_val=\$$as_ac_Header
58636 if test "x$as_val" = x""yes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58639 _ACEOF
58641 else
58642 setrlimit_have_headers=no
58645 done
58647 # If don't have the headers, then we can't run the tests now, and we
58648 # won't be seeing any of these during testsuite compilation.
58649 if test $setrlimit_have_headers = yes; then
58650 # Can't do these in a loop, else the resulting syntax is wrong.
58652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58653 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58655 /* end confdefs.h. */
58656 #include <unistd.h>
58657 #include <sys/time.h>
58658 #include <sys/resource.h>
58661 main ()
58663 int f = RLIMIT_DATA ;
58665 return 0;
58667 _ACEOF
58668 if ac_fn_c_try_compile "$LINENO"; then :
58669 glibcxx_mresult=1
58670 else
58671 glibcxx_mresult=0
58673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58675 cat >>confdefs.h <<_ACEOF
58676 #define HAVE_LIMIT_DATA $glibcxx_mresult
58677 _ACEOF
58679 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58681 $as_echo "$res" >&6; }
58684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58685 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58687 /* end confdefs.h. */
58688 #include <unistd.h>
58689 #include <sys/time.h>
58690 #include <sys/resource.h>
58693 main ()
58695 int f = RLIMIT_RSS ;
58697 return 0;
58699 _ACEOF
58700 if ac_fn_c_try_compile "$LINENO"; then :
58701 glibcxx_mresult=1
58702 else
58703 glibcxx_mresult=0
58705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58707 cat >>confdefs.h <<_ACEOF
58708 #define HAVE_LIMIT_RSS $glibcxx_mresult
58709 _ACEOF
58711 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58713 $as_echo "$res" >&6; }
58716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58717 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58719 /* end confdefs.h. */
58720 #include <unistd.h>
58721 #include <sys/time.h>
58722 #include <sys/resource.h>
58725 main ()
58727 int f = RLIMIT_VMEM ;
58729 return 0;
58731 _ACEOF
58732 if ac_fn_c_try_compile "$LINENO"; then :
58733 glibcxx_mresult=1
58734 else
58735 glibcxx_mresult=0
58737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58741 _ACEOF
58743 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58745 $as_echo "$res" >&6; }
58748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58749 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <unistd.h>
58753 #include <sys/time.h>
58754 #include <sys/resource.h>
58757 main ()
58759 int f = RLIMIT_AS ;
58761 return 0;
58763 _ACEOF
58764 if ac_fn_c_try_compile "$LINENO"; then :
58765 glibcxx_mresult=1
58766 else
58767 glibcxx_mresult=0
58769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58771 cat >>confdefs.h <<_ACEOF
58772 #define HAVE_LIMIT_AS $glibcxx_mresult
58773 _ACEOF
58775 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58777 $as_echo "$res" >&6; }
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58781 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58783 /* end confdefs.h. */
58784 #include <unistd.h>
58785 #include <sys/time.h>
58786 #include <sys/resource.h>
58789 main ()
58791 int f = RLIMIT_FSIZE ;
58793 return 0;
58795 _ACEOF
58796 if ac_fn_c_try_compile "$LINENO"; then :
58797 glibcxx_mresult=1
58798 else
58799 glibcxx_mresult=0
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58805 _ACEOF
58807 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58809 $as_echo "$res" >&6; }
58812 # Check for rlimit, setrlimit.
58813 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58814 $as_echo_n "(cached) " >&6
58815 else
58817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58818 /* end confdefs.h. */
58819 #include <unistd.h>
58820 #include <sys/time.h>
58821 #include <sys/resource.h>
58824 main ()
58826 struct rlimit r;
58827 setrlimit(0, &r);
58829 return 0;
58831 _ACEOF
58832 if ac_fn_c_try_compile "$LINENO"; then :
58833 glibcxx_cv_setrlimit=yes
58834 else
58835 glibcxx_cv_setrlimit=no
58837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58844 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58845 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58846 ac_res_limits=yes
58848 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58850 else
58851 ac_res_limits=no
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58854 $as_echo "$ac_res_limits" >&6; }
58857 # Look for setenv, so that extended locale tests can be performed.
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58860 $as_echo_n "checking for setenv declaration... " >&6; }
58861 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58862 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58863 $as_echo_n "(cached) " >&6
58864 else
58867 ac_ext=cpp
58868 ac_cpp='$CXXCPP $CPPFLAGS'
58869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58874 /* end confdefs.h. */
58875 #include <stdlib.h>
58877 main ()
58879 setenv(0, 0, 0);
58881 return 0;
58883 _ACEOF
58884 if ac_fn_cxx_try_compile "$LINENO"; then :
58885 glibcxx_cv_func_setenv_use=yes
58886 else
58887 glibcxx_cv_func_setenv_use=no
58889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58890 ac_ext=c
58891 ac_cpp='$CPP $CPPFLAGS'
58892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58901 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58902 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58903 for ac_func in setenv
58904 do :
58905 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58906 if test "x$ac_cv_func_setenv" = x""yes; then :
58907 cat >>confdefs.h <<_ACEOF
58908 #define HAVE_SETENV 1
58909 _ACEOF
58912 done
58918 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58919 test $enable_symvers != no; then
58920 case "$host" in
58921 *-*-cygwin*)
58922 enable_abi_check=no ;;
58924 enable_abi_check=yes ;;
58925 esac
58926 else
58927 # Only build this as native, since automake does not understand
58928 # CXX_FOR_BUILD.
58929 enable_abi_check=no
58932 # Export file names for ABI checking.
58933 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58937 # Propagate the target-specific source directories through the build chain.
58938 ATOMICITY_SRCDIR=config/${atomicity_dir}
58939 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58940 ATOMIC_FLAGS=${atomic_flags}
58941 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58942 OS_INC_SRCDIR=config/${os_include_dir}
58943 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58944 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58954 # Determine cross-compile flags and AM_CONDITIONALs.
58955 #AC_SUBST(GLIBCXX_IS_NATIVE)
58956 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58957 if test $is_hosted = yes; then
58958 GLIBCXX_HOSTED_TRUE=
58959 GLIBCXX_HOSTED_FALSE='#'
58960 else
58961 GLIBCXX_HOSTED_TRUE='#'
58962 GLIBCXX_HOSTED_FALSE=
58966 if test $enable_libstdcxx_pch = yes; then
58967 GLIBCXX_BUILD_PCH_TRUE=
58968 GLIBCXX_BUILD_PCH_FALSE='#'
58969 else
58970 GLIBCXX_BUILD_PCH_TRUE='#'
58971 GLIBCXX_BUILD_PCH_FALSE=
58975 if test $enable_cheaders = c; then
58976 GLIBCXX_C_HEADERS_C_TRUE=
58977 GLIBCXX_C_HEADERS_C_FALSE='#'
58978 else
58979 GLIBCXX_C_HEADERS_C_TRUE='#'
58980 GLIBCXX_C_HEADERS_C_FALSE=
58984 if test $enable_cheaders = c_std; then
58985 GLIBCXX_C_HEADERS_C_STD_TRUE=
58986 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58987 else
58988 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58989 GLIBCXX_C_HEADERS_C_STD_FALSE=
58993 if test $enable_cheaders = c_global; then
58994 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58995 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58996 else
58997 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58998 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
59002 if test $c_compatibility = yes; then
59003 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
59004 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
59005 else
59006 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
59007 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
59011 if test $enable_libstdcxx_debug = yes; then
59012 GLIBCXX_BUILD_DEBUG_TRUE=
59013 GLIBCXX_BUILD_DEBUG_FALSE='#'
59014 else
59015 GLIBCXX_BUILD_DEBUG_TRUE='#'
59016 GLIBCXX_BUILD_DEBUG_FALSE=
59020 if test $enable_parallel = yes; then
59021 ENABLE_PARALLEL_TRUE=
59022 ENABLE_PARALLEL_FALSE='#'
59023 else
59024 ENABLE_PARALLEL_TRUE='#'
59025 ENABLE_PARALLEL_FALSE=
59029 if test $enable_symvers != no; then
59030 ENABLE_SYMVERS_TRUE=
59031 ENABLE_SYMVERS_FALSE='#'
59032 else
59033 ENABLE_SYMVERS_TRUE='#'
59034 ENABLE_SYMVERS_FALSE=
59038 if test $enable_symvers = gnu; then
59039 ENABLE_SYMVERS_GNU_TRUE=
59040 ENABLE_SYMVERS_GNU_FALSE='#'
59041 else
59042 ENABLE_SYMVERS_GNU_TRUE='#'
59043 ENABLE_SYMVERS_GNU_FALSE=
59047 if test $enable_symvers = gnu-versioned-namespace; then
59048 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59049 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59050 else
59051 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59052 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59056 if test $enable_symvers = darwin; then
59057 ENABLE_SYMVERS_DARWIN_TRUE=
59058 ENABLE_SYMVERS_DARWIN_FALSE='#'
59059 else
59060 ENABLE_SYMVERS_DARWIN_TRUE='#'
59061 ENABLE_SYMVERS_DARWIN_FALSE=
59065 if test $enable_symvers = sun; then
59066 ENABLE_SYMVERS_SUN_TRUE=
59067 ENABLE_SYMVERS_SUN_FALSE='#'
59068 else
59069 ENABLE_SYMVERS_SUN_TRUE='#'
59070 ENABLE_SYMVERS_SUN_FALSE=
59074 if test $symvers_renaming = no; then
59075 ENABLE_SYMVERS_SOL2_TRUE=
59076 ENABLE_SYMVERS_SOL2_FALSE='#'
59077 else
59078 ENABLE_SYMVERS_SOL2_TRUE='#'
59079 ENABLE_SYMVERS_SOL2_FALSE=
59083 if test $enable_visibility = yes; then
59084 ENABLE_VISIBILITY_TRUE=
59085 ENABLE_VISIBILITY_FALSE='#'
59086 else
59087 ENABLE_VISIBILITY_TRUE='#'
59088 ENABLE_VISIBILITY_FALSE=
59092 if test $ac_ldbl_compat = yes; then
59093 GLIBCXX_LDBL_COMPAT_TRUE=
59094 GLIBCXX_LDBL_COMPAT_FALSE='#'
59095 else
59096 GLIBCXX_LDBL_COMPAT_TRUE='#'
59097 GLIBCXX_LDBL_COMPAT_FALSE=
59103 cat >confcache <<\_ACEOF
59104 # This file is a shell script that caches the results of configure
59105 # tests run on this system so they can be shared between configure
59106 # scripts and configure runs, see configure's option --config-cache.
59107 # It is not useful on other systems. If it contains results you don't
59108 # want to keep, you may remove or edit it.
59110 # config.status only pays attention to the cache file if you give it
59111 # the --recheck option to rerun configure.
59113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59115 # following values.
59117 _ACEOF
59119 # The following way of writing the cache mishandles newlines in values,
59120 # but we know of no workaround that is simple, portable, and efficient.
59121 # So, we kill variables containing newlines.
59122 # Ultrix sh set writes to stderr and can't be redirected directly,
59123 # and sets the high bit in the cache file unless we assign to the vars.
59125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59126 eval ac_val=\$$ac_var
59127 case $ac_val in #(
59128 *${as_nl}*)
59129 case $ac_var in #(
59130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59132 esac
59133 case $ac_var in #(
59134 _ | IFS | as_nl) ;; #(
59135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59136 *) { eval $ac_var=; unset $ac_var;} ;;
59137 esac ;;
59138 esac
59139 done
59141 (set) 2>&1 |
59142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59143 *${as_nl}ac_space=\ *)
59144 # `set' does not quote correctly, so add quotes: double-quote
59145 # substitution turns \\\\ into \\, and sed turns \\ into \.
59146 sed -n \
59147 "s/'/'\\\\''/g;
59148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59149 ;; #(
59151 # `set' quotes correctly as required by POSIX, so do not add quotes.
59152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59154 esac |
59155 sort
59157 sed '
59158 /^ac_cv_env_/b end
59159 t clear
59160 :clear
59161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59162 t end
59163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59164 :end' >>confcache
59165 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59166 if test -w "$cache_file"; then
59167 test "x$cache_file" != "x/dev/null" &&
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59169 $as_echo "$as_me: updating cache $cache_file" >&6;}
59170 cat confcache >$cache_file
59171 else
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59173 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59176 rm -f confcache
59178 if test ${multilib} = yes; then
59179 multilib_arg="--enable-multilib"
59180 else
59181 multilib_arg=
59184 # Export all the install information.
59186 glibcxx_toolexecdir=no
59187 glibcxx_toolexeclibdir=no
59188 glibcxx_prefixdir=$prefix
59190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59191 $as_echo_n "checking for gxx-include-dir... " >&6; }
59193 # Check whether --with-gxx-include-dir was given.
59194 if test "${with_gxx_include_dir+set}" = set; then :
59195 withval=$with_gxx_include_dir; case "$withval" in
59196 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59197 no) gxx_include_dir=no ;;
59198 *) gxx_include_dir=$withval ;;
59199 esac
59200 else
59201 gxx_include_dir=no
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59205 $as_echo "$gxx_include_dir" >&6; }
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59208 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59209 # Check whether --enable-version-specific-runtime-libs was given.
59210 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59211 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59212 yes) version_specific_libs=yes ;;
59213 no) version_specific_libs=no ;;
59214 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59215 esac
59216 else
59217 version_specific_libs=no
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59221 $as_echo "$version_specific_libs" >&6; }
59223 # Default case for install directory for include files.
59224 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59225 gxx_include_dir='include/c++/${gcc_version}'
59226 if test -n "$with_cross_host" &&
59227 test x"$with_cross_host" != x"no"; then
59228 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59229 else
59230 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59234 # Version-specific runtime libs processing.
59235 if test $version_specific_libs = yes; then
59236 # Need the gcc compiler version to know where to install libraries
59237 # and header files if --enable-version-specific-runtime-libs option
59238 # is selected. FIXME: these variables are misnamed, there are
59239 # no executables installed in _toolexecdir or _toolexeclibdir.
59240 if test x"$gxx_include_dir" = x"no"; then
59241 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59243 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59244 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59247 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59248 # Install a library built with a cross compiler in tooldir, not libdir.
59249 if test x"$glibcxx_toolexecdir" = x"no"; then
59250 if test -n "$with_cross_host" &&
59251 test x"$with_cross_host" != x"no"; then
59252 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59253 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59254 else
59255 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59256 glibcxx_toolexeclibdir='${libdir}'
59258 multi_os_directory=`$CXX -print-multi-os-directory`
59259 case $multi_os_directory in
59260 .) ;; # Avoid trailing /.
59261 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59262 esac
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59266 $as_echo_n "checking for install location... " >&6; }
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59268 $as_echo "$gxx_include_dir" >&6; }
59276 # Export all the include and flag information to Makefiles.
59278 # Used for every C++ compile we perform.
59279 GLIBCXX_INCLUDES="\
59280 -I$glibcxx_builddir/include/$host_alias \
59281 -I$glibcxx_builddir/include \
59282 -I$glibcxx_srcdir/libsupc++"
59284 # For Canadian crosses, pick this up too.
59285 if test $CANADIAN = yes; then
59286 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59289 # Stuff in the actual top level. Currently only used by libsupc++ to
59290 # get unwind* headers from the gcc dir.
59291 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59292 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59294 # Now, export this to all the little Makefiles....
59299 # Optimization flags that are probably a good idea for thrill-seekers. Just
59300 # uncomment the lines below and make, everything else is ready to go...
59301 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59302 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59305 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59309 if test "$enable_shared" = yes; then
59310 LIBSUPCXX_PICFLAGS="-prefer-pic"
59311 else
59312 LIBSUPCXX_PICFLAGS=
59316 ac_config_files="$ac_config_files Makefile"
59318 ac_config_files="$ac_config_files scripts/testsuite_flags"
59320 ac_config_files="$ac_config_files scripts/extract_symvers"
59323 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59324 # that multilib installs will end up installed in the correct place.
59325 # The testsuite needs it for multilib-aware ABI baseline files.
59326 # To work around this not being passed down from config-ml.in ->
59327 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59328 # append it here. Only modify Makefiles that have just been created.
59330 # Also, get rid of this simulated-VPATH thing that automake does.
59331 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59334 ac_config_commands="$ac_config_commands generate-headers"
59337 cat >confcache <<\_ACEOF
59338 # This file is a shell script that caches the results of configure
59339 # tests run on this system so they can be shared between configure
59340 # scripts and configure runs, see configure's option --config-cache.
59341 # It is not useful on other systems. If it contains results you don't
59342 # want to keep, you may remove or edit it.
59344 # config.status only pays attention to the cache file if you give it
59345 # the --recheck option to rerun configure.
59347 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59348 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59349 # following values.
59351 _ACEOF
59353 # The following way of writing the cache mishandles newlines in values,
59354 # but we know of no workaround that is simple, portable, and efficient.
59355 # So, we kill variables containing newlines.
59356 # Ultrix sh set writes to stderr and can't be redirected directly,
59357 # and sets the high bit in the cache file unless we assign to the vars.
59359 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59360 eval ac_val=\$$ac_var
59361 case $ac_val in #(
59362 *${as_nl}*)
59363 case $ac_var in #(
59364 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59366 esac
59367 case $ac_var in #(
59368 _ | IFS | as_nl) ;; #(
59369 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59370 *) { eval $ac_var=; unset $ac_var;} ;;
59371 esac ;;
59372 esac
59373 done
59375 (set) 2>&1 |
59376 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59377 *${as_nl}ac_space=\ *)
59378 # `set' does not quote correctly, so add quotes: double-quote
59379 # substitution turns \\\\ into \\, and sed turns \\ into \.
59380 sed -n \
59381 "s/'/'\\\\''/g;
59382 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59383 ;; #(
59385 # `set' quotes correctly as required by POSIX, so do not add quotes.
59386 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59388 esac |
59389 sort
59391 sed '
59392 /^ac_cv_env_/b end
59393 t clear
59394 :clear
59395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59396 t end
59397 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59398 :end' >>confcache
59399 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59400 if test -w "$cache_file"; then
59401 test "x$cache_file" != "x/dev/null" &&
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59403 $as_echo "$as_me: updating cache $cache_file" >&6;}
59404 cat confcache >$cache_file
59405 else
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59407 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59410 rm -f confcache
59412 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59413 # Let make expand exec_prefix.
59414 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59416 DEFS=-DHAVE_CONFIG_H
59418 ac_libobjs=
59419 ac_ltlibobjs=
59420 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59421 # 1. Remove the extension, and $U if already installed.
59422 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59423 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59424 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59425 # will be set to the directory where LIBOBJS objects are built.
59426 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59427 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59428 done
59429 LIBOBJS=$ac_libobjs
59431 LTLIBOBJS=$ac_ltlibobjs
59434 if test -n "$EXEEXT"; then
59435 am__EXEEXT_TRUE=
59436 am__EXEEXT_FALSE='#'
59437 else
59438 am__EXEEXT_TRUE='#'
59439 am__EXEEXT_FALSE=
59442 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59443 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59446 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59447 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59450 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59451 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59454 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59455 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59458 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59459 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59462 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59463 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59466 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59467 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59470 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59471 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59474 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59475 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59478 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59479 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59482 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59483 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59486 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59487 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59490 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59491 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59494 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59495 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59498 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59499 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59502 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59503 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59506 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59507 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59511 : ${CONFIG_STATUS=./config.status}
59512 ac_write_fail=0
59513 ac_clean_files_save=$ac_clean_files
59514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59517 as_write_fail=0
59518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59519 #! $SHELL
59520 # Generated by $as_me.
59521 # Run this file to recreate the current configuration.
59522 # Compiler output produced by configure, useful for debugging
59523 # configure, is in config.log if it exists.
59525 debug=false
59526 ac_cs_recheck=false
59527 ac_cs_silent=false
59529 SHELL=\${CONFIG_SHELL-$SHELL}
59530 export SHELL
59531 _ASEOF
59532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59533 ## -------------------- ##
59534 ## M4sh Initialization. ##
59535 ## -------------------- ##
59537 # Be more Bourne compatible
59538 DUALCASE=1; export DUALCASE # for MKS sh
59539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59540 emulate sh
59541 NULLCMD=:
59542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59543 # is contrary to our usage. Disable this feature.
59544 alias -g '${1+"$@"}'='"$@"'
59545 setopt NO_GLOB_SUBST
59546 else
59547 case `(set -o) 2>/dev/null` in #(
59548 *posix*) :
59549 set -o posix ;; #(
59550 *) :
59552 esac
59556 as_nl='
59558 export as_nl
59559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59563 # Prefer a ksh shell builtin over an external printf program on Solaris,
59564 # but without wasting forks for bash or zsh.
59565 if test -z "$BASH_VERSION$ZSH_VERSION" \
59566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59567 as_echo='print -r --'
59568 as_echo_n='print -rn --'
59569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59570 as_echo='printf %s\n'
59571 as_echo_n='printf %s'
59572 else
59573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59574 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59575 as_echo_n='/usr/ucb/echo -n'
59576 else
59577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59578 as_echo_n_body='eval
59579 arg=$1;
59580 case $arg in #(
59581 *"$as_nl"*)
59582 expr "X$arg" : "X\\(.*\\)$as_nl";
59583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59584 esac;
59585 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59587 export as_echo_n_body
59588 as_echo_n='sh -c $as_echo_n_body as_echo'
59590 export as_echo_body
59591 as_echo='sh -c $as_echo_body as_echo'
59594 # The user is always right.
59595 if test "${PATH_SEPARATOR+set}" != set; then
59596 PATH_SEPARATOR=:
59597 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59598 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59599 PATH_SEPARATOR=';'
59604 # IFS
59605 # We need space, tab and new line, in precisely that order. Quoting is
59606 # there to prevent editors from complaining about space-tab.
59607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59608 # splitting by setting IFS to empty value.)
59609 IFS=" "" $as_nl"
59611 # Find who we are. Look in the path if we contain no directory separator.
59612 case $0 in #((
59613 *[\\/]* ) as_myself=$0 ;;
59614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59615 for as_dir in $PATH
59617 IFS=$as_save_IFS
59618 test -z "$as_dir" && as_dir=.
59619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59620 done
59621 IFS=$as_save_IFS
59624 esac
59625 # We did not find ourselves, most probably we were run as `sh COMMAND'
59626 # in which case we are not to be found in the path.
59627 if test "x$as_myself" = x; then
59628 as_myself=$0
59630 if test ! -f "$as_myself"; then
59631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59632 exit 1
59635 # Unset variables that we do not need and which cause bugs (e.g. in
59636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59637 # suppresses any "Segmentation fault" message there. '((' could
59638 # trigger a bug in pdksh 5.2.14.
59639 for as_var in BASH_ENV ENV MAIL MAILPATH
59640 do eval test x\${$as_var+set} = xset \
59641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59642 done
59643 PS1='$ '
59644 PS2='> '
59645 PS4='+ '
59647 # NLS nuisances.
59648 LC_ALL=C
59649 export LC_ALL
59650 LANGUAGE=C
59651 export LANGUAGE
59653 # CDPATH.
59654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59657 # as_fn_error ERROR [LINENO LOG_FD]
59658 # ---------------------------------
59659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59661 # script with status $?, using 1 if that was 0.
59662 as_fn_error ()
59664 as_status=$?; test $as_status -eq 0 && as_status=1
59665 if test "$3"; then
59666 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59669 $as_echo "$as_me: error: $1" >&2
59670 as_fn_exit $as_status
59671 } # as_fn_error
59674 # as_fn_set_status STATUS
59675 # -----------------------
59676 # Set $? to STATUS, without forking.
59677 as_fn_set_status ()
59679 return $1
59680 } # as_fn_set_status
59682 # as_fn_exit STATUS
59683 # -----------------
59684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59685 as_fn_exit ()
59687 set +e
59688 as_fn_set_status $1
59689 exit $1
59690 } # as_fn_exit
59692 # as_fn_unset VAR
59693 # ---------------
59694 # Portably unset VAR.
59695 as_fn_unset ()
59697 { eval $1=; unset $1;}
59699 as_unset=as_fn_unset
59700 # as_fn_append VAR VALUE
59701 # ----------------------
59702 # Append the text in VALUE to the end of the definition contained in VAR. Take
59703 # advantage of any shell optimizations that allow amortized linear growth over
59704 # repeated appends, instead of the typical quadratic growth present in naive
59705 # implementations.
59706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59707 eval 'as_fn_append ()
59709 eval $1+=\$2
59711 else
59712 as_fn_append ()
59714 eval $1=\$$1\$2
59716 fi # as_fn_append
59718 # as_fn_arith ARG...
59719 # ------------------
59720 # Perform arithmetic evaluation on the ARGs, and store the result in the
59721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59722 # must be portable across $(()) and expr.
59723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59724 eval 'as_fn_arith ()
59726 as_val=$(( $* ))
59728 else
59729 as_fn_arith ()
59731 as_val=`expr "$@" || test $? -eq 1`
59733 fi # as_fn_arith
59736 if expr a : '\(a\)' >/dev/null 2>&1 &&
59737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59738 as_expr=expr
59739 else
59740 as_expr=false
59743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59744 as_basename=basename
59745 else
59746 as_basename=false
59749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59750 as_dirname=dirname
59751 else
59752 as_dirname=false
59755 as_me=`$as_basename -- "$0" ||
59756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59757 X"$0" : 'X\(//\)$' \| \
59758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59759 $as_echo X/"$0" |
59760 sed '/^.*\/\([^/][^/]*\)\/*$/{
59761 s//\1/
59764 /^X\/\(\/\/\)$/{
59765 s//\1/
59768 /^X\/\(\/\).*/{
59769 s//\1/
59772 s/.*/./; q'`
59774 # Avoid depending upon Character Ranges.
59775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59778 as_cr_digits='0123456789'
59779 as_cr_alnum=$as_cr_Letters$as_cr_digits
59781 ECHO_C= ECHO_N= ECHO_T=
59782 case `echo -n x` in #(((((
59783 -n*)
59784 case `echo 'xy\c'` in
59785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59786 xy) ECHO_C='\c';;
59787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59788 ECHO_T=' ';;
59789 esac;;
59791 ECHO_N='-n';;
59792 esac
59794 rm -f conf$$ conf$$.exe conf$$.file
59795 if test -d conf$$.dir; then
59796 rm -f conf$$.dir/conf$$.file
59797 else
59798 rm -f conf$$.dir
59799 mkdir conf$$.dir 2>/dev/null
59801 if (echo >conf$$.file) 2>/dev/null; then
59802 if ln -s conf$$.file conf$$ 2>/dev/null; then
59803 as_ln_s='ln -s'
59804 # ... but there are two gotchas:
59805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59807 # In both cases, we have to default to `cp -p'.
59808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59809 as_ln_s='cp -p'
59810 elif ln conf$$.file conf$$ 2>/dev/null; then
59811 as_ln_s=ln
59812 else
59813 as_ln_s='cp -p'
59815 else
59816 as_ln_s='cp -p'
59818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59819 rmdir conf$$.dir 2>/dev/null
59822 # as_fn_mkdir_p
59823 # -------------
59824 # Create "$as_dir" as a directory, including parents if necessary.
59825 as_fn_mkdir_p ()
59828 case $as_dir in #(
59829 -*) as_dir=./$as_dir;;
59830 esac
59831 test -d "$as_dir" || eval $as_mkdir_p || {
59832 as_dirs=
59833 while :; do
59834 case $as_dir in #(
59835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59836 *) as_qdir=$as_dir;;
59837 esac
59838 as_dirs="'$as_qdir' $as_dirs"
59839 as_dir=`$as_dirname -- "$as_dir" ||
59840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59841 X"$as_dir" : 'X\(//\)[^/]' \| \
59842 X"$as_dir" : 'X\(//\)$' \| \
59843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59844 $as_echo X"$as_dir" |
59845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59846 s//\1/
59849 /^X\(\/\/\)[^/].*/{
59850 s//\1/
59853 /^X\(\/\/\)$/{
59854 s//\1/
59857 /^X\(\/\).*/{
59858 s//\1/
59861 s/.*/./; q'`
59862 test -d "$as_dir" && break
59863 done
59864 test -z "$as_dirs" || eval "mkdir $as_dirs"
59865 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59868 } # as_fn_mkdir_p
59869 if mkdir -p . 2>/dev/null; then
59870 as_mkdir_p='mkdir -p "$as_dir"'
59871 else
59872 test -d ./-p && rmdir ./-p
59873 as_mkdir_p=false
59876 if test -x / >/dev/null 2>&1; then
59877 as_test_x='test -x'
59878 else
59879 if ls -dL / >/dev/null 2>&1; then
59880 as_ls_L_option=L
59881 else
59882 as_ls_L_option=
59884 as_test_x='
59885 eval sh -c '\''
59886 if test -d "$1"; then
59887 test -d "$1/.";
59888 else
59889 case $1 in #(
59890 -*)set "./$1";;
59891 esac;
59892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59893 ???[sx]*):;;*)false;;esac;fi
59894 '\'' sh
59897 as_executable_p=$as_test_x
59899 # Sed expression to map a string onto a valid CPP name.
59900 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59902 # Sed expression to map a string onto a valid variable name.
59903 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59906 exec 6>&1
59907 ## ----------------------------------- ##
59908 ## Main body of $CONFIG_STATUS script. ##
59909 ## ----------------------------------- ##
59910 _ASEOF
59911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59914 # Save the log message, to keep $0 and so on meaningful, and to
59915 # report actual input values of CONFIG_FILES etc. instead of their
59916 # values after options handling.
59917 ac_log="
59918 This file was extended by package-unused $as_me version-unused, which was
59919 generated by GNU Autoconf 2.64. Invocation command line was
59921 CONFIG_FILES = $CONFIG_FILES
59922 CONFIG_HEADERS = $CONFIG_HEADERS
59923 CONFIG_LINKS = $CONFIG_LINKS
59924 CONFIG_COMMANDS = $CONFIG_COMMANDS
59925 $ $0 $@
59927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59930 _ACEOF
59932 case $ac_config_files in *"
59933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59934 esac
59936 case $ac_config_headers in *"
59937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59938 esac
59941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59942 # Files that config.status was made for.
59943 config_files="$ac_config_files"
59944 config_headers="$ac_config_headers"
59945 config_commands="$ac_config_commands"
59947 _ACEOF
59949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59950 ac_cs_usage="\
59951 \`$as_me' instantiates files and other configuration actions
59952 from templates according to the current configuration. Unless the files
59953 and actions are specified as TAGs, all are instantiated by default.
59955 Usage: $0 [OPTION]... [TAG]...
59957 -h, --help print this help, then exit
59958 -V, --version print version number and configuration settings, then exit
59959 -q, --quiet, --silent
59960 do not print progress messages
59961 -d, --debug don't remove temporary files
59962 --recheck update $as_me by reconfiguring in the same conditions
59963 --file=FILE[:TEMPLATE]
59964 instantiate the configuration file FILE
59965 --header=FILE[:TEMPLATE]
59966 instantiate the configuration header FILE
59968 Configuration files:
59969 $config_files
59971 Configuration headers:
59972 $config_headers
59974 Configuration commands:
59975 $config_commands
59977 Report bugs to the package provider."
59979 _ACEOF
59980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59981 ac_cs_version="\\
59982 package-unused config.status version-unused
59983 configured by $0, generated by GNU Autoconf 2.64,
59984 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59986 Copyright (C) 2009 Free Software Foundation, Inc.
59987 This config.status script is free software; the Free Software Foundation
59988 gives unlimited permission to copy, distribute and modify it."
59990 ac_pwd='$ac_pwd'
59991 srcdir='$srcdir'
59992 INSTALL='$INSTALL'
59993 MKDIR_P='$MKDIR_P'
59994 AWK='$AWK'
59995 test -n "\$AWK" || AWK=awk
59996 _ACEOF
59998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59999 # The default lists apply if the user does not specify any file.
60000 ac_need_defaults=:
60001 while test $# != 0
60003 case $1 in
60004 --*=*)
60005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
60006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60007 ac_shift=:
60010 ac_option=$1
60011 ac_optarg=$2
60012 ac_shift=shift
60014 esac
60016 case $ac_option in
60017 # Handling of the options.
60018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60019 ac_cs_recheck=: ;;
60020 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60021 $as_echo "$ac_cs_version"; exit ;;
60022 --debug | --debu | --deb | --de | --d | -d )
60023 debug=: ;;
60024 --file | --fil | --fi | --f )
60025 $ac_shift
60026 case $ac_optarg in
60027 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60028 esac
60029 as_fn_append CONFIG_FILES " '$ac_optarg'"
60030 ac_need_defaults=false;;
60031 --header | --heade | --head | --hea )
60032 $ac_shift
60033 case $ac_optarg in
60034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60035 esac
60036 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60037 ac_need_defaults=false;;
60038 --he | --h)
60039 # Conflict between --help and --header
60040 as_fn_error "ambiguous option: \`$1'
60041 Try \`$0 --help' for more information.";;
60042 --help | --hel | -h )
60043 $as_echo "$ac_cs_usage"; exit ;;
60044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60045 | -silent | --silent | --silen | --sile | --sil | --si | --s)
60046 ac_cs_silent=: ;;
60048 # This is an error.
60049 -*) as_fn_error "unrecognized option: \`$1'
60050 Try \`$0 --help' for more information." ;;
60052 *) as_fn_append ac_config_targets " $1"
60053 ac_need_defaults=false ;;
60055 esac
60056 shift
60057 done
60059 ac_configure_extra_args=
60061 if $ac_cs_silent; then
60062 exec 6>/dev/null
60063 ac_configure_extra_args="$ac_configure_extra_args --silent"
60066 _ACEOF
60067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60068 if \$ac_cs_recheck; then
60069 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60070 shift
60071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60072 CONFIG_SHELL='$SHELL'
60073 export CONFIG_SHELL
60074 exec "\$@"
60077 _ACEOF
60078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60079 exec 5>>config.log
60081 echo
60082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60083 ## Running $as_me. ##
60084 _ASBOX
60085 $as_echo "$ac_log"
60086 } >&5
60088 _ACEOF
60089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60091 # INIT-COMMANDS
60094 srcdir="$srcdir"
60095 host="$host"
60096 target="$target"
60097 with_multisubdir="$with_multisubdir"
60098 with_multisrctop="$with_multisrctop"
60099 with_target_subdir="$with_target_subdir"
60100 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60101 multi_basedir="$multi_basedir"
60102 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60103 CC="$CC"
60104 CXX="$CXX"
60105 GFORTRAN="$GFORTRAN"
60106 GCJ="$GCJ"
60109 # The HP-UX ksh and POSIX shell print the target directory to stdout
60110 # if CDPATH is set.
60111 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60113 sed_quote_subst='$sed_quote_subst'
60114 double_quote_subst='$double_quote_subst'
60115 delay_variable_subst='$delay_variable_subst'
60116 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60117 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60118 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60119 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60120 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60121 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60122 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60123 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60124 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60125 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60126 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60127 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60128 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60129 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60130 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60131 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60132 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60133 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60134 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60135 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60136 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60137 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60138 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60139 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60140 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60141 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60142 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60143 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60144 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60145 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60146 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60147 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60148 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60149 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60150 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60151 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60152 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60153 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60154 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60155 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60156 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60157 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60158 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60159 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60160 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60161 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60162 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60163 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60164 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"`'
60165 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60166 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60167 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60168 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60169 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60170 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60171 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60172 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60173 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60174 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60175 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60176 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60177 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60178 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60179 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60180 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60181 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60182 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60183 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60184 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60185 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60186 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60187 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60188 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60189 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60190 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60191 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60192 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60193 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60194 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60195 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60196 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60197 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60198 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60199 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60200 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60201 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60202 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60203 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60204 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60205 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60206 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60207 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60208 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60209 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60210 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60211 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60212 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60213 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60214 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60215 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60216 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60217 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60218 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60219 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60220 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60221 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60222 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60223 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60224 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60225 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60226 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60227 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60228 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60229 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60230 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60231 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60232 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60233 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60234 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60235 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60236 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60237 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60238 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60239 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60240 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60241 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60242 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60243 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60244 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60245 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60246 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60247 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60248 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60249 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60250 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60251 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60252 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60253 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60254 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60255 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60256 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60257 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60258 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60259 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60260 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60261 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60262 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60263 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60264 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60265 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60266 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60267 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60268 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60269 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60270 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60271 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60272 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60273 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60274 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60275 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60276 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60277 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60278 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60279 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60280 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60281 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60282 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60283 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60284 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60285 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60286 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60287 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60288 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60289 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60290 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60292 LTCC='$LTCC'
60293 LTCFLAGS='$LTCFLAGS'
60294 compiler='$compiler_DEFAULT'
60296 # A function that is used when there is no print builtin or printf.
60297 func_fallback_echo ()
60299 eval 'cat <<_LTECHO_EOF
60301 _LTECHO_EOF'
60304 # Quote evaled strings.
60305 for var in SHELL \
60306 ECHO \
60307 SED \
60308 GREP \
60309 EGREP \
60310 FGREP \
60311 LD \
60312 NM \
60313 LN_S \
60314 lt_SP2NL \
60315 lt_NL2SP \
60316 reload_flag \
60317 OBJDUMP \
60318 deplibs_check_method \
60319 file_magic_cmd \
60320 AR \
60321 AR_FLAGS \
60322 STRIP \
60323 RANLIB \
60324 CC \
60325 CFLAGS \
60326 compiler \
60327 lt_cv_sys_global_symbol_pipe \
60328 lt_cv_sys_global_symbol_to_cdecl \
60329 lt_cv_sys_global_symbol_to_c_name_address \
60330 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60331 lt_prog_compiler_no_builtin_flag \
60332 lt_prog_compiler_wl \
60333 lt_prog_compiler_pic \
60334 lt_prog_compiler_static \
60335 lt_cv_prog_compiler_c_o \
60336 need_locks \
60337 DSYMUTIL \
60338 NMEDIT \
60339 LIPO \
60340 OTOOL \
60341 OTOOL64 \
60342 shrext_cmds \
60343 export_dynamic_flag_spec \
60344 whole_archive_flag_spec \
60345 compiler_needs_object \
60346 with_gnu_ld \
60347 allow_undefined_flag \
60348 no_undefined_flag \
60349 hardcode_libdir_flag_spec \
60350 hardcode_libdir_flag_spec_ld \
60351 hardcode_libdir_separator \
60352 fix_srcfile_path \
60353 exclude_expsyms \
60354 include_expsyms \
60355 file_list_spec \
60356 variables_saved_for_relink \
60357 libname_spec \
60358 library_names_spec \
60359 soname_spec \
60360 install_override_mode \
60361 finish_eval \
60362 old_striplib \
60363 striplib \
60364 compiler_lib_search_dirs \
60365 predep_objects \
60366 postdep_objects \
60367 predeps \
60368 postdeps \
60369 compiler_lib_search_path \
60370 LD_CXX \
60371 reload_flag_CXX \
60372 compiler_CXX \
60373 lt_prog_compiler_no_builtin_flag_CXX \
60374 lt_prog_compiler_wl_CXX \
60375 lt_prog_compiler_pic_CXX \
60376 lt_prog_compiler_static_CXX \
60377 lt_cv_prog_compiler_c_o_CXX \
60378 export_dynamic_flag_spec_CXX \
60379 whole_archive_flag_spec_CXX \
60380 compiler_needs_object_CXX \
60381 with_gnu_ld_CXX \
60382 allow_undefined_flag_CXX \
60383 no_undefined_flag_CXX \
60384 hardcode_libdir_flag_spec_CXX \
60385 hardcode_libdir_flag_spec_ld_CXX \
60386 hardcode_libdir_separator_CXX \
60387 fix_srcfile_path_CXX \
60388 exclude_expsyms_CXX \
60389 include_expsyms_CXX \
60390 file_list_spec_CXX \
60391 compiler_lib_search_dirs_CXX \
60392 predep_objects_CXX \
60393 postdep_objects_CXX \
60394 predeps_CXX \
60395 postdeps_CXX \
60396 compiler_lib_search_path_CXX; do
60397 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60398 *[\\\\\\\`\\"\\\$]*)
60399 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60402 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60404 esac
60405 done
60407 # Double-quote double-evaled strings.
60408 for var in reload_cmds \
60409 old_postinstall_cmds \
60410 old_postuninstall_cmds \
60411 old_archive_cmds \
60412 extract_expsyms_cmds \
60413 old_archive_from_new_cmds \
60414 old_archive_from_expsyms_cmds \
60415 archive_cmds \
60416 archive_expsym_cmds \
60417 module_cmds \
60418 module_expsym_cmds \
60419 export_symbols_cmds \
60420 prelink_cmds \
60421 postinstall_cmds \
60422 postuninstall_cmds \
60423 finish_cmds \
60424 sys_lib_search_path_spec \
60425 sys_lib_dlsearch_path_spec \
60426 reload_cmds_CXX \
60427 old_archive_cmds_CXX \
60428 old_archive_from_new_cmds_CXX \
60429 old_archive_from_expsyms_cmds_CXX \
60430 archive_cmds_CXX \
60431 archive_expsym_cmds_CXX \
60432 module_cmds_CXX \
60433 module_expsym_cmds_CXX \
60434 export_symbols_cmds_CXX \
60435 prelink_cmds_CXX; do
60436 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60437 *[\\\\\\\`\\"\\\$]*)
60438 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60441 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60443 esac
60444 done
60446 ac_aux_dir='$ac_aux_dir'
60447 xsi_shell='$xsi_shell'
60448 lt_shell_append='$lt_shell_append'
60450 # See if we are running on zsh, and set the options which allow our
60451 # commands through without removal of \ escapes INIT.
60452 if test -n "\${ZSH_VERSION+set}" ; then
60453 setopt NO_GLOB_SUBST
60457 PACKAGE='$PACKAGE'
60458 VERSION='$VERSION'
60459 TIMESTAMP='$TIMESTAMP'
60460 RM='$RM'
60461 ofile='$ofile'
60468 GCC="$GCC"
60469 CC="$CC"
60470 acx_cv_header_stdint="$acx_cv_header_stdint"
60471 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60472 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60473 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60474 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60475 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60476 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60477 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60478 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60479 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60480 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60481 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60482 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60483 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60486 _ACEOF
60488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60490 # Handling of arguments.
60491 for ac_config_target in $ac_config_targets
60493 case $ac_config_target in
60494 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60495 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60496 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60497 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60498 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60499 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60500 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
60501 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60502 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60503 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60504 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60505 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60506 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60507 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60508 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60510 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60511 esac
60512 done
60515 # If the user did not use the arguments to specify the items to instantiate,
60516 # then the envvar interface is used. Set only those that are not.
60517 # We use the long form for the default assignment because of an extremely
60518 # bizarre bug on SunOS 4.1.3.
60519 if $ac_need_defaults; then
60520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60525 # Have a temporary directory for convenience. Make it in the build tree
60526 # simply because there is no reason against having it here, and in addition,
60527 # creating and moving files from /tmp can sometimes cause problems.
60528 # Hook for its removal unless debugging.
60529 # Note that there is a small window in which the directory will not be cleaned:
60530 # after its creation but before its name has been assigned to `$tmp'.
60531 $debug ||
60533 tmp=
60534 trap 'exit_status=$?
60535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60537 trap 'as_fn_exit 1' 1 2 13 15
60539 # Create a (secure) tmp directory for tmp files.
60542 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60543 test -n "$tmp" && test -d "$tmp"
60544 } ||
60546 tmp=./conf$$-$RANDOM
60547 (umask 077 && mkdir "$tmp")
60548 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60550 # Set up the scripts for CONFIG_FILES section.
60551 # No need to generate them if there are no CONFIG_FILES.
60552 # This happens for instance with `./config.status config.h'.
60553 if test -n "$CONFIG_FILES"; then
60556 ac_cr=`echo X | tr X '\015'`
60557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60558 # But we know of no other shell where ac_cr would be empty at this
60559 # point, so we can use a bashism as a fallback.
60560 if test "x$ac_cr" = x; then
60561 eval ac_cr=\$\'\\r\'
60563 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60565 ac_cs_awk_cr='\r'
60566 else
60567 ac_cs_awk_cr=$ac_cr
60570 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60571 _ACEOF
60575 echo "cat >conf$$subs.awk <<_ACEOF" &&
60576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60577 echo "_ACEOF"
60578 } >conf$$subs.sh ||
60579 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60581 ac_delim='%!_!# '
60582 for ac_last_try in false false false false false :; do
60583 . ./conf$$subs.sh ||
60584 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60586 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60587 if test $ac_delim_n = $ac_delim_num; then
60588 break
60589 elif $ac_last_try; then
60590 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60591 else
60592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60594 done
60595 rm -f conf$$subs.sh
60597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60598 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60599 _ACEOF
60600 sed -n '
60602 s/^/S["/; s/!.*/"]=/
60605 s/^[^!]*!//
60606 :repl
60607 t repl
60608 s/'"$ac_delim"'$//
60609 t delim
60612 s/\(.\{148\}\).*/\1/
60613 t more1
60614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60617 b repl
60618 :more1
60619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60622 s/.\{148\}//
60623 t nl
60624 :delim
60626 s/\(.\{148\}\).*/\1/
60627 t more2
60628 s/["\\]/\\&/g; s/^/"/; s/$/"/
60631 :more2
60632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60635 s/.\{148\}//
60636 t delim
60637 ' <conf$$subs.awk | sed '
60638 /^[^""]/{
60640 s/\n//
60642 ' >>$CONFIG_STATUS || ac_write_fail=1
60643 rm -f conf$$subs.awk
60644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60645 _ACAWK
60646 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60647 for (key in S) S_is_set[key] = 1
60648 FS = "\a"
60652 line = $ 0
60653 nfields = split(line, field, "@")
60654 substed = 0
60655 len = length(field[1])
60656 for (i = 2; i < nfields; i++) {
60657 key = field[i]
60658 keylen = length(key)
60659 if (S_is_set[key]) {
60660 value = S[key]
60661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60662 len += length(value) + length(field[++i])
60663 substed = 1
60664 } else
60665 len += 1 + keylen
60668 print line
60671 _ACAWK
60672 _ACEOF
60673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60674 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60675 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60676 else
60678 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60679 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60680 _ACEOF
60682 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60683 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60684 # trailing colons and then remove the whole line if VPATH becomes empty
60685 # (actually we leave an empty line to preserve line numbers).
60686 if test "x$srcdir" = x.; then
60687 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60688 s/:*\$(srcdir):*/:/
60689 s/:*\${srcdir}:*/:/
60690 s/:*@srcdir@:*/:/
60691 s/^\([^=]*=[ ]*\):*/\1/
60692 s/:*$//
60693 s/^[^=]*=[ ]*$//
60697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60698 fi # test -n "$CONFIG_FILES"
60700 # Set up the scripts for CONFIG_HEADERS section.
60701 # No need to generate them if there are no CONFIG_HEADERS.
60702 # This happens for instance with `./config.status Makefile'.
60703 if test -n "$CONFIG_HEADERS"; then
60704 cat >"$tmp/defines.awk" <<\_ACAWK ||
60705 BEGIN {
60706 _ACEOF
60708 # Transform confdefs.h into an awk script `defines.awk', embedded as
60709 # here-document in config.status, that substitutes the proper values into
60710 # config.h.in to produce config.h.
60712 # Create a delimiter string that does not exist in confdefs.h, to ease
60713 # handling of long lines.
60714 ac_delim='%!_!# '
60715 for ac_last_try in false false :; do
60716 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60717 if test -z "$ac_t"; then
60718 break
60719 elif $ac_last_try; then
60720 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60721 else
60722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60724 done
60726 # For the awk script, D is an array of macro values keyed by name,
60727 # likewise P contains macro parameters if any. Preserve backslash
60728 # newline sequences.
60730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60731 sed -n '
60732 s/.\{148\}/&'"$ac_delim"'/g
60733 t rset
60734 :rset
60735 s/^[ ]*#[ ]*define[ ][ ]*/ /
60736 t def
60738 :def
60739 s/\\$//
60740 t bsnl
60741 s/["\\]/\\&/g
60742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60743 D["\1"]=" \3"/p
60744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60746 :bsnl
60747 s/["\\]/\\&/g
60748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60749 D["\1"]=" \3\\\\\\n"\\/p
60750 t cont
60751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60752 t cont
60754 :cont
60756 s/.\{148\}/&'"$ac_delim"'/g
60757 t clear
60758 :clear
60759 s/\\$//
60760 t bsnlc
60761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60763 :bsnlc
60764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60765 b cont
60766 ' <confdefs.h | sed '
60767 s/'"$ac_delim"'/"\\\
60768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60771 for (key in D) D_is_set[key] = 1
60772 FS = "\a"
60774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60775 line = \$ 0
60776 split(line, arg, " ")
60777 if (arg[1] == "#") {
60778 defundef = arg[2]
60779 mac1 = arg[3]
60780 } else {
60781 defundef = substr(arg[1], 2)
60782 mac1 = arg[2]
60784 split(mac1, mac2, "(") #)
60785 macro = mac2[1]
60786 prefix = substr(line, 1, index(line, defundef) - 1)
60787 if (D_is_set[macro]) {
60788 # Preserve the white space surrounding the "#".
60789 print prefix "define", macro P[macro] D[macro]
60790 next
60791 } else {
60792 # Replace #undef with comments. This is necessary, for example,
60793 # in the case of _POSIX_SOURCE, which is predefined and required
60794 # on some systems where configure will not decide to define it.
60795 if (defundef == "undef") {
60796 print "/*", prefix defundef, macro, "*/"
60797 next
60801 { print }
60802 _ACAWK
60803 _ACEOF
60804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60805 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60806 fi # test -n "$CONFIG_HEADERS"
60809 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60810 shift
60811 for ac_tag
60813 case $ac_tag in
60814 :[FHLC]) ac_mode=$ac_tag; continue;;
60815 esac
60816 case $ac_mode$ac_tag in
60817 :[FHL]*:*);;
60818 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60819 :[FH]-) ac_tag=-:-;;
60820 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60821 esac
60822 ac_save_IFS=$IFS
60823 IFS=:
60824 set x $ac_tag
60825 IFS=$ac_save_IFS
60826 shift
60827 ac_file=$1
60828 shift
60830 case $ac_mode in
60831 :L) ac_source=$1;;
60832 :[FH])
60833 ac_file_inputs=
60834 for ac_f
60836 case $ac_f in
60837 -) ac_f="$tmp/stdin";;
60838 *) # Look for the file first in the build tree, then in the source tree
60839 # (if the path is not absolute). The absolute path cannot be DOS-style,
60840 # because $ac_f cannot contain `:'.
60841 test -f "$ac_f" ||
60842 case $ac_f in
60843 [\\/$]*) false;;
60844 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60845 esac ||
60846 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60847 esac
60848 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60849 as_fn_append ac_file_inputs " '$ac_f'"
60850 done
60852 # Let's still pretend it is `configure' which instantiates (i.e., don't
60853 # use $as_me), people would be surprised to read:
60854 # /* config.h. Generated by config.status. */
60855 configure_input='Generated from '`
60856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60857 `' by configure.'
60858 if test x"$ac_file" != x-; then
60859 configure_input="$ac_file. $configure_input"
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60861 $as_echo "$as_me: creating $ac_file" >&6;}
60863 # Neutralize special characters interpreted by sed in replacement strings.
60864 case $configure_input in #(
60865 *\&* | *\|* | *\\* )
60866 ac_sed_conf_input=`$as_echo "$configure_input" |
60867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60868 *) ac_sed_conf_input=$configure_input;;
60869 esac
60871 case $ac_tag in
60872 *:-:* | *:-) cat >"$tmp/stdin" \
60873 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60874 esac
60876 esac
60878 ac_dir=`$as_dirname -- "$ac_file" ||
60879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60880 X"$ac_file" : 'X\(//\)[^/]' \| \
60881 X"$ac_file" : 'X\(//\)$' \| \
60882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60883 $as_echo X"$ac_file" |
60884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60885 s//\1/
60888 /^X\(\/\/\)[^/].*/{
60889 s//\1/
60892 /^X\(\/\/\)$/{
60893 s//\1/
60896 /^X\(\/\).*/{
60897 s//\1/
60900 s/.*/./; q'`
60901 as_dir="$ac_dir"; as_fn_mkdir_p
60902 ac_builddir=.
60904 case "$ac_dir" in
60905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60908 # A ".." for each directory in $ac_dir_suffix.
60909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60910 case $ac_top_builddir_sub in
60911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60913 esac ;;
60914 esac
60915 ac_abs_top_builddir=$ac_pwd
60916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60917 # for backward compatibility:
60918 ac_top_builddir=$ac_top_build_prefix
60920 case $srcdir in
60921 .) # We are building in place.
60922 ac_srcdir=.
60923 ac_top_srcdir=$ac_top_builddir_sub
60924 ac_abs_top_srcdir=$ac_pwd ;;
60925 [\\/]* | ?:[\\/]* ) # Absolute name.
60926 ac_srcdir=$srcdir$ac_dir_suffix;
60927 ac_top_srcdir=$srcdir
60928 ac_abs_top_srcdir=$srcdir ;;
60929 *) # Relative name.
60930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60931 ac_top_srcdir=$ac_top_build_prefix$srcdir
60932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60933 esac
60934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60937 case $ac_mode in
60940 # CONFIG_FILE
60943 case $INSTALL in
60944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60946 esac
60947 ac_MKDIR_P=$MKDIR_P
60948 case $MKDIR_P in
60949 [\\/$]* | ?:[\\/]* ) ;;
60950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60951 esac
60952 _ACEOF
60954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60955 # If the template does not know about datarootdir, expand it.
60956 # FIXME: This hack should be removed a few years after 2.60.
60957 ac_datarootdir_hack=; ac_datarootdir_seen=
60958 ac_sed_dataroot='
60959 /datarootdir/ {
60963 /@datadir@/p
60964 /@docdir@/p
60965 /@infodir@/p
60966 /@localedir@/p
60967 /@mandir@/p'
60968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60969 *datarootdir*) ac_datarootdir_seen=yes;;
60970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60973 _ACEOF
60974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60975 ac_datarootdir_hack='
60976 s&@datadir@&$datadir&g
60977 s&@docdir@&$docdir&g
60978 s&@infodir@&$infodir&g
60979 s&@localedir@&$localedir&g
60980 s&@mandir@&$mandir&g
60981 s&\\\${datarootdir}&$datarootdir&g' ;;
60982 esac
60983 _ACEOF
60985 # Neutralize VPATH when `$srcdir' = `.'.
60986 # Shell code in configure.ac might set extrasub.
60987 # FIXME: do we really want to maintain this feature?
60988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60989 ac_sed_extra="$ac_vpsub
60990 $extrasub
60991 _ACEOF
60992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60995 s|@configure_input@|$ac_sed_conf_input|;t t
60996 s&@top_builddir@&$ac_top_builddir_sub&;t t
60997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60998 s&@srcdir@&$ac_srcdir&;t t
60999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
61000 s&@top_srcdir@&$ac_top_srcdir&;t t
61001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
61002 s&@builddir@&$ac_builddir&;t t
61003 s&@abs_builddir@&$ac_abs_builddir&;t t
61004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
61005 s&@INSTALL@&$ac_INSTALL&;t t
61006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
61007 $ac_datarootdir_hack
61009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
61010 || as_fn_error "could not create $ac_file" "$LINENO" 5
61012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
61014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
61015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61016 which seems to be undefined. Please make sure it is defined." >&5
61017 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61018 which seems to be undefined. Please make sure it is defined." >&2;}
61020 rm -f "$tmp/stdin"
61021 case $ac_file in
61022 -) cat "$tmp/out" && rm -f "$tmp/out";;
61023 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
61024 esac \
61025 || as_fn_error "could not create $ac_file" "$LINENO" 5
61029 # CONFIG_HEADER
61031 if test x"$ac_file" != x-; then
61033 $as_echo "/* $configure_input */" \
61034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61035 } >"$tmp/config.h" \
61036 || as_fn_error "could not create $ac_file" "$LINENO" 5
61037 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61039 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61040 else
61041 rm -f "$ac_file"
61042 mv "$tmp/config.h" "$ac_file" \
61043 || as_fn_error "could not create $ac_file" "$LINENO" 5
61045 else
61046 $as_echo "/* $configure_input */" \
61047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61048 || as_fn_error "could not create -" "$LINENO" 5
61050 # Compute "$ac_file"'s index in $config_headers.
61051 _am_arg="$ac_file"
61052 _am_stamp_count=1
61053 for _am_header in $config_headers :; do
61054 case $_am_header in
61055 $_am_arg | $_am_arg:* )
61056 break ;;
61058 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61059 esac
61060 done
61061 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61062 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61063 X"$_am_arg" : 'X\(//\)[^/]' \| \
61064 X"$_am_arg" : 'X\(//\)$' \| \
61065 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61066 $as_echo X"$_am_arg" |
61067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61068 s//\1/
61071 /^X\(\/\/\)[^/].*/{
61072 s//\1/
61075 /^X\(\/\/\)$/{
61076 s//\1/
61079 /^X\(\/\).*/{
61080 s//\1/
61083 s/.*/./; q'`/stamp-h$_am_stamp_count
61086 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61087 $as_echo "$as_me: executing $ac_file commands" >&6;}
61089 esac
61092 case $ac_file$ac_mode in
61093 "default-1":C)
61094 # Only add multilib support code if we just rebuilt the top-level
61095 # Makefile.
61096 case " $CONFIG_FILES " in
61097 *" Makefile "*)
61098 ac_file=Makefile . ${multi_basedir}/config-ml.in
61100 esac ;;
61101 "libtool":C)
61103 # See if we are running on zsh, and set the options which allow our
61104 # commands through without removal of \ escapes.
61105 if test -n "${ZSH_VERSION+set}" ; then
61106 setopt NO_GLOB_SUBST
61109 cfgfile="${ofile}T"
61110 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61111 $RM "$cfgfile"
61113 cat <<_LT_EOF >> "$cfgfile"
61114 #! $SHELL
61116 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61117 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61118 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61119 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61121 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61122 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61123 # Written by Gordon Matzigkeit, 1996
61125 # This file is part of GNU Libtool.
61127 # GNU Libtool is free software; you can redistribute it and/or
61128 # modify it under the terms of the GNU General Public License as
61129 # published by the Free Software Foundation; either version 2 of
61130 # the License, or (at your option) any later version.
61132 # As a special exception to the GNU General Public License,
61133 # if you distribute this file as part of a program or library that
61134 # is built using GNU Libtool, you may include this file under the
61135 # same distribution terms that you use for the rest of that program.
61137 # GNU Libtool is distributed in the hope that it will be useful,
61138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61140 # GNU General Public License for more details.
61142 # You should have received a copy of the GNU General Public License
61143 # along with GNU Libtool; see the file COPYING. If not, a copy
61144 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61145 # obtained by writing to the Free Software Foundation, Inc.,
61146 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61149 # The names of the tagged configurations supported by this script.
61150 available_tags="CXX "
61152 # ### BEGIN LIBTOOL CONFIG
61154 # Which release of libtool.m4 was used?
61155 macro_version=$macro_version
61156 macro_revision=$macro_revision
61158 # Whether or not to build shared libraries.
61159 build_libtool_libs=$enable_shared
61161 # Whether or not to build static libraries.
61162 build_old_libs=$enable_static
61164 # What type of objects to build.
61165 pic_mode=$pic_mode
61167 # Whether or not to optimize for fast installation.
61168 fast_install=$enable_fast_install
61170 # Shell to use when invoking shell scripts.
61171 SHELL=$lt_SHELL
61173 # An echo program that protects backslashes.
61174 ECHO=$lt_ECHO
61176 # The host system.
61177 host_alias=$host_alias
61178 host=$host
61179 host_os=$host_os
61181 # The build system.
61182 build_alias=$build_alias
61183 build=$build
61184 build_os=$build_os
61186 # A sed program that does not truncate output.
61187 SED=$lt_SED
61189 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61190 Xsed="\$SED -e 1s/^X//"
61192 # A grep program that handles long lines.
61193 GREP=$lt_GREP
61195 # An ERE matcher.
61196 EGREP=$lt_EGREP
61198 # A literal string matcher.
61199 FGREP=$lt_FGREP
61201 # A BSD- or MS-compatible name lister.
61202 NM=$lt_NM
61204 # Whether we need soft or hard links.
61205 LN_S=$lt_LN_S
61207 # What is the maximum length of a command?
61208 max_cmd_len=$max_cmd_len
61210 # Object file suffix (normally "o").
61211 objext=$ac_objext
61213 # Executable file suffix (normally "").
61214 exeext=$exeext
61216 # whether the shell understands "unset".
61217 lt_unset=$lt_unset
61219 # turn spaces into newlines.
61220 SP2NL=$lt_lt_SP2NL
61222 # turn newlines into spaces.
61223 NL2SP=$lt_lt_NL2SP
61225 # An object symbol dumper.
61226 OBJDUMP=$lt_OBJDUMP
61228 # Method to check whether dependent libraries are shared objects.
61229 deplibs_check_method=$lt_deplibs_check_method
61231 # Command to use when deplibs_check_method == "file_magic".
61232 file_magic_cmd=$lt_file_magic_cmd
61234 # The archiver.
61235 AR=$lt_AR
61236 AR_FLAGS=$lt_AR_FLAGS
61238 # A symbol stripping program.
61239 STRIP=$lt_STRIP
61241 # Commands used to install an old-style archive.
61242 RANLIB=$lt_RANLIB
61243 old_postinstall_cmds=$lt_old_postinstall_cmds
61244 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61246 # Whether to use a lock for old archive extraction.
61247 lock_old_archive_extraction=$lock_old_archive_extraction
61249 # A C compiler.
61250 LTCC=$lt_CC
61252 # LTCC compiler flags.
61253 LTCFLAGS=$lt_CFLAGS
61255 # Take the output of nm and produce a listing of raw symbols and C names.
61256 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61258 # Transform the output of nm in a proper C declaration.
61259 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61261 # Transform the output of nm in a C name address pair.
61262 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61264 # Transform the output of nm in a C name address pair when lib prefix is needed.
61265 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61267 # The name of the directory that contains temporary libtool files.
61268 objdir=$objdir
61270 # Used to examine libraries when file_magic_cmd begins with "file".
61271 MAGIC_CMD=$MAGIC_CMD
61273 # Must we lock files when doing compilation?
61274 need_locks=$lt_need_locks
61276 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61277 DSYMUTIL=$lt_DSYMUTIL
61279 # Tool to change global to local symbols on Mac OS X.
61280 NMEDIT=$lt_NMEDIT
61282 # Tool to manipulate fat objects and archives on Mac OS X.
61283 LIPO=$lt_LIPO
61285 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61286 OTOOL=$lt_OTOOL
61288 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61289 OTOOL64=$lt_OTOOL64
61291 # Old archive suffix (normally "a").
61292 libext=$libext
61294 # Shared library suffix (normally ".so").
61295 shrext_cmds=$lt_shrext_cmds
61297 # The commands to extract the exported symbol list from a shared archive.
61298 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61300 # Variables whose values should be saved in libtool wrapper scripts and
61301 # restored at link time.
61302 variables_saved_for_relink=$lt_variables_saved_for_relink
61304 # Do we need the "lib" prefix for modules?
61305 need_lib_prefix=$need_lib_prefix
61307 # Do we need a version for libraries?
61308 need_version=$need_version
61310 # Library versioning type.
61311 version_type=$version_type
61313 # Shared library runtime path variable.
61314 runpath_var=$runpath_var
61316 # Shared library path variable.
61317 shlibpath_var=$shlibpath_var
61319 # Is shlibpath searched before the hard-coded library search path?
61320 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61322 # Format of library name prefix.
61323 libname_spec=$lt_libname_spec
61325 # List of archive names. First name is the real one, the rest are links.
61326 # The last name is the one that the linker finds with -lNAME
61327 library_names_spec=$lt_library_names_spec
61329 # The coded name of the library, if different from the real name.
61330 soname_spec=$lt_soname_spec
61332 # Permission mode override for installation of shared libraries.
61333 install_override_mode=$lt_install_override_mode
61335 # Command to use after installation of a shared archive.
61336 postinstall_cmds=$lt_postinstall_cmds
61338 # Command to use after uninstallation of a shared archive.
61339 postuninstall_cmds=$lt_postuninstall_cmds
61341 # Commands used to finish a libtool library installation in a directory.
61342 finish_cmds=$lt_finish_cmds
61344 # As "finish_cmds", except a single script fragment to be evaled but
61345 # not shown.
61346 finish_eval=$lt_finish_eval
61348 # Whether we should hardcode library paths into libraries.
61349 hardcode_into_libs=$hardcode_into_libs
61351 # Compile-time system search path for libraries.
61352 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61354 # Run-time system search path for libraries.
61355 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61357 # Whether dlopen is supported.
61358 dlopen_support=$enable_dlopen
61360 # Whether dlopen of programs is supported.
61361 dlopen_self=$enable_dlopen_self
61363 # Whether dlopen of statically linked programs is supported.
61364 dlopen_self_static=$enable_dlopen_self_static
61366 # Commands to strip libraries.
61367 old_striplib=$lt_old_striplib
61368 striplib=$lt_striplib
61371 # The linker used to build libraries.
61372 LD=$lt_LD
61374 # How to create reloadable object files.
61375 reload_flag=$lt_reload_flag
61376 reload_cmds=$lt_reload_cmds
61378 # Commands used to build an old-style archive.
61379 old_archive_cmds=$lt_old_archive_cmds
61381 # A language specific compiler.
61382 CC=$lt_compiler
61384 # Is the compiler the GNU compiler?
61385 with_gcc=$GCC
61387 # Compiler flag to turn off builtin functions.
61388 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61390 # How to pass a linker flag through the compiler.
61391 wl=$lt_lt_prog_compiler_wl
61393 # Additional compiler flags for building library objects.
61394 pic_flag=$lt_lt_prog_compiler_pic
61396 # Compiler flag to prevent dynamic linking.
61397 link_static_flag=$lt_lt_prog_compiler_static
61399 # Does compiler simultaneously support -c and -o options?
61400 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61402 # Whether or not to add -lc for building shared libraries.
61403 build_libtool_need_lc=$archive_cmds_need_lc
61405 # Whether or not to disallow shared libs when runtime libs are static.
61406 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61408 # Compiler flag to allow reflexive dlopens.
61409 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61411 # Compiler flag to generate shared objects directly from archives.
61412 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61414 # Whether the compiler copes with passing no objects directly.
61415 compiler_needs_object=$lt_compiler_needs_object
61417 # Create an old-style archive from a shared archive.
61418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61420 # Create a temporary old-style archive to link instead of a shared archive.
61421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61423 # Commands used to build a shared archive.
61424 archive_cmds=$lt_archive_cmds
61425 archive_expsym_cmds=$lt_archive_expsym_cmds
61427 # Commands used to build a loadable module if different from building
61428 # a shared archive.
61429 module_cmds=$lt_module_cmds
61430 module_expsym_cmds=$lt_module_expsym_cmds
61432 # Whether we are building with GNU ld or not.
61433 with_gnu_ld=$lt_with_gnu_ld
61435 # Flag that allows shared libraries with undefined symbols to be built.
61436 allow_undefined_flag=$lt_allow_undefined_flag
61438 # Flag that enforces no undefined symbols.
61439 no_undefined_flag=$lt_no_undefined_flag
61441 # Flag to hardcode \$libdir into a binary during linking.
61442 # This must work even if \$libdir does not exist
61443 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61445 # If ld is used when linking, flag to hardcode \$libdir into a binary
61446 # during linking. This must work even if \$libdir does not exist.
61447 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61449 # Whether we need a single "-rpath" flag with a separated argument.
61450 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61452 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61453 # DIR into the resulting binary.
61454 hardcode_direct=$hardcode_direct
61456 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61457 # DIR into the resulting binary and the resulting library dependency is
61458 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61459 # library is relocated.
61460 hardcode_direct_absolute=$hardcode_direct_absolute
61462 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61463 # into the resulting binary.
61464 hardcode_minus_L=$hardcode_minus_L
61466 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61467 # into the resulting binary.
61468 hardcode_shlibpath_var=$hardcode_shlibpath_var
61470 # Set to "yes" if building a shared library automatically hardcodes DIR
61471 # into the library and all subsequent libraries and executables linked
61472 # against it.
61473 hardcode_automatic=$hardcode_automatic
61475 # Set to yes if linker adds runtime paths of dependent libraries
61476 # to runtime path list.
61477 inherit_rpath=$inherit_rpath
61479 # Whether libtool must link a program against all its dependency libraries.
61480 link_all_deplibs=$link_all_deplibs
61482 # Fix the shell variable \$srcfile for the compiler.
61483 fix_srcfile_path=$lt_fix_srcfile_path
61485 # Set to "yes" if exported symbols are required.
61486 always_export_symbols=$always_export_symbols
61488 # The commands to list exported symbols.
61489 export_symbols_cmds=$lt_export_symbols_cmds
61491 # Symbols that should not be listed in the preloaded symbols.
61492 exclude_expsyms=$lt_exclude_expsyms
61494 # Symbols that must always be exported.
61495 include_expsyms=$lt_include_expsyms
61497 # Commands necessary for linking programs (against libraries) with templates.
61498 prelink_cmds=$lt_prelink_cmds
61500 # Specify filename containing input files.
61501 file_list_spec=$lt_file_list_spec
61503 # How to hardcode a shared library path into an executable.
61504 hardcode_action=$hardcode_action
61506 # The directories searched by this compiler when creating a shared library.
61507 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61509 # Dependencies to place before and after the objects being linked to
61510 # create a shared library.
61511 predep_objects=$lt_predep_objects
61512 postdep_objects=$lt_postdep_objects
61513 predeps=$lt_predeps
61514 postdeps=$lt_postdeps
61516 # The library search path used internally by the compiler when linking
61517 # a shared library.
61518 compiler_lib_search_path=$lt_compiler_lib_search_path
61520 # ### END LIBTOOL CONFIG
61522 _LT_EOF
61524 case $host_os in
61525 aix3*)
61526 cat <<\_LT_EOF >> "$cfgfile"
61527 # AIX sometimes has problems with the GCC collect2 program. For some
61528 # reason, if we set the COLLECT_NAMES environment variable, the problems
61529 # vanish in a puff of smoke.
61530 if test "X${COLLECT_NAMES+set}" != Xset; then
61531 COLLECT_NAMES=
61532 export COLLECT_NAMES
61534 _LT_EOF
61536 esac
61539 ltmain="$ac_aux_dir/ltmain.sh"
61542 # We use sed instead of cat because bash on DJGPP gets confused if
61543 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61544 # text mode, it properly converts lines to CR/LF. This bash problem
61545 # is reportedly fixed, but why not run on old versions too?
61546 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61547 || (rm -f "$cfgfile"; exit 1)
61549 case $xsi_shell in
61550 yes)
61551 cat << \_LT_EOF >> "$cfgfile"
61553 # func_dirname file append nondir_replacement
61554 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61555 # otherwise set result to NONDIR_REPLACEMENT.
61556 func_dirname ()
61558 case ${1} in
61559 */*) func_dirname_result="${1%/*}${2}" ;;
61560 * ) func_dirname_result="${3}" ;;
61561 esac
61564 # func_basename file
61565 func_basename ()
61567 func_basename_result="${1##*/}"
61570 # func_dirname_and_basename file append nondir_replacement
61571 # perform func_basename and func_dirname in a single function
61572 # call:
61573 # dirname: Compute the dirname of FILE. If nonempty,
61574 # add APPEND to the result, otherwise set result
61575 # to NONDIR_REPLACEMENT.
61576 # value returned in "$func_dirname_result"
61577 # basename: Compute filename of FILE.
61578 # value retuned in "$func_basename_result"
61579 # Implementation must be kept synchronized with func_dirname
61580 # and func_basename. For efficiency, we do not delegate to
61581 # those functions but instead duplicate the functionality here.
61582 func_dirname_and_basename ()
61584 case ${1} in
61585 */*) func_dirname_result="${1%/*}${2}" ;;
61586 * ) func_dirname_result="${3}" ;;
61587 esac
61588 func_basename_result="${1##*/}"
61591 # func_stripname prefix suffix name
61592 # strip PREFIX and SUFFIX off of NAME.
61593 # PREFIX and SUFFIX must not contain globbing or regex special
61594 # characters, hashes, percent signs, but SUFFIX may contain a leading
61595 # dot (in which case that matches only a dot).
61596 func_stripname ()
61598 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61599 # positional parameters, so assign one to ordinary parameter first.
61600 func_stripname_result=${3}
61601 func_stripname_result=${func_stripname_result#"${1}"}
61602 func_stripname_result=${func_stripname_result%"${2}"}
61605 # func_opt_split
61606 func_opt_split ()
61608 func_opt_split_opt=${1%%=*}
61609 func_opt_split_arg=${1#*=}
61612 # func_lo2o object
61613 func_lo2o ()
61615 case ${1} in
61616 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61617 *) func_lo2o_result=${1} ;;
61618 esac
61621 # func_xform libobj-or-source
61622 func_xform ()
61624 func_xform_result=${1%.*}.lo
61627 # func_arith arithmetic-term...
61628 func_arith ()
61630 func_arith_result=$(( $* ))
61633 # func_len string
61634 # STRING may not start with a hyphen.
61635 func_len ()
61637 func_len_result=${#1}
61640 _LT_EOF
61642 *) # Bourne compatible functions.
61643 cat << \_LT_EOF >> "$cfgfile"
61645 # func_dirname file append nondir_replacement
61646 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61647 # otherwise set result to NONDIR_REPLACEMENT.
61648 func_dirname ()
61650 # Extract subdirectory from the argument.
61651 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61652 if test "X$func_dirname_result" = "X${1}"; then
61653 func_dirname_result="${3}"
61654 else
61655 func_dirname_result="$func_dirname_result${2}"
61659 # func_basename file
61660 func_basename ()
61662 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61666 # func_stripname prefix suffix name
61667 # strip PREFIX and SUFFIX off of NAME.
61668 # PREFIX and SUFFIX must not contain globbing or regex special
61669 # characters, hashes, percent signs, but SUFFIX may contain a leading
61670 # dot (in which case that matches only a dot).
61671 # func_strip_suffix prefix name
61672 func_stripname ()
61674 case ${2} in
61675 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61676 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61677 esac
61680 # sed scripts:
61681 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61682 my_sed_long_arg='1s/^-[^=]*=//'
61684 # func_opt_split
61685 func_opt_split ()
61687 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61688 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61691 # func_lo2o object
61692 func_lo2o ()
61694 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61697 # func_xform libobj-or-source
61698 func_xform ()
61700 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61703 # func_arith arithmetic-term...
61704 func_arith ()
61706 func_arith_result=`expr "$@"`
61709 # func_len string
61710 # STRING may not start with a hyphen.
61711 func_len ()
61713 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61716 _LT_EOF
61717 esac
61719 case $lt_shell_append in
61720 yes)
61721 cat << \_LT_EOF >> "$cfgfile"
61723 # func_append var value
61724 # Append VALUE to the end of shell variable VAR.
61725 func_append ()
61727 eval "$1+=\$2"
61729 _LT_EOF
61732 cat << \_LT_EOF >> "$cfgfile"
61734 # func_append var value
61735 # Append VALUE to the end of shell variable VAR.
61736 func_append ()
61738 eval "$1=\$$1\$2"
61741 _LT_EOF
61743 esac
61746 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61747 || (rm -f "$cfgfile"; exit 1)
61749 mv -f "$cfgfile" "$ofile" ||
61750 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61751 chmod +x "$ofile"
61754 cat <<_LT_EOF >> "$ofile"
61756 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61758 # The linker used to build libraries.
61759 LD=$lt_LD_CXX
61761 # How to create reloadable object files.
61762 reload_flag=$lt_reload_flag_CXX
61763 reload_cmds=$lt_reload_cmds_CXX
61765 # Commands used to build an old-style archive.
61766 old_archive_cmds=$lt_old_archive_cmds_CXX
61768 # A language specific compiler.
61769 CC=$lt_compiler_CXX
61771 # Is the compiler the GNU compiler?
61772 with_gcc=$GCC_CXX
61774 # Compiler flag to turn off builtin functions.
61775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61777 # How to pass a linker flag through the compiler.
61778 wl=$lt_lt_prog_compiler_wl_CXX
61780 # Additional compiler flags for building library objects.
61781 pic_flag=$lt_lt_prog_compiler_pic_CXX
61783 # Compiler flag to prevent dynamic linking.
61784 link_static_flag=$lt_lt_prog_compiler_static_CXX
61786 # Does compiler simultaneously support -c and -o options?
61787 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61789 # Whether or not to add -lc for building shared libraries.
61790 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61792 # Whether or not to disallow shared libs when runtime libs are static.
61793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61795 # Compiler flag to allow reflexive dlopens.
61796 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61798 # Compiler flag to generate shared objects directly from archives.
61799 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61801 # Whether the compiler copes with passing no objects directly.
61802 compiler_needs_object=$lt_compiler_needs_object_CXX
61804 # Create an old-style archive from a shared archive.
61805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61807 # Create a temporary old-style archive to link instead of a shared archive.
61808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61810 # Commands used to build a shared archive.
61811 archive_cmds=$lt_archive_cmds_CXX
61812 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61814 # Commands used to build a loadable module if different from building
61815 # a shared archive.
61816 module_cmds=$lt_module_cmds_CXX
61817 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61819 # Whether we are building with GNU ld or not.
61820 with_gnu_ld=$lt_with_gnu_ld_CXX
61822 # Flag that allows shared libraries with undefined symbols to be built.
61823 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61825 # Flag that enforces no undefined symbols.
61826 no_undefined_flag=$lt_no_undefined_flag_CXX
61828 # Flag to hardcode \$libdir into a binary during linking.
61829 # This must work even if \$libdir does not exist
61830 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61832 # If ld is used when linking, flag to hardcode \$libdir into a binary
61833 # during linking. This must work even if \$libdir does not exist.
61834 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61836 # Whether we need a single "-rpath" flag with a separated argument.
61837 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61840 # DIR into the resulting binary.
61841 hardcode_direct=$hardcode_direct_CXX
61843 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61844 # DIR into the resulting binary and the resulting library dependency is
61845 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61846 # library is relocated.
61847 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61849 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61850 # into the resulting binary.
61851 hardcode_minus_L=$hardcode_minus_L_CXX
61853 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61854 # into the resulting binary.
61855 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61857 # Set to "yes" if building a shared library automatically hardcodes DIR
61858 # into the library and all subsequent libraries and executables linked
61859 # against it.
61860 hardcode_automatic=$hardcode_automatic_CXX
61862 # Set to yes if linker adds runtime paths of dependent libraries
61863 # to runtime path list.
61864 inherit_rpath=$inherit_rpath_CXX
61866 # Whether libtool must link a program against all its dependency libraries.
61867 link_all_deplibs=$link_all_deplibs_CXX
61869 # Fix the shell variable \$srcfile for the compiler.
61870 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61872 # Set to "yes" if exported symbols are required.
61873 always_export_symbols=$always_export_symbols_CXX
61875 # The commands to list exported symbols.
61876 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61878 # Symbols that should not be listed in the preloaded symbols.
61879 exclude_expsyms=$lt_exclude_expsyms_CXX
61881 # Symbols that must always be exported.
61882 include_expsyms=$lt_include_expsyms_CXX
61884 # Commands necessary for linking programs (against libraries) with templates.
61885 prelink_cmds=$lt_prelink_cmds_CXX
61887 # Specify filename containing input files.
61888 file_list_spec=$lt_file_list_spec_CXX
61890 # How to hardcode a shared library path into an executable.
61891 hardcode_action=$hardcode_action_CXX
61893 # The directories searched by this compiler when creating a shared library.
61894 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61896 # Dependencies to place before and after the objects being linked to
61897 # create a shared library.
61898 predep_objects=$lt_predep_objects_CXX
61899 postdep_objects=$lt_postdep_objects_CXX
61900 predeps=$lt_predeps_CXX
61901 postdeps=$lt_postdeps_CXX
61903 # The library search path used internally by the compiler when linking
61904 # a shared library.
61905 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61907 # ### END LIBTOOL TAG CONFIG: CXX
61908 _LT_EOF
61911 "include/gstdint.h":C)
61912 if test "$GCC" = yes; then
61913 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61914 else
61915 echo "/* generated for $CC */" > tmp-stdint.h
61918 sed 's/^ *//' >> tmp-stdint.h <<EOF
61920 #ifndef GCC_GENERATED_STDINT_H
61921 #define GCC_GENERATED_STDINT_H 1
61923 #include <sys/types.h>
61926 if test "$acx_cv_header_stdint" != stdint.h; then
61927 echo "#include <stddef.h>" >> tmp-stdint.h
61929 if test "$acx_cv_header_stdint" != stddef.h; then
61930 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61933 sed 's/^ *//' >> tmp-stdint.h <<EOF
61934 /* glibc uses these symbols as guards to prevent redefinitions. */
61935 #ifdef __int8_t_defined
61936 #define _INT8_T
61937 #define _INT16_T
61938 #define _INT32_T
61939 #endif
61940 #ifdef __uint32_t_defined
61941 #define _UINT32_T
61942 #endif
61946 # ----------------- done header, emit basic int types -------------
61947 if test "$acx_cv_header_stdint" = stddef.h; then
61948 sed 's/^ *//' >> tmp-stdint.h <<EOF
61950 #ifndef _UINT8_T
61951 #define _UINT8_T
61952 #ifndef __uint8_t_defined
61953 #define __uint8_t_defined
61954 #ifndef uint8_t
61955 typedef unsigned $acx_cv_type_int8_t uint8_t;
61956 #endif
61957 #endif
61958 #endif
61960 #ifndef _UINT16_T
61961 #define _UINT16_T
61962 #ifndef __uint16_t_defined
61963 #define __uint16_t_defined
61964 #ifndef uint16_t
61965 typedef unsigned $acx_cv_type_int16_t uint16_t;
61966 #endif
61967 #endif
61968 #endif
61970 #ifndef _UINT32_T
61971 #define _UINT32_T
61972 #ifndef __uint32_t_defined
61973 #define __uint32_t_defined
61974 #ifndef uint32_t
61975 typedef unsigned $acx_cv_type_int32_t uint32_t;
61976 #endif
61977 #endif
61978 #endif
61980 #ifndef _INT8_T
61981 #define _INT8_T
61982 #ifndef __int8_t_defined
61983 #define __int8_t_defined
61984 #ifndef int8_t
61985 typedef $acx_cv_type_int8_t int8_t;
61986 #endif
61987 #endif
61988 #endif
61990 #ifndef _INT16_T
61991 #define _INT16_T
61992 #ifndef __int16_t_defined
61993 #define __int16_t_defined
61994 #ifndef int16_t
61995 typedef $acx_cv_type_int16_t int16_t;
61996 #endif
61997 #endif
61998 #endif
62000 #ifndef _INT32_T
62001 #define _INT32_T
62002 #ifndef __int32_t_defined
62003 #define __int32_t_defined
62004 #ifndef int32_t
62005 typedef $acx_cv_type_int32_t int32_t;
62006 #endif
62007 #endif
62008 #endif
62010 elif test "$ac_cv_type_u_int32_t" = yes; then
62011 sed 's/^ *//' >> tmp-stdint.h <<EOF
62013 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
62014 #ifndef _INT8_T
62015 #define _INT8_T
62016 #endif
62017 #ifndef _INT16_T
62018 #define _INT16_T
62019 #endif
62020 #ifndef _INT32_T
62021 #define _INT32_T
62022 #endif
62024 #ifndef _UINT8_T
62025 #define _UINT8_T
62026 #ifndef __uint8_t_defined
62027 #define __uint8_t_defined
62028 #ifndef uint8_t
62029 typedef u_int8_t uint8_t;
62030 #endif
62031 #endif
62032 #endif
62034 #ifndef _UINT16_T
62035 #define _UINT16_T
62036 #ifndef __uint16_t_defined
62037 #define __uint16_t_defined
62038 #ifndef uint16_t
62039 typedef u_int16_t uint16_t;
62040 #endif
62041 #endif
62042 #endif
62044 #ifndef _UINT32_T
62045 #define _UINT32_T
62046 #ifndef __uint32_t_defined
62047 #define __uint32_t_defined
62048 #ifndef uint32_t
62049 typedef u_int32_t uint32_t;
62050 #endif
62051 #endif
62052 #endif
62054 else
62055 sed 's/^ *//' >> tmp-stdint.h <<EOF
62057 /* Some systems have guard macros to prevent redefinitions, define them. */
62058 #ifndef _INT8_T
62059 #define _INT8_T
62060 #endif
62061 #ifndef _INT16_T
62062 #define _INT16_T
62063 #endif
62064 #ifndef _INT32_T
62065 #define _INT32_T
62066 #endif
62067 #ifndef _UINT8_T
62068 #define _UINT8_T
62069 #endif
62070 #ifndef _UINT16_T
62071 #define _UINT16_T
62072 #endif
62073 #ifndef _UINT32_T
62074 #define _UINT32_T
62075 #endif
62079 # ------------- done basic int types, emit int64_t types ------------
62080 if test "$ac_cv_type_uint64_t" = yes; then
62081 sed 's/^ *//' >> tmp-stdint.h <<EOF
62083 /* system headers have good uint64_t and int64_t */
62084 #ifndef _INT64_T
62085 #define _INT64_T
62086 #endif
62087 #ifndef _UINT64_T
62088 #define _UINT64_T
62089 #endif
62091 elif test "$ac_cv_type_u_int64_t" = yes; then
62092 sed 's/^ *//' >> tmp-stdint.h <<EOF
62094 /* system headers have an u_int64_t (and int64_t) */
62095 #ifndef _INT64_T
62096 #define _INT64_T
62097 #endif
62098 #ifndef _UINT64_T
62099 #define _UINT64_T
62100 #ifndef __uint64_t_defined
62101 #define __uint64_t_defined
62102 #ifndef uint64_t
62103 typedef u_int64_t uint64_t;
62104 #endif
62105 #endif
62106 #endif
62108 elif test -n "$acx_cv_type_int64_t"; then
62109 sed 's/^ *//' >> tmp-stdint.h <<EOF
62111 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62112 #ifndef _INT64_T
62113 #define _INT64_T
62114 #ifndef int64_t
62115 typedef $acx_cv_type_int64_t int64_t;
62116 #endif
62117 #endif
62118 #ifndef _UINT64_T
62119 #define _UINT64_T
62120 #ifndef __uint64_t_defined
62121 #define __uint64_t_defined
62122 #ifndef uint64_t
62123 typedef unsigned $acx_cv_type_int64_t uint64_t;
62124 #endif
62125 #endif
62126 #endif
62128 else
62129 sed 's/^ *//' >> tmp-stdint.h <<EOF
62131 /* some common heuristics for int64_t, using compiler-specific tests */
62132 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62133 #ifndef _INT64_T
62134 #define _INT64_T
62135 #ifndef __int64_t_defined
62136 #ifndef int64_t
62137 typedef long long int64_t;
62138 #endif
62139 #endif
62140 #endif
62141 #ifndef _UINT64_T
62142 #define _UINT64_T
62143 #ifndef uint64_t
62144 typedef unsigned long long uint64_t;
62145 #endif
62146 #endif
62148 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62149 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62150 does not implement __extension__. But that compiler doesn't define
62151 __GNUC_MINOR__. */
62152 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62153 # define __extension__
62154 # endif
62156 # ifndef _INT64_T
62157 # define _INT64_T
62158 # ifndef int64_t
62159 __extension__ typedef long long int64_t;
62160 # endif
62161 # endif
62162 # ifndef _UINT64_T
62163 # define _UINT64_T
62164 # ifndef uint64_t
62165 __extension__ typedef unsigned long long uint64_t;
62166 # endif
62167 # endif
62169 #elif !defined __STRICT_ANSI__
62170 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62172 # ifndef _INT64_T
62173 # define _INT64_T
62174 # ifndef int64_t
62175 typedef __int64 int64_t;
62176 # endif
62177 # endif
62178 # ifndef _UINT64_T
62179 # define _UINT64_T
62180 # ifndef uint64_t
62181 typedef unsigned __int64 uint64_t;
62182 # endif
62183 # endif
62184 # endif /* compiler */
62186 #endif /* ANSI version */
62190 # ------------- done int64_t types, emit intptr types ------------
62191 if test "$ac_cv_type_uintptr_t" != yes; then
62192 sed 's/^ *//' >> tmp-stdint.h <<EOF
62194 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62195 #ifndef __uintptr_t_defined
62196 #ifndef uintptr_t
62197 typedef u$acx_cv_type_intptr_t uintptr_t;
62198 #endif
62199 #endif
62200 #ifndef __intptr_t_defined
62201 #ifndef intptr_t
62202 typedef $acx_cv_type_intptr_t intptr_t;
62203 #endif
62204 #endif
62208 # ------------- done intptr types, emit int_least types ------------
62209 if test "$ac_cv_type_int_least32_t" != yes; then
62210 sed 's/^ *//' >> tmp-stdint.h <<EOF
62212 /* Define int_least types */
62213 typedef int8_t int_least8_t;
62214 typedef int16_t int_least16_t;
62215 typedef int32_t int_least32_t;
62216 #ifdef _INT64_T
62217 typedef int64_t int_least64_t;
62218 #endif
62220 typedef uint8_t uint_least8_t;
62221 typedef uint16_t uint_least16_t;
62222 typedef uint32_t uint_least32_t;
62223 #ifdef _UINT64_T
62224 typedef uint64_t uint_least64_t;
62225 #endif
62229 # ------------- done intptr types, emit int_fast types ------------
62230 if test "$ac_cv_type_int_fast32_t" != yes; then
62231 sed 's/^ *//' >> tmp-stdint.h <<EOF
62233 /* Define int_fast types. short is often slow */
62234 typedef int8_t int_fast8_t;
62235 typedef int int_fast16_t;
62236 typedef int32_t int_fast32_t;
62237 #ifdef _INT64_T
62238 typedef int64_t int_fast64_t;
62239 #endif
62241 typedef uint8_t uint_fast8_t;
62242 typedef unsigned int uint_fast16_t;
62243 typedef uint32_t uint_fast32_t;
62244 #ifdef _UINT64_T
62245 typedef uint64_t uint_fast64_t;
62246 #endif
62250 if test "$ac_cv_type_uintmax_t" != yes; then
62251 sed 's/^ *//' >> tmp-stdint.h <<EOF
62253 /* Define intmax based on what we found */
62254 #ifndef intmax_t
62255 #ifdef _INT64_T
62256 typedef int64_t intmax_t;
62257 #else
62258 typedef long intmax_t;
62259 #endif
62260 #endif
62261 #ifndef uintmax_t
62262 #ifdef _UINT64_T
62263 typedef uint64_t uintmax_t;
62264 #else
62265 typedef unsigned long uintmax_t;
62266 #endif
62267 #endif
62271 sed 's/^ *//' >> tmp-stdint.h <<EOF
62273 #endif /* GCC_GENERATED_STDINT_H */
62276 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62277 rm -f tmp-stdint.h
62278 else
62279 mv -f tmp-stdint.h include/gstdint.h
62283 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62284 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
62285 "include/Makefile":F) cat > vpsed$$ << \_EOF
62286 s!`test -f '$<' || echo '$(srcdir)/'`!!
62287 _EOF
62288 sed -f vpsed$$ $ac_file > tmp$$
62289 mv tmp$$ $ac_file
62290 rm vpsed$$
62291 echo 'MULTISUBDIR =' >> $ac_file
62292 ml_norecursion=yes
62293 . ${multi_basedir}/config-ml.in
62294 { ml_norecursion=; unset ml_norecursion;}
62296 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62297 s!`test -f '$<' || echo '$(srcdir)/'`!!
62298 _EOF
62299 sed -f vpsed$$ $ac_file > tmp$$
62300 mv tmp$$ $ac_file
62301 rm vpsed$$
62302 echo 'MULTISUBDIR =' >> $ac_file
62303 ml_norecursion=yes
62304 . ${multi_basedir}/config-ml.in
62305 { ml_norecursion=; unset ml_norecursion;}
62307 "python/Makefile":F) cat > vpsed$$ << \_EOF
62308 s!`test -f '$<' || echo '$(srcdir)/'`!!
62309 _EOF
62310 sed -f vpsed$$ $ac_file > tmp$$
62311 mv tmp$$ $ac_file
62312 rm vpsed$$
62313 echo 'MULTISUBDIR =' >> $ac_file
62314 ml_norecursion=yes
62315 . ${multi_basedir}/config-ml.in
62316 { ml_norecursion=; unset ml_norecursion;}
62318 "src/Makefile":F) cat > vpsed$$ << \_EOF
62319 s!`test -f '$<' || echo '$(srcdir)/'`!!
62320 _EOF
62321 sed -f vpsed$$ $ac_file > tmp$$
62322 mv tmp$$ $ac_file
62323 rm vpsed$$
62324 echo 'MULTISUBDIR =' >> $ac_file
62325 ml_norecursion=yes
62326 . ${multi_basedir}/config-ml.in
62327 { ml_norecursion=; unset ml_norecursion;}
62329 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62330 s!`test -f '$<' || echo '$(srcdir)/'`!!
62331 _EOF
62332 sed -f vpsed$$ $ac_file > tmp$$
62333 mv tmp$$ $ac_file
62334 rm vpsed$$
62335 echo 'MULTISUBDIR =' >> $ac_file
62336 ml_norecursion=yes
62337 . ${multi_basedir}/config-ml.in
62338 { ml_norecursion=; unset ml_norecursion;}
62340 "po/Makefile":F) cat > vpsed$$ << \_EOF
62341 s!`test -f '$<' || echo '$(srcdir)/'`!!
62342 _EOF
62343 sed -f vpsed$$ $ac_file > tmp$$
62344 mv tmp$$ $ac_file
62345 rm vpsed$$
62346 echo 'MULTISUBDIR =' >> $ac_file
62347 ml_norecursion=yes
62348 . ${multi_basedir}/config-ml.in
62349 { ml_norecursion=; unset ml_norecursion;}
62351 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62352 s!`test -f '$<' || echo '$(srcdir)/'`!!
62353 _EOF
62354 sed -f vpsed$$ $ac_file > tmp$$
62355 mv tmp$$ $ac_file
62356 rm vpsed$$
62357 echo 'MULTISUBDIR =' >> $ac_file
62358 ml_norecursion=yes
62359 . ${multi_basedir}/config-ml.in
62360 { ml_norecursion=; unset ml_norecursion;}
62362 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62364 esac
62365 done # for ac_tag
62368 as_fn_exit 0
62369 _ACEOF
62370 ac_clean_files=$ac_clean_files_save
62372 test $ac_write_fail = 0 ||
62373 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62376 # configure is writing to config.log, and then calls config.status.
62377 # config.status does its own redirection, appending to config.log.
62378 # Unfortunately, on DOS this fails, as config.log is still kept open
62379 # by configure, so config.status won't be able to write to it; its
62380 # output is simply discarded. So we exec the FD to /dev/null,
62381 # effectively closing config.log, so it can be properly (re)opened and
62382 # appended to by config.status. When coming back to configure, we
62383 # need to make the FD available again.
62384 if test "$no_create" != yes; then
62385 ac_cs_success=:
62386 ac_config_status_args=
62387 test "$silent" = yes &&
62388 ac_config_status_args="$ac_config_status_args --quiet"
62389 exec 5>/dev/null
62390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62391 exec 5>>config.log
62392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62393 # would make configure fail if this is the last instruction.
62394 $ac_cs_success || as_fn_exit $?
62396 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62398 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}