PR target/43888
[official-gcc.git] / libstdc++-v3 / configure
blobdf45a861bf4d239cb55a9c6e5e9481fc299d0b8b
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_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
632 ENABLE_SYMVERS_FALSE
633 ENABLE_SYMVERS_TRUE
634 port_specific_symbol_files
635 SYMVER_FILE
636 LTLIBICONV
637 LIBICONV
638 OPT_LDFLAGS
639 SECTION_LDFLAGS
640 GLIBCXX_LIBS
641 EXTRA_CXX_FLAGS
642 ENABLE_PARALLEL_FALSE
643 ENABLE_PARALLEL_TRUE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
646 DEBUG_FLAGS
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
657 C_INCLUDE_DIR
658 ALLOCATOR_NAME
659 ALLOCATOR_H
660 CLOCALE_INTERNAL_H
661 CLOCALE_CC
662 CTIME_CC
663 CTIME_H
664 CNUMERIC_CC
665 CMONEY_CC
666 CMESSAGES_CC
667 CCTYPE_CC
668 CCOLLATE_CC
669 CCODECVT_CC
670 CMESSAGES_H
671 CLOCALE_H
672 USE_NLS
673 glibcxx_localedir
674 glibcxx_POFILES
675 glibcxx_MOFILES
676 check_msgfmt
677 BASIC_FILE_CC
678 BASIC_FILE_H
679 CSTDIO_H
680 SECTION_FLAGS
681 WERROR
682 glibcxx_thread_h
683 glibcxx_PCHFLAGS
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
686 GLIBCXX_HOSTED_FALSE
687 GLIBCXX_HOSTED_TRUE
688 enable_static
689 enable_shared
690 CXXCPP
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 OBJDUMP
698 ac_ct_DUMPBIN
699 DUMPBIN
701 FGREP
703 LIBTOOL
704 EGREP
705 GREP
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
710 RANLIB
713 LN_S
714 toplevel_srcdir
715 glibcxx_srcdir
716 glibcxx_builddir
717 ac_ct_CXX
718 CXXFLAGS
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 multi_basedir
763 libtool_VERSION
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_multilib
806 with_target_subdir
807 with_cross_host
808 with_newlib
809 enable_maintainer_mode
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 enable_libtool_lock
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
818 enable_libstdcxx_pch
819 enable_cstdio
820 enable_clocale
821 enable_nls
822 enable_libstdcxx_allocator
823 enable_cheaders
824 enable_long_long
825 enable_wchar_t
826 enable_c99
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
830 enable_cxx_flags
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
833 enable_tls
834 enable_rpath
835 with_libiconv_prefix
836 with_system_libunwind
837 enable_linux_futex
838 enable_symvers
839 enable_visibility
840 with_gxx_include_dir
841 enable_version_specific_runtime_libs
843 ac_precious_vars='build_alias
844 host_alias
845 target_alias
847 CFLAGS
848 LDFLAGS
849 LIBS
850 CPPFLAGS
852 CXXFLAGS
855 CXXCPP'
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/null
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
906 ac_prev=
907 ac_dashdash=
908 for ac_option
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
913 ac_prev=
914 continue
917 case $ac_option in
918 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919 *) ac_optarg=yes ;;
920 esac
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
926 ac_dashdash=yes ;;
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
929 ac_prev=bindir ;;
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931 bindir=$ac_optarg ;;
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
945 --config-cache | -C)
946 cache_file=config.cache ;;
948 -datadir | --datadir | --datadi | --datad)
949 ac_prev=datadir ;;
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
960 -disable-* | --disable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
969 "enable_$ac_useropt"
970 "*) ;;
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
973 esac
974 eval enable_$ac_useropt=no ;;
976 -docdir | --docdir | --docdi | --doc | --do)
977 ac_prev=docdir ;;
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 docdir=$ac_optarg ;;
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982 ac_prev=dvidir ;;
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 dvidir=$ac_optarg ;;
986 -enable-* | --enable-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error "invalid feature name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
995 "enable_$ac_useropt"
996 "*) ;;
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
999 esac
1000 eval enable_$ac_useropt=\$ac_optarg ;;
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1013 with_gas=yes ;;
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 ac_prev=htmldir ;;
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 | --ht=*)
1031 htmldir=$ac_optarg ;;
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 ac_prev=infodir ;;
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1045 -libdir | --libdir | --libdi | --libd)
1046 ac_prev=libdir ;;
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 ac_prev=mandir ;;
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1076 with_fp=no ;;
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1080 no_create=yes ;;
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084 no_recursion=yes ;;
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 ac_prev=prefix ;;
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 ac_prev=pdfdir ;;
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1136 -psdir | --psdir | --psdi | --psd | --ps)
1137 ac_prev=psdir ;;
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139 psdir=$ac_optarg ;;
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1143 silent=yes ;;
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 ac_prev=sbindir ;;
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 | --sbi=* | --sb=*)
1149 sbindir=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1154 | --sha | --sh)
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 | --sha=* | --sh=*)
1160 sharedstatedir=$ac_optarg ;;
1162 -site | --site | --sit)
1163 ac_prev=site ;;
1164 -site=* | --site=* | --sit=*)
1165 site=$ac_optarg ;;
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 ac_prev=srcdir ;;
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 verbose=yes ;;
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1190 -with-* | --with-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1199 "with_$ac_useropt"
1200 "*) ;;
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1203 esac
1204 eval with_$ac_useropt=\$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1215 "with_$ac_useropt"
1216 "*) ;;
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1219 esac
1220 eval with_$ac_useropt=no ;;
1222 --x)
1223 # Obsolete; use --with-x.
1224 with_x=yes ;;
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev=x_includes ;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes=$ac_optarg ;;
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev=x_libraries ;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;;
1240 -*) as_fn_error "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information."
1244 *=*)
1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1250 esac
1251 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1262 esac
1263 done
1265 if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error "missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1272 no) ;;
1273 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 esac
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1286 case $ac_val in
1287 */ )
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1290 esac
1291 # Be sure to have absolute directory names.
1292 case $ac_val in
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295 esac
1296 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308 if test "x$build_alias" = x; then
1309 cross_compiling=maybe
1310 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used." >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1313 cross_compiling=yes
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320 test "$silent" = yes && exec 6>/dev/null
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error "pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 s//\1/
1345 /^X\(\/\/\)[^/].*/{
1346 s//\1/
1349 /^X\(\/\/\)$/{
1350 s//\1/
1353 /^X\(\/\).*/{
1354 s//\1/
1357 s/.*/./; q'`
1358 srcdir=$ac_confdir
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 srcdir=..
1362 else
1363 ac_srcdir_defaulted=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1372 pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 srcdir=.
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_${ac_var}_value=\$${ac_var}
1386 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1396 cat <<_ACEOF
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1406 Configuration:
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 [PREFIX]
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1450 _ACEOF
1452 cat <<\_ACEOF
1454 Program names:
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1459 System types:
1460 --build=BUILD configure for building on BUILD [guessed]
1461 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1462 --target=TARGET configure for building compilers for TARGET [HOST]
1463 _ACEOF
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive ) echo "Configuration of package-unused version-unused:";;
1469 esac
1470 cat <<\_ACEOF
1472 Optional Features:
1473 --disable-option-checking ignore unrecognized --enable/--with options
1474 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1475 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1476 --enable-multilib build many library versions (default)
1477 --enable-maintainer-mode enable make rules and dependencies not useful
1478 (and sometimes confusing) to the casual installer
1479 --enable-shared[=PKGS] build shared libraries [default=yes]
1480 --enable-static[=PKGS] build static libraries [default=yes]
1481 --enable-fast-install[=PKGS]
1482 optimize for fast installation [default=yes]
1483 --disable-libtool-lock avoid locking (might break parallel builds)
1484 --disable-hosted-libstdcxx
1485 only build freestanding C++ runtime support
1486 --enable-sjlj-exceptions
1487 force use of builtin_setjmp for exceptions
1488 [default=auto]
1489 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1490 [default=$is_hosted]
1491 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1492 --enable-clocale[=MODEL]
1493 use MODEL for target locale package [default=auto]
1494 --enable-nls use Native Language Support (default)
1495 --enable-libstdcxx-allocator=KIND
1496 use KIND for target std::allocator base
1497 [default=auto]
1498 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1499 --enable-long-long enable template specializations for 'long long'
1500 [default=yes]
1501 --enable-wchar_t enable template specializations for 'wchar_t'
1502 [default=yes]
1503 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1504 --enable-concept-checks use Boost-derived template checks [default=no]
1505 --enable-libstdcxx-debug-flags=FLAGS
1506 pass compiler FLAGS when building debug library
1507 [default="-g3 -O0"]
1508 --enable-libstdcxx-debug
1509 build extra debug library [default=no]
1510 --enable-cxx-flags=FLAGS
1511 pass compiler FLAGS when building library [default=]
1512 --enable-fully-dynamic-string
1513 do not put empty strings in per-process static
1514 memory [default=no]
1515 --enable-libstdcxx-time=KIND
1516 use KIND for check type [default=no]
1517 --enable-tls Use thread-local storage [default=yes]
1518 --disable-rpath do not hardcode runtime library paths
1519 --enable-linux-futex use the Linux futex system call [default=default]
1520 --enable-symvers=STYLE enables symbol versioning of the shared library
1521 [default=yes]
1522 --enable-visibility enables visibility safe usage [default=yes]
1523 --enable-version-specific-runtime-libs
1524 Specify that runtime libraries should be installed
1525 in a compiler-specific directory
1527 Optional Packages:
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-target-subdir=SUBDIR
1531 configuring in a subdirectory
1532 --with-cross-host=HOST configuring with a cross compiler
1533 --with-newlib assume newlib as a system C library
1534 --with-pic try to use only PIC/non-PIC objects [default=use
1535 both]
1536 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1537 --with-gnu-ld assume the C compiler uses GNU ld default=no
1538 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1539 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1540 --with-system-libunwind use installed libunwind
1541 --with-gxx-include-dir=DIR
1542 installation directory for include files
1544 Some influential environment variables:
1545 CC C compiler command
1546 CFLAGS C compiler flags
1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1548 nonstandard directory <lib dir>
1549 LIBS libraries to pass to the linker, e.g. -l<library>
1550 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1551 you have headers in a nonstandard directory <include dir>
1552 CXX C++ compiler command
1553 CXXFLAGS C++ compiler flags
1554 CPP C preprocessor
1555 CXXCPP C++ preprocessor
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1560 Report bugs to the package provider.
1561 _ACEOF
1562 ac_status=$?
1565 if test "$ac_init_help" = "recursive"; then
1566 # If there are subdirs, report their specific --help.
1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568 test -d "$ac_dir" ||
1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570 continue
1571 ac_builddir=.
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582 esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1589 case $srcdir in
1590 .) # We are building in place.
1591 ac_srcdir=.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1598 *) # Relative name.
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1608 echo &&
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1611 echo &&
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1613 else
1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 fi || ac_status=$?
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1617 done
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622 cat <<\_ACEOF
1623 package-unused configure version-unused
1624 generated by GNU Autoconf 2.64
1626 Copyright (C) 2009 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630 exit
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 rm -f conftest.$ac_objext
1644 if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_compile") 2>conftest.err
1652 ac_status=$?
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && {
1660 test -z "$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 } && test -s conftest.$ac_objext; then :
1663 ac_retval=0
1664 else
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1668 ac_retval=1
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 return $ac_retval
1673 } # ac_fn_c_try_compile
1675 # ac_fn_cxx_try_compile LINENO
1676 # ----------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_cxx_try_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1690 ac_status=$?
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_cxx_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1701 ac_retval=0
1702 else
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706 ac_retval=1
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 return $ac_retval
1711 } # ac_fn_cxx_try_compile
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_cpp ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } >/dev/null && {
1735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 }; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_c_try_cpp
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_link ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest$ac_exeext
1778 }; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1784 ac_retval=1
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 return $ac_retval
1794 } # ac_fn_c_try_link
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1807 else
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 eval "$3=yes"
1815 else
1816 eval "$3=no"
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 eval ac_res=\$$3
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1831 ac_fn_c_try_run ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>&5
1842 ac_status=$?
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
1852 ac_status=$?
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; }; }; then :
1855 ac_retval=0
1856 else
1857 $as_echo "$as_me: program exited with status $ac_status" >&5
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=$ac_status
1863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865 return $ac_retval
1867 } # ac_fn_c_try_run
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 if test x$gcc_no_link = xyes; then
1881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1887 #define $2 innocuous_$2
1889 /* System header to define __stub macros and hopefully few prototypes,
1890 which can conflict with char $2 (); below.
1891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892 <limits.h> exists even on freestanding compilers. */
1894 #ifdef __STDC__
1895 # include <limits.h>
1896 #else
1897 # include <assert.h>
1898 #endif
1900 #undef $2
1902 /* Override any GCC internal prototype to avoid an error.
1903 Use char because int might match the return type of a GCC
1904 builtin and then its argument prototype would still apply. */
1905 #ifdef __cplusplus
1906 extern "C"
1907 #endif
1908 char $2 ();
1909 /* The GNU C library defines this for functions which it implements
1910 to always fail with ENOSYS. Some functions are actually named
1911 something starting with __ and the normal name is an alias. */
1912 #if defined __stub_$2 || defined __stub___$2
1913 choke me
1914 #endif
1917 main ()
1919 return $2 ();
1921 return 0;
1923 _ACEOF
1924 if ac_fn_c_try_link "$LINENO"; then :
1925 eval "$3=yes"
1926 else
1927 eval "$3=no"
1929 rm -f core conftest.err conftest.$ac_objext \
1930 conftest$ac_exeext conftest.$ac_ext
1932 eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937 } # ac_fn_c_check_func
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 if { { ac_try="$ac_cpp conftest.$ac_ext"
1946 case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1953 ac_status=$?
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } >/dev/null && {
1961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962 test ! -s conftest.err
1963 }; then :
1964 ac_retval=0
1965 else
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1969 ac_retval=1
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 return $ac_retval
1974 } # ac_fn_cxx_try_cpp
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest$ac_exeext
2004 }; then :
2005 ac_retval=0
2006 else
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2010 ac_retval=1
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018 return $ac_retval
2020 } # ac_fn_cxx_try_link
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_c_check_header_mongrel ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2036 eval ac_res=\$$3
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2050 else
2051 ac_header_compiler=no
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2066 else
2067 ac_header_preproc=no
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2075 yes:no: )
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2081 no:yes:* )
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 esac
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 $as_echo_n "(cached) " >&6
2098 else
2099 eval "$3=\$ac_header_compiler"
2101 eval ac_res=\$$3
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_c_check_header_mongrel
2109 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # ---------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2113 # accordingly.
2114 ac_fn_cxx_check_header_mongrel ()
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121 $as_echo_n "(cached) " >&6
2123 eval ac_res=\$$3
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 else
2127 # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_cxx_try_compile "$LINENO"; then :
2136 ac_header_compiler=yes
2137 else
2138 ac_header_compiler=no
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2149 #include <$2>
2150 _ACEOF
2151 if ac_fn_cxx_try_cpp "$LINENO"; then :
2152 ac_header_preproc=yes
2153 else
2154 ac_header_preproc=no
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2160 # So? What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2162 yes:no: )
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 no:yes:* )
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2180 esac
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2185 else
2186 eval "$3=\$ac_header_compiler"
2188 eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194 } # ac_fn_cxx_check_header_mongrel
2196 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2197 # -------------------------------------------
2198 # Tests whether TYPE exists after having included INCLUDES, setting cache
2199 # variable VAR accordingly.
2200 ac_fn_c_check_type ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 eval "$3=no"
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2213 main ()
2215 if (sizeof ($2))
2216 return 0;
2218 return 0;
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2226 main ()
2228 if (sizeof (($2)))
2229 return 0;
2231 return 0;
2233 _ACEOF
2234 if ac_fn_c_try_compile "$LINENO"; then :
2236 else
2237 eval "$3=yes"
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 eval ac_res=\$$3
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_c_check_type
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2427 cat >config.log <<_ACEOF
2428 This file contains any messages produced by compilers while
2429 running configure, to aid debugging if configure makes a mistake.
2431 It was created by package-unused $as_me version-unused, which was
2432 generated by GNU Autoconf 2.64. Invocation command line was
2434 $ $0 $@
2436 _ACEOF
2437 exec 5>>config.log
2439 cat <<_ASUNAME
2440 ## --------- ##
2441 ## Platform. ##
2442 ## --------- ##
2444 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2450 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2453 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2454 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2455 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2457 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2458 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2459 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2461 _ASUNAME
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 $as_echo "PATH: $as_dir"
2469 done
2470 IFS=$as_save_IFS
2472 } >&5
2474 cat >&5 <<_ACEOF
2477 ## ----------- ##
2478 ## Core tests. ##
2479 ## ----------- ##
2481 _ACEOF
2484 # Keep a trace of the command line.
2485 # Strip out --no-create and --no-recursion so they do not pile up.
2486 # Strip out --silent because we don't want to record it for future runs.
2487 # Also quote any args containing shell meta-characters.
2488 # Make two passes to allow for proper duplicate-argument suppression.
2489 ac_configure_args=
2490 ac_configure_args0=
2491 ac_configure_args1=
2492 ac_must_keep_next=false
2493 for ac_pass in 1 2
2495 for ac_arg
2497 case $ac_arg in
2498 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500 | -silent | --silent | --silen | --sile | --sil)
2501 continue ;;
2502 *\'*)
2503 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2504 esac
2505 case $ac_pass in
2506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2508 as_fn_append ac_configure_args1 " '$ac_arg'"
2509 if test $ac_must_keep_next = true; then
2510 ac_must_keep_next=false # Got value, back to normal.
2511 else
2512 case $ac_arg in
2513 *=* | --config-cache | -C | -disable-* | --disable-* \
2514 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516 | -with-* | --with-* | -without-* | --without-* | --x)
2517 case "$ac_configure_args0 " in
2518 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2519 esac
2521 -* ) ac_must_keep_next=true ;;
2522 esac
2524 as_fn_append ac_configure_args " '$ac_arg'"
2526 esac
2527 done
2528 done
2529 { ac_configure_args0=; unset ac_configure_args0;}
2530 { ac_configure_args1=; unset ac_configure_args1;}
2532 # When interrupted or exit'd, cleanup temporary files, and complete
2533 # config.log. We remove comments because anyway the quotes in there
2534 # would cause problems or look ugly.
2535 # WARNING: Use '\'' to represent an apostrophe within the trap.
2536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537 trap 'exit_status=$?
2538 # Save into config.log some information that might help in debugging.
2540 echo
2542 cat <<\_ASBOX
2543 ## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##
2546 _ASBOX
2547 echo
2548 # The following way of writing the cache mishandles newlines in values,
2550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2551 eval ac_val=\$$ac_var
2552 case $ac_val in #(
2553 *${as_nl}*)
2554 case $ac_var in #(
2555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2557 esac
2558 case $ac_var in #(
2559 _ | IFS | as_nl) ;; #(
2560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2561 *) { eval $ac_var=; unset $ac_var;} ;;
2562 esac ;;
2563 esac
2564 done
2565 (set) 2>&1 |
2566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2567 *${as_nl}ac_space=\ *)
2568 sed -n \
2569 "s/'\''/'\''\\\\'\'''\''/g;
2570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2571 ;; #(
2573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2575 esac |
2576 sort
2578 echo
2580 cat <<\_ASBOX
2581 ## ----------------- ##
2582 ## Output variables. ##
2583 ## ----------------- ##
2584 _ASBOX
2585 echo
2586 for ac_var in $ac_subst_vars
2588 eval ac_val=\$$ac_var
2589 case $ac_val in
2590 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2591 esac
2592 $as_echo "$ac_var='\''$ac_val'\''"
2593 done | sort
2594 echo
2596 if test -n "$ac_subst_files"; then
2597 cat <<\_ASBOX
2598 ## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##
2601 _ASBOX
2602 echo
2603 for ac_var in $ac_subst_files
2605 eval ac_val=\$$ac_var
2606 case $ac_val in
2607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2608 esac
2609 $as_echo "$ac_var='\''$ac_val'\''"
2610 done | sort
2611 echo
2614 if test -s confdefs.h; then
2615 cat <<\_ASBOX
2616 ## ----------- ##
2617 ## confdefs.h. ##
2618 ## ----------- ##
2619 _ASBOX
2620 echo
2621 cat confdefs.h
2622 echo
2624 test "$ac_signal" != 0 &&
2625 $as_echo "$as_me: caught signal $ac_signal"
2626 $as_echo "$as_me: exit $exit_status"
2627 } >&5
2628 rm -f core *.core core.conftest.* &&
2629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2630 exit $exit_status
2632 for ac_signal in 1 2 13 15; do
2633 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2634 done
2635 ac_signal=0
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2640 $as_echo "/* confdefs.h */" > confdefs.h
2642 # Predefined preprocessor variables.
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2646 _ACEOF
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2650 _ACEOF
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2654 _ACEOF
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2658 _ACEOF
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2662 _ACEOF
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2666 _ACEOF
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2671 ac_site_file1=NONE
2672 ac_site_file2=NONE
2673 if test -n "$CONFIG_SITE"; then
2674 ac_site_file1=$CONFIG_SITE
2675 elif test "x$prefix" != xNONE; then
2676 ac_site_file1=$prefix/share/config.site
2677 ac_site_file2=$prefix/etc/config.site
2678 else
2679 ac_site_file1=$ac_default_prefix/share/config.site
2680 ac_site_file2=$ac_default_prefix/etc/config.site
2682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2684 test "x$ac_site_file" = xNONE && continue
2685 if test -r "$ac_site_file"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2688 sed 's/^/| /' "$ac_site_file" >&5
2689 . "$ac_site_file"
2691 done
2693 if test -r "$cache_file"; then
2694 # Some versions of bash will fail to source /dev/null (special
2695 # files actually), so we avoid doing that.
2696 if test -f "$cache_file"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2698 $as_echo "$as_me: loading cache $cache_file" >&6;}
2699 case $cache_file in
2700 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2701 *) . "./$cache_file";;
2702 esac
2704 else
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2706 $as_echo "$as_me: creating cache $cache_file" >&6;}
2707 >$cache_file
2710 # Check that the precious variables saved in the cache have kept the same
2711 # value.
2712 ac_cache_corrupted=false
2713 for ac_var in $ac_precious_vars; do
2714 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2715 eval ac_new_set=\$ac_env_${ac_var}_set
2716 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2717 eval ac_new_val=\$ac_env_${ac_var}_value
2718 case $ac_old_set,$ac_new_set in
2719 set,)
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2721 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2722 ac_cache_corrupted=: ;;
2723 ,set)
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2725 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2726 ac_cache_corrupted=: ;;
2727 ,);;
2729 if test "x$ac_old_val" != "x$ac_new_val"; then
2730 # differences in whitespace do not lead to failure.
2731 ac_old_val_w=`echo x $ac_old_val`
2732 ac_new_val_w=`echo x $ac_new_val`
2733 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2735 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2736 ac_cache_corrupted=:
2737 else
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2739 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2740 eval $ac_var=\$ac_old_val
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2743 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2745 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2746 fi;;
2747 esac
2748 # Pass precious variables to config.status.
2749 if test "$ac_new_set" = set; then
2750 case $ac_new_val in
2751 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2752 *) ac_arg=$ac_var=$ac_new_val ;;
2753 esac
2754 case " $ac_configure_args " in
2755 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2756 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2757 esac
2759 done
2760 if $ac_cache_corrupted; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2764 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2765 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2767 ## -------------------- ##
2768 ## Main body of script. ##
2769 ## -------------------- ##
2771 ac_ext=c
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 ac_config_headers="$ac_config_headers config.h"
2785 # This works around the fact that libtool configuration may change LD
2786 # for this particular configuration, but some shells, instead of
2787 # keeping the changes in LD private, export them just because LD is
2788 # exported. Only used at the end of this file.
2789 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2791 # For libtool versioning info, format is CURRENT:REVISION:AGE
2792 libtool_VERSION=6:14:0
2795 # Find the rest of the source tree framework.
2796 # Default to --enable-multilib
2797 # Check whether --enable-multilib was given.
2798 if test "${enable_multilib+set}" = set; then :
2799 enableval=$enable_multilib; case "$enableval" in
2800 yes) multilib=yes ;;
2801 no) multilib=no ;;
2802 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2803 esac
2804 else
2805 multilib=yes
2809 # We may get other options which we leave undocumented:
2810 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2811 # See config-ml.in if you want the gory details.
2813 if test "$srcdir" = "."; then
2814 if test "$with_target_subdir" != "."; then
2815 multi_basedir="$srcdir/$with_multisrctop../.."
2816 else
2817 multi_basedir="$srcdir/$with_multisrctop.."
2819 else
2820 multi_basedir="$srcdir/.."
2824 # Even if the default multilib is not a cross compilation,
2825 # it may be that some of the other multilibs are.
2826 if test $cross_compiling = no && test $multilib = yes \
2827 && test "x${with_multisubdir}" != x ; then
2828 cross_compiling=maybe
2831 ac_config_commands="$ac_config_commands default-1"
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2836 # You will slowly go insane if you do not grok the following fact: when
2837 # building v3 as part of the compiler, the top-level /target/ becomes the
2838 # library's /host/. configure then causes --target to default to --host,
2839 # exactly like any other package using autoconf. Therefore, 'target' and
2840 # 'host' will always be the same. This makes sense both for native and
2841 # cross compilers, just think about it for a little while. :-)
2843 # Also, if v3 is being configured as part of a cross compiler, the top-level
2844 # configure script will pass the "real" host as $with_cross_host.
2846 # Do not delete or change the following two lines. For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2848 ac_aux_dir=
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850 for ac_t in install-sh install.sh shtool; do
2851 if test -f "$ac_dir/$ac_t"; then
2852 ac_aux_dir=$ac_dir
2853 ac_install_sh="$ac_aux_dir/$ac_t -c"
2854 break 2
2856 done
2857 done
2858 if test -z "$ac_aux_dir"; then
2859 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2862 # These three variables are undocumented and unsupported,
2863 # and are intended to be withdrawn in a future Autoconf release.
2864 # They can cause serious problems if a builder's source tree is in a directory
2865 # whose full name contains unusual characters.
2866 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2867 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2868 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2871 # Make sure we can run config.sub.
2872 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876 $as_echo_n "checking build system type... " >&6; }
2877 if test "${ac_cv_build+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2879 else
2880 ac_build_alias=$build_alias
2881 test "x$ac_build_alias" = x &&
2882 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883 test "x$ac_build_alias" = x &&
2884 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890 $as_echo "$ac_cv_build" >&6; }
2891 case $ac_cv_build in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2894 esac
2895 build=$ac_cv_build
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_build
2898 shift
2899 build_cpu=$1
2900 build_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 build_os=$*
2905 IFS=$ac_save_IFS
2906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910 $as_echo_n "checking host system type... " >&6; }
2911 if test "${ac_cv_host+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 if test "x$host_alias" = x; then
2915 ac_cv_host=$ac_cv_build
2916 else
2917 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923 $as_echo "$ac_cv_host" >&6; }
2924 case $ac_cv_host in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2927 esac
2928 host=$ac_cv_host
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_host
2931 shift
2932 host_cpu=$1
2933 host_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 host_os=$*
2938 IFS=$ac_save_IFS
2939 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2943 $as_echo_n "checking target system type... " >&6; }
2944 if test "${ac_cv_target+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$target_alias" = x; then
2948 ac_cv_target=$ac_cv_host
2949 else
2950 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2956 $as_echo "$ac_cv_target" >&6; }
2957 case $ac_cv_target in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2960 esac
2961 target=$ac_cv_target
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_target
2964 shift
2965 target_cpu=$1
2966 target_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 target_os=$*
2971 IFS=$ac_save_IFS
2972 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2975 # The aliases save the names the user supplied, while $host etc.
2976 # will get canonicalized.
2977 test -n "$target_alias" &&
2978 test "$program_prefix$program_suffix$program_transform_name" = \
2979 NONENONEs,x,x, &&
2980 program_prefix=${target_alias}-
2982 target_alias=${target_alias-$host_alias}
2984 # Handy for debugging:
2985 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2987 if test "$build" != "$host"; then
2988 # We are being configured with some form of cross compiler.
2989 GLIBCXX_IS_NATIVE=false
2990 case "$host","$target" in
2991 # Darwin crosses can use the host system's libraries and headers,
2992 # because of the fat library support. Of course, it must be the
2993 # same version of Darwin on both sides. Allow the user to
2994 # just say --target=foo-darwin without a version number to mean
2995 # "the version on this system".
2996 *-*-darwin*,*-*-darwin*)
2997 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2998 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2999 if test $hostos = $targetos -o $targetos = darwin ; then
3000 GLIBCXX_IS_NATIVE=true
3007 esac
3008 else
3009 GLIBCXX_IS_NATIVE=true
3012 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3013 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3014 # 1.x: minimum required version
3015 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3016 # of other PACKAGE_* variables will, however, and there's nothing
3017 # we can do about that; they come from AC_INIT).
3018 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3019 # file in the top srcdir, etc, etc), so stop complaining.
3020 # no-dependencies: turns off auto dependency generation (just for now)
3021 # no-dist: we don't want 'dist' and related rules.
3022 # -Wall: turns on all automake warnings...
3023 # -Wno-portability: ...except this one, since GNU make is now required.
3024 am__api_version='1.11'
3026 # Find a good install program. We prefer a C program (faster),
3027 # so one script is as good as another. But avoid the broken or
3028 # incompatible versions:
3029 # SysV /etc/install, /usr/sbin/install
3030 # SunOS /usr/etc/install
3031 # IRIX /sbin/install
3032 # AIX /bin/install
3033 # AmigaOS /C/install, which installs bootblocks on floppy discs
3034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3037 # OS/2's system install, which has a completely different semantic
3038 # ./install, which can be erroneously created by make from ./install.sh.
3039 # Reject install programs that cannot install multiple files.
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3042 if test -z "$INSTALL"; then
3043 if test "${ac_cv_path_install+set}" = set; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 # Account for people who put trailing slashes in PATH elements.
3052 case $as_dir/ in #((
3053 ./ | .// | /[cC]/* | \
3054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3055 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3056 /usr/ucb/* ) ;;
3058 # OSF1 and SCO ODT 3.0 have their own names for install.
3059 # Don't use installbsd from OSF since it installs stuff as root
3060 # by default.
3061 for ac_prog in ginstall scoinst install; do
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3064 if test $ac_prog = install &&
3065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066 # AIX install. It has an incompatible calling convention.
3068 elif test $ac_prog = install &&
3069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3070 # program-specific install script used by HP pwplus--don't use.
3072 else
3073 rm -rf conftest.one conftest.two conftest.dir
3074 echo one > conftest.one
3075 echo two > conftest.two
3076 mkdir conftest.dir
3077 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3078 test -s conftest.one && test -s conftest.two &&
3079 test -s conftest.dir/conftest.one &&
3080 test -s conftest.dir/conftest.two
3081 then
3082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3083 break 3
3087 done
3088 done
3090 esac
3092 done
3093 IFS=$as_save_IFS
3095 rm -rf conftest.one conftest.two conftest.dir
3098 if test "${ac_cv_path_install+set}" = set; then
3099 INSTALL=$ac_cv_path_install
3100 else
3101 # As a last resort, use the slow shell script. Don't cache a
3102 # value for INSTALL within a source directory, because that will
3103 # break other packages using the cache if that directory is
3104 # removed, or if the value is a relative name.
3105 INSTALL=$ac_install_sh
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3109 $as_echo "$INSTALL" >&6; }
3111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3112 # It thinks the first close brace ends the variable substitution.
3113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3120 $as_echo_n "checking whether build environment is sane... " >&6; }
3121 # Just in case
3122 sleep 1
3123 echo timestamp > conftest.file
3124 # Reject unsafe characters in $srcdir or the absolute working directory
3125 # name. Accept space and tab only in the latter.
3126 am_lf='
3128 case `pwd` in
3129 *[\\\"\#\$\&\'\`$am_lf]*)
3130 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3131 esac
3132 case $srcdir in
3133 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3134 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3135 esac
3137 # Do `set' in a subshell so we don't clobber the current shell's
3138 # arguments. Must try -L first in case configure is actually a
3139 # symlink; some systems play weird games with the mod time of symlinks
3140 # (eg FreeBSD returns the mod time of the symlink's containing
3141 # directory).
3142 if (
3143 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3144 if test "$*" = "X"; then
3145 # -L didn't work.
3146 set X `ls -t "$srcdir/configure" conftest.file`
3148 rm -f conftest.file
3149 if test "$*" != "X $srcdir/configure conftest.file" \
3150 && test "$*" != "X conftest.file $srcdir/configure"; then
3152 # If neither matched, then we have a broken ls. This can happen
3153 # if, for instance, CONFIG_SHELL is bash and it inherits a
3154 # broken ls alias from the environment. This has actually
3155 # happened. Such a system could not be considered "sane".
3156 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3157 alias in your environment" "$LINENO" 5
3160 test "$2" = conftest.file
3162 then
3163 # Ok.
3165 else
3166 as_fn_error "newly created file is older than distributed files!
3167 Check your system clock" "$LINENO" 5
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3171 test "$program_prefix" != NONE &&
3172 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3184 if test x"${MISSING+set}" != xset; then
3185 case $am_aux_dir in
3186 *\ * | *\ *)
3187 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3189 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3190 esac
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --run true"; then
3194 am_missing_run="$MISSING --run "
3195 else
3196 am_missing_run=
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3201 if test x"${install_sh}" != xset; then
3202 case $am_aux_dir in
3203 *\ * | *\ *)
3204 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3206 install_sh="\${SHELL} $am_aux_dir/install-sh"
3207 esac
3210 # Installed binaries are usually stripped using `strip' when the user
3211 # run `make install-strip'. However `strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the `STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215 if test -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if test "${ac_cv_prog_STRIP+set}" = set; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 if test -n "$STRIP"; then
3224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3229 IFS=$as_save_IFS
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 break 2
3237 done
3238 done
3239 IFS=$as_save_IFS
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3247 else
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3254 if test -z "$ac_cv_prog_STRIP"; then
3255 ac_ct_STRIP=$STRIP
3256 # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$ac_ct_STRIP"; then
3264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_ac_ct_STRIP="strip"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3277 done
3278 done
3279 IFS=$as_save_IFS
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3292 if test "x$ac_ct_STRIP" = x; then
3293 STRIP=":"
3294 else
3295 case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301 STRIP=$ac_ct_STRIP
3303 else
3304 STRIP="$ac_cv_prog_STRIP"
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313 if test "${ac_cv_path_mkdir+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_prog in mkdir gmkdir; do
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325 'mkdir (GNU coreutils) '* | \
3326 'mkdir (coreutils) '* | \
3327 'mkdir (fileutils) '4.1*)
3328 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3329 break 3;;
3330 esac
3331 done
3332 done
3333 done
3334 IFS=$as_save_IFS
3338 if test "${ac_cv_path_mkdir+set}" = set; then
3339 MKDIR_P="$ac_cv_path_mkdir -p"
3340 else
3341 # As a last resort, use the slow shell script. Don't cache a
3342 # value for MKDIR_P within a source directory, because that will
3343 # break other packages using the cache if that directory is
3344 # removed, or if the value is a relative name.
3345 test -d ./--version && rmdir ./--version
3346 MKDIR_P="$ac_install_sh -d"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3352 mkdir_p="$MKDIR_P"
3353 case $mkdir_p in
3354 [\\/$]* | ?:[\\/]*) ;;
3355 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3356 esac
3358 for ac_prog in gawk mawk nawk awk
3360 # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy $ac_prog; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_AWK+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3366 else
3367 if test -n "$AWK"; then
3368 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3369 else
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH
3373 IFS=$as_save_IFS
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_AWK="$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 break 2
3381 done
3382 done
3383 IFS=$as_save_IFS
3387 AWK=$ac_cv_prog_AWK
3388 if test -n "$AWK"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3390 $as_echo "$AWK" >&6; }
3391 else
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$AWK" && break
3398 done
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3401 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3402 set x ${MAKE-make}
3403 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3404 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3405 $as_echo_n "(cached) " >&6
3406 else
3407 cat >conftest.make <<\_ACEOF
3408 SHELL = /bin/sh
3409 all:
3410 @echo '@@@%%%=$(MAKE)=@@@%%%'
3411 _ACEOF
3412 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3413 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3414 *@@@%%%=?*=@@@%%%*)
3415 eval ac_cv_prog_make_${ac_make}_set=yes;;
3417 eval ac_cv_prog_make_${ac_make}_set=no;;
3418 esac
3419 rm -f conftest.make
3421 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3424 SET_MAKE=
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 SET_MAKE="MAKE=${MAKE-make}"
3431 rm -rf .tst 2>/dev/null
3432 mkdir .tst 2>/dev/null
3433 if test -d .tst; then
3434 am__leading_dot=.
3435 else
3436 am__leading_dot=_
3438 rmdir .tst 2>/dev/null
3440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3442 # is not polluted with repeated "-I."
3443 am__isrc=' -I$(srcdir)'
3444 # test to see if srcdir already configured
3445 if test -f $srcdir/config.status; then
3446 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3450 # test whether we have cygpath
3451 if test -z "$CYGPATH_W"; then
3452 if (cygpath --version) >/dev/null 2>/dev/null; then
3453 CYGPATH_W='cygpath -w'
3454 else
3455 CYGPATH_W=echo
3460 # Define the identity of the package.
3461 PACKAGE='libstdc++'
3462 VERSION='version-unused'
3465 # Some tools Automake needs.
3467 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3470 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3473 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3476 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3479 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3481 # We need awk for the "check" target. The system "awk" is bad on
3482 # some platforms.
3483 # Always define AMTAR for backward compatibility.
3485 AMTAR=${AMTAR-"${am_missing_run}tar"}
3487 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3496 # -fno-builtin must be present here so that a non-conflicting form of
3497 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3499 save_CXXFLAGS="$CXXFLAGS"
3500 CXXFLAGS="$CXXFLAGS -fno-builtin"
3501 ac_ext=c
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3513 else
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3516 else
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 for as_dir in $PATH
3520 IFS=$as_save_IFS
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 break 2
3528 done
3529 done
3530 IFS=$as_save_IFS
3534 CC=$ac_cv_prog_CC
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3538 else
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3545 if test -z "$ac_cv_prog_CC"; then
3546 ac_ct_CC=$CC
3547 # Extract the first word of "gcc", so it can be a program name with args.
3548 set dummy gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 if test -n "$ac_ct_CC"; then
3555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_ac_ct_CC="gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3568 done
3569 done
3570 IFS=$as_save_IFS
3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3578 else
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3583 if test "x$ac_ct_CC" = x; then
3584 CC=""
3585 else
3586 case $cross_compiling:$ac_tool_warned in
3587 yes:)
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3591 esac
3592 CC=$ac_ct_CC
3594 else
3595 CC="$ac_cv_prog_CC"
3598 if test -z "$CC"; then
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_CC="${ac_tool_prefix}cc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 CC=$ac_cv_prog_CC
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3639 if test -z "$CC"; then
3640 # Extract the first word of "cc", so it can be a program name with args.
3641 set dummy cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3646 else
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC="$CC" # Let the user override the test.
3649 else
3650 ac_prog_rejected=no
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3654 IFS=$as_save_IFS
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3659 ac_prog_rejected=yes
3660 continue
3662 ac_cv_prog_CC="cc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3670 if test $ac_prog_rejected = yes; then
3671 # We found a bogon in the path, so make sure we never use it.
3672 set dummy $ac_cv_prog_CC
3673 shift
3674 if test $# != 0; then
3675 # We chose a different compiler from the bogus one.
3676 # However, it has the same basename, so the bogon will be chosen
3677 # first if we set CC to just the basename; use the full file name.
3678 shift
3679 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in cl.exe
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CC+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3705 else
3706 if test -n "$CC"; then
3707 ac_cv_prog_CC="$CC" # Let the user override the test.
3708 else
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 for as_dir in $PATH
3712 IFS=$as_save_IFS
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 break 2
3720 done
3721 done
3722 IFS=$as_save_IFS
3726 CC=$ac_cv_prog_CC
3727 if test -n "$CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3730 else
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CC" && break
3737 done
3739 if test -z "$CC"; then
3740 ac_ct_CC=$CC
3741 for ac_prog in cl.exe
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$ac_ct_CC"; then
3751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CC="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3773 $as_echo "$ac_ct_CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CC" && break
3781 done
3783 if test "x$ac_ct_CC" = x; then
3784 CC=""
3785 else
3786 case $cross_compiling:$ac_tool_warned in
3787 yes:)
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3791 esac
3792 CC=$ac_ct_CC
3799 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "no acceptable C compiler found in \$PATH
3802 See \`config.log' for more details." "$LINENO" 5; }
3804 # Provide some information about the compiler.
3805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3806 set X $ac_compile
3807 ac_compiler=$2
3808 for ac_option in --version -v -V -qversion; do
3809 { { ac_try="$ac_compiler $ac_option >&5"
3810 case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3813 esac
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3817 ac_status=$?
3818 if test -s conftest.err; then
3819 sed '10a\
3820 ... rest of stderr output deleted ...
3821 10q' conftest.err >conftest.er1
3822 cat conftest.er1 >&5
3823 rm -f conftest.er1 conftest.err
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }
3827 done
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3833 main ()
3837 return 0;
3839 _ACEOF
3840 # FIXME: Cleanup?
3841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3842 (eval $ac_link) 2>&5
3843 ac_status=$?
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; then :
3846 gcc_no_link=no
3847 else
3848 gcc_no_link=yes
3850 if test x$gcc_no_link = xyes; then
3851 # Setting cross_compile will disable run tests; it will
3852 # also disable AC_CHECK_FILE but that's generally
3853 # correct if we can't link.
3854 cross_compiling=yes
3855 EXEEXT=
3856 else
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3861 main ()
3865 return 0;
3867 _ACEOF
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3872 # of exeext.
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3874 $as_echo_n "checking for C compiler default output file name... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3880 ac_rmfiles=
3881 for ac_file in $ac_files
3883 case $ac_file in
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886 esac
3887 done
3888 rm -f $ac_rmfiles
3890 if { { ac_try="$ac_link_default"
3891 case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_link_default") 2>&5
3898 ac_status=$?
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3905 # Autoconf.
3906 for ac_file in $ac_files ''
3908 test -f "$ac_file" || continue
3909 case $ac_file in
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3912 [ab].out )
3913 # We found the default executable, but exeext='' is most
3914 # certainly right.
3915 break;;
3916 *.* )
3917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3918 then :; else
3919 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921 # We set ac_cv_exeext here because the later test for it is not
3922 # safe: cross compilers may not add the suffix if given an `-o'
3923 # argument, so we may need to know it at that point already.
3924 # Even if this section looks crufty: it has the advantage of
3925 # actually working.
3926 break;;
3928 break;;
3929 esac
3930 done
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3933 else
3934 ac_file=''
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3937 $as_echo "$ac_file" >&6; }
3938 if test -z "$ac_file"; then :
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 { as_fn_set_status 77
3945 as_fn_error "C compiler cannot create executables
3946 See \`config.log' for more details." "$LINENO" 5; }; }
3948 ac_exeext=$ac_cv_exeext
3950 # Check that the compiler produces executables we can run. If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3953 $as_echo_n "checking whether the C compiler works... " >&6; }
3954 # If not cross compiling, check that we can run a simple program.
3955 if test "$cross_compiling" != yes; then
3956 if { ac_try='./$ac_file'
3957 { { case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960 esac
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_try") 2>&5
3964 ac_status=$?
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; }; then
3967 cross_compiling=no
3968 else
3969 if test "$cross_compiling" = maybe; then
3970 cross_compiling=yes
3971 else
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 as_fn_error "cannot run C compiled programs.
3975 If you meant to cross compile, use \`--host'.
3976 See \`config.log' for more details." "$LINENO" 5; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3981 $as_echo "yes" >&6; }
3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3984 ac_clean_files=$ac_clean_files_save
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3988 $as_echo_n "checking whether we are cross compiling... " >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3990 $as_echo "$cross_compiling" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3993 $as_echo_n "checking for suffix of executables... " >&6; }
3994 if { { ac_try="$ac_link"
3995 case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link") 2>&5
4002 ac_status=$?
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; then :
4005 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4006 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4007 # work properly (i.e., refer to `conftest.exe'), while it won't with
4008 # `rm'.
4009 for ac_file in conftest.exe conftest conftest.*; do
4010 test -f "$ac_file" || continue
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 break;;
4015 * ) break;;
4016 esac
4017 done
4018 else
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error "cannot compute suffix of executables: cannot compile and link
4022 See \`config.log' for more details." "$LINENO" 5; }
4024 rm -f conftest$ac_cv_exeext
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4026 $as_echo "$ac_cv_exeext" >&6; }
4028 rm -f conftest.$ac_ext
4029 EXEEXT=$ac_cv_exeext
4030 ac_exeext=$EXEEXT
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if test "${ac_cv_objext+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4041 main ()
4045 return 0;
4047 _ACEOF
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try="$ac_compile"
4050 case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compile") 2>&5
4057 ac_status=$?
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4060 for ac_file in conftest.o conftest.obj conftest.*; do
4061 test -f "$ac_file" || continue;
4062 case $ac_file in
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4065 break;;
4066 esac
4067 done
4068 else
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "cannot compute suffix of object files: cannot compile
4075 See \`config.log' for more details." "$LINENO" 5; }
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4082 ac_objext=$OBJEXT
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4094 #ifndef __GNUC__
4095 choke me
4096 #endif
4099 return 0;
4101 _ACEOF
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 ac_compiler_gnu=yes
4104 else
4105 ac_compiler_gnu=no
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4114 GCC=yes
4115 else
4116 GCC=
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if test "${ac_cv_prog_cc_g+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 ac_save_c_werror_flag=$ac_c_werror_flag
4126 ac_c_werror_flag=yes
4127 ac_cv_prog_cc_g=no
4128 CFLAGS="-g"
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 ac_cv_prog_cc_g=yes
4142 else
4143 CFLAGS=""
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4148 main ()
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4157 else
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4159 CFLAGS="-g"
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4168 return 0;
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_prog_cc_g=yes
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_c_werror_flag=$ac_save_c_werror_flag
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184 CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186 if test "$GCC" = yes; then
4187 CFLAGS="-g -O2"
4188 else
4189 CFLAGS="-g"
4191 else
4192 if test "$GCC" = yes; then
4193 CFLAGS="-O2"
4194 else
4195 CFLAGS=
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 ac_cv_prog_cc_c89=no
4204 ac_save_CC=$CC
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdarg.h>
4208 #include <stdio.h>
4209 #include <sys/types.h>
4210 #include <sys/stat.h>
4211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4212 struct buf { int x; };
4213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4214 static char *e (p, i)
4215 char **p;
4216 int i;
4218 return p[i];
4220 static char *f (char * (*g) (char **, int), char **p, ...)
4222 char *s;
4223 va_list v;
4224 va_start (v,p);
4225 s = g (p, va_arg (v,int));
4226 va_end (v);
4227 return s;
4230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4231 function prototypes and stuff, but not '\xHH' hex character constants.
4232 These don't provoke an error unfortunately, instead are silently treated
4233 as 'x'. The following induces an error, until -std is added to get
4234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4235 array size at least. It's necessary to write '\x00'==0 to get something
4236 that's true only with -std. */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240 inside strings and character constants. */
4241 #define FOO(x) 'x'
4242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4248 int argc;
4249 char **argv;
4251 main ()
4253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4255 return 0;
4257 _ACEOF
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4261 CC="$ac_save_CC $ac_arg"
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_c89=$ac_arg
4265 rm -f core conftest.err conftest.$ac_objext
4266 test "x$ac_cv_prog_cc_c89" != "xno" && break
4267 done
4268 rm -f conftest.$ac_ext
4269 CC=$ac_save_CC
4272 # AC_CACHE_VAL
4273 case "x$ac_cv_prog_cc_c89" in
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4276 $as_echo "none needed" >&6; } ;;
4277 xno)
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4279 $as_echo "unsupported" >&6; } ;;
4281 CC="$CC $ac_cv_prog_cc_c89"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4283 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4284 esac
4285 if test "x$ac_cv_prog_cc_c89" != xno; then :
4289 ac_ext=c
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295 ac_ext=cpp
4296 ac_cpp='$CXXCPP $CPPFLAGS'
4297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300 if test -z "$CXX"; then
4301 if test -n "$CCC"; then
4302 CXX=$CCC
4303 else
4304 if test -n "$ac_tool_prefix"; then
4305 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_CXX+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 if test -n "$CXX"; then
4315 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4316 else
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH
4320 IFS=$as_save_IFS
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 break 2
4328 done
4329 done
4330 IFS=$as_save_IFS
4334 CXX=$ac_cv_prog_CXX
4335 if test -n "$CXX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4337 $as_echo "$CXX" >&6; }
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$CXX" && break
4345 done
4347 if test -z "$CXX"; then
4348 ac_ct_CXX=$CXX
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351 # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 if test -n "$ac_ct_CXX"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4360 else
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 for as_dir in $PATH
4364 IFS=$as_save_IFS
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368 ac_cv_prog_ac_ct_CXX="$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 break 2
4372 done
4373 done
4374 IFS=$as_save_IFS
4378 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4379 if test -n "$ac_ct_CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4381 $as_echo "$ac_ct_CXX" >&6; }
4382 else
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$ac_ct_CXX" && break
4389 done
4391 if test "x$ac_ct_CXX" = x; then
4392 CXX="g++"
4393 else
4394 case $cross_compiling:$ac_tool_warned in
4395 yes:)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4399 esac
4400 CXX=$ac_ct_CXX
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4408 set X $ac_compile
4409 ac_compiler=$2
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4419 ac_status=$?
4420 if test -s conftest.err; then
4421 sed '10a\
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err >conftest.er1
4424 cat conftest.er1 >&5
4425 rm -f conftest.er1 conftest.err
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4429 done
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4440 main ()
4442 #ifndef __GNUC__
4443 choke me
4444 #endif
4447 return 0;
4449 _ACEOF
4450 if ac_fn_cxx_try_compile "$LINENO"; then :
4451 ac_compiler_gnu=yes
4452 else
4453 ac_compiler_gnu=no
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4460 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4462 GXX=yes
4463 else
4464 GXX=
4466 ac_test_CXXFLAGS=${CXXFLAGS+set}
4467 ac_save_CXXFLAGS=$CXXFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4469 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4470 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4474 ac_cxx_werror_flag=yes
4475 ac_cv_prog_cxx_g=no
4476 CXXFLAGS="-g"
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4481 main ()
4485 return 0;
4487 _ACEOF
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489 ac_cv_prog_cxx_g=yes
4490 else
4491 CXXFLAGS=""
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4496 main ()
4500 return 0;
4502 _ACEOF
4503 if ac_fn_cxx_try_compile "$LINENO"; then :
4505 else
4506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4507 CXXFLAGS="-g"
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 main ()
4516 return 0;
4518 _ACEOF
4519 if ac_fn_cxx_try_compile "$LINENO"; then :
4520 ac_cv_prog_cxx_g=yes
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4530 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4531 if test "$ac_test_CXXFLAGS" = set; then
4532 CXXFLAGS=$ac_save_CXXFLAGS
4533 elif test $ac_cv_prog_cxx_g = yes; then
4534 if test "$GXX" = yes; then
4535 CXXFLAGS="-g -O2"
4536 else
4537 CXXFLAGS="-g"
4539 else
4540 if test "$GXX" = yes; then
4541 CXXFLAGS="-O2"
4542 else
4543 CXXFLAGS=
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552 CXXFLAGS="$save_CXXFLAGS"
4554 # Runs configure.host, and assorted other critical bits. Sets
4555 # up critical shell variables.
4557 ac_ext=c
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4563 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4564 # On Suns, sometimes $CPP names a directory.
4565 if test -n "$CPP" && test -d "$CPP"; then
4566 CPP=
4568 if test -z "$CPP"; then
4569 if test "${ac_cv_prog_CPP+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 # Double quotes because CPP needs to be expanded
4573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4575 ac_preproc_ok=false
4576 for ac_c_preproc_warn_flag in '' yes
4578 # Use a header file that comes with gcc, so configuring glibc
4579 # with a fresh cross-compiler works.
4580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 # <limits.h> exists even on freestanding compilers.
4582 # On the NeXT, cc -E runs the code through the compiler's parser,
4583 # not just through cpp. "Syntax error" is here to catch this case.
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4586 #ifdef __STDC__
4587 # include <limits.h>
4588 #else
4589 # include <assert.h>
4590 #endif
4591 Syntax error
4592 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4595 else
4596 # Broken: fails on valid input.
4597 continue
4599 rm -f conftest.err conftest.$ac_ext
4601 # OK, works on sane cases. Now check whether nonexistent headers
4602 # can be detected and how.
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #include <ac_nonexistent.h>
4606 _ACEOF
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: success on invalid input.
4609 continue
4610 else
4611 # Passes both tests.
4612 ac_preproc_ok=:
4613 break
4615 rm -f conftest.err conftest.$ac_ext
4617 done
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.err conftest.$ac_ext
4620 if $ac_preproc_ok; then :
4621 break
4624 done
4625 ac_cv_prog_CPP=$CPP
4628 CPP=$ac_cv_prog_CPP
4629 else
4630 ac_cv_prog_CPP=$CPP
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4633 $as_echo "$CPP" >&6; }
4634 ac_preproc_ok=false
4635 for ac_c_preproc_warn_flag in '' yes
4637 # Use a header file that comes with gcc, so configuring glibc
4638 # with a fresh cross-compiler works.
4639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640 # <limits.h> exists even on freestanding compilers.
4641 # On the NeXT, cc -E runs the code through the compiler's parser,
4642 # not just through cpp. "Syntax error" is here to catch this case.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645 #ifdef __STDC__
4646 # include <limits.h>
4647 #else
4648 # include <assert.h>
4649 #endif
4650 Syntax error
4651 _ACEOF
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4654 else
4655 # Broken: fails on valid input.
4656 continue
4658 rm -f conftest.err conftest.$ac_ext
4660 # OK, works on sane cases. Now check whether nonexistent headers
4661 # can be detected and how.
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4664 #include <ac_nonexistent.h>
4665 _ACEOF
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4667 # Broken: success on invalid input.
4668 continue
4669 else
4670 # Passes both tests.
4671 ac_preproc_ok=:
4672 break
4674 rm -f conftest.err conftest.$ac_ext
4676 done
4677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678 rm -f conftest.err conftest.$ac_ext
4679 if $ac_preproc_ok; then :
4681 else
4682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4685 See \`config.log' for more details." "$LINENO" 5; }
4688 ac_ext=c
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4697 if test "${ac_cv_path_GREP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -z "$GREP"; then
4701 ac_path_GREP_found=false
4702 # Loop through the user's path and test for each of PROGNAME-LIST
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_prog in grep ggrep; do
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4711 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4712 # Check for GNU ac_path_GREP and select it if it is found.
4713 # Check for GNU $ac_path_GREP
4714 case `"$ac_path_GREP" --version 2>&1` in
4715 *GNU*)
4716 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4718 ac_count=0
4719 $as_echo_n 0123456789 >"conftest.in"
4720 while :
4722 cat "conftest.in" "conftest.in" >"conftest.tmp"
4723 mv "conftest.tmp" "conftest.in"
4724 cp "conftest.in" "conftest.nl"
4725 $as_echo 'GREP' >> "conftest.nl"
4726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4727 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4728 as_fn_arith $ac_count + 1 && ac_count=$as_val
4729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4730 # Best one so far, save it but keep looking for a better one
4731 ac_cv_path_GREP="$ac_path_GREP"
4732 ac_path_GREP_max=$ac_count
4734 # 10*(2^10) chars as input seems more than enough
4735 test $ac_count -gt 10 && break
4736 done
4737 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 esac
4740 $ac_path_GREP_found && break 3
4741 done
4742 done
4743 done
4744 IFS=$as_save_IFS
4745 if test -z "$ac_cv_path_GREP"; then
4746 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4748 else
4749 ac_cv_path_GREP=$GREP
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4754 $as_echo "$ac_cv_path_GREP" >&6; }
4755 GREP="$ac_cv_path_GREP"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4759 $as_echo_n "checking for egrep... " >&6; }
4760 if test "${ac_cv_path_EGREP+set}" = set; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4764 then ac_cv_path_EGREP="$GREP -E"
4765 else
4766 if test -z "$EGREP"; then
4767 ac_path_EGREP_found=false
4768 # Loop through the user's path and test for each of PROGNAME-LIST
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4772 IFS=$as_save_IFS
4773 test -z "$as_dir" && as_dir=.
4774 for ac_prog in egrep; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4777 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4778 # Check for GNU ac_path_EGREP and select it if it is found.
4779 # Check for GNU $ac_path_EGREP
4780 case `"$ac_path_EGREP" --version 2>&1` in
4781 *GNU*)
4782 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4784 ac_count=0
4785 $as_echo_n 0123456789 >"conftest.in"
4786 while :
4788 cat "conftest.in" "conftest.in" >"conftest.tmp"
4789 mv "conftest.tmp" "conftest.in"
4790 cp "conftest.in" "conftest.nl"
4791 $as_echo 'EGREP' >> "conftest.nl"
4792 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794 as_fn_arith $ac_count + 1 && ac_count=$as_val
4795 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4796 # Best one so far, save it but keep looking for a better one
4797 ac_cv_path_EGREP="$ac_path_EGREP"
4798 ac_path_EGREP_max=$ac_count
4800 # 10*(2^10) chars as input seems more than enough
4801 test $ac_count -gt 10 && break
4802 done
4803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 esac
4806 $ac_path_EGREP_found && break 3
4807 done
4808 done
4809 done
4810 IFS=$as_save_IFS
4811 if test -z "$ac_cv_path_EGREP"; then
4812 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4814 else
4815 ac_cv_path_EGREP=$EGREP
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4821 $as_echo "$ac_cv_path_EGREP" >&6; }
4822 EGREP="$ac_cv_path_EGREP"
4826 # Keep these sync'd with the list in Makefile.am. The first provides an
4827 # expandable list at autoconf time; the second provides an expandable list
4828 # (i.e., shell variable) at configure time.
4830 SUBDIRS='include libsupc++ python src doc po testsuite'
4832 # These need to be absolute paths, yet at the same time need to
4833 # canonicalize only relative paths, because then amd will not unmount
4834 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4835 glibcxx_builddir=`${PWDCMD-pwd}`
4836 case $srcdir in
4837 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4838 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4839 esac
4840 toplevel_srcdir=${glibcxx_srcdir}/..
4845 # We use these options to decide which functions to include. They are
4846 # set from the top level.
4848 # Check whether --with-target-subdir was given.
4849 if test "${with_target_subdir+set}" = set; then :
4850 withval=$with_target_subdir;
4855 # Check whether --with-cross-host was given.
4856 if test "${with_cross_host+set}" = set; then :
4857 withval=$with_cross_host;
4862 # Check whether --with-newlib was given.
4863 if test "${with_newlib+set}" = set; then :
4864 withval=$with_newlib;
4868 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4869 # available). Uncomment the next line to force a particular method.
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4872 LN_S=$as_ln_s
4873 if test "$LN_S" = "ln -s"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 else
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4881 #LN_S='cp -p'
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}as; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_AS+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if test -n "$AS"; then
4892 ac_cv_prog_AS="$AS" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_AS="${ac_tool_prefix}as"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4905 done
4906 done
4907 IFS=$as_save_IFS
4911 AS=$ac_cv_prog_AS
4912 if test -n "$AS"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4914 $as_echo "$AS" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_AS"; then
4923 ac_ct_AS=$AS
4924 # Extract the first word of "as", so it can be a program name with args.
4925 set dummy as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_ac_ct_AS="as"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4945 done
4946 done
4947 IFS=$as_save_IFS
4951 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4952 if test -n "$ac_ct_AS"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4954 $as_echo "$ac_ct_AS" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_AS" = x; then
4961 AS=""
4962 else
4963 case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969 AS=$ac_ct_AS
4971 else
4972 AS="$ac_cv_prog_AS"
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}ar; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_AR+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$AR"; then
4984 ac_cv_prog_AR="$AR" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_AR="${ac_tool_prefix}ar"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 AR=$ac_cv_prog_AR
5004 if test -n "$AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5006 $as_echo "$AR" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5014 if test -z "$ac_cv_prog_AR"; then
5015 ac_ct_AR=$AR
5016 # Extract the first word of "ar", so it can be a program name with args.
5017 set dummy ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$ac_ct_AR"; then
5024 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_AR="ar"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5044 if test -n "$ac_ct_AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5046 $as_echo "$ac_ct_AR" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5052 if test "x$ac_ct_AR" = x; then
5053 AR=""
5054 else
5055 case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061 AR=$ac_ct_AR
5063 else
5064 AR="$ac_cv_prog_AR"
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$RANLIB"; then
5076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 RANLIB=$ac_cv_prog_RANLIB
5096 if test -n "$RANLIB"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5098 $as_echo "$RANLIB" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_RANLIB"; then
5107 ac_ct_RANLIB=$RANLIB
5108 # Extract the first word of "ranlib", so it can be a program name with args.
5109 set dummy ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$ac_ct_RANLIB"; then
5116 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 ac_cv_prog_ac_ct_RANLIB="ranlib"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5136 if test -n "$ac_ct_RANLIB"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5138 $as_echo "$ac_ct_RANLIB" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_RANLIB" = x; then
5145 RANLIB="ranlib-not-found-in-path-error"
5146 else
5147 case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153 RANLIB=$ac_ct_RANLIB
5155 else
5156 RANLIB="$ac_cv_prog_RANLIB"
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5162 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5163 # Check whether --enable-maintainer-mode was given.
5164 if test "${enable_maintainer_mode+set}" = set; then :
5165 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5166 else
5167 USE_MAINTAINER_MODE=no
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5171 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5172 if test $USE_MAINTAINER_MODE = yes; then
5173 MAINTAINER_MODE_TRUE=
5174 MAINTAINER_MODE_FALSE='#'
5175 else
5176 MAINTAINER_MODE_TRUE='#'
5177 MAINTAINER_MODE_FALSE=
5180 MAINT=$MAINTAINER_MODE_TRUE
5184 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5185 # which are themselves conditionally expanded.
5186 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5187 ## other macros from doing the same. This should be automated.) -pme
5189 # Check for uClibc since Linux platforms use different configuration
5190 # directories depending on the C library in use.
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5194 #include <stdio.h>
5195 #if __UCLIBC__
5196 _using_uclibc
5197 #endif
5199 _ACEOF
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5202 uclibc=yes
5203 else
5204 uclibc=no
5206 rm -f conftest*
5209 # Find platform-specific directories containing configuration info.
5210 # Also possibly modify flags used elsewhere, as needed by the platform.
5212 . $glibcxx_srcdir/configure.host
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5214 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5216 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5220 if test "x${with_newlib}" != "xyes"; then
5221 enable_dlopen=yes
5226 case `pwd` in
5227 *\ * | *\ *)
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5229 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5230 esac
5234 macro_version='2.2.7a'
5235 macro_revision='1.3134'
5249 ltmain="$ac_aux_dir/ltmain.sh"
5251 # Backslashify metacharacters that are still active within
5252 # double-quoted strings.
5253 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5255 # Same as above, but do not quote variable references.
5256 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5258 # Sed substitution to delay expansion of an escaped shell variable in a
5259 # double_quote_subst'ed string.
5260 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5262 # Sed substitution to delay expansion of an escaped single quote.
5263 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5265 # Sed substitution to avoid accidental globbing in evaled expressions
5266 no_glob_subst='s/\*/\\\*/g'
5268 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5270 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5273 $as_echo_n "checking how to print strings... " >&6; }
5274 # Test print first, because it will be a builtin if present.
5275 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5276 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5277 ECHO='print -r --'
5278 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5279 ECHO='printf %s\n'
5280 else
5281 # Use this function as a fallback that always works.
5282 func_fallback_echo ()
5284 eval 'cat <<_LTECHO_EOF
5286 _LTECHO_EOF'
5288 ECHO='func_fallback_echo'
5291 # func_echo_all arg...
5292 # Invoke $ECHO with all args, space-separated.
5293 func_echo_all ()
5295 $ECHO ""
5298 case "$ECHO" in
5299 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5300 $as_echo "printf" >&6; } ;;
5301 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5302 $as_echo "print -r" >&6; } ;;
5303 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5304 $as_echo "cat" >&6; } ;;
5305 esac
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5321 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5322 if test "${ac_cv_path_SED+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5324 else
5325 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5326 for ac_i in 1 2 3 4 5 6 7; do
5327 ac_script="$ac_script$as_nl$ac_script"
5328 done
5329 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5330 { ac_script=; unset ac_script;}
5331 if test -z "$SED"; then
5332 ac_path_SED_found=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_prog in sed gsed; do
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5342 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5343 # Check for GNU ac_path_SED and select it if it is found.
5344 # Check for GNU $ac_path_SED
5345 case `"$ac_path_SED" --version 2>&1` in
5346 *GNU*)
5347 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5349 ac_count=0
5350 $as_echo_n 0123456789 >"conftest.in"
5351 while :
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo '' >> "conftest.nl"
5357 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359 as_fn_arith $ac_count + 1 && ac_count=$as_val
5360 if test $ac_count -gt ${ac_path_SED_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_SED="$ac_path_SED"
5363 ac_path_SED_max=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5367 done
5368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5369 esac
5371 $ac_path_SED_found && break 3
5372 done
5373 done
5374 done
5375 IFS=$as_save_IFS
5376 if test -z "$ac_cv_path_SED"; then
5377 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5379 else
5380 ac_cv_path_SED=$SED
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5385 $as_echo "$ac_cv_path_SED" >&6; }
5386 SED="$ac_cv_path_SED"
5387 rm -f conftest.sed
5389 test -z "$SED" && SED=sed
5390 Xsed="$SED -e 1s/^X//"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5403 $as_echo_n "checking for fgrep... " >&6; }
5404 if test "${ac_cv_path_FGREP+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5408 then ac_cv_path_FGREP="$GREP -F"
5409 else
5410 if test -z "$FGREP"; then
5411 ac_path_FGREP_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in fgrep; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5421 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5422 # Check for GNU ac_path_FGREP and select it if it is found.
5423 # Check for GNU $ac_path_FGREP
5424 case `"$ac_path_FGREP" --version 2>&1` in
5425 *GNU*)
5426 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5428 ac_count=0
5429 $as_echo_n 0123456789 >"conftest.in"
5430 while :
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo 'FGREP' >> "conftest.nl"
5436 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_FGREP="$ac_path_FGREP"
5442 ac_path_FGREP_max=$ac_count
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5446 done
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5448 esac
5450 $ac_path_FGREP_found && break 3
5451 done
5452 done
5453 done
5454 IFS=$as_save_IFS
5455 if test -z "$ac_cv_path_FGREP"; then
5456 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5458 else
5459 ac_cv_path_FGREP=$FGREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5465 $as_echo "$ac_cv_path_FGREP" >&6; }
5466 FGREP="$ac_cv_path_FGREP"
5469 test -z "$GREP" && GREP=grep
5489 # Check whether --with-gnu-ld was given.
5490 if test "${with_gnu_ld+set}" = set; then :
5491 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5492 else
5493 with_gnu_ld=no
5496 ac_prog=ld
5497 if test "$GCC" = yes; then
5498 # Check if gcc -print-prog-name=ld gives a path.
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5500 $as_echo_n "checking for ld used by $CC... " >&6; }
5501 case $host in
5502 *-*-mingw*)
5503 # gcc leaves a trailing carriage return which upsets mingw
5504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5507 esac
5508 case $ac_prog in
5509 # Accept absolute paths.
5510 [\\/]* | ?:[\\/]*)
5511 re_direlt='/[^/][^/]*/\.\./'
5512 # Canonicalize the pathname of ld
5513 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5514 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5515 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5516 done
5517 test -z "$LD" && LD="$ac_prog"
5520 # If it fails, then pretend we aren't using GCC.
5521 ac_prog=ld
5524 # If it is relative, then search for the first ld in PATH.
5525 with_gnu_ld=unknown
5527 esac
5528 elif test "$with_gnu_ld" = yes; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5530 $as_echo_n "checking for GNU ld... " >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5533 $as_echo_n "checking for non-GNU ld... " >&6; }
5535 if test "${lt_cv_path_LD+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5537 else
5538 if test -z "$LD"; then
5539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5540 for ac_dir in $PATH; do
5541 IFS="$lt_save_ifs"
5542 test -z "$ac_dir" && ac_dir=.
5543 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5544 lt_cv_path_LD="$ac_dir/$ac_prog"
5545 # Check to see if the program is GNU ld. I'd rather use --version,
5546 # but apparently some variants of GNU ld only accept -v.
5547 # Break only if it was the GNU/non-GNU ld that we prefer.
5548 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 test "$with_gnu_ld" != no && break
5553 test "$with_gnu_ld" != yes && break
5555 esac
5557 done
5558 IFS="$lt_save_ifs"
5559 else
5560 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5564 LD="$lt_cv_path_LD"
5565 if test -n "$LD"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5567 $as_echo "$LD" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5572 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5575 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5579 case `$LD -v 2>&1 </dev/null` in
5580 *GNU* | *'with BFD'*)
5581 lt_cv_prog_gnu_ld=yes
5584 lt_cv_prog_gnu_ld=no
5586 esac
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5590 with_gnu_ld=$lt_cv_prog_gnu_ld
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5601 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5602 if test "${lt_cv_path_NM+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$NM"; then
5606 # Let the user override the test.
5607 lt_cv_path_NM="$NM"
5608 else
5609 lt_nm_to_check="${ac_tool_prefix}nm"
5610 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5611 lt_nm_to_check="$lt_nm_to_check nm"
5613 for lt_tmp_nm in $lt_nm_to_check; do
5614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5615 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5616 IFS="$lt_save_ifs"
5617 test -z "$ac_dir" && ac_dir=.
5618 tmp_nm="$ac_dir/$lt_tmp_nm"
5619 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5620 # Check to see if the nm accepts a BSD-compat flag.
5621 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5622 # nm: unknown option "B" ignored
5623 # Tru64's nm complains that /dev/null is an invalid object file
5624 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5625 */dev/null* | *'Invalid file or object type'*)
5626 lt_cv_path_NM="$tmp_nm -B"
5627 break
5630 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5631 */dev/null*)
5632 lt_cv_path_NM="$tmp_nm -p"
5633 break
5636 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5637 continue # so that we can try to find one that supports BSD flags
5639 esac
5641 esac
5643 done
5644 IFS="$lt_save_ifs"
5645 done
5646 : ${lt_cv_path_NM=no}
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5650 $as_echo "$lt_cv_path_NM" >&6; }
5651 if test "$lt_cv_path_NM" != "no"; then
5652 NM="$lt_cv_path_NM"
5653 else
5654 # Didn't find any BSD compatible name lister, look for dumpbin.
5655 if test -n "$DUMPBIN"; then :
5656 # Let the user override the test.
5657 else
5658 if test -n "$ac_tool_prefix"; then
5659 for ac_prog in dumpbin "link -dump"
5661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$DUMPBIN"; then
5669 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 break 2
5682 done
5683 done
5684 IFS=$as_save_IFS
5688 DUMPBIN=$ac_cv_prog_DUMPBIN
5689 if test -n "$DUMPBIN"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5691 $as_echo "$DUMPBIN" >&6; }
5692 else
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$DUMPBIN" && break
5699 done
5701 if test -z "$DUMPBIN"; then
5702 ac_ct_DUMPBIN=$DUMPBIN
5703 for ac_prog in dumpbin "link -dump"
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$ac_ct_DUMPBIN"; then
5713 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5733 if test -n "$ac_ct_DUMPBIN"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5735 $as_echo "$ac_ct_DUMPBIN" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$ac_ct_DUMPBIN" && break
5743 done
5745 if test "x$ac_ct_DUMPBIN" = x; then
5746 DUMPBIN=":"
5747 else
5748 case $cross_compiling:$ac_tool_warned in
5749 yes:)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5753 esac
5754 DUMPBIN=$ac_ct_DUMPBIN
5758 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5759 *COFF*)
5760 DUMPBIN="$DUMPBIN -symbols"
5763 DUMPBIN=:
5765 esac
5768 if test "$DUMPBIN" != ":"; then
5769 NM="$DUMPBIN"
5772 test -z "$NM" && NM=nm
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5780 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5781 if test "${lt_cv_nm_interface+set}" = set; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 lt_cv_nm_interface="BSD nm"
5785 echo "int some_variable = 0;" > conftest.$ac_ext
5786 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5787 (eval "$ac_compile" 2>conftest.err)
5788 cat conftest.err >&5
5789 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5790 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5791 cat conftest.err >&5
5792 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5793 cat conftest.out >&5
5794 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5795 lt_cv_nm_interface="MS dumpbin"
5797 rm -f conftest*
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5800 $as_echo "$lt_cv_nm_interface" >&6; }
5802 # find the maximum length of command line arguments
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5804 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5805 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5809 teststring="ABCD"
5811 case $build_os in
5812 msdosdjgpp*)
5813 # On DJGPP, this test can blow up pretty badly due to problems in libc
5814 # (any single argument exceeding 2000 bytes causes a buffer overrun
5815 # during glob expansion). Even if it were fixed, the result of this
5816 # check would be larger than it should be.
5817 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5820 gnu*)
5821 # Under GNU Hurd, this test is not required because there is
5822 # no limit to the length of command line arguments.
5823 # Libtool will interpret -1 as no limit whatsoever
5824 lt_cv_sys_max_cmd_len=-1;
5827 cygwin* | mingw* | cegcc*)
5828 # On Win9x/ME, this test blows up -- it succeeds, but takes
5829 # about 5 minutes as the teststring grows exponentially.
5830 # Worse, since 9x/ME are not pre-emptively multitasking,
5831 # you end up with a "frozen" computer, even though with patience
5832 # the test eventually succeeds (with a max line length of 256k).
5833 # Instead, let's just punt: use the minimum linelength reported by
5834 # all of the supported platforms: 8192 (on NT/2K/XP).
5835 lt_cv_sys_max_cmd_len=8192;
5838 mint*)
5839 # On MiNT this can take a long time and run out of memory.
5840 lt_cv_sys_max_cmd_len=8192;
5843 amigaos*)
5844 # On AmigaOS with pdksh, this test takes hours, literally.
5845 # So we just punt and use a minimum line length of 8192.
5846 lt_cv_sys_max_cmd_len=8192;
5849 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5850 # This has been around since 386BSD, at least. Likely further.
5851 if test -x /sbin/sysctl; then
5852 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5853 elif test -x /usr/sbin/sysctl; then
5854 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5855 else
5856 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5858 # And add a safety zone
5859 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5860 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5863 interix*)
5864 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5865 lt_cv_sys_max_cmd_len=196608
5868 osf*)
5869 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5870 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5871 # nice to cause kernel panics so lets avoid the loop below.
5872 # First set a reasonable default.
5873 lt_cv_sys_max_cmd_len=16384
5875 if test -x /sbin/sysconfig; then
5876 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5877 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5878 esac
5881 sco3.2v5*)
5882 lt_cv_sys_max_cmd_len=102400
5884 sysv5* | sco5v6* | sysv4.2uw2*)
5885 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5886 if test -n "$kargmax"; then
5887 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5888 else
5889 lt_cv_sys_max_cmd_len=32768
5893 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5894 if test -n "$lt_cv_sys_max_cmd_len"; then
5895 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5897 else
5898 # Make teststring a little bigger before we do anything with it.
5899 # a 1K string should be a reasonable start.
5900 for i in 1 2 3 4 5 6 7 8 ; do
5901 teststring=$teststring$teststring
5902 done
5903 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5904 # If test is not a shell built-in, we'll probably end up computing a
5905 # maximum length that is only half of the actual maximum length, but
5906 # we can't tell.
5907 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5908 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5909 test $i != 17 # 1/2 MB should be enough
5911 i=`expr $i + 1`
5912 teststring=$teststring$teststring
5913 done
5914 # Only check the string length outside the loop.
5915 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5916 teststring=
5917 # Add a significant safety factor because C++ compilers can tack on
5918 # massive amounts of additional arguments before passing them to the
5919 # linker. It appears as though 1/2 is a usable value.
5920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5923 esac
5927 if test -n $lt_cv_sys_max_cmd_len ; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5929 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5932 $as_echo "none" >&6; }
5934 max_cmd_len=$lt_cv_sys_max_cmd_len
5941 : ${CP="cp -f"}
5942 : ${MV="mv -f"}
5943 : ${RM="rm -f"}
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5946 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5947 # Try some XSI features
5948 xsi_shell=no
5949 ( _lt_dummy="a/b/c"
5950 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5951 = c,a/b,, \
5952 && eval 'test $(( 1 + 1 )) -eq 2 \
5953 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5954 && xsi_shell=yes
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5956 $as_echo "$xsi_shell" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5960 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5961 lt_shell_append=no
5962 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5963 >/dev/null 2>&1 \
5964 && lt_shell_append=yes
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5966 $as_echo "$lt_shell_append" >&6; }
5969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5970 lt_unset=unset
5971 else
5972 lt_unset=false
5979 # test EBCDIC or ASCII
5980 case `echo X|tr X '\101'` in
5981 A) # ASCII based system
5982 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5983 lt_SP2NL='tr \040 \012'
5984 lt_NL2SP='tr \015\012 \040\040'
5986 *) # EBCDIC based system
5987 lt_SP2NL='tr \100 \n'
5988 lt_NL2SP='tr \r\n \100\100'
5990 esac
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6001 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6002 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 lt_cv_ld_reload_flag='-r'
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6008 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6009 reload_flag=$lt_cv_ld_reload_flag
6010 case $reload_flag in
6011 "" | " "*) ;;
6012 *) reload_flag=" $reload_flag" ;;
6013 esac
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6015 case $host_os in
6016 darwin*)
6017 if test "$GCC" = yes; then
6018 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6019 else
6020 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6023 esac
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$OBJDUMP"; then
6042 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6055 done
6056 done
6057 IFS=$as_save_IFS
6061 OBJDUMP=$ac_cv_prog_OBJDUMP
6062 if test -n "$OBJDUMP"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6064 $as_echo "$OBJDUMP" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_OBJDUMP"; then
6073 ac_ct_OBJDUMP=$OBJDUMP
6074 # Extract the first word of "objdump", so it can be a program name with args.
6075 set dummy objdump; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$ac_ct_OBJDUMP"; then
6082 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6102 if test -n "$ac_ct_OBJDUMP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6104 $as_echo "$ac_ct_OBJDUMP" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_OBJDUMP" = x; then
6111 OBJDUMP="false"
6112 else
6113 case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119 OBJDUMP=$ac_ct_OBJDUMP
6121 else
6122 OBJDUMP="$ac_cv_prog_OBJDUMP"
6125 test -z "$OBJDUMP" && OBJDUMP=objdump
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6136 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6137 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6138 $as_echo_n "(cached) " >&6
6139 else
6140 lt_cv_file_magic_cmd='$MAGIC_CMD'
6141 lt_cv_file_magic_test_file=
6142 lt_cv_deplibs_check_method='unknown'
6143 # Need to set the preceding variable on all platforms that support
6144 # interlibrary dependencies.
6145 # 'none' -- dependencies not supported.
6146 # `unknown' -- same as none, but documents that we really don't know.
6147 # 'pass_all' -- all dependencies passed with no checks.
6148 # 'test_compile' -- check by making test program.
6149 # 'file_magic [[regex]]' -- check by looking for files in library path
6150 # which responds to the $file_magic_cmd with a given extended regex.
6151 # If you have `file' or equivalent on your system and you're not sure
6152 # whether `pass_all' will *always* work, you probably want this one.
6154 case $host_os in
6155 aix[4-9]*)
6156 lt_cv_deplibs_check_method=pass_all
6159 beos*)
6160 lt_cv_deplibs_check_method=pass_all
6163 bsdi[45]*)
6164 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6165 lt_cv_file_magic_cmd='/usr/bin/file -L'
6166 lt_cv_file_magic_test_file=/shlib/libc.so
6169 cygwin*)
6170 # func_win32_libid is a shell function defined in ltmain.sh
6171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6172 lt_cv_file_magic_cmd='func_win32_libid'
6175 mingw* | pw32*)
6176 # Base MSYS/MinGW do not provide the 'file' command needed by
6177 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6178 # unless we find 'file', for example because we are cross-compiling.
6179 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6180 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6181 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6182 lt_cv_file_magic_cmd='func_win32_libid'
6183 else
6184 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6185 lt_cv_file_magic_cmd='$OBJDUMP -f'
6189 cegcc*)
6190 # use the weaker test based on 'objdump'. See mingw*.
6191 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6192 lt_cv_file_magic_cmd='$OBJDUMP -f'
6195 darwin* | rhapsody*)
6196 lt_cv_deplibs_check_method=pass_all
6199 freebsd* | dragonfly*)
6200 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6201 case $host_cpu in
6202 i*86 )
6203 # Not sure whether the presence of OpenBSD here was a mistake.
6204 # Let's accept both of them until this is cleared up.
6205 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6206 lt_cv_file_magic_cmd=/usr/bin/file
6207 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6209 esac
6210 else
6211 lt_cv_deplibs_check_method=pass_all
6215 gnu*)
6216 lt_cv_deplibs_check_method=pass_all
6219 haiku*)
6220 lt_cv_deplibs_check_method=pass_all
6223 hpux10.20* | hpux11*)
6224 lt_cv_file_magic_cmd=/usr/bin/file
6225 case $host_cpu in
6226 ia64*)
6227 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6228 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6230 hppa*64*)
6231 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]'
6232 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6236 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6238 esac
6241 interix[3-9]*)
6242 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6246 irix5* | irix6* | nonstopux*)
6247 case $LD in
6248 *-32|*"-32 ") libmagic=32-bit;;
6249 *-n32|*"-n32 ") libmagic=N32;;
6250 *-64|*"-64 ") libmagic=64-bit;;
6251 *) libmagic=never-match;;
6252 esac
6253 lt_cv_deplibs_check_method=pass_all
6256 # This must be Linux ELF.
6257 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6258 lt_cv_deplibs_check_method=pass_all
6261 netbsd*)
6262 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6263 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6264 else
6265 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6269 newos6*)
6270 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6271 lt_cv_file_magic_cmd=/usr/bin/file
6272 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6275 *nto* | *qnx*)
6276 lt_cv_deplibs_check_method=pass_all
6279 openbsd*)
6280 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6282 else
6283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6287 osf3* | osf4* | osf5*)
6288 lt_cv_deplibs_check_method=pass_all
6291 rdos*)
6292 lt_cv_deplibs_check_method=pass_all
6295 solaris*)
6296 lt_cv_deplibs_check_method=pass_all
6299 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6300 lt_cv_deplibs_check_method=pass_all
6303 sysv4 | sysv4.3*)
6304 case $host_vendor in
6305 motorola)
6306 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]'
6307 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6309 ncr)
6310 lt_cv_deplibs_check_method=pass_all
6312 sequent)
6313 lt_cv_file_magic_cmd='/bin/file'
6314 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6316 sni)
6317 lt_cv_file_magic_cmd='/bin/file'
6318 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6319 lt_cv_file_magic_test_file=/lib/libc.so
6321 siemens)
6322 lt_cv_deplibs_check_method=pass_all
6325 lt_cv_deplibs_check_method=pass_all
6327 esac
6330 tpf*)
6331 lt_cv_deplibs_check_method=pass_all
6333 esac
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6337 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6338 file_magic_cmd=$lt_cv_file_magic_cmd
6339 deplibs_check_method=$lt_cv_deplibs_check_method
6340 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6353 if test -n "$ac_tool_prefix"; then
6354 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6355 set dummy ${ac_tool_prefix}ar; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357 $as_echo_n "checking for $ac_word... " >&6; }
6358 if test "${ac_cv_prog_AR+set}" = set; then :
6359 $as_echo_n "(cached) " >&6
6360 else
6361 if test -n "$AR"; then
6362 ac_cv_prog_AR="$AR" # Let the user override the test.
6363 else
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 ac_cv_prog_AR="${ac_tool_prefix}ar"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 break 2
6375 done
6376 done
6377 IFS=$as_save_IFS
6381 AR=$ac_cv_prog_AR
6382 if test -n "$AR"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6384 $as_echo "$AR" >&6; }
6385 else
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 $as_echo "no" >&6; }
6392 if test -z "$ac_cv_prog_AR"; then
6393 ac_ct_AR=$AR
6394 # Extract the first word of "ar", so it can be a program name with args.
6395 set dummy ar; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 if test -n "$ac_ct_AR"; then
6402 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6403 else
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH
6407 IFS=$as_save_IFS
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_ac_ct_AR="ar"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 break 2
6415 done
6416 done
6417 IFS=$as_save_IFS
6421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6422 if test -n "$ac_ct_AR"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6424 $as_echo "$ac_ct_AR" >&6; }
6425 else
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6430 if test "x$ac_ct_AR" = x; then
6431 AR="false"
6432 else
6433 case $cross_compiling:$ac_tool_warned in
6434 yes:)
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6438 esac
6439 AR=$ac_ct_AR
6441 else
6442 AR="$ac_cv_prog_AR"
6445 test -z "$AR" && AR=ar
6446 test -z "$AR_FLAGS" && AR_FLAGS=cru
6458 if test -n "$ac_tool_prefix"; then
6459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_STRIP+set}" = set; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 if test -n "$STRIP"; then
6467 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6486 STRIP=$ac_cv_prog_STRIP
6487 if test -n "$STRIP"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6489 $as_echo "$STRIP" >&6; }
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6497 if test -z "$ac_cv_prog_STRIP"; then
6498 ac_ct_STRIP=$STRIP
6499 # Extract the first word of "strip", so it can be a program name with args.
6500 set dummy strip; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6505 else
6506 if test -n "$ac_ct_STRIP"; then
6507 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6512 IFS=$as_save_IFS
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_ac_ct_STRIP="strip"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518 break 2
6520 done
6521 done
6522 IFS=$as_save_IFS
6526 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6527 if test -n "$ac_ct_STRIP"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6529 $as_echo "$ac_ct_STRIP" >&6; }
6530 else
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6535 if test "x$ac_ct_STRIP" = x; then
6536 STRIP=":"
6537 else
6538 case $cross_compiling:$ac_tool_warned in
6539 yes:)
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned=yes ;;
6543 esac
6544 STRIP=$ac_ct_STRIP
6546 else
6547 STRIP="$ac_cv_prog_STRIP"
6550 test -z "$STRIP" && STRIP=:
6557 if test -n "$ac_tool_prefix"; then
6558 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6559 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 if test -n "$RANLIB"; then
6566 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6571 IFS=$as_save_IFS
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 break 2
6579 done
6580 done
6581 IFS=$as_save_IFS
6585 RANLIB=$ac_cv_prog_RANLIB
6586 if test -n "$RANLIB"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6588 $as_echo "$RANLIB" >&6; }
6589 else
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6596 if test -z "$ac_cv_prog_RANLIB"; then
6597 ac_ct_RANLIB=$RANLIB
6598 # Extract the first word of "ranlib", so it can be a program name with args.
6599 set dummy ranlib; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6604 else
6605 if test -n "$ac_ct_RANLIB"; then
6606 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6607 else
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 for as_dir in $PATH
6611 IFS=$as_save_IFS
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_ac_ct_RANLIB="ranlib"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 break 2
6619 done
6620 done
6621 IFS=$as_save_IFS
6625 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6626 if test -n "$ac_ct_RANLIB"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6628 $as_echo "$ac_ct_RANLIB" >&6; }
6629 else
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6634 if test "x$ac_ct_RANLIB" = x; then
6635 RANLIB=":"
6636 else
6637 case $cross_compiling:$ac_tool_warned in
6638 yes:)
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6641 ac_tool_warned=yes ;;
6642 esac
6643 RANLIB=$ac_ct_RANLIB
6645 else
6646 RANLIB="$ac_cv_prog_RANLIB"
6649 test -z "$RANLIB" && RANLIB=:
6656 # Determine commands to create old-style static archives.
6657 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6658 old_postinstall_cmds='chmod 644 $oldlib'
6659 old_postuninstall_cmds=
6661 if test -n "$RANLIB"; then
6662 case $host_os in
6663 openbsd*)
6664 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6667 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6669 esac
6670 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6673 case $host_os in
6674 darwin*)
6675 lock_old_archive_extraction=yes ;;
6677 lock_old_archive_extraction=no ;;
6678 esac
6718 # If no C compiler was specified, use CC.
6719 LTCC=${LTCC-"$CC"}
6721 # If no C compiler flags were specified, use CFLAGS.
6722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6724 # Allow CC to be a program name with arguments.
6725 compiler=$CC
6728 # Check for command to grab the raw symbol name followed by C symbol from nm.
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6735 # These are sane defaults that work on at least a few old systems.
6736 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6738 # Character class describing NM global symbol codes.
6739 symcode='[BCDEGRST]'
6741 # Regexp to match symbols that can be accessed directly from C.
6742 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6744 # Define system-specific variables.
6745 case $host_os in
6746 aix*)
6747 symcode='[BCDT]'
6749 cygwin* | mingw* | pw32* | cegcc*)
6750 symcode='[ABCDGISTW]'
6752 hpux*)
6753 if test "$host_cpu" = ia64; then
6754 symcode='[ABCDEGRST]'
6757 irix* | nonstopux*)
6758 symcode='[BCDEGRST]'
6760 osf*)
6761 symcode='[BCDEGQRST]'
6763 solaris*)
6764 symcode='[BDRT]'
6766 sco3.2v5*)
6767 symcode='[DT]'
6769 sysv4.2uw2*)
6770 symcode='[DT]'
6772 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6773 symcode='[ABDT]'
6775 sysv4)
6776 symcode='[DFNSTU]'
6778 esac
6780 # If we're using GNU nm, then use its standard symbol codes.
6781 case `$NM -V 2>&1` in
6782 *GNU* | *'with BFD'*)
6783 symcode='[ABCDGIRSTW]' ;;
6784 esac
6786 # Transform an extracted symbol line into a proper C declaration.
6787 # Some systems (esp. on ia64) link data and code symbols differently,
6788 # so use this general approach.
6789 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6791 # Transform an extracted symbol line into symbol name and symbol address
6792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6793 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'"
6795 # Handle CRLF in mingw tool chain
6796 opt_cr=
6797 case $build_os in
6798 mingw*)
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6801 esac
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_"; do
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx=^$ac_symprfx"
6826 else
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6830 # Check to see that the pipe works correctly.
6831 pipe_works=no
6833 rm -f conftest*
6834 cat > conftest.$ac_ext <<_LT_EOF
6835 #ifdef __cplusplus
6836 extern "C" {
6837 #endif
6838 char nm_test_var;
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6841 #ifdef __cplusplus
6843 #endif
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6845 _LT_EOF
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6849 ac_status=$?
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 # Now try to grab the symbols.
6853 nlist=conftest.nm
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6855 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6856 ac_status=$?
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6862 else
6863 rm -f "$nlist"T
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6870 #ifdef __cplusplus
6871 extern "C" {
6872 #endif
6874 _LT_EOF
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6878 cat <<_LT_EOF >> conftest.$ac_ext
6880 /* The mapping between symbol names and symbols. */
6881 const struct {
6882 const char *name;
6883 void *address;
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6887 { "@PROGRAM@", (void *) 0 },
6888 _LT_EOF
6889 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6891 {0, (void *) 0}
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6899 #endif
6901 #ifdef __cplusplus
6903 #endif
6904 _LT_EOF
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6912 (eval $ac_link) 2>&5
6913 ac_status=$?
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6916 pipe_works=yes
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6920 else
6921 echo "cannot find nm_test_func in $nlist" >&5
6923 else
6924 echo "cannot find nm_test_var in $nlist" >&5
6926 else
6927 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6929 else
6930 echo "$progname: failed program was:" >&5
6931 cat conftest.$ac_ext >&5
6933 rm -rf conftest* conftst*
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6937 break
6938 else
6939 lt_cv_sys_global_symbol_pipe=
6941 done
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6950 $as_echo "failed" >&6; }
6951 else
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6953 $as_echo "ok" >&6; }
6977 # Check whether --enable-libtool-lock was given.
6978 if test "${enable_libtool_lock+set}" = set; then :
6979 enableval=$enable_libtool_lock;
6982 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6984 # Some flags need to be propagated to the compiler or linker for good
6985 # libtool support.
6986 case $host in
6987 ia64-*-hpux*)
6988 # Find out which ABI we are using.
6989 echo 'int i;' > conftest.$ac_ext
6990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6991 (eval $ac_compile) 2>&5
6992 ac_status=$?
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994 test $ac_status = 0; }; then
6995 case `/usr/bin/file conftest.$ac_objext` in
6996 *ELF-32*)
6997 HPUX_IA64_MODE="32"
6999 *ELF-64*)
7000 HPUX_IA64_MODE="64"
7002 esac
7004 rm -rf conftest*
7006 *-*-irix6*)
7007 # Find out which ABI we are using.
7008 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7010 (eval $ac_compile) 2>&5
7011 ac_status=$?
7012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7013 test $ac_status = 0; }; then
7014 if test "$lt_cv_prog_gnu_ld" = yes; then
7015 case `/usr/bin/file conftest.$ac_objext` in
7016 *32-bit*)
7017 LD="${LD-ld} -melf32bsmip"
7019 *N32*)
7020 LD="${LD-ld} -melf32bmipn32"
7022 *64-bit*)
7023 LD="${LD-ld} -melf64bmip"
7025 esac
7026 else
7027 case `/usr/bin/file conftest.$ac_objext` in
7028 *32-bit*)
7029 LD="${LD-ld} -32"
7031 *N32*)
7032 LD="${LD-ld} -n32"
7034 *64-bit*)
7035 LD="${LD-ld} -64"
7037 esac
7040 rm -rf conftest*
7043 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7044 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7045 # Find out which ABI we are using.
7046 echo 'int i;' > conftest.$ac_ext
7047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7048 (eval $ac_compile) 2>&5
7049 ac_status=$?
7050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7051 test $ac_status = 0; }; then
7052 case `/usr/bin/file conftest.o` in
7053 *32-bit*)
7054 case $host in
7055 x86_64-*kfreebsd*-gnu)
7056 LD="${LD-ld} -m elf_i386_fbsd"
7058 x86_64-*linux*)
7059 LD="${LD-ld} -m elf_i386"
7061 ppc64-*linux*|powerpc64-*linux*)
7062 LD="${LD-ld} -m elf32ppclinux"
7064 s390x-*linux*)
7065 LD="${LD-ld} -m elf_s390"
7067 sparc64-*linux*)
7068 LD="${LD-ld} -m elf32_sparc"
7070 esac
7072 *64-bit*)
7073 case $host in
7074 x86_64-*kfreebsd*-gnu)
7075 LD="${LD-ld} -m elf_x86_64_fbsd"
7077 x86_64-*linux*)
7078 LD="${LD-ld} -m elf_x86_64"
7080 ppc*-*linux*|powerpc*-*linux*)
7081 LD="${LD-ld} -m elf64ppc"
7083 s390*-*linux*|s390*-*tpf*)
7084 LD="${LD-ld} -m elf64_s390"
7086 sparc*-*linux*)
7087 LD="${LD-ld} -m elf64_sparc"
7089 esac
7091 esac
7093 rm -rf conftest*
7096 *-*-sco3.2v5*)
7097 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7098 SAVE_CFLAGS="$CFLAGS"
7099 CFLAGS="$CFLAGS -belf"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7101 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7102 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 ac_ext=c
7106 ac_cpp='$CPP $CPPFLAGS'
7107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7111 if test x$gcc_no_link = xyes; then
7112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7118 main ()
7122 return 0;
7124 _ACEOF
7125 if ac_fn_c_try_link "$LINENO"; then :
7126 lt_cv_cc_needs_belf=yes
7127 else
7128 lt_cv_cc_needs_belf=no
7130 rm -f core conftest.err conftest.$ac_objext \
7131 conftest$ac_exeext conftest.$ac_ext
7132 ac_ext=c
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7140 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7141 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7142 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7143 CFLAGS="$SAVE_CFLAGS"
7146 sparc*-*solaris*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.o` in
7155 *64-bit*)
7156 case $lt_cv_prog_gnu_ld in
7157 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7159 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7160 LD="${LD-ld} -64"
7163 esac
7165 esac
7167 rm -rf conftest*
7169 esac
7171 need_locks="$enable_libtool_lock"
7174 case $host_os in
7175 rhapsody* | darwin*)
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7183 else
7184 if test -n "$DSYMUTIL"; then
7185 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7190 IFS=$as_save_IFS
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 break 2
7198 done
7199 done
7200 IFS=$as_save_IFS
7204 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7205 if test -n "$DSYMUTIL"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7207 $as_echo "$DSYMUTIL" >&6; }
7208 else
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_DSYMUTIL"; then
7216 ac_ct_DSYMUTIL=$DSYMUTIL
7217 # Extract the first word of "dsymutil", so it can be a program name with args.
7218 set dummy dsymutil; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7223 else
7224 if test -n "$ac_ct_DSYMUTIL"; then
7225 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230 IFS=$as_save_IFS
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7245 if test -n "$ac_ct_DSYMUTIL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7247 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7248 else
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253 if test "x$ac_ct_DSYMUTIL" = x; then
7254 DSYMUTIL=":"
7255 else
7256 case $cross_compiling:$ac_tool_warned in
7257 yes:)
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7261 esac
7262 DSYMUTIL=$ac_ct_DSYMUTIL
7264 else
7265 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7275 else
7276 if test -n "$NMEDIT"; then
7277 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 break 2
7290 done
7291 done
7292 IFS=$as_save_IFS
7296 NMEDIT=$ac_cv_prog_NMEDIT
7297 if test -n "$NMEDIT"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7299 $as_echo "$NMEDIT" >&6; }
7300 else
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_NMEDIT"; then
7308 ac_ct_NMEDIT=$NMEDIT
7309 # Extract the first word of "nmedit", so it can be a program name with args.
7310 set dummy nmedit; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7315 else
7316 if test -n "$ac_ct_NMEDIT"; then
7317 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7337 if test -n "$ac_ct_NMEDIT"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7339 $as_echo "$ac_ct_NMEDIT" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_NMEDIT" = x; then
7346 NMEDIT=":"
7347 else
7348 case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354 NMEDIT=$ac_ct_NMEDIT
7356 else
7357 NMEDIT="$ac_cv_prog_NMEDIT"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_LIPO+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7367 else
7368 if test -n "$LIPO"; then
7369 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7374 IFS=$as_save_IFS
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 break 2
7382 done
7383 done
7384 IFS=$as_save_IFS
7388 LIPO=$ac_cv_prog_LIPO
7389 if test -n "$LIPO"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7391 $as_echo "$LIPO" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_LIPO"; then
7400 ac_ct_LIPO=$LIPO
7401 # Extract the first word of "lipo", so it can be a program name with args.
7402 set dummy lipo; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7407 else
7408 if test -n "$ac_ct_LIPO"; then
7409 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7414 IFS=$as_save_IFS
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_LIPO="lipo"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 break 2
7422 done
7423 done
7424 IFS=$as_save_IFS
7428 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7429 if test -n "$ac_ct_LIPO"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7431 $as_echo "$ac_ct_LIPO" >&6; }
7432 else
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_LIPO" = x; then
7438 LIPO=":"
7439 else
7440 case $cross_compiling:$ac_tool_warned in
7441 yes:)
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7445 esac
7446 LIPO=$ac_ct_LIPO
7448 else
7449 LIPO="$ac_cv_prog_LIPO"
7452 if test -n "$ac_tool_prefix"; then
7453 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7454 set dummy ${ac_tool_prefix}otool; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 if test -n "$OTOOL"; then
7461 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7466 IFS=$as_save_IFS
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 break 2
7474 done
7475 done
7476 IFS=$as_save_IFS
7480 OTOOL=$ac_cv_prog_OTOOL
7481 if test -n "$OTOOL"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7483 $as_echo "$OTOOL" >&6; }
7484 else
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7491 if test -z "$ac_cv_prog_OTOOL"; then
7492 ac_ct_OTOOL=$OTOOL
7493 # Extract the first word of "otool", so it can be a program name with args.
7494 set dummy otool; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7498 $as_echo_n "(cached) " >&6
7499 else
7500 if test -n "$ac_ct_OTOOL"; then
7501 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7502 else
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 for as_dir in $PATH
7506 IFS=$as_save_IFS
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510 ac_cv_prog_ac_ct_OTOOL="otool"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 break 2
7514 done
7515 done
7516 IFS=$as_save_IFS
7520 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7521 if test -n "$ac_ct_OTOOL"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7523 $as_echo "$ac_ct_OTOOL" >&6; }
7524 else
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7529 if test "x$ac_ct_OTOOL" = x; then
7530 OTOOL=":"
7531 else
7532 case $cross_compiling:$ac_tool_warned in
7533 yes:)
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7536 ac_tool_warned=yes ;;
7537 esac
7538 OTOOL=$ac_ct_OTOOL
7540 else
7541 OTOOL="$ac_cv_prog_OTOOL"
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$OTOOL64"; then
7553 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7566 done
7567 done
7568 IFS=$as_save_IFS
7572 OTOOL64=$ac_cv_prog_OTOOL64
7573 if test -n "$OTOOL64"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7575 $as_echo "$OTOOL64" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_OTOOL64"; then
7584 ac_ct_OTOOL64=$OTOOL64
7585 # Extract the first word of "otool64", so it can be a program name with args.
7586 set dummy otool64; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 if test -n "$ac_ct_OTOOL64"; then
7593 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7598 IFS=$as_save_IFS
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_ac_ct_OTOOL64="otool64"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7613 if test -n "$ac_ct_OTOOL64"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7615 $as_echo "$ac_ct_OTOOL64" >&6; }
7616 else
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_OTOOL64" = x; then
7622 OTOOL64=":"
7623 else
7624 case $cross_compiling:$ac_tool_warned in
7625 yes:)
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7629 esac
7630 OTOOL64=$ac_ct_OTOOL64
7632 else
7633 OTOOL64="$ac_cv_prog_OTOOL64"
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7663 $as_echo_n "checking for -single_module linker flag... " >&6; }
7664 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7665 $as_echo_n "(cached) " >&6
7666 else
7667 lt_cv_apple_cc_single_mod=no
7668 if test -z "${LT_MULTI_MODULE}"; then
7669 # By default we will add the -single_module flag. You can override
7670 # by either setting the environment variable LT_MULTI_MODULE
7671 # non-empty at configure time, or by adding -multi_module to the
7672 # link flags.
7673 rm -rf libconftest.dylib*
7674 echo "int foo(void){return 1;}" > conftest.c
7675 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c" >&5
7677 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7678 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7679 _lt_result=$?
7680 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7681 lt_cv_apple_cc_single_mod=yes
7682 else
7683 cat conftest.err >&5
7685 rm -rf libconftest.dylib*
7686 rm -f conftest.*
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7690 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7692 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7693 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 lt_cv_ld_exported_symbols_list=no
7697 save_LDFLAGS=$LDFLAGS
7698 echo "_main" > conftest.sym
7699 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7700 if test x$gcc_no_link = xyes; then
7701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7707 main ()
7711 return 0;
7713 _ACEOF
7714 if ac_fn_c_try_link "$LINENO"; then :
7715 lt_cv_ld_exported_symbols_list=yes
7716 else
7717 lt_cv_ld_exported_symbols_list=no
7719 rm -f core conftest.err conftest.$ac_objext \
7720 conftest$ac_exeext conftest.$ac_ext
7721 LDFLAGS="$save_LDFLAGS"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7725 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7727 $as_echo_n "checking for -force_load linker flag... " >&6; }
7728 if test "${lt_cv_ld_force_load+set}" = set; then :
7729 $as_echo_n "(cached) " >&6
7730 else
7731 lt_cv_ld_force_load=no
7732 cat > conftest.c << _LT_EOF
7733 int forced_loaded() { return 2;}
7734 _LT_EOF
7735 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7736 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7737 echo "$AR cru libconftest.a conftest.o" >&5
7738 $AR cru libconftest.a conftest.o 2>&5
7739 cat > conftest.c << _LT_EOF
7740 int main() { return 0;}
7741 _LT_EOF
7742 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7743 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7744 _lt_result=$?
7745 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7746 lt_cv_ld_force_load=yes
7747 else
7748 cat conftest.err >&5
7750 rm -f conftest.err libconftest.a conftest conftest.c
7751 rm -rf conftest.dSYM
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7755 $as_echo "$lt_cv_ld_force_load" >&6; }
7756 case $host_os in
7757 rhapsody* | darwin1.[012])
7758 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7759 darwin1.*)
7760 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7761 darwin*) # darwin 5.x on
7762 # if running on 10.5 or later, the deployment target defaults
7763 # to the OS version, if on x86, and 10.4, the deployment
7764 # target defaults to 10.4. Don't you love it?
7765 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7766 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7767 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7768 10.[012]*)
7769 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7770 10.*)
7771 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7772 esac
7774 esac
7775 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7776 _lt_dar_single_mod='$single_module'
7778 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7779 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7780 else
7781 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7783 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7784 _lt_dsymutil='~$DSYMUTIL $lib || :'
7785 else
7786 _lt_dsymutil=
7789 esac
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7792 $as_echo_n "checking for ANSI C header files... " >&6; }
7793 if test "${ac_cv_header_stdc+set}" = set; then :
7794 $as_echo_n "(cached) " >&6
7795 else
7796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7798 #include <stdlib.h>
7799 #include <stdarg.h>
7800 #include <string.h>
7801 #include <float.h>
7804 main ()
7808 return 0;
7810 _ACEOF
7811 if ac_fn_c_try_compile "$LINENO"; then :
7812 ac_cv_header_stdc=yes
7813 else
7814 ac_cv_header_stdc=no
7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7818 if test $ac_cv_header_stdc = yes; then
7819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7822 #include <string.h>
7824 _ACEOF
7825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7826 $EGREP "memchr" >/dev/null 2>&1; then :
7828 else
7829 ac_cv_header_stdc=no
7831 rm -f conftest*
7835 if test $ac_cv_header_stdc = yes; then
7836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7839 #include <stdlib.h>
7841 _ACEOF
7842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7843 $EGREP "free" >/dev/null 2>&1; then :
7845 else
7846 ac_cv_header_stdc=no
7848 rm -f conftest*
7852 if test $ac_cv_header_stdc = yes; then
7853 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7854 if test "$cross_compiling" = yes; then :
7856 else
7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7859 #include <ctype.h>
7860 #include <stdlib.h>
7861 #if ((' ' & 0x0FF) == 0x020)
7862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7864 #else
7865 # define ISLOWER(c) \
7866 (('a' <= (c) && (c) <= 'i') \
7867 || ('j' <= (c) && (c) <= 'r') \
7868 || ('s' <= (c) && (c) <= 'z'))
7869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7870 #endif
7872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7874 main ()
7876 int i;
7877 for (i = 0; i < 256; i++)
7878 if (XOR (islower (i), ISLOWER (i))
7879 || toupper (i) != TOUPPER (i))
7880 return 2;
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_run "$LINENO"; then :
7886 else
7887 ac_cv_header_stdc=no
7889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7890 conftest.$ac_objext conftest.beam conftest.$ac_ext
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7896 $as_echo "$ac_cv_header_stdc" >&6; }
7897 if test $ac_cv_header_stdc = yes; then
7899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7903 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7905 inttypes.h stdint.h unistd.h
7906 do :
7907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7910 eval as_val=\$$as_ac_Header
7911 if test "x$as_val" = x""yes; then :
7912 cat >>confdefs.h <<_ACEOF
7913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7914 _ACEOF
7918 done
7921 for ac_header in dlfcn.h
7922 do :
7923 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_DLFCN_H 1
7928 _ACEOF
7932 done
7939 # Set options
7944 enable_win32_dll=no
7947 # Check whether --enable-shared was given.
7948 if test "${enable_shared+set}" = set; then :
7949 enableval=$enable_shared; p=${PACKAGE-default}
7950 case $enableval in
7951 yes) enable_shared=yes ;;
7952 no) enable_shared=no ;;
7954 enable_shared=no
7955 # Look at the argument we got. We use all the common list separators.
7956 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7957 for pkg in $enableval; do
7958 IFS="$lt_save_ifs"
7959 if test "X$pkg" = "X$p"; then
7960 enable_shared=yes
7962 done
7963 IFS="$lt_save_ifs"
7965 esac
7966 else
7967 enable_shared=yes
7978 # Check whether --enable-static was given.
7979 if test "${enable_static+set}" = set; then :
7980 enableval=$enable_static; p=${PACKAGE-default}
7981 case $enableval in
7982 yes) enable_static=yes ;;
7983 no) enable_static=no ;;
7985 enable_static=no
7986 # Look at the argument we got. We use all the common list separators.
7987 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7988 for pkg in $enableval; do
7989 IFS="$lt_save_ifs"
7990 if test "X$pkg" = "X$p"; then
7991 enable_static=yes
7993 done
7994 IFS="$lt_save_ifs"
7996 esac
7997 else
7998 enable_static=yes
8010 # Check whether --with-pic was given.
8011 if test "${with_pic+set}" = set; then :
8012 withval=$with_pic; pic_mode="$withval"
8013 else
8014 pic_mode=default
8018 test -z "$pic_mode" && pic_mode=default
8026 # Check whether --enable-fast-install was given.
8027 if test "${enable_fast_install+set}" = set; then :
8028 enableval=$enable_fast_install; p=${PACKAGE-default}
8029 case $enableval in
8030 yes) enable_fast_install=yes ;;
8031 no) enable_fast_install=no ;;
8033 enable_fast_install=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036 for pkg in $enableval; do
8037 IFS="$lt_save_ifs"
8038 if test "X$pkg" = "X$p"; then
8039 enable_fast_install=yes
8041 done
8042 IFS="$lt_save_ifs"
8044 esac
8045 else
8046 enable_fast_install=yes
8059 # This can be used to rebuild libtool when needed
8060 LIBTOOL_DEPS="$ltmain"
8062 # Always use our own libtool.
8063 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8090 test -z "$LN_S" && LN_S="ln -s"
8105 if test -n "${ZSH_VERSION+set}" ; then
8106 setopt NO_GLOB_SUBST
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if test "${lt_cv_objdir+set}" = set; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 rm -f .libs 2>/dev/null
8115 mkdir .libs 2>/dev/null
8116 if test -d .libs; then
8117 lt_cv_objdir=.libs
8118 else
8119 # MS-DOS does not allow filenames that begin with a dot.
8120 lt_cv_objdir=_libs
8122 rmdir .libs 2>/dev/null
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir=$lt_cv_objdir
8132 cat >>confdefs.h <<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8134 _ACEOF
8139 case $host_os in
8140 aix3*)
8141 # AIX sometimes has problems with the GCC collect2 program. For some
8142 # reason, if we set the COLLECT_NAMES environment variable, the problems
8143 # vanish in a puff of smoke.
8144 if test "X${COLLECT_NAMES+set}" != Xset; then
8145 COLLECT_NAMES=
8146 export COLLECT_NAMES
8149 esac
8151 # Global variables:
8152 ofile=libtool
8153 can_build_shared=yes
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8157 libext=a
8159 with_gnu_ld="$lt_cv_prog_gnu_ld"
8161 old_CC="$CC"
8162 old_CFLAGS="$CFLAGS"
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC=cc
8166 test -z "$LTCC" && LTCC=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8168 test -z "$LD" && LD=ld
8169 test -z "$ac_objext" && ac_objext=o
8171 for cc_temp in $compiler""; do
8172 case $cc_temp in
8173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8175 \-*) ;;
8176 *) break;;
8177 esac
8178 done
8179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8184 case $deplibs_check_method in
8185 file_magic*)
8186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 case $MAGIC_CMD in
8193 [\\/*] | ?:[\\/]*)
8194 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8197 lt_save_MAGIC_CMD="$MAGIC_CMD"
8198 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8199 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8200 for ac_dir in $ac_dummy; do
8201 IFS="$lt_save_ifs"
8202 test -z "$ac_dir" && ac_dir=.
8203 if test -f $ac_dir/${ac_tool_prefix}file; then
8204 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8205 if test -n "$file_magic_test_file"; then
8206 case $deplibs_check_method in
8207 "file_magic "*)
8208 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8210 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8211 $EGREP "$file_magic_regex" > /dev/null; then
8213 else
8214 cat <<_LT_EOF 1>&2
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such. This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem. Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8225 _LT_EOF
8226 fi ;;
8227 esac
8229 break
8231 done
8232 IFS="$lt_save_ifs"
8233 MAGIC_CMD="$lt_save_MAGIC_CMD"
8235 esac
8238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8242 else
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252 if test -n "$ac_tool_prefix"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 case $MAGIC_CMD in
8259 [\\/*] | ?:[\\/]*)
8260 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8263 lt_save_MAGIC_CMD="$MAGIC_CMD"
8264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266 for ac_dir in $ac_dummy; do
8267 IFS="$lt_save_ifs"
8268 test -z "$ac_dir" && ac_dir=.
8269 if test -f $ac_dir/file; then
8270 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8271 if test -n "$file_magic_test_file"; then
8272 case $deplibs_check_method in
8273 "file_magic "*)
8274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277 $EGREP "$file_magic_regex" > /dev/null; then
8279 else
8280 cat <<_LT_EOF 1>&2
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such. This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem. Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8291 _LT_EOF
8292 fi ;;
8293 esac
8295 break
8297 done
8298 IFS="$lt_save_ifs"
8299 MAGIC_CMD="$lt_save_MAGIC_CMD"
8301 esac
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8314 else
8315 MAGIC_CMD=:
8321 esac
8323 # Use C for the default configuration in the libtool script
8325 lt_save_CC="$CC"
8326 ac_ext=c
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8333 # Source file extension for C test sources.
8334 ac_ext=c
8336 # Object file extension for compiled C test sources.
8337 objext=o
8338 objext=$objext
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code="int some_variable = 0;"
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code='int main(){return(0);}'
8352 # If no C compiler was specified, use CC.
8353 LTCC=${LTCC-"$CC"}
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8358 # Allow CC to be a program name with arguments.
8359 compiler=$CC
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT=$CC
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile=conftest.$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate=`cat conftest.err`
8370 $RM conftest*
8372 ac_outfile=conftest.$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate=`cat conftest.err`
8376 $RM -r conftest*
8379 ## CAVEAT EMPTOR:
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8385 lt_prog_compiler_no_builtin_flag=
8387 if test "$GCC" = yes; then
8388 case $cc_basename in
8389 nvcc*)
8390 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8392 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8393 esac
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 lt_cv_prog_compiler_rtti_exceptions=no
8401 ac_outfile=conftest.$ac_objext
8402 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8403 lt_compiler_flag="-fno-rtti -fno-exceptions"
8404 # Insert the option either (1) after the last *FLAGS variable, or
8405 # (2) before a word containing "conftest.", or (3) at the end.
8406 # Note that $ac_compile itself does not contain backslashes and begins
8407 # with a dollar sign (not a hyphen), so the echo should work correctly.
8408 # The option is referenced via a variable to avoid confusing sed.
8409 lt_compile=`echo "$ac_compile" | $SED \
8410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412 -e 's:$: $lt_compiler_flag:'`
8413 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414 (eval "$lt_compile" 2>conftest.err)
8415 ac_status=$?
8416 cat conftest.err >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 if (exit $ac_status) && test -s "$ac_outfile"; then
8419 # The compiler can only warn and ignore the option if not recognized
8420 # So say no if there are warnings other than the usual output.
8421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8424 lt_cv_prog_compiler_rtti_exceptions=yes
8427 $RM conftest*
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8433 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8434 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8435 else
8446 lt_prog_compiler_wl=
8447 lt_prog_compiler_pic=
8448 lt_prog_compiler_static=
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8451 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8453 if test "$GCC" = yes; then
8454 lt_prog_compiler_wl='-Wl,'
8455 lt_prog_compiler_static='-static'
8457 case $host_os in
8458 aix*)
8459 # All AIX code is PIC.
8460 if test "$host_cpu" = ia64; then
8461 # AIX 5 now supports IA64 processor
8462 lt_prog_compiler_static='-Bstatic'
8466 amigaos*)
8467 case $host_cpu in
8468 powerpc)
8469 # see comment about AmigaOS4 .so support
8470 lt_prog_compiler_pic='-fPIC'
8472 m68k)
8473 # FIXME: we need at least 68020 code to build shared libraries, but
8474 # adding the `-m68020' flag to GCC prevents building anything better,
8475 # like `-m68040'.
8476 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8478 esac
8481 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8482 # PIC is the default for these OSes.
8485 mingw* | cygwin* | pw32* | os2* | cegcc*)
8486 # This hack is so that the source file can tell whether it is being
8487 # built for inclusion in a dll (and should export symbols for example).
8488 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8489 # (--disable-auto-import) libraries
8490 lt_prog_compiler_pic='-DDLL_EXPORT'
8493 darwin* | rhapsody*)
8494 # PIC is the default on this platform
8495 # Common symbols not allowed in MH_DYLIB files
8496 lt_prog_compiler_pic='-fno-common'
8499 haiku*)
8500 # PIC is the default for Haiku.
8501 # The "-static" flag exists, but is broken.
8502 lt_prog_compiler_static=
8505 hpux*)
8506 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8507 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8508 # sets the default TLS model and affects inlining.
8509 case $host_cpu in
8510 hppa*64*)
8511 # +Z the default
8514 lt_prog_compiler_pic='-fPIC'
8516 esac
8519 interix[3-9]*)
8520 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8521 # Instead, we relocate shared libraries at runtime.
8524 msdosdjgpp*)
8525 # Just because we use GCC doesn't mean we suddenly get shared libraries
8526 # on systems that don't support them.
8527 lt_prog_compiler_can_build_shared=no
8528 enable_shared=no
8531 *nto* | *qnx*)
8532 # QNX uses GNU C++, but need to define -shared option too, otherwise
8533 # it will coredump.
8534 lt_prog_compiler_pic='-fPIC -shared'
8537 sysv4*MP*)
8538 if test -d /usr/nec; then
8539 lt_prog_compiler_pic=-Kconform_pic
8544 lt_prog_compiler_pic='-fPIC'
8546 esac
8548 case $cc_basename in
8549 nvcc*) # Cuda Compiler Driver 2.2
8550 lt_prog_compiler_wl='-Xlinker '
8551 lt_prog_compiler_pic='-Xcompiler -fPIC'
8553 esac
8554 else
8555 # PORTME Check for flag to pass linker flags through the system compiler.
8556 case $host_os in
8557 aix*)
8558 lt_prog_compiler_wl='-Wl,'
8559 if test "$host_cpu" = ia64; then
8560 # AIX 5 now supports IA64 processor
8561 lt_prog_compiler_static='-Bstatic'
8562 else
8563 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8567 mingw* | cygwin* | pw32* | os2* | cegcc*)
8568 # This hack is so that the source file can tell whether it is being
8569 # built for inclusion in a dll (and should export symbols for example).
8570 lt_prog_compiler_pic='-DDLL_EXPORT'
8573 hpux9* | hpux10* | hpux11*)
8574 lt_prog_compiler_wl='-Wl,'
8575 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8576 # not for PA HP-UX.
8577 case $host_cpu in
8578 hppa*64*|ia64*)
8579 # +Z the default
8582 lt_prog_compiler_pic='+Z'
8584 esac
8585 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8586 lt_prog_compiler_static='${wl}-a ${wl}archive'
8589 irix5* | irix6* | nonstopux*)
8590 lt_prog_compiler_wl='-Wl,'
8591 # PIC (with -KPIC) is the default.
8592 lt_prog_compiler_static='-non_shared'
8595 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8596 case $cc_basename in
8597 # old Intel for x86_64 which still supported -KPIC.
8598 ecc*)
8599 lt_prog_compiler_wl='-Wl,'
8600 lt_prog_compiler_pic='-KPIC'
8601 lt_prog_compiler_static='-static'
8603 # icc used to be incompatible with GCC.
8604 # ICC 10 doesn't accept -KPIC any more.
8605 icc* | ifort*)
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='-fPIC'
8608 lt_prog_compiler_static='-static'
8610 # Lahey Fortran 8.1.
8611 lf95*)
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='--shared'
8614 lt_prog_compiler_static='--static'
8616 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8617 # Portland Group compilers (*not* the Pentium gcc compiler,
8618 # which looks to be a dead project)
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-fpic'
8621 lt_prog_compiler_static='-Bstatic'
8623 ccc*)
8624 lt_prog_compiler_wl='-Wl,'
8625 # All Alpha code is PIC.
8626 lt_prog_compiler_static='-non_shared'
8628 xl* | bgxl* | bgf* | mpixl*)
8629 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='-qpic'
8632 lt_prog_compiler_static='-qstaticlink'
8635 case `$CC -V 2>&1 | sed 5q` in
8636 *Sun\ F* | *Sun*Fortran*)
8637 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8638 lt_prog_compiler_pic='-KPIC'
8639 lt_prog_compiler_static='-Bstatic'
8640 lt_prog_compiler_wl=''
8642 *Sun\ C*)
8643 # Sun C 5.9
8644 lt_prog_compiler_pic='-KPIC'
8645 lt_prog_compiler_static='-Bstatic'
8646 lt_prog_compiler_wl='-Wl,'
8648 esac
8650 esac
8653 newsos6)
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-Bstatic'
8658 *nto* | *qnx*)
8659 # QNX uses GNU C++, but need to define -shared option too, otherwise
8660 # it will coredump.
8661 lt_prog_compiler_pic='-fPIC -shared'
8664 osf3* | osf4* | osf5*)
8665 lt_prog_compiler_wl='-Wl,'
8666 # All OSF/1 code is PIC.
8667 lt_prog_compiler_static='-non_shared'
8670 rdos*)
8671 lt_prog_compiler_static='-non_shared'
8674 solaris*)
8675 lt_prog_compiler_pic='-KPIC'
8676 lt_prog_compiler_static='-Bstatic'
8677 case $cc_basename in
8678 f77* | f90* | f95*)
8679 lt_prog_compiler_wl='-Qoption ld ';;
8681 lt_prog_compiler_wl='-Wl,';;
8682 esac
8685 sunos4*)
8686 lt_prog_compiler_wl='-Qoption ld '
8687 lt_prog_compiler_pic='-PIC'
8688 lt_prog_compiler_static='-Bstatic'
8691 sysv4 | sysv4.2uw2* | sysv4.3*)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8697 sysv4*MP*)
8698 if test -d /usr/nec ;then
8699 lt_prog_compiler_pic='-Kconform_pic'
8700 lt_prog_compiler_static='-Bstatic'
8704 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8710 unicos*)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_can_build_shared=no
8715 uts4*)
8716 lt_prog_compiler_pic='-pic'
8717 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_can_build_shared=no
8723 esac
8726 case $host_os in
8727 # For platforms which do not support PIC, -DPIC is meaningless:
8728 *djgpp*)
8729 lt_prog_compiler_pic=
8732 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8734 esac
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8736 $as_echo "$lt_prog_compiler_pic" >&6; }
8744 # Check to make sure the PIC flag actually works.
8746 if test -n "$lt_prog_compiler_pic"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8748 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8749 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 lt_cv_prog_compiler_pic_works=no
8753 ac_outfile=conftest.$ac_objext
8754 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8755 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8756 # Insert the option either (1) after the last *FLAGS variable, or
8757 # (2) before a word containing "conftest.", or (3) at the end.
8758 # Note that $ac_compile itself does not contain backslashes and begins
8759 # with a dollar sign (not a hyphen), so the echo should work correctly.
8760 # The option is referenced via a variable to avoid confusing sed.
8761 lt_compile=`echo "$ac_compile" | $SED \
8762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8764 -e 's:$: $lt_compiler_flag:'`
8765 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8766 (eval "$lt_compile" 2>conftest.err)
8767 ac_status=$?
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 if (exit $ac_status) && test -s "$ac_outfile"; then
8771 # The compiler can only warn and ignore the option if not recognized
8772 # So say no if there are warnings other than the usual output.
8773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8775 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8776 lt_cv_prog_compiler_pic_works=yes
8779 $RM conftest*
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8785 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8786 case $lt_prog_compiler_pic in
8787 "" | " "*) ;;
8788 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8789 esac
8790 else
8791 lt_prog_compiler_pic=
8792 lt_prog_compiler_can_build_shared=no
8803 # Check to make sure the static flag actually works.
8805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8808 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 lt_cv_prog_compiler_static_works=no
8812 save_LDFLAGS="$LDFLAGS"
8813 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8814 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8815 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8816 # The linker can only warn and ignore the option if not recognized
8817 # So say no if there are warnings
8818 if test -s conftest.err; then
8819 # Append any errors to the config.log.
8820 cat conftest.err 1>&5
8821 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823 if diff conftest.exp conftest.er2 >/dev/null; then
8824 lt_cv_prog_compiler_static_works=yes
8826 else
8827 lt_cv_prog_compiler_static_works=yes
8830 $RM -r conftest*
8831 LDFLAGS="$save_LDFLAGS"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8839 else
8840 lt_prog_compiler_static=
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8851 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 lt_cv_prog_compiler_c_o=no
8855 $RM -r conftest 2>/dev/null
8856 mkdir conftest
8857 cd conftest
8858 mkdir out
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8861 lt_compiler_flag="-o out/conftest2.$ac_objext"
8862 # Insert the option either (1) after the last *FLAGS variable, or
8863 # (2) before a word containing "conftest.", or (3) at the end.
8864 # Note that $ac_compile itself does not contain backslashes and begins
8865 # with a dollar sign (not a hyphen), so the echo should work correctly.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>out/conftest.err)
8872 ac_status=$?
8873 cat out/conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8876 then
8877 # The compiler can only warn and ignore the option if not recognized
8878 # So say no if there are warnings
8879 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8880 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8881 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8882 lt_cv_prog_compiler_c_o=yes
8885 chmod u+w . 2>&5
8886 $RM conftest*
8887 # SGI C++ compiler will create directory out/ii_files/ for
8888 # template instantiation
8889 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8890 $RM out/* && rmdir out
8891 cd ..
8892 $RM -r conftest
8893 $RM conftest*
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 lt_cv_prog_compiler_c_o=no
8910 $RM -r conftest 2>/dev/null
8911 mkdir conftest
8912 cd conftest
8913 mkdir out
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8916 lt_compiler_flag="-o out/conftest2.$ac_objext"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>out/conftest.err)
8927 ac_status=$?
8928 cat out/conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931 then
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937 lt_cv_prog_compiler_c_o=yes
8940 chmod u+w . 2>&5
8941 $RM conftest*
8942 # SGI C++ compiler will create directory out/ii_files/ for
8943 # template instantiation
8944 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945 $RM out/* && rmdir out
8946 cd ..
8947 $RM -r conftest
8948 $RM conftest*
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8957 hard_links="nottested"
8958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8959 # do not overwrite the value of need_locks provided by the user
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8961 $as_echo_n "checking if we can lock with hard links... " >&6; }
8962 hard_links=yes
8963 $RM conftest*
8964 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8965 touch conftest.a
8966 ln conftest.a conftest.b 2>&5 || hard_links=no
8967 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8969 $as_echo "$hard_links" >&6; }
8970 if test "$hard_links" = no; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8973 need_locks=warn
8975 else
8976 need_locks=no
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8987 runpath_var=
8988 allow_undefined_flag=
8989 always_export_symbols=no
8990 archive_cmds=
8991 archive_expsym_cmds=
8992 compiler_needs_object=no
8993 enable_shared_with_static_runtimes=no
8994 export_dynamic_flag_spec=
8995 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8996 hardcode_automatic=no
8997 hardcode_direct=no
8998 hardcode_direct_absolute=no
8999 hardcode_libdir_flag_spec=
9000 hardcode_libdir_flag_spec_ld=
9001 hardcode_libdir_separator=
9002 hardcode_minus_L=no
9003 hardcode_shlibpath_var=unsupported
9004 inherit_rpath=no
9005 link_all_deplibs=unknown
9006 module_cmds=
9007 module_expsym_cmds=
9008 old_archive_from_new_cmds=
9009 old_archive_from_expsyms_cmds=
9010 thread_safe_flag_spec=
9011 whole_archive_flag_spec=
9012 # include_expsyms should be a list of space-separated symbols to be *always*
9013 # included in the symbol list
9014 include_expsyms=
9015 # exclude_expsyms can be an extended regexp of symbols to exclude
9016 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9017 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9018 # as well as any symbol that contains `d'.
9019 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9020 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9021 # platforms (ab)use it in PIC code, but their linkers get confused if
9022 # the symbol is explicitly referenced. Since portable code cannot
9023 # rely on this symbol name, it's probably fine to never include it in
9024 # preloaded symbol tables.
9025 # Exclude shared library initialization/finalization symbols.
9026 extract_expsyms_cmds=
9028 case $host_os in
9029 cygwin* | mingw* | pw32* | cegcc*)
9030 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9031 # When not using gcc, we currently assume that we are using
9032 # Microsoft Visual C++.
9033 if test "$GCC" != yes; then
9034 with_gnu_ld=no
9037 interix*)
9038 # we just hope/assume this is gcc and not c89 (= MSVC++)
9039 with_gnu_ld=yes
9041 openbsd*)
9042 with_gnu_ld=no
9044 esac
9046 ld_shlibs=yes
9048 # On some targets, GNU ld is compatible enough with the native linker
9049 # that we're better off using the native interface for both.
9050 lt_use_gnu_ld_interface=no
9051 if test "$with_gnu_ld" = yes; then
9052 case $host_os in
9053 aix*)
9054 # The AIX port of GNU ld has always aspired to compatibility
9055 # with the native linker. However, as the warning in the GNU ld
9056 # block says, versions before 2.19.5* couldn't really create working
9057 # shared libraries, regardless of the interface used.
9058 case `$LD -v 2>&1` in
9059 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9060 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9061 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9063 lt_use_gnu_ld_interface=yes
9065 esac
9068 lt_use_gnu_ld_interface=yes
9070 esac
9073 if test "$lt_use_gnu_ld_interface" = yes; then
9074 # If archive_cmds runs LD, not CC, wlarc should be empty
9075 wlarc='${wl}'
9077 # Set some defaults for GNU ld with shared library support. These
9078 # are reset later if shared libraries are not supported. Putting them
9079 # here allows them to be overridden if necessary.
9080 runpath_var=LD_RUN_PATH
9081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9082 export_dynamic_flag_spec='${wl}--export-dynamic'
9083 # ancient GNU ld didn't support --whole-archive et. al.
9084 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9085 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9086 else
9087 whole_archive_flag_spec=
9089 supports_anon_versioning=no
9090 case `$LD -v 2>&1` in
9091 *GNU\ gold*) supports_anon_versioning=yes ;;
9092 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9093 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9094 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9095 *\ 2.11.*) ;; # other 2.11 versions
9096 *) supports_anon_versioning=yes ;;
9097 esac
9099 # See if GNU ld supports shared libraries.
9100 case $host_os in
9101 aix[3-9]*)
9102 # On AIX/PPC, the GNU linker is very broken
9103 if test "$host_cpu" != ia64; then
9104 ld_shlibs=no
9105 cat <<_LT_EOF 1>&2
9107 *** Warning: the GNU linker, at least up to release 2.19, is reported
9108 *** to be unable to reliably create shared libraries on AIX.
9109 *** Therefore, libtool is disabling shared libraries support. If you
9110 *** really care for shared libraries, you may want to install binutils
9111 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9112 *** You will then need to restart the configuration process.
9114 _LT_EOF
9118 amigaos*)
9119 case $host_cpu in
9120 powerpc)
9121 # see comment about AmigaOS4 .so support
9122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 archive_expsym_cmds=''
9125 m68k)
9126 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)'
9127 hardcode_libdir_flag_spec='-L$libdir'
9128 hardcode_minus_L=yes
9130 esac
9133 beos*)
9134 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9135 allow_undefined_flag=unsupported
9136 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9137 # support --undefined. This deserves some investigation. FIXME
9138 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139 else
9140 ld_shlibs=no
9144 cygwin* | mingw* | pw32* | cegcc*)
9145 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9146 # as there is no search path for DLLs.
9147 hardcode_libdir_flag_spec='-L$libdir'
9148 export_dynamic_flag_spec='${wl}--export-all-symbols'
9149 allow_undefined_flag=unsupported
9150 always_export_symbols=no
9151 enable_shared_with_static_runtimes=yes
9152 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9154 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9156 # If the export-symbols file already is a .def file (1st line
9157 # is EXPORTS), use it as is; otherwise, prepend...
9158 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9159 cp $export_symbols $output_objdir/$soname.def;
9160 else
9161 echo EXPORTS > $output_objdir/$soname.def;
9162 cat $export_symbols >> $output_objdir/$soname.def;
9164 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9165 else
9166 ld_shlibs=no
9170 haiku*)
9171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9172 link_all_deplibs=yes
9175 interix[3-9]*)
9176 hardcode_direct=no
9177 hardcode_shlibpath_var=no
9178 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9179 export_dynamic_flag_spec='${wl}-E'
9180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9181 # Instead, shared libraries are loaded at an image base (0x10000000 by
9182 # default) and relocated if they conflict, which is a slow very memory
9183 # consuming and fragmenting process. To avoid this, we pick a random,
9184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9185 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9186 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9187 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'
9190 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9191 tmp_diet=no
9192 if test "$host_os" = linux-dietlibc; then
9193 case $cc_basename in
9194 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9195 esac
9197 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9198 && test "$tmp_diet" = no
9199 then
9200 tmp_addflag=
9201 tmp_sharedflag='-shared'
9202 case $cc_basename,$host_cpu in
9203 pgcc*) # Portland Group C compiler
9204 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'
9205 tmp_addflag=' $pic_flag'
9207 pgf77* | pgf90* | pgf95* | pgfortran*)
9208 # Portland Group f77 and f90 compilers
9209 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'
9210 tmp_addflag=' $pic_flag -Mnomain' ;;
9211 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9212 tmp_addflag=' -i_dynamic' ;;
9213 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9214 tmp_addflag=' -i_dynamic -nofor_main' ;;
9215 ifc* | ifort*) # Intel Fortran compiler
9216 tmp_addflag=' -nofor_main' ;;
9217 lf95*) # Lahey Fortran 8.1
9218 whole_archive_flag_spec=
9219 tmp_sharedflag='--shared' ;;
9220 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9221 tmp_sharedflag='-qmkshrobj'
9222 tmp_addflag= ;;
9223 nvcc*) # Cuda Compiler Driver 2.2
9224 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'
9225 compiler_needs_object=yes
9227 esac
9228 case `$CC -V 2>&1 | sed 5q` in
9229 *Sun\ C*) # Sun C 5.9
9230 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'
9231 compiler_needs_object=yes
9232 tmp_sharedflag='-G' ;;
9233 *Sun\ F*) # Sun Fortran 8.3
9234 tmp_sharedflag='-G' ;;
9235 esac
9236 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238 if test "x$supports_anon_versioning" = xyes; then
9239 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9240 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9241 echo "local: *; };" >> $output_objdir/$libname.ver~
9242 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9245 case $cc_basename in
9246 xlf* | bgf* | bgxlf* | mpixlf*)
9247 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9248 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9249 hardcode_libdir_flag_spec=
9250 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9251 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9252 if test "x$supports_anon_versioning" = xyes; then
9253 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9254 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9255 echo "local: *; };" >> $output_objdir/$libname.ver~
9256 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9259 esac
9260 else
9261 ld_shlibs=no
9265 netbsd*)
9266 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9267 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9268 wlarc=
9269 else
9270 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9275 solaris*)
9276 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9281 *** create shared libraries on Solaris systems. Therefore, libtool
9282 *** is disabling shared libraries support. We urge you to upgrade GNU
9283 *** binutils to release 2.9.1 or newer. Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9287 _LT_EOF
9288 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9289 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9291 else
9292 ld_shlibs=no
9296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9297 case `$LD -v 2>&1` in
9298 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9299 ld_shlibs=no
9300 cat <<_LT_EOF 1>&2
9302 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9303 *** reliably create shared libraries on SCO systems. Therefore, libtool
9304 *** is disabling shared libraries support. We urge you to upgrade GNU
9305 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9306 *** your PATH or compiler configuration so that the native linker is
9307 *** used, and then restart.
9309 _LT_EOF
9312 # For security reasons, it is highly recommended that you always
9313 # use absolute paths for naming shared libraries, and exclude the
9314 # DT_RUNPATH tag from executables and libraries. But doing so
9315 # requires that you compile everything twice, which is a pain.
9316 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320 else
9321 ld_shlibs=no
9324 esac
9327 sunos4*)
9328 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9329 wlarc=
9330 hardcode_direct=yes
9331 hardcode_shlibpath_var=no
9335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9336 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338 else
9339 ld_shlibs=no
9342 esac
9344 if test "$ld_shlibs" = no; then
9345 runpath_var=
9346 hardcode_libdir_flag_spec=
9347 export_dynamic_flag_spec=
9348 whole_archive_flag_spec=
9350 else
9351 # PORTME fill in a description of your system's linker (not GNU ld)
9352 case $host_os in
9353 aix3*)
9354 allow_undefined_flag=unsupported
9355 always_export_symbols=yes
9356 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'
9357 # Note: this linker hardcodes the directories in LIBPATH if there
9358 # are no directories specified by -L.
9359 hardcode_minus_L=yes
9360 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9361 # Neither direct hardcoding nor static linking is supported with a
9362 # broken collect2.
9363 hardcode_direct=unsupported
9367 aix[4-9]*)
9368 if test "$host_cpu" = ia64; then
9369 # On IA64, the linker does run time linking by default, so we don't
9370 # have to do anything special.
9371 aix_use_runtimelinking=no
9372 exp_sym_flag='-Bexport'
9373 no_entry_flag=""
9374 else
9375 # If we're using GNU nm, then we don't want the "-C" option.
9376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9377 # Also, AIX nm treats weak defined symbols like other global
9378 # defined symbols, whereas GNU nm marks them as "W".
9379 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9380 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'
9381 else
9382 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'
9384 aix_use_runtimelinking=no
9386 # Test if we are trying to use run time linking or normal
9387 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9388 # need to do runtime linking.
9389 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9390 for ld_flag in $LDFLAGS; do
9391 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9392 aix_use_runtimelinking=yes
9393 break
9395 done
9397 esac
9399 exp_sym_flag='-bexport'
9400 no_entry_flag='-bnoentry'
9403 # When large executables or shared objects are built, AIX ld can
9404 # have problems creating the table of contents. If linking a library
9405 # or program results in "error TOC overflow" add -mminimal-toc to
9406 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9407 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9409 archive_cmds=''
9410 hardcode_direct=yes
9411 hardcode_direct_absolute=yes
9412 hardcode_libdir_separator=':'
9413 link_all_deplibs=yes
9414 file_list_spec='${wl}-f,'
9416 if test "$GCC" = yes; then
9417 case $host_os in aix4.[012]|aix4.[012].*)
9418 # We only want to do this on AIX 4.2 and lower, the check
9419 # below for broken collect2 doesn't work under 4.3+
9420 collect2name=`${CC} -print-prog-name=collect2`
9421 if test -f "$collect2name" &&
9422 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9423 then
9424 # We have reworked collect2
9426 else
9427 # We have old collect2
9428 hardcode_direct=unsupported
9429 # It fails to find uninstalled libraries when the uninstalled
9430 # path is not listed in the libpath. Setting hardcode_minus_L
9431 # to unsupported forces relinking
9432 hardcode_minus_L=yes
9433 hardcode_libdir_flag_spec='-L$libdir'
9434 hardcode_libdir_separator=
9437 esac
9438 shared_flag='-shared'
9439 if test "$aix_use_runtimelinking" = yes; then
9440 shared_flag="$shared_flag "'${wl}-G'
9442 else
9443 # not using gcc
9444 if test "$host_cpu" = ia64; then
9445 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9446 # chokes on -Wl,-G. The following line is correct:
9447 shared_flag='-G'
9448 else
9449 if test "$aix_use_runtimelinking" = yes; then
9450 shared_flag='${wl}-G'
9451 else
9452 shared_flag='${wl}-bM:SRE'
9457 export_dynamic_flag_spec='${wl}-bexpall'
9458 # It seems that -bexpall does not export symbols beginning with
9459 # underscore (_), so it is better to generate a list of symbols to export.
9460 always_export_symbols=yes
9461 if test "$aix_use_runtimelinking" = yes; then
9462 # Warning - without using the other runtime loading flags (-brtl),
9463 # -berok will link without error, but may produce a broken library.
9464 allow_undefined_flag='-berok'
9465 # Determine the default libpath from the value encoded in an
9466 # empty executable.
9467 if test x$gcc_no_link = xyes; then
9468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9474 main ()
9478 return 0;
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9483 lt_aix_libpath_sed='
9484 /Import File Strings/,/^$/ {
9485 /^0/ {
9486 s/^0 *\(.*\)$/\1/
9490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9491 # Check for a 64-bit object if we didn't find anything.
9492 if test -z "$aix_libpath"; then
9493 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9500 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9501 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"
9502 else
9503 if test "$host_cpu" = ia64; then
9504 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9505 allow_undefined_flag="-z nodefs"
9506 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"
9507 else
9508 # Determine the default libpath from the value encoded in an
9509 # empty executable.
9510 if test x$gcc_no_link = xyes; then
9511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9517 main ()
9521 return 0;
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9526 lt_aix_libpath_sed='
9527 /Import File Strings/,/^$/ {
9528 /^0/ {
9529 s/^0 *\(.*\)$/\1/
9533 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 # Check for a 64-bit object if we didn't find anything.
9535 if test -z "$aix_libpath"; then
9536 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9543 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9544 # Warning - without using the other run time loading flags,
9545 # -berok will link without error, but may produce a broken library.
9546 no_undefined_flag=' ${wl}-bernotok'
9547 allow_undefined_flag=' ${wl}-berok'
9548 if test "$with_gnu_ld" = yes; then
9549 # We only use this code for GNU lds that support --whole-archive.
9550 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9551 else
9552 # Exported symbols can be pulled into shared objects from archives
9553 whole_archive_flag_spec='$convenience'
9555 archive_cmds_need_lc=yes
9556 # This is similar to how AIX traditionally builds its shared libraries.
9557 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'
9562 amigaos*)
9563 case $host_cpu in
9564 powerpc)
9565 # see comment about AmigaOS4 .so support
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567 archive_expsym_cmds=''
9569 m68k)
9570 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)'
9571 hardcode_libdir_flag_spec='-L$libdir'
9572 hardcode_minus_L=yes
9574 esac
9577 bsdi[45]*)
9578 export_dynamic_flag_spec=-rdynamic
9581 cygwin* | mingw* | pw32* | cegcc*)
9582 # When not using gcc, we currently assume that we are using
9583 # Microsoft Visual C++.
9584 # hardcode_libdir_flag_spec is actually meaningless, as there is
9585 # no search path for DLLs.
9586 hardcode_libdir_flag_spec=' '
9587 allow_undefined_flag=unsupported
9588 # Tell ltmain to make .lib files, not .a files.
9589 libext=lib
9590 # Tell ltmain to make .dll files, not .so files.
9591 shrext_cmds=".dll"
9592 # FIXME: Setting linknames here is a bad hack.
9593 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9594 # The linker will automatically build a .lib file if we build a DLL.
9595 old_archive_from_new_cmds='true'
9596 # FIXME: Should let the user specify the lib program.
9597 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9598 fix_srcfile_path='`cygpath -w "$srcfile"`'
9599 enable_shared_with_static_runtimes=yes
9602 darwin* | rhapsody*)
9605 archive_cmds_need_lc=no
9606 hardcode_direct=no
9607 hardcode_automatic=yes
9608 hardcode_shlibpath_var=unsupported
9609 if test "$lt_cv_ld_force_load" = "yes"; then
9610 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\"`'
9611 else
9612 whole_archive_flag_spec=''
9614 link_all_deplibs=yes
9615 allow_undefined_flag="$_lt_dar_allow_undefined"
9616 case $cc_basename in
9617 ifort*) _lt_dar_can_shared=yes ;;
9618 *) _lt_dar_can_shared=$GCC ;;
9619 esac
9620 if test "$_lt_dar_can_shared" = "yes"; then
9621 output_verbose_link_cmd=func_echo_all
9622 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9623 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9624 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}"
9625 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}"
9627 else
9628 ld_shlibs=no
9633 dgux*)
9634 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635 hardcode_libdir_flag_spec='-L$libdir'
9636 hardcode_shlibpath_var=no
9639 freebsd1*)
9640 ld_shlibs=no
9643 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9644 # support. Future versions do this automatically, but an explicit c++rt0.o
9645 # does not break anything, and helps significantly (at the cost of a little
9646 # extra space).
9647 freebsd2.2*)
9648 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9649 hardcode_libdir_flag_spec='-R$libdir'
9650 hardcode_direct=yes
9651 hardcode_shlibpath_var=no
9654 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9655 freebsd2*)
9656 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9657 hardcode_direct=yes
9658 hardcode_minus_L=yes
9659 hardcode_shlibpath_var=no
9662 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9663 freebsd* | dragonfly*)
9664 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9665 hardcode_libdir_flag_spec='-R$libdir'
9666 hardcode_direct=yes
9667 hardcode_shlibpath_var=no
9670 hpux9*)
9671 if test "$GCC" = yes; then
9672 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'
9673 else
9674 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'
9676 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9677 hardcode_libdir_separator=:
9678 hardcode_direct=yes
9680 # hardcode_minus_L: Not really in the search PATH,
9681 # but as the default location of the library.
9682 hardcode_minus_L=yes
9683 export_dynamic_flag_spec='${wl}-E'
9686 hpux10*)
9687 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9688 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9689 else
9690 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9692 if test "$with_gnu_ld" = no; then
9693 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9694 hardcode_libdir_flag_spec_ld='+b $libdir'
9695 hardcode_libdir_separator=:
9696 hardcode_direct=yes
9697 hardcode_direct_absolute=yes
9698 export_dynamic_flag_spec='${wl}-E'
9699 # hardcode_minus_L: Not really in the search PATH,
9700 # but as the default location of the library.
9701 hardcode_minus_L=yes
9705 hpux11*)
9706 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9707 case $host_cpu in
9708 hppa*64*)
9709 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 ia64*)
9712 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9717 esac
9718 else
9719 case $host_cpu in
9720 hppa*64*)
9721 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 ia64*)
9724 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9728 # Older versions of the 11.00 compiler do not understand -b yet
9729 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9731 $as_echo_n "checking if $CC understands -b... " >&6; }
9732 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 lt_cv_prog_compiler__b=no
9736 save_LDFLAGS="$LDFLAGS"
9737 LDFLAGS="$LDFLAGS -b"
9738 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9739 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9740 # The linker can only warn and ignore the option if not recognized
9741 # So say no if there are warnings
9742 if test -s conftest.err; then
9743 # Append any errors to the config.log.
9744 cat conftest.err 1>&5
9745 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9746 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9747 if diff conftest.exp conftest.er2 >/dev/null; then
9748 lt_cv_prog_compiler__b=yes
9750 else
9751 lt_cv_prog_compiler__b=yes
9754 $RM -r conftest*
9755 LDFLAGS="$save_LDFLAGS"
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9759 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9761 if test x"$lt_cv_prog_compiler__b" = xyes; then
9762 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 else
9764 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9768 esac
9770 if test "$with_gnu_ld" = no; then
9771 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9772 hardcode_libdir_separator=:
9774 case $host_cpu in
9775 hppa*64*|ia64*)
9776 hardcode_direct=no
9777 hardcode_shlibpath_var=no
9780 hardcode_direct=yes
9781 hardcode_direct_absolute=yes
9782 export_dynamic_flag_spec='${wl}-E'
9784 # hardcode_minus_L: Not really in the search PATH,
9785 # but as the default location of the library.
9786 hardcode_minus_L=yes
9788 esac
9792 irix5* | irix6* | nonstopux*)
9793 if test "$GCC" = yes; then
9794 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'
9795 # Try to use the -exported_symbol ld option, if it does not
9796 # work, assume that -exports_file does not work either and
9797 # implicitly export all symbols.
9798 save_LDFLAGS="$LDFLAGS"
9799 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9800 if test x$gcc_no_link = xyes; then
9801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9805 int foo(void) {}
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 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'
9811 rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LDFLAGS="$save_LDFLAGS"
9814 else
9815 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'
9816 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'
9818 archive_cmds_need_lc='no'
9819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9820 hardcode_libdir_separator=:
9821 inherit_rpath=yes
9822 link_all_deplibs=yes
9825 netbsd*)
9826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9827 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9828 else
9829 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9831 hardcode_libdir_flag_spec='-R$libdir'
9832 hardcode_direct=yes
9833 hardcode_shlibpath_var=no
9836 newsos6)
9837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_direct=yes
9839 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840 hardcode_libdir_separator=:
9841 hardcode_shlibpath_var=no
9844 *nto* | *qnx*)
9847 openbsd*)
9848 if test -f /usr/libexec/ld.so; then
9849 hardcode_direct=yes
9850 hardcode_shlibpath_var=no
9851 hardcode_direct_absolute=yes
9852 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9855 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9856 export_dynamic_flag_spec='${wl}-E'
9857 else
9858 case $host_os in
9859 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_libdir_flag_spec='-R$libdir'
9864 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9865 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9867 esac
9869 else
9870 ld_shlibs=no
9874 os2*)
9875 hardcode_libdir_flag_spec='-L$libdir'
9876 hardcode_minus_L=yes
9877 allow_undefined_flag=unsupported
9878 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'
9879 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9882 osf3*)
9883 if test "$GCC" = yes; then
9884 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9885 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'
9886 else
9887 allow_undefined_flag=' -expect_unresolved \*'
9888 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'
9890 archive_cmds_need_lc='no'
9891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9892 hardcode_libdir_separator=:
9895 osf4* | osf5*) # as osf3* with the addition of -msym flag
9896 if test "$GCC" = yes; then
9897 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9898 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'
9899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9900 else
9901 allow_undefined_flag=' -expect_unresolved \*'
9902 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'
9903 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~
9904 $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'
9906 # Both c and cxx compiler support -rpath directly
9907 hardcode_libdir_flag_spec='-rpath $libdir'
9909 archive_cmds_need_lc='no'
9910 hardcode_libdir_separator=:
9913 solaris*)
9914 no_undefined_flag=' -z defs'
9915 if test "$GCC" = yes; then
9916 wlarc='${wl}'
9917 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9919 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9920 else
9921 case `$CC -V 2>&1` in
9922 *"Compilers 5.0"*)
9923 wlarc=''
9924 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9926 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9929 wlarc='${wl}'
9930 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9932 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9934 esac
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 hardcode_shlibpath_var=no
9938 case $host_os in
9939 solaris2.[0-5] | solaris2.[0-5].*) ;;
9941 # The compiler driver will combine and reorder linker options,
9942 # but understands `-z linker_flag'. GCC discards it without `$wl',
9943 # but is careful enough not to reorder.
9944 # Supported since Solaris 2.6 (maybe 2.5.1?)
9945 if test "$GCC" = yes; then
9946 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9947 else
9948 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9951 esac
9952 link_all_deplibs=yes
9955 sunos4*)
9956 if test "x$host_vendor" = xsequent; then
9957 # Use $CC to link under sequent, because it throws in some extra .o
9958 # files that make .init and .fini sections work.
9959 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9960 else
9961 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_direct=yes
9965 hardcode_minus_L=yes
9966 hardcode_shlibpath_var=no
9969 sysv4)
9970 case $host_vendor in
9971 sni)
9972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 hardcode_direct=yes # is this really true???
9975 siemens)
9976 ## LD is ld it makes a PLAMLIB
9977 ## CC just makes a GrossModule.
9978 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9979 reload_cmds='$CC -r -o $output$reload_objs'
9980 hardcode_direct=no
9982 motorola)
9983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9986 esac
9987 runpath_var='LD_RUN_PATH'
9988 hardcode_shlibpath_var=no
9991 sysv4.3*)
9992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993 hardcode_shlibpath_var=no
9994 export_dynamic_flag_spec='-Bexport'
9997 sysv4*MP*)
9998 if test -d /usr/nec; then
9999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_shlibpath_var=no
10001 runpath_var=LD_RUN_PATH
10002 hardcode_runpath_var=yes
10003 ld_shlibs=yes
10007 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10008 no_undefined_flag='${wl}-z,text'
10009 archive_cmds_need_lc=no
10010 hardcode_shlibpath_var=no
10011 runpath_var='LD_RUN_PATH'
10013 if test "$GCC" = yes; then
10014 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10016 else
10017 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 sysv5* | sco3.2v5* | sco5v6*)
10023 # Note: We can NOT use -z defs as we might desire, because we do not
10024 # link with -lc, and that would cause any symbols used from libc to
10025 # always be unresolved, which means just about no library would
10026 # ever link correctly. If we're not using GNU ld we use -z text
10027 # though, which does catch some bad symbols but isn't as heavy-handed
10028 # as -z defs.
10029 no_undefined_flag='${wl}-z,text'
10030 allow_undefined_flag='${wl}-z,nodefs'
10031 archive_cmds_need_lc=no
10032 hardcode_shlibpath_var=no
10033 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10034 hardcode_libdir_separator=':'
10035 link_all_deplibs=yes
10036 export_dynamic_flag_spec='${wl}-Bexport'
10037 runpath_var='LD_RUN_PATH'
10039 if test "$GCC" = yes; then
10040 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 else
10043 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 uts4*)
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_libdir_flag_spec='-L$libdir'
10051 hardcode_shlibpath_var=no
10055 ld_shlibs=no
10057 esac
10059 if test x$host_vendor = xsni; then
10060 case $host in
10061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10062 export_dynamic_flag_spec='${wl}-Blargedynsym'
10064 esac
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10069 $as_echo "$ld_shlibs" >&6; }
10070 test "$ld_shlibs" = no && can_build_shared=no
10072 with_gnu_ld=$with_gnu_ld
10089 # Do we need to explicitly link libc?
10091 case "x$archive_cmds_need_lc" in
10092 x|xyes)
10093 # Assume -lc should be added
10094 archive_cmds_need_lc=yes
10096 if test "$enable_shared" = yes && test "$GCC" = yes; then
10097 case $archive_cmds in
10098 *'~'*)
10099 # FIXME: we may have to deal with multi-command sequences.
10101 '$CC '*)
10102 # Test whether the compiler implicitly links with -lc since on some
10103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10104 # to ld, don't add -lc before -lgcc.
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10107 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 $RM conftest*
10111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10114 (eval $ac_compile) 2>&5
10115 ac_status=$?
10116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10117 test $ac_status = 0; } 2>conftest.err; then
10118 soname=conftest
10119 lib=conftest
10120 libobjs=conftest.$ac_objext
10121 deplibs=
10122 wl=$lt_prog_compiler_wl
10123 pic_flag=$lt_prog_compiler_pic
10124 compiler_flags=-v
10125 linker_flags=-v
10126 verstring=
10127 output_objdir=.
10128 libname=conftest
10129 lt_save_allow_undefined_flag=$allow_undefined_flag
10130 allow_undefined_flag=
10131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10132 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10133 ac_status=$?
10134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 test $ac_status = 0; }
10136 then
10137 lt_cv_archive_cmds_need_lc=no
10138 else
10139 lt_cv_archive_cmds_need_lc=yes
10141 allow_undefined_flag=$lt_save_allow_undefined_flag
10142 else
10143 cat conftest.err 1>&5
10145 $RM conftest*
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10149 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10150 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10152 esac
10155 esac
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10314 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10316 if test "$GCC" = yes; then
10317 case $host_os in
10318 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10319 *) lt_awk_arg="/^libraries:/" ;;
10320 esac
10321 case $host_os in
10322 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10323 *) lt_sed_strip_eq="s,=/,/,g" ;;
10324 esac
10325 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10326 case $lt_search_path_spec in
10327 *\;*)
10328 # if the path contains ";" then we assume it to be the separator
10329 # otherwise default to the standard path separator (i.e. ":") - it is
10330 # assumed that no part of a normal pathname contains ";" but that should
10331 # okay in the real world where ";" in dirpaths is itself problematic.
10332 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10335 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10337 esac
10338 # Ok, now we have the path, separated by spaces, we can step through it
10339 # and add multilib dir if necessary.
10340 lt_tmp_lt_search_path_spec=
10341 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10342 for lt_sys_path in $lt_search_path_spec; do
10343 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10344 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10345 else
10346 test -d "$lt_sys_path" && \
10347 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10349 done
10350 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10351 BEGIN {RS=" "; FS="/|\n";} {
10352 lt_foo="";
10353 lt_count=0;
10354 for (lt_i = NF; lt_i > 0; lt_i--) {
10355 if ($lt_i != "" && $lt_i != ".") {
10356 if ($lt_i == "..") {
10357 lt_count++;
10358 } else {
10359 if (lt_count == 0) {
10360 lt_foo="/" $lt_i lt_foo;
10361 } else {
10362 lt_count--;
10367 if (lt_foo != "") { lt_freq[lt_foo]++; }
10368 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10370 # AWK program above erroneously prepends '/' to C:/dos/paths
10371 # for these hosts.
10372 case $host_os in
10373 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10374 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10375 esac
10376 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10377 else
10378 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10380 library_names_spec=
10381 libname_spec='lib$name'
10382 soname_spec=
10383 shrext_cmds=".so"
10384 postinstall_cmds=
10385 postuninstall_cmds=
10386 finish_cmds=
10387 finish_eval=
10388 shlibpath_var=
10389 shlibpath_overrides_runpath=unknown
10390 version_type=none
10391 dynamic_linker="$host_os ld.so"
10392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10393 need_lib_prefix=unknown
10394 hardcode_into_libs=no
10396 # when you set need_version to no, make sure it does not cause -set_version
10397 # flags to be left without arguments
10398 need_version=unknown
10400 case $host_os in
10401 aix3*)
10402 version_type=linux
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10404 shlibpath_var=LIBPATH
10406 # AIX 3 has no versioning support, so we append a major version to the name.
10407 soname_spec='${libname}${release}${shared_ext}$major'
10410 aix[4-9]*)
10411 version_type=linux
10412 need_lib_prefix=no
10413 need_version=no
10414 hardcode_into_libs=yes
10415 if test "$host_cpu" = ia64; then
10416 # AIX 5 supports IA64
10417 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10418 shlibpath_var=LD_LIBRARY_PATH
10419 else
10420 # With GCC up to 2.95.x, collect2 would create an import file
10421 # for dependence libraries. The import file would start with
10422 # the line `#! .'. This would cause the generated library to
10423 # depend on `.', always an invalid library. This was fixed in
10424 # development snapshots of GCC prior to 3.0.
10425 case $host_os in
10426 aix4 | aix4.[01] | aix4.[01].*)
10427 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10428 echo ' yes '
10429 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10431 else
10432 can_build_shared=no
10435 esac
10436 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10437 # soname into executable. Probably we can add versioning support to
10438 # collect2, so additional links can be useful in future.
10439 if test "$aix_use_runtimelinking" = yes; then
10440 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10441 # instead of lib<name>.a to let people know that these are not
10442 # typical AIX shared libraries.
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444 else
10445 # We preserve .a as extension for shared libraries through AIX4.2
10446 # and later when we are not doing run time linking.
10447 library_names_spec='${libname}${release}.a $libname.a'
10448 soname_spec='${libname}${release}${shared_ext}$major'
10450 shlibpath_var=LIBPATH
10454 amigaos*)
10455 case $host_cpu in
10456 powerpc)
10457 # Since July 2007 AmigaOS4 officially supports .so libraries.
10458 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10461 m68k)
10462 library_names_spec='$libname.ixlibrary $libname.a'
10463 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10464 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'
10466 esac
10469 beos*)
10470 library_names_spec='${libname}${shared_ext}'
10471 dynamic_linker="$host_os ld.so"
10472 shlibpath_var=LIBRARY_PATH
10475 bsdi[45]*)
10476 version_type=linux
10477 need_version=no
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479 soname_spec='${libname}${release}${shared_ext}$major'
10480 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10481 shlibpath_var=LD_LIBRARY_PATH
10482 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10483 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10484 # the default ld.so.conf also contains /usr/contrib/lib and
10485 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10486 # libtool to hard-code these into programs
10489 cygwin* | mingw* | pw32* | cegcc*)
10490 version_type=windows
10491 shrext_cmds=".dll"
10492 need_version=no
10493 need_lib_prefix=no
10495 case $GCC,$host_os in
10496 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10497 library_names_spec='$libname.dll.a'
10498 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10499 postinstall_cmds='base_file=`basename \${file}`~
10500 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10501 dldir=$destdir/`dirname \$dlpath`~
10502 test -d \$dldir || mkdir -p \$dldir~
10503 $install_prog $dir/$dlname \$dldir/$dlname~
10504 chmod a+x \$dldir/$dlname~
10505 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10506 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10508 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10509 dlpath=$dir/\$dldll~
10510 $RM \$dlpath'
10511 shlibpath_overrides_runpath=yes
10513 case $host_os in
10514 cygwin*)
10515 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10516 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10518 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10520 mingw* | cegcc*)
10521 # MinGW DLLs use traditional 'lib' prefix
10522 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10524 pw32*)
10525 # pw32 DLLs use 'pw' prefix rather than 'lib'
10526 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10528 esac
10532 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10534 esac
10535 dynamic_linker='Win32 ld.exe'
10536 # FIXME: first we should search . and the directory the executable is in
10537 shlibpath_var=PATH
10540 darwin* | rhapsody*)
10541 dynamic_linker="$host_os dyld"
10542 version_type=darwin
10543 need_lib_prefix=no
10544 need_version=no
10545 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10546 soname_spec='${libname}${release}${major}$shared_ext'
10547 shlibpath_overrides_runpath=yes
10548 shlibpath_var=DYLD_LIBRARY_PATH
10549 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10551 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10552 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10555 dgux*)
10556 version_type=linux
10557 need_lib_prefix=no
10558 need_version=no
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10564 freebsd1*)
10565 dynamic_linker=no
10568 freebsd* | dragonfly*)
10569 # DragonFly does not have aout. When/if they implement a new
10570 # versioning mechanism, adjust this.
10571 if test -x /usr/bin/objformat; then
10572 objformat=`/usr/bin/objformat`
10573 else
10574 case $host_os in
10575 freebsd[123]*) objformat=aout ;;
10576 *) objformat=elf ;;
10577 esac
10579 version_type=freebsd-$objformat
10580 case $version_type in
10581 freebsd-elf*)
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10583 need_version=no
10584 need_lib_prefix=no
10586 freebsd-*)
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10588 need_version=yes
10590 esac
10591 shlibpath_var=LD_LIBRARY_PATH
10592 case $host_os in
10593 freebsd2*)
10594 shlibpath_overrides_runpath=yes
10596 freebsd3.[01]* | freebsdelf3.[01]*)
10597 shlibpath_overrides_runpath=yes
10598 hardcode_into_libs=yes
10600 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10601 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10602 shlibpath_overrides_runpath=no
10603 hardcode_into_libs=yes
10605 *) # from 4.6 on, and DragonFly
10606 shlibpath_overrides_runpath=yes
10607 hardcode_into_libs=yes
10609 esac
10612 gnu*)
10613 version_type=linux
10614 need_lib_prefix=no
10615 need_version=no
10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 shlibpath_var=LD_LIBRARY_PATH
10619 hardcode_into_libs=yes
10622 haiku*)
10623 version_type=linux
10624 need_lib_prefix=no
10625 need_version=no
10626 dynamic_linker="$host_os runtime_loader"
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628 soname_spec='${libname}${release}${shared_ext}$major'
10629 shlibpath_var=LIBRARY_PATH
10630 shlibpath_overrides_runpath=yes
10631 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10632 hardcode_into_libs=yes
10635 hpux9* | hpux10* | hpux11*)
10636 # Give a soname corresponding to the major version so that dld.sl refuses to
10637 # link against other versions.
10638 version_type=sunos
10639 need_lib_prefix=no
10640 need_version=no
10641 case $host_cpu in
10642 ia64*)
10643 shrext_cmds='.so'
10644 hardcode_into_libs=yes
10645 dynamic_linker="$host_os dld.so"
10646 shlibpath_var=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 if test "X$HPUX_IA64_MODE" = X32; then
10651 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10652 else
10653 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10655 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10657 hppa*64*)
10658 shrext_cmds='.sl'
10659 hardcode_into_libs=yes
10660 dynamic_linker="$host_os dld.sl"
10661 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10662 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10666 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10669 shrext_cmds='.sl'
10670 dynamic_linker="$host_os dld.sl"
10671 shlibpath_var=SHLIB_PATH
10672 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10676 esac
10677 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10678 postinstall_cmds='chmod 555 $lib'
10679 # or fails outright, so override atomically:
10680 install_override_mode=555
10683 interix[3-9]*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10695 irix5* | irix6* | nonstopux*)
10696 case $host_os in
10697 nonstopux*) version_type=nonstopux ;;
10699 if test "$lt_cv_prog_gnu_ld" = yes; then
10700 version_type=linux
10701 else
10702 version_type=irix
10703 fi ;;
10704 esac
10705 need_lib_prefix=no
10706 need_version=no
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10709 case $host_os in
10710 irix5* | nonstopux*)
10711 libsuff= shlibsuff=
10714 case $LD in # libtool.m4 will add one of these switches to LD
10715 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10716 libsuff= shlibsuff= libmagic=32-bit;;
10717 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10718 libsuff=32 shlibsuff=N32 libmagic=N32;;
10719 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10720 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10721 *) libsuff= shlibsuff= libmagic=never-match;;
10722 esac
10724 esac
10725 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10726 shlibpath_overrides_runpath=no
10727 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10728 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10729 hardcode_into_libs=yes
10732 # No shared lib support for Linux oldld, aout, or coff.
10733 linux*oldld* | linux*aout* | linux*coff*)
10734 dynamic_linker=no
10737 # This must be Linux ELF.
10738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10739 version_type=linux
10740 need_lib_prefix=no
10741 need_version=no
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10748 # Some binutils ld are patched to set DT_RUNPATH
10749 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10750 $as_echo_n "(cached) " >&6
10751 else
10752 lt_cv_shlibpath_overrides_runpath=no
10753 save_LDFLAGS=$LDFLAGS
10754 save_libdir=$libdir
10755 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10756 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10757 if test x$gcc_no_link = xyes; then
10758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10764 main ()
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10773 lt_cv_shlibpath_overrides_runpath=yes
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LDFLAGS=$save_LDFLAGS
10779 libdir=$save_libdir
10783 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10785 # This implies no fast_install, which is unacceptable.
10786 # Some rework will be needed to allow for fast_install
10787 # before this can be enabled.
10788 hardcode_into_libs=yes
10790 # Append ld.so.conf contents to the search path
10791 if test -f /etc/ld.so.conf; then
10792 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' ' '`
10793 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10796 # We used to test for /lib/ld.so.1 and disable shared libraries on
10797 # powerpc, because MkLinux only supported shared libraries with the
10798 # GNU dynamic linker. Since this was broken with cross compilers,
10799 # most powerpc-linux boxes support dynamic linking these days and
10800 # people can always --disable-shared, the test was removed, and we
10801 # assume the GNU/Linux dynamic linker is in use.
10802 dynamic_linker='GNU/Linux ld.so'
10805 netbsd*)
10806 version_type=sunos
10807 need_lib_prefix=no
10808 need_version=no
10809 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10811 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10812 dynamic_linker='NetBSD (a.out) ld.so'
10813 else
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 dynamic_linker='NetBSD ld.elf_so'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10823 newsos6)
10824 version_type=linux
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=yes
10830 *nto* | *qnx*)
10831 version_type=qnx
10832 need_lib_prefix=no
10833 need_version=no
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=no
10838 hardcode_into_libs=yes
10839 dynamic_linker='ldqnx.so'
10842 openbsd*)
10843 version_type=sunos
10844 sys_lib_dlsearch_path_spec="/usr/lib"
10845 need_lib_prefix=no
10846 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10847 case $host_os in
10848 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10849 *) need_version=no ;;
10850 esac
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10855 case $host_os in
10856 openbsd2.[89] | openbsd2.[89].*)
10857 shlibpath_overrides_runpath=no
10860 shlibpath_overrides_runpath=yes
10862 esac
10863 else
10864 shlibpath_overrides_runpath=yes
10868 os2*)
10869 libname_spec='$name'
10870 shrext_cmds=".dll"
10871 need_lib_prefix=no
10872 library_names_spec='$libname${shared_ext} $libname.a'
10873 dynamic_linker='OS/2 ld.exe'
10874 shlibpath_var=LIBPATH
10877 osf3* | osf4* | osf5*)
10878 version_type=osf
10879 need_lib_prefix=no
10880 need_version=no
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10885 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10888 rdos*)
10889 dynamic_linker=no
10892 solaris*)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes
10900 hardcode_into_libs=yes
10901 # ldd complains unless libraries are executable
10902 postinstall_cmds='chmod +x $lib'
10905 sunos4*)
10906 version_type=sunos
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 if test "$with_gnu_ld" = yes; then
10912 need_lib_prefix=no
10914 need_version=yes
10917 sysv4 | sysv4.3*)
10918 version_type=linux
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 case $host_vendor in
10923 sni)
10924 shlibpath_overrides_runpath=no
10925 need_lib_prefix=no
10926 runpath_var=LD_RUN_PATH
10928 siemens)
10929 need_lib_prefix=no
10931 motorola)
10932 need_lib_prefix=no
10933 need_version=no
10934 shlibpath_overrides_runpath=no
10935 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10937 esac
10940 sysv4*MP*)
10941 if test -d /usr/nec ;then
10942 version_type=linux
10943 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10944 soname_spec='$libname${shared_ext}.$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10950 version_type=freebsd-elf
10951 need_lib_prefix=no
10952 need_version=no
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10954 soname_spec='${libname}${release}${shared_ext}$major'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 hardcode_into_libs=yes
10958 if test "$with_gnu_ld" = yes; then
10959 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10960 else
10961 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10962 case $host_os in
10963 sco3.2v5*)
10964 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10966 esac
10968 sys_lib_dlsearch_path_spec='/usr/lib'
10971 tpf*)
10972 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10973 version_type=linux
10974 need_lib_prefix=no
10975 need_version=no
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=no
10979 hardcode_into_libs=yes
10982 uts4*)
10983 version_type=linux
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 soname_spec='${libname}${release}${shared_ext}$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10990 dynamic_linker=no
10992 esac
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10994 $as_echo "$dynamic_linker" >&6; }
10995 test "$dynamic_linker" = no && can_build_shared=no
10997 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10998 if test "$GCC" = yes; then
10999 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11002 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11003 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11005 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11006 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11102 hardcode_action=
11103 if test -n "$hardcode_libdir_flag_spec" ||
11104 test -n "$runpath_var" ||
11105 test "X$hardcode_automatic" = "Xyes" ; then
11107 # We can hardcode non-existent directories.
11108 if test "$hardcode_direct" != no &&
11109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11110 # have to relink, otherwise we might link with an installed library
11111 # when we should be linking with a yet-to-be-installed one
11112 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11113 test "$hardcode_minus_L" != no; then
11114 # Linking always hardcodes the temporary library directory.
11115 hardcode_action=relink
11116 else
11117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11118 hardcode_action=immediate
11120 else
11121 # We cannot hardcode anything, or else we can only hardcode existing
11122 # directories.
11123 hardcode_action=unsupported
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11126 $as_echo "$hardcode_action" >&6; }
11128 if test "$hardcode_action" = relink ||
11129 test "$inherit_rpath" = yes; then
11130 # Fast installation is not supported
11131 enable_fast_install=no
11132 elif test "$shlibpath_overrides_runpath" = yes ||
11133 test "$enable_shared" = no; then
11134 # Fast installation is not necessary
11135 enable_fast_install=needless
11143 if test "x$enable_dlopen" != xyes; then
11144 enable_dlopen=unknown
11145 enable_dlopen_self=unknown
11146 enable_dlopen_self_static=unknown
11147 else
11148 lt_cv_dlopen=no
11149 lt_cv_dlopen_libs=
11151 case $host_os in
11152 beos*)
11153 lt_cv_dlopen="load_add_on"
11154 lt_cv_dlopen_libs=
11155 lt_cv_dlopen_self=yes
11158 mingw* | pw32* | cegcc*)
11159 lt_cv_dlopen="LoadLibrary"
11160 lt_cv_dlopen_libs=
11163 cygwin*)
11164 lt_cv_dlopen="dlopen"
11165 lt_cv_dlopen_libs=
11168 darwin*)
11169 # if libdl is installed we need to link against it
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11171 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-ldl $LIBS"
11177 if test x$gcc_no_link = xyes; then
11178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char dlopen ();
11191 main ()
11193 return dlopen ();
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_dl_dlopen=yes
11200 else
11201 ac_cv_lib_dl_dlopen=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11209 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11210 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11211 else
11213 lt_cv_dlopen="dyld"
11214 lt_cv_dlopen_libs=
11215 lt_cv_dlopen_self=yes
11222 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11223 if test "x$ac_cv_func_shl_load" = x""yes; then :
11224 lt_cv_dlopen="shl_load"
11225 else
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11228 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-ldld $LIBS"
11233 if test x$gcc_no_link = xyes; then
11234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char shl_load ();
11247 main ()
11249 return shl_load ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_dld_shl_load=yes
11256 else
11257 ac_cv_lib_dld_shl_load=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11265 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11266 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11267 else
11268 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11269 if test "x$ac_cv_func_dlopen" = x""yes; then :
11270 lt_cv_dlopen="dlopen"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11274 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldl $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char dlopen ();
11293 main ()
11295 return dlopen ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dl_dlopen=yes
11302 else
11303 ac_cv_lib_dl_dlopen=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11310 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11311 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11312 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11313 else
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11315 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11316 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11317 $as_echo_n "(cached) " >&6
11318 else
11319 ac_check_lib_save_LIBS=$LIBS
11320 LIBS="-lsvld $LIBS"
11321 if test x$gcc_no_link = xyes; then
11322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char dlopen ();
11335 main ()
11337 return dlopen ();
11339 return 0;
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_svld_dlopen=yes
11344 else
11345 ac_cv_lib_svld_dlopen=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11352 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11353 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11357 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11358 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldld $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dld_link ();
11377 main ()
11379 return dld_link ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dld_dld_link=yes
11386 else
11387 ac_cv_lib_dld_dld_link=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11394 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11395 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11396 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11415 esac
11417 if test "x$lt_cv_dlopen" != xno; then
11418 enable_dlopen=yes
11419 else
11420 enable_dlopen=no
11423 case $lt_cv_dlopen in
11424 dlopen)
11425 save_CPPFLAGS="$CPPFLAGS"
11426 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11428 save_LDFLAGS="$LDFLAGS"
11429 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11431 save_LIBS="$LIBS"
11432 LIBS="$lt_cv_dlopen_libs $LIBS"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11435 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11436 if test "${lt_cv_dlopen_self+set}" = set; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 if test "$cross_compiling" = yes; then :
11440 lt_cv_dlopen_self=cross
11441 else
11442 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11443 lt_status=$lt_dlunknown
11444 cat > conftest.$ac_ext <<_LT_EOF
11445 #line 11445 "configure"
11446 #include "confdefs.h"
11448 #if HAVE_DLFCN_H
11449 #include <dlfcn.h>
11450 #endif
11452 #include <stdio.h>
11454 #ifdef RTLD_GLOBAL
11455 # define LT_DLGLOBAL RTLD_GLOBAL
11456 #else
11457 # ifdef DL_GLOBAL
11458 # define LT_DLGLOBAL DL_GLOBAL
11459 # else
11460 # define LT_DLGLOBAL 0
11461 # endif
11462 #endif
11464 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11465 find out it does not work in some platform. */
11466 #ifndef LT_DLLAZY_OR_NOW
11467 # ifdef RTLD_LAZY
11468 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11469 # else
11470 # ifdef DL_LAZY
11471 # define LT_DLLAZY_OR_NOW DL_LAZY
11472 # else
11473 # ifdef RTLD_NOW
11474 # define LT_DLLAZY_OR_NOW RTLD_NOW
11475 # else
11476 # ifdef DL_NOW
11477 # define LT_DLLAZY_OR_NOW DL_NOW
11478 # else
11479 # define LT_DLLAZY_OR_NOW 0
11480 # endif
11481 # endif
11482 # endif
11483 # endif
11484 #endif
11486 /* When -fvisbility=hidden is used, assume the code has been annotated
11487 correspondingly for the symbols needed. */
11488 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11489 void fnord () __attribute__((visibility("default")));
11490 #endif
11492 void fnord () { int i=42; }
11493 int main ()
11495 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11496 int status = $lt_dlunknown;
11498 if (self)
11500 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11501 else
11503 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11504 else puts (dlerror ());
11506 /* dlclose (self); */
11508 else
11509 puts (dlerror ());
11511 return status;
11513 _LT_EOF
11514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11515 (eval $ac_link) 2>&5
11516 ac_status=$?
11517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11518 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11519 (./conftest; exit; ) >&5 2>/dev/null
11520 lt_status=$?
11521 case x$lt_status in
11522 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11523 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11524 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11525 esac
11526 else :
11527 # compilation failed
11528 lt_cv_dlopen_self=no
11531 rm -fr conftest*
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11536 $as_echo "$lt_cv_dlopen_self" >&6; }
11538 if test "x$lt_cv_dlopen_self" = xyes; then
11539 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11541 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11542 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11543 $as_echo_n "(cached) " >&6
11544 else
11545 if test "$cross_compiling" = yes; then :
11546 lt_cv_dlopen_self_static=cross
11547 else
11548 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11549 lt_status=$lt_dlunknown
11550 cat > conftest.$ac_ext <<_LT_EOF
11551 #line 11551 "configure"
11552 #include "confdefs.h"
11554 #if HAVE_DLFCN_H
11555 #include <dlfcn.h>
11556 #endif
11558 #include <stdio.h>
11560 #ifdef RTLD_GLOBAL
11561 # define LT_DLGLOBAL RTLD_GLOBAL
11562 #else
11563 # ifdef DL_GLOBAL
11564 # define LT_DLGLOBAL DL_GLOBAL
11565 # else
11566 # define LT_DLGLOBAL 0
11567 # endif
11568 #endif
11570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11571 find out it does not work in some platform. */
11572 #ifndef LT_DLLAZY_OR_NOW
11573 # ifdef RTLD_LAZY
11574 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11575 # else
11576 # ifdef DL_LAZY
11577 # define LT_DLLAZY_OR_NOW DL_LAZY
11578 # else
11579 # ifdef RTLD_NOW
11580 # define LT_DLLAZY_OR_NOW RTLD_NOW
11581 # else
11582 # ifdef DL_NOW
11583 # define LT_DLLAZY_OR_NOW DL_NOW
11584 # else
11585 # define LT_DLLAZY_OR_NOW 0
11586 # endif
11587 # endif
11588 # endif
11589 # endif
11590 #endif
11592 /* When -fvisbility=hidden is used, assume the code has been annotated
11593 correspondingly for the symbols needed. */
11594 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11595 void fnord () __attribute__((visibility("default")));
11596 #endif
11598 void fnord () { int i=42; }
11599 int main ()
11601 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11602 int status = $lt_dlunknown;
11604 if (self)
11606 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11607 else
11609 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11610 else puts (dlerror ());
11612 /* dlclose (self); */
11614 else
11615 puts (dlerror ());
11617 return status;
11619 _LT_EOF
11620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11621 (eval $ac_link) 2>&5
11622 ac_status=$?
11623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11624 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11625 (./conftest; exit; ) >&5 2>/dev/null
11626 lt_status=$?
11627 case x$lt_status in
11628 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11629 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11630 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11631 esac
11632 else :
11633 # compilation failed
11634 lt_cv_dlopen_self_static=no
11637 rm -fr conftest*
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11642 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11645 CPPFLAGS="$save_CPPFLAGS"
11646 LDFLAGS="$save_LDFLAGS"
11647 LIBS="$save_LIBS"
11649 esac
11651 case $lt_cv_dlopen_self in
11652 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11653 *) enable_dlopen_self=unknown ;;
11654 esac
11656 case $lt_cv_dlopen_self_static in
11657 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11658 *) enable_dlopen_self_static=unknown ;;
11659 esac
11678 striplib=
11679 old_striplib=
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11681 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11682 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11683 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11684 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11687 else
11688 # FIXME - insert some real tests, host_os isn't really good enough
11689 case $host_os in
11690 darwin*)
11691 if test -n "$STRIP" ; then
11692 striplib="$STRIP -x"
11693 old_striplib="$STRIP -S"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11695 $as_echo "yes" >&6; }
11696 else
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11705 esac
11719 # Report which library types will actually be built
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11721 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11723 $as_echo "$can_build_shared" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11726 $as_echo_n "checking whether to build shared libraries... " >&6; }
11727 test "$can_build_shared" = "no" && enable_shared=no
11729 # On AIX, shared libraries and static libraries use the same namespace, and
11730 # are all built from PIC.
11731 case $host_os in
11732 aix3*)
11733 test "$enable_shared" = yes && enable_static=no
11734 if test -n "$RANLIB"; then
11735 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11736 postinstall_cmds='$RANLIB $lib'
11740 aix[4-9]*)
11741 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11742 test "$enable_shared" = yes && enable_static=no
11745 esac
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11747 $as_echo "$enable_shared" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11750 $as_echo_n "checking whether to build static libraries... " >&6; }
11751 # Make sure either enable_shared or enable_static is yes.
11752 test "$enable_shared" = yes || enable_static=yes
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11754 $as_echo "$enable_static" >&6; }
11760 ac_ext=c
11761 ac_cpp='$CPP $CPPFLAGS'
11762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11766 CC="$lt_save_CC"
11768 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11769 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11770 (test "X$CXX" != "Xg++"))) ; then
11771 ac_ext=cpp
11772 ac_cpp='$CXXCPP $CPPFLAGS'
11773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11777 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11778 if test -z "$CXXCPP"; then
11779 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11780 $as_echo_n "(cached) " >&6
11781 else
11782 # Double quotes because CXXCPP needs to be expanded
11783 for CXXCPP in "$CXX -E" "/lib/cpp"
11785 ac_preproc_ok=false
11786 for ac_cxx_preproc_warn_flag in '' yes
11788 # Use a header file that comes with gcc, so configuring glibc
11789 # with a fresh cross-compiler works.
11790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11791 # <limits.h> exists even on freestanding compilers.
11792 # On the NeXT, cc -E runs the code through the compiler's parser,
11793 # not just through cpp. "Syntax error" is here to catch this case.
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11796 #ifdef __STDC__
11797 # include <limits.h>
11798 #else
11799 # include <assert.h>
11800 #endif
11801 Syntax error
11802 _ACEOF
11803 if ac_fn_cxx_try_cpp "$LINENO"; then :
11805 else
11806 # Broken: fails on valid input.
11807 continue
11809 rm -f conftest.err conftest.$ac_ext
11811 # OK, works on sane cases. Now check whether nonexistent headers
11812 # can be detected and how.
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 #include <ac_nonexistent.h>
11816 _ACEOF
11817 if ac_fn_cxx_try_cpp "$LINENO"; then :
11818 # Broken: success on invalid input.
11819 continue
11820 else
11821 # Passes both tests.
11822 ac_preproc_ok=:
11823 break
11825 rm -f conftest.err conftest.$ac_ext
11827 done
11828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11829 rm -f conftest.err conftest.$ac_ext
11830 if $ac_preproc_ok; then :
11831 break
11834 done
11835 ac_cv_prog_CXXCPP=$CXXCPP
11838 CXXCPP=$ac_cv_prog_CXXCPP
11839 else
11840 ac_cv_prog_CXXCPP=$CXXCPP
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11843 $as_echo "$CXXCPP" >&6; }
11844 ac_preproc_ok=false
11845 for ac_cxx_preproc_warn_flag in '' yes
11847 # Use a header file that comes with gcc, so configuring glibc
11848 # with a fresh cross-compiler works.
11849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11850 # <limits.h> exists even on freestanding compilers.
11851 # On the NeXT, cc -E runs the code through the compiler's parser,
11852 # not just through cpp. "Syntax error" is here to catch this case.
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11855 #ifdef __STDC__
11856 # include <limits.h>
11857 #else
11858 # include <assert.h>
11859 #endif
11860 Syntax error
11861 _ACEOF
11862 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 else
11865 # Broken: fails on valid input.
11866 continue
11868 rm -f conftest.err conftest.$ac_ext
11870 # OK, works on sane cases. Now check whether nonexistent headers
11871 # can be detected and how.
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #include <ac_nonexistent.h>
11875 _ACEOF
11876 if ac_fn_cxx_try_cpp "$LINENO"; then :
11877 # Broken: success on invalid input.
11878 continue
11879 else
11880 # Passes both tests.
11881 ac_preproc_ok=:
11882 break
11884 rm -f conftest.err conftest.$ac_ext
11886 done
11887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11888 rm -f conftest.err conftest.$ac_ext
11889 if $ac_preproc_ok; then :
11891 else
11892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11894 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11895 See \`config.log' for more details." "$LINENO" 5; }
11898 ac_ext=c
11899 ac_cpp='$CPP $CPPFLAGS'
11900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11904 else
11905 _lt_caught_CXX_error=yes
11908 ac_ext=cpp
11909 ac_cpp='$CXXCPP $CPPFLAGS'
11910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11914 archive_cmds_need_lc_CXX=no
11915 allow_undefined_flag_CXX=
11916 always_export_symbols_CXX=no
11917 archive_expsym_cmds_CXX=
11918 compiler_needs_object_CXX=no
11919 export_dynamic_flag_spec_CXX=
11920 hardcode_direct_CXX=no
11921 hardcode_direct_absolute_CXX=no
11922 hardcode_libdir_flag_spec_CXX=
11923 hardcode_libdir_flag_spec_ld_CXX=
11924 hardcode_libdir_separator_CXX=
11925 hardcode_minus_L_CXX=no
11926 hardcode_shlibpath_var_CXX=unsupported
11927 hardcode_automatic_CXX=no
11928 inherit_rpath_CXX=no
11929 module_cmds_CXX=
11930 module_expsym_cmds_CXX=
11931 link_all_deplibs_CXX=unknown
11932 old_archive_cmds_CXX=$old_archive_cmds
11933 reload_flag_CXX=$reload_flag
11934 reload_cmds_CXX=$reload_cmds
11935 no_undefined_flag_CXX=
11936 whole_archive_flag_spec_CXX=
11937 enable_shared_with_static_runtimes_CXX=no
11939 # Source file extension for C++ test sources.
11940 ac_ext=cpp
11942 # Object file extension for compiled C++ test sources.
11943 objext=o
11944 objext_CXX=$objext
11946 # No sense in running all these tests if we already determined that
11947 # the CXX compiler isn't working. Some variables (like enable_shared)
11948 # are currently assumed to apply to all compilers on this platform,
11949 # and will be corrupted by setting them based on a non-working compiler.
11950 if test "$_lt_caught_CXX_error" != yes; then
11951 # Code to be used in simple compile tests
11952 lt_simple_compile_test_code="int some_variable = 0;"
11954 # Code to be used in simple link tests
11955 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11964 # If no C compiler was specified, use CC.
11965 LTCC=${LTCC-"$CC"}
11967 # If no C compiler flags were specified, use CFLAGS.
11968 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11970 # Allow CC to be a program name with arguments.
11971 compiler=$CC
11974 # save warnings/boilerplate of simple test code
11975 ac_outfile=conftest.$ac_objext
11976 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11977 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11978 _lt_compiler_boilerplate=`cat conftest.err`
11979 $RM conftest*
11981 ac_outfile=conftest.$ac_objext
11982 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11983 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11984 _lt_linker_boilerplate=`cat conftest.err`
11985 $RM -r conftest*
11988 # Allow CC to be a program name with arguments.
11989 lt_save_CC=$CC
11990 lt_save_LD=$LD
11991 lt_save_GCC=$GCC
11992 GCC=$GXX
11993 lt_save_with_gnu_ld=$with_gnu_ld
11994 lt_save_path_LD=$lt_cv_path_LD
11995 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11996 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11997 else
11998 $as_unset lt_cv_prog_gnu_ld
12000 if test -n "${lt_cv_path_LDCXX+set}"; then
12001 lt_cv_path_LD=$lt_cv_path_LDCXX
12002 else
12003 $as_unset lt_cv_path_LD
12005 test -z "${LDCXX+set}" || LD=$LDCXX
12006 CC=${CXX-"c++"}
12007 compiler=$CC
12008 compiler_CXX=$CC
12009 for cc_temp in $compiler""; do
12010 case $cc_temp in
12011 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12012 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12013 \-*) ;;
12014 *) break;;
12015 esac
12016 done
12017 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12020 if test -n "$compiler"; then
12021 # We don't want -fno-exception when compiling C++ code, so set the
12022 # no_builtin_flag separately
12023 if test "$GXX" = yes; then
12024 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12025 else
12026 lt_prog_compiler_no_builtin_flag_CXX=
12029 if test "$GXX" = yes; then
12030 # Set up default GNU C++ configuration
12034 # Check whether --with-gnu-ld was given.
12035 if test "${with_gnu_ld+set}" = set; then :
12036 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12037 else
12038 with_gnu_ld=no
12041 ac_prog=ld
12042 if test "$GCC" = yes; then
12043 # Check if gcc -print-prog-name=ld gives a path.
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12045 $as_echo_n "checking for ld used by $CC... " >&6; }
12046 case $host in
12047 *-*-mingw*)
12048 # gcc leaves a trailing carriage return which upsets mingw
12049 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12051 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12052 esac
12053 case $ac_prog in
12054 # Accept absolute paths.
12055 [\\/]* | ?:[\\/]*)
12056 re_direlt='/[^/][^/]*/\.\./'
12057 # Canonicalize the pathname of ld
12058 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12059 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12060 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12061 done
12062 test -z "$LD" && LD="$ac_prog"
12065 # If it fails, then pretend we aren't using GCC.
12066 ac_prog=ld
12069 # If it is relative, then search for the first ld in PATH.
12070 with_gnu_ld=unknown
12072 esac
12073 elif test "$with_gnu_ld" = yes; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12075 $as_echo_n "checking for GNU ld... " >&6; }
12076 else
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12078 $as_echo_n "checking for non-GNU ld... " >&6; }
12080 if test "${lt_cv_path_LD+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12082 else
12083 if test -z "$LD"; then
12084 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12085 for ac_dir in $PATH; do
12086 IFS="$lt_save_ifs"
12087 test -z "$ac_dir" && ac_dir=.
12088 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12089 lt_cv_path_LD="$ac_dir/$ac_prog"
12090 # Check to see if the program is GNU ld. I'd rather use --version,
12091 # but apparently some variants of GNU ld only accept -v.
12092 # Break only if it was the GNU/non-GNU ld that we prefer.
12093 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12094 *GNU* | *'with BFD'*)
12095 test "$with_gnu_ld" != no && break
12098 test "$with_gnu_ld" != yes && break
12100 esac
12102 done
12103 IFS="$lt_save_ifs"
12104 else
12105 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12109 LD="$lt_cv_path_LD"
12110 if test -n "$LD"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12112 $as_echo "$LD" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12117 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12119 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12120 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12124 case `$LD -v 2>&1 </dev/null` in
12125 *GNU* | *'with BFD'*)
12126 lt_cv_prog_gnu_ld=yes
12129 lt_cv_prog_gnu_ld=no
12131 esac
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12134 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12135 with_gnu_ld=$lt_cv_prog_gnu_ld
12143 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12144 # archiving commands below assume that GNU ld is being used.
12145 if test "$with_gnu_ld" = yes; then
12146 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12147 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'
12149 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12150 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12152 # If archive_cmds runs LD, not CC, wlarc should be empty
12153 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12154 # investigate it a little bit more. (MM)
12155 wlarc='${wl}'
12157 # ancient GNU ld didn't support --whole-archive et. al.
12158 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12159 $GREP 'no-whole-archive' > /dev/null; then
12160 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12161 else
12162 whole_archive_flag_spec_CXX=
12164 else
12165 with_gnu_ld=no
12166 wlarc=
12168 # A generic and very simple default shared library creation
12169 # command for GNU C++ for the case where it uses the native
12170 # linker, instead of GNU ld. If possible, this setting should
12171 # overridden to take advantage of the native linker features on
12172 # the platform it is being used on.
12173 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12176 # Commands to make compiler produce verbose output that lists
12177 # what "hidden" libraries, object files and flags are used when
12178 # linking a shared library.
12179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12181 else
12182 GXX=no
12183 with_gnu_ld=no
12184 wlarc=
12187 # PORTME: fill in a description of your system's C++ link characteristics
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12189 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12190 ld_shlibs_CXX=yes
12191 case $host_os in
12192 aix3*)
12193 # FIXME: insert proper C++ library support
12194 ld_shlibs_CXX=no
12196 aix[4-9]*)
12197 if test "$host_cpu" = ia64; then
12198 # On IA64, the linker does run time linking by default, so we don't
12199 # have to do anything special.
12200 aix_use_runtimelinking=no
12201 exp_sym_flag='-Bexport'
12202 no_entry_flag=""
12203 else
12204 aix_use_runtimelinking=no
12206 # Test if we are trying to use run time linking or normal
12207 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12208 # need to do runtime linking.
12209 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12210 for ld_flag in $LDFLAGS; do
12211 case $ld_flag in
12212 *-brtl*)
12213 aix_use_runtimelinking=yes
12214 break
12216 esac
12217 done
12219 esac
12221 exp_sym_flag='-bexport'
12222 no_entry_flag='-bnoentry'
12225 # When large executables or shared objects are built, AIX ld can
12226 # have problems creating the table of contents. If linking a library
12227 # or program results in "error TOC overflow" add -mminimal-toc to
12228 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12229 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12231 archive_cmds_CXX=''
12232 hardcode_direct_CXX=yes
12233 hardcode_direct_absolute_CXX=yes
12234 hardcode_libdir_separator_CXX=':'
12235 link_all_deplibs_CXX=yes
12236 file_list_spec_CXX='${wl}-f,'
12238 if test "$GXX" = yes; then
12239 case $host_os in aix4.[012]|aix4.[012].*)
12240 # We only want to do this on AIX 4.2 and lower, the check
12241 # below for broken collect2 doesn't work under 4.3+
12242 collect2name=`${CC} -print-prog-name=collect2`
12243 if test -f "$collect2name" &&
12244 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12245 then
12246 # We have reworked collect2
12248 else
12249 # We have old collect2
12250 hardcode_direct_CXX=unsupported
12251 # It fails to find uninstalled libraries when the uninstalled
12252 # path is not listed in the libpath. Setting hardcode_minus_L
12253 # to unsupported forces relinking
12254 hardcode_minus_L_CXX=yes
12255 hardcode_libdir_flag_spec_CXX='-L$libdir'
12256 hardcode_libdir_separator_CXX=
12258 esac
12259 shared_flag='-shared'
12260 if test "$aix_use_runtimelinking" = yes; then
12261 shared_flag="$shared_flag "'${wl}-G'
12263 else
12264 # not using gcc
12265 if test "$host_cpu" = ia64; then
12266 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12267 # chokes on -Wl,-G. The following line is correct:
12268 shared_flag='-G'
12269 else
12270 if test "$aix_use_runtimelinking" = yes; then
12271 shared_flag='${wl}-G'
12272 else
12273 shared_flag='${wl}-bM:SRE'
12278 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12279 # It seems that -bexpall does not export symbols beginning with
12280 # underscore (_), so it is better to generate a list of symbols to
12281 # export.
12282 always_export_symbols_CXX=yes
12283 if test "$aix_use_runtimelinking" = yes; then
12284 # Warning - without using the other runtime loading flags (-brtl),
12285 # -berok will link without error, but may produce a broken library.
12286 allow_undefined_flag_CXX='-berok'
12287 # Determine the default libpath from the value encoded in an empty
12288 # executable.
12289 if test x$gcc_no_link = xyes; then
12290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12296 main ()
12300 return 0;
12302 _ACEOF
12303 if ac_fn_cxx_try_link "$LINENO"; then :
12305 lt_aix_libpath_sed='
12306 /Import File Strings/,/^$/ {
12307 /^0/ {
12308 s/^0 *\(.*\)$/\1/
12312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12313 # Check for a 64-bit object if we didn't find anything.
12314 if test -z "$aix_libpath"; then
12315 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12322 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12324 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"
12325 else
12326 if test "$host_cpu" = ia64; then
12327 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12328 allow_undefined_flag_CXX="-z nodefs"
12329 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"
12330 else
12331 # Determine the default libpath from the value encoded in an
12332 # empty executable.
12333 if test x$gcc_no_link = xyes; then
12334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12340 main ()
12344 return 0;
12346 _ACEOF
12347 if ac_fn_cxx_try_link "$LINENO"; then :
12349 lt_aix_libpath_sed='
12350 /Import File Strings/,/^$/ {
12351 /^0/ {
12352 s/^0 *\(.*\)$/\1/
12356 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12357 # Check for a 64-bit object if we didn't find anything.
12358 if test -z "$aix_libpath"; then
12359 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12366 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12367 # Warning - without using the other run time loading flags,
12368 # -berok will link without error, but may produce a broken library.
12369 no_undefined_flag_CXX=' ${wl}-bernotok'
12370 allow_undefined_flag_CXX=' ${wl}-berok'
12371 if test "$with_gnu_ld" = yes; then
12372 # We only use this code for GNU lds that support --whole-archive.
12373 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12374 else
12375 # Exported symbols can be pulled into shared objects from archives
12376 whole_archive_flag_spec_CXX='$convenience'
12378 archive_cmds_need_lc_CXX=yes
12379 # This is similar to how AIX traditionally builds its shared
12380 # libraries.
12381 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'
12386 beos*)
12387 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12388 allow_undefined_flag_CXX=unsupported
12389 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12390 # support --undefined. This deserves some investigation. FIXME
12391 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12392 else
12393 ld_shlibs_CXX=no
12397 chorus*)
12398 case $cc_basename in
12400 # FIXME: insert proper C++ library support
12401 ld_shlibs_CXX=no
12403 esac
12406 cygwin* | mingw* | pw32* | cegcc*)
12407 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12408 # as there is no search path for DLLs.
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12411 allow_undefined_flag_CXX=unsupported
12412 always_export_symbols_CXX=no
12413 enable_shared_with_static_runtimes_CXX=yes
12415 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12416 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'
12417 # If the export-symbols file already is a .def file (1st line
12418 # is EXPORTS), use it as is; otherwise, prepend...
12419 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12420 cp $export_symbols $output_objdir/$soname.def;
12421 else
12422 echo EXPORTS > $output_objdir/$soname.def;
12423 cat $export_symbols >> $output_objdir/$soname.def;
12425 $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'
12426 else
12427 ld_shlibs_CXX=no
12430 darwin* | rhapsody*)
12433 archive_cmds_need_lc_CXX=no
12434 hardcode_direct_CXX=no
12435 hardcode_automatic_CXX=yes
12436 hardcode_shlibpath_var_CXX=unsupported
12437 if test "$lt_cv_ld_force_load" = "yes"; then
12438 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\"`'
12439 else
12440 whole_archive_flag_spec_CXX=''
12442 link_all_deplibs_CXX=yes
12443 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12444 case $cc_basename in
12445 ifort*) _lt_dar_can_shared=yes ;;
12446 *) _lt_dar_can_shared=$GCC ;;
12447 esac
12448 if test "$_lt_dar_can_shared" = "yes"; then
12449 output_verbose_link_cmd=func_echo_all
12450 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}"
12451 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12452 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}"
12453 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}"
12454 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12455 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}"
12456 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}"
12459 else
12460 ld_shlibs_CXX=no
12465 dgux*)
12466 case $cc_basename in
12467 ec++*)
12468 # FIXME: insert proper C++ library support
12469 ld_shlibs_CXX=no
12471 ghcx*)
12472 # Green Hills C++ Compiler
12473 # FIXME: insert proper C++ library support
12474 ld_shlibs_CXX=no
12477 # FIXME: insert proper C++ library support
12478 ld_shlibs_CXX=no
12480 esac
12483 freebsd[12]*)
12484 # C++ shared libraries reported to be fairly broken before
12485 # switch to ELF
12486 ld_shlibs_CXX=no
12489 freebsd-elf*)
12490 archive_cmds_need_lc_CXX=no
12493 freebsd* | dragonfly*)
12494 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12495 # conventions
12496 ld_shlibs_CXX=yes
12499 gnu*)
12502 haiku*)
12503 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12504 link_all_deplibs_CXX=yes
12507 hpux9*)
12508 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12509 hardcode_libdir_separator_CXX=:
12510 export_dynamic_flag_spec_CXX='${wl}-E'
12511 hardcode_direct_CXX=yes
12512 hardcode_minus_L_CXX=yes # Not in the search PATH,
12513 # but as the default
12514 # location of the library.
12516 case $cc_basename in
12517 CC*)
12518 # FIXME: insert proper C++ library support
12519 ld_shlibs_CXX=no
12521 aCC*)
12522 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'
12523 # Commands to make compiler produce verbose output that lists
12524 # what "hidden" libraries, object files and flags are used when
12525 # linking a shared library.
12527 # There doesn't appear to be a way to prevent this compiler from
12528 # explicitly linking system object files so we need to strip them
12529 # from the output so that they don't get included in the library
12530 # dependencies.
12531 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"'
12534 if test "$GXX" = yes; then
12535 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'
12536 else
12537 # FIXME: insert proper C++ library support
12538 ld_shlibs_CXX=no
12541 esac
12544 hpux10*|hpux11*)
12545 if test $with_gnu_ld = no; then
12546 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12547 hardcode_libdir_separator_CXX=:
12549 case $host_cpu in
12550 hppa*64*|ia64*)
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12555 esac
12557 case $host_cpu in
12558 hppa*64*|ia64*)
12559 hardcode_direct_CXX=no
12560 hardcode_shlibpath_var_CXX=no
12563 hardcode_direct_CXX=yes
12564 hardcode_direct_absolute_CXX=yes
12565 hardcode_minus_L_CXX=yes # Not in the search PATH,
12566 # but as the default
12567 # location of the library.
12569 esac
12571 case $cc_basename in
12572 CC*)
12573 # FIXME: insert proper C++ library support
12574 ld_shlibs_CXX=no
12576 aCC*)
12577 case $host_cpu in
12578 hppa*64*)
12579 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12581 ia64*)
12582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12587 esac
12588 # Commands to make compiler produce verbose output that lists
12589 # what "hidden" libraries, object files and flags are used when
12590 # linking a shared library.
12592 # There doesn't appear to be a way to prevent this compiler from
12593 # explicitly linking system object files so we need to strip them
12594 # from the output so that they don't get included in the library
12595 # dependencies.
12596 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"'
12599 if test "$GXX" = yes; then
12600 if test $with_gnu_ld = no; then
12601 case $host_cpu in
12602 hppa*64*)
12603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12605 ia64*)
12606 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12609 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'
12611 esac
12613 else
12614 # FIXME: insert proper C++ library support
12615 ld_shlibs_CXX=no
12618 esac
12621 interix[3-9]*)
12622 hardcode_direct_CXX=no
12623 hardcode_shlibpath_var_CXX=no
12624 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12625 export_dynamic_flag_spec_CXX='${wl}-E'
12626 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12627 # Instead, shared libraries are loaded at an image base (0x10000000 by
12628 # default) and relocated if they conflict, which is a slow very memory
12629 # consuming and fragmenting process. To avoid this, we pick a random,
12630 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12631 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12632 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'
12633 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'
12635 irix5* | irix6*)
12636 case $cc_basename in
12637 CC*)
12638 # SGI C++
12639 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'
12641 # Archives containing C++ object files must be created using
12642 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12643 # necessary to make sure instantiated templates are included
12644 # in the archive.
12645 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12648 if test "$GXX" = yes; then
12649 if test "$with_gnu_ld" = no; then
12650 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'
12651 else
12652 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'
12655 link_all_deplibs_CXX=yes
12657 esac
12658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12659 hardcode_libdir_separator_CXX=:
12660 inherit_rpath_CXX=yes
12663 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12664 case $cc_basename in
12665 KCC*)
12666 # Kuck and Associates, Inc. (KAI) C++ Compiler
12668 # KCC will only create a shared library if the output file
12669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12670 # to its proper name (with version) after linking.
12671 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'
12672 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'
12673 # Commands to make compiler produce verbose output that lists
12674 # what "hidden" libraries, object files and flags are used when
12675 # linking a shared library.
12677 # There doesn't appear to be a way to prevent this compiler from
12678 # explicitly linking system object files so we need to strip them
12679 # from the output so that they don't get included in the library
12680 # dependencies.
12681 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"'
12683 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12684 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12686 # Archives containing C++ object files must be created using
12687 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12688 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12690 icpc* | ecpc* )
12691 # Intel C++
12692 with_gnu_ld=yes
12693 # version 8.0 and above of icpc choke on multiply defined symbols
12694 # if we add $predep_objects and $postdep_objects, however 7.1 and
12695 # earlier do not add the objects themselves.
12696 case `$CC -V 2>&1` in
12697 *"Version 7."*)
12698 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12699 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'
12701 *) # Version 8.0 or newer
12702 tmp_idyn=
12703 case $host_cpu in
12704 ia64*) tmp_idyn=' -i_dynamic';;
12705 esac
12706 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12707 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'
12709 esac
12710 archive_cmds_need_lc_CXX=no
12711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12713 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12715 pgCC* | pgcpp*)
12716 # Portland Group C++ compiler
12717 case `$CC -V` in
12718 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12719 prelink_cmds_CXX='tpldir=Template.dir~
12720 rm -rf $tpldir~
12721 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12722 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12723 old_archive_cmds_CXX='tpldir=Template.dir~
12724 rm -rf $tpldir~
12725 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12726 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12727 $RANLIB $oldlib'
12728 archive_cmds_CXX='tpldir=Template.dir~
12729 rm -rf $tpldir~
12730 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12731 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12732 archive_expsym_cmds_CXX='tpldir=Template.dir~
12733 rm -rf $tpldir~
12734 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12735 $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'
12737 *) # Version 6 and above use weak symbols
12738 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12739 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'
12741 esac
12743 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12744 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12745 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'
12747 cxx*)
12748 # Compaq C++
12749 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 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'
12752 runpath_var=LD_RUN_PATH
12753 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12754 hardcode_libdir_separator_CXX=:
12756 # Commands to make compiler produce verbose output that lists
12757 # what "hidden" libraries, object files and flags are used when
12758 # linking a shared library.
12760 # There doesn't appear to be a way to prevent this compiler from
12761 # explicitly linking system object files so we need to strip them
12762 # from the output so that they don't get included in the library
12763 # dependencies.
12764 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'
12766 xl* | mpixl* | bgxl*)
12767 # IBM XL 8.0 on PPC, with GNU ld
12768 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12769 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771 if test "x$supports_anon_versioning" = xyes; then
12772 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12773 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12774 echo "local: *; };" >> $output_objdir/$libname.ver~
12775 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12779 case `$CC -V 2>&1 | sed 5q` in
12780 *Sun\ C*)
12781 # Sun C++ 5.9
12782 no_undefined_flag_CXX=' -zdefs'
12783 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12784 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'
12785 hardcode_libdir_flag_spec_CXX='-R$libdir'
12786 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'
12787 compiler_needs_object_CXX=yes
12789 # Not sure whether something based on
12790 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12791 # would be better.
12792 output_verbose_link_cmd='func_echo_all'
12794 # Archives containing C++ object files must be created using
12795 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12796 # necessary to make sure instantiated templates are included
12797 # in the archive.
12798 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12800 esac
12802 esac
12805 lynxos*)
12806 # FIXME: insert proper C++ library support
12807 ld_shlibs_CXX=no
12810 m88k*)
12811 # FIXME: insert proper C++ library support
12812 ld_shlibs_CXX=no
12815 mvs*)
12816 case $cc_basename in
12817 cxx*)
12818 # FIXME: insert proper C++ library support
12819 ld_shlibs_CXX=no
12822 # FIXME: insert proper C++ library support
12823 ld_shlibs_CXX=no
12825 esac
12828 netbsd*)
12829 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12830 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12831 wlarc=
12832 hardcode_libdir_flag_spec_CXX='-R$libdir'
12833 hardcode_direct_CXX=yes
12834 hardcode_shlibpath_var_CXX=no
12836 # Workaround some broken pre-1.5 toolchains
12837 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12840 *nto* | *qnx*)
12841 ld_shlibs_CXX=yes
12844 openbsd2*)
12845 # C++ shared libraries are fairly broken
12846 ld_shlibs_CXX=no
12849 openbsd*)
12850 if test -f /usr/libexec/ld.so; then
12851 hardcode_direct_CXX=yes
12852 hardcode_shlibpath_var_CXX=no
12853 hardcode_direct_absolute_CXX=yes
12854 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12855 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12856 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12857 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12858 export_dynamic_flag_spec_CXX='${wl}-E'
12859 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12861 output_verbose_link_cmd=func_echo_all
12862 else
12863 ld_shlibs_CXX=no
12867 osf3* | osf4* | osf5*)
12868 case $cc_basename in
12869 KCC*)
12870 # Kuck and Associates, Inc. (KAI) C++ Compiler
12872 # KCC will only create a shared library if the output file
12873 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12874 # to its proper name (with version) after linking.
12875 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'
12877 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878 hardcode_libdir_separator_CXX=:
12880 # Archives containing C++ object files must be created using
12881 # the KAI C++ compiler.
12882 case $host in
12883 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12884 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12885 esac
12887 RCC*)
12888 # Rational C++ 2.4.1
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12892 cxx*)
12893 case $host in
12894 osf3*)
12895 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12896 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'
12897 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12900 allow_undefined_flag_CXX=' -expect_unresolved \*'
12901 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'
12902 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12903 echo "-hidden">> $lib.exp~
12904 $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~
12905 $RM $lib.exp'
12906 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 esac
12910 hardcode_libdir_separator_CXX=:
12912 # Commands to make compiler produce verbose output that lists
12913 # what "hidden" libraries, object files and flags are used when
12914 # linking a shared library.
12916 # There doesn't appear to be a way to prevent this compiler from
12917 # explicitly linking system object files so we need to strip them
12918 # from the output so that they don't get included in the library
12919 # dependencies.
12920 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"'
12923 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12924 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12925 case $host in
12926 osf3*)
12927 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'
12930 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'
12932 esac
12934 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935 hardcode_libdir_separator_CXX=:
12937 # Commands to make compiler produce verbose output that lists
12938 # what "hidden" libraries, object files and flags are used when
12939 # linking a shared library.
12940 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12942 else
12943 # FIXME: insert proper C++ library support
12944 ld_shlibs_CXX=no
12947 esac
12950 psos*)
12951 # FIXME: insert proper C++ library support
12952 ld_shlibs_CXX=no
12955 sunos4*)
12956 case $cc_basename in
12957 CC*)
12958 # Sun C++ 4.x
12959 # FIXME: insert proper C++ library support
12960 ld_shlibs_CXX=no
12962 lcc*)
12963 # Lucid
12964 # FIXME: insert proper C++ library support
12965 ld_shlibs_CXX=no
12968 # FIXME: insert proper C++ library support
12969 ld_shlibs_CXX=no
12971 esac
12974 solaris*)
12975 case $cc_basename in
12976 CC*)
12977 # Sun C++ 4.2, 5.x and Centerline C++
12978 archive_cmds_need_lc_CXX=yes
12979 no_undefined_flag_CXX=' -zdefs'
12980 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12981 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12982 $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'
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_shlibpath_var_CXX=no
12986 case $host_os in
12987 solaris2.[0-5] | solaris2.[0-5].*) ;;
12989 # The compiler driver will combine and reorder linker options,
12990 # but understands `-z linker_flag'.
12991 # Supported since Solaris 2.6 (maybe 2.5.1?)
12992 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12994 esac
12995 link_all_deplibs_CXX=yes
12997 output_verbose_link_cmd='func_echo_all'
12999 # Archives containing C++ object files must be created using
13000 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13001 # necessary to make sure instantiated templates are included
13002 # in the archive.
13003 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13005 gcx*)
13006 # Green Hills C++ Compiler
13007 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13009 # The C++ compiler must be used to create the archive.
13010 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13013 # GNU C++ compiler with Solaris linker
13014 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13015 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13016 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13017 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13018 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13019 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13025 else
13026 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13027 # platform.
13028 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13029 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13030 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13032 # Commands to make compiler produce verbose output that lists
13033 # what "hidden" libraries, object files and flags are used when
13034 # linking a shared library.
13035 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13038 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13039 case $host_os in
13040 solaris2.[0-5] | solaris2.[0-5].*) ;;
13042 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13044 esac
13047 esac
13050 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13051 no_undefined_flag_CXX='${wl}-z,text'
13052 archive_cmds_need_lc_CXX=no
13053 hardcode_shlibpath_var_CXX=no
13054 runpath_var='LD_RUN_PATH'
13056 case $cc_basename in
13057 CC*)
13058 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13065 esac
13068 sysv5* | sco3.2v5* | sco5v6*)
13069 # Note: We can NOT use -z defs as we might desire, because we do not
13070 # link with -lc, and that would cause any symbols used from libc to
13071 # always be unresolved, which means just about no library would
13072 # ever link correctly. If we're not using GNU ld we use -z text
13073 # though, which does catch some bad symbols but isn't as heavy-handed
13074 # as -z defs.
13075 no_undefined_flag_CXX='${wl}-z,text'
13076 allow_undefined_flag_CXX='${wl}-z,nodefs'
13077 archive_cmds_need_lc_CXX=no
13078 hardcode_shlibpath_var_CXX=no
13079 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13080 hardcode_libdir_separator_CXX=':'
13081 link_all_deplibs_CXX=yes
13082 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13083 runpath_var='LD_RUN_PATH'
13085 case $cc_basename in
13086 CC*)
13087 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13090 '"$old_archive_cmds_CXX"
13091 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13092 '"$reload_cmds_CXX"
13095 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13098 esac
13101 tandem*)
13102 case $cc_basename in
13103 NCC*)
13104 # NonStop-UX NCC 3.20
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 # FIXME: insert proper C++ library support
13110 ld_shlibs_CXX=no
13112 esac
13115 vxworks*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13121 # FIXME: insert proper C++ library support
13122 ld_shlibs_CXX=no
13124 esac
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13127 $as_echo "$ld_shlibs_CXX" >&6; }
13128 test "$ld_shlibs_CXX" = no && can_build_shared=no
13130 GCC_CXX="$GXX"
13131 LD_CXX="$LD"
13133 ## CAVEAT EMPTOR:
13134 ## There is no encapsulation within the following macros, do not change
13135 ## the running order or otherwise move them around unless you know exactly
13136 ## what you are doing...
13137 # Dependencies to place before and after the object being linked:
13138 predep_objects_CXX=
13139 postdep_objects_CXX=
13140 predeps_CXX=
13141 postdeps_CXX=
13142 compiler_lib_search_path_CXX=
13144 cat > conftest.$ac_ext <<_LT_EOF
13145 class Foo
13147 public:
13148 Foo (void) { a = 0; }
13149 private:
13150 int a;
13152 _LT_EOF
13154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13155 (eval $ac_compile) 2>&5
13156 ac_status=$?
13157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158 test $ac_status = 0; }; then
13159 # Parse the compiler output and extract the necessary
13160 # objects, libraries and library flags.
13162 # Sentinel used to keep track of whether or not we are before
13163 # the conftest object file.
13164 pre_test_object_deps_done=no
13166 for p in `eval "$output_verbose_link_cmd"`; do
13167 case $p in
13169 -L* | -R* | -l*)
13170 # Some compilers place space between "-{L,R}" and the path.
13171 # Remove the space.
13172 if test $p = "-L" ||
13173 test $p = "-R"; then
13174 prev=$p
13175 continue
13176 else
13177 prev=
13180 if test "$pre_test_object_deps_done" = no; then
13181 case $p in
13182 -L* | -R*)
13183 # Internal compiler library paths should come after those
13184 # provided the user. The postdeps already come after the
13185 # user supplied libs so there is no need to process them.
13186 if test -z "$compiler_lib_search_path_CXX"; then
13187 compiler_lib_search_path_CXX="${prev}${p}"
13188 else
13189 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13192 # The "-l" case would never come before the object being
13193 # linked, so don't bother handling this case.
13194 esac
13195 else
13196 if test -z "$postdeps_CXX"; then
13197 postdeps_CXX="${prev}${p}"
13198 else
13199 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13204 *.$objext)
13205 # This assumes that the test object file only shows up
13206 # once in the compiler output.
13207 if test "$p" = "conftest.$objext"; then
13208 pre_test_object_deps_done=yes
13209 continue
13212 if test "$pre_test_object_deps_done" = no; then
13213 if test -z "$predep_objects_CXX"; then
13214 predep_objects_CXX="$p"
13215 else
13216 predep_objects_CXX="$predep_objects_CXX $p"
13218 else
13219 if test -z "$postdep_objects_CXX"; then
13220 postdep_objects_CXX="$p"
13221 else
13222 postdep_objects_CXX="$postdep_objects_CXX $p"
13227 *) ;; # Ignore the rest.
13229 esac
13230 done
13232 # Clean up.
13233 rm -f a.out a.exe
13234 else
13235 echo "libtool.m4: error: problem compiling CXX test program"
13238 $RM -f confest.$objext
13240 # PORTME: override above test on systems where it is broken
13241 case $host_os in
13242 interix[3-9]*)
13243 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13244 # hack all around it, let's just trust "g++" to DTRT.
13245 predep_objects_CXX=
13246 postdep_objects_CXX=
13247 postdeps_CXX=
13250 linux*)
13251 case `$CC -V 2>&1 | sed 5q` in
13252 *Sun\ C*)
13253 # Sun C++ 5.9
13255 # The more standards-conforming stlport4 library is
13256 # incompatible with the Cstd library. Avoid specifying
13257 # it if it's in CXXFLAGS. Ignore libCrun as
13258 # -library=stlport4 depends on it.
13259 case " $CXX $CXXFLAGS " in
13260 *" -library=stlport4 "*)
13261 solaris_use_stlport4=yes
13263 esac
13265 if test "$solaris_use_stlport4" != yes; then
13266 postdeps_CXX='-library=Cstd -library=Crun'
13269 esac
13272 solaris*)
13273 case $cc_basename in
13274 CC*)
13275 # The more standards-conforming stlport4 library is
13276 # incompatible with the Cstd library. Avoid specifying
13277 # it if it's in CXXFLAGS. Ignore libCrun as
13278 # -library=stlport4 depends on it.
13279 case " $CXX $CXXFLAGS " in
13280 *" -library=stlport4 "*)
13281 solaris_use_stlport4=yes
13283 esac
13285 # Adding this requires a known-good setup of shared libraries for
13286 # Sun compiler versions before 5.6, else PIC objects from an old
13287 # archive will be linked into the output, leading to subtle bugs.
13288 if test "$solaris_use_stlport4" != yes; then
13289 postdeps_CXX='-library=Cstd -library=Crun'
13292 esac
13294 esac
13297 case " $postdeps_CXX " in
13298 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13299 esac
13300 compiler_lib_search_dirs_CXX=
13301 if test -n "${compiler_lib_search_path_CXX}"; then
13302 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13335 lt_prog_compiler_wl_CXX=
13336 lt_prog_compiler_pic_CXX=
13337 lt_prog_compiler_static_CXX=
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13340 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13342 # C++ specific cases for pic, static, wl, etc.
13343 if test "$GXX" = yes; then
13344 lt_prog_compiler_wl_CXX='-Wl,'
13345 lt_prog_compiler_static_CXX='-static'
13347 case $host_os in
13348 aix*)
13349 # All AIX code is PIC.
13350 if test "$host_cpu" = ia64; then
13351 # AIX 5 now supports IA64 processor
13352 lt_prog_compiler_static_CXX='-Bstatic'
13356 amigaos*)
13357 case $host_cpu in
13358 powerpc)
13359 # see comment about AmigaOS4 .so support
13360 lt_prog_compiler_pic_CXX='-fPIC'
13362 m68k)
13363 # FIXME: we need at least 68020 code to build shared libraries, but
13364 # adding the `-m68020' flag to GCC prevents building anything better,
13365 # like `-m68040'.
13366 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13368 esac
13371 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13372 # PIC is the default for these OSes.
13374 mingw* | cygwin* | os2* | pw32* | cegcc*)
13375 # This hack is so that the source file can tell whether it is being
13376 # built for inclusion in a dll (and should export symbols for example).
13377 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13378 # (--disable-auto-import) libraries
13379 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13381 darwin* | rhapsody*)
13382 # PIC is the default on this platform
13383 # Common symbols not allowed in MH_DYLIB files
13384 lt_prog_compiler_pic_CXX='-fno-common'
13386 *djgpp*)
13387 # DJGPP does not support shared libraries at all
13388 lt_prog_compiler_pic_CXX=
13390 haiku*)
13391 # PIC is the default for Haiku.
13392 # The "-static" flag exists, but is broken.
13393 lt_prog_compiler_static_CXX=
13395 interix[3-9]*)
13396 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13397 # Instead, we relocate shared libraries at runtime.
13399 sysv4*MP*)
13400 if test -d /usr/nec; then
13401 lt_prog_compiler_pic_CXX=-Kconform_pic
13404 hpux*)
13405 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13406 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13407 # sets the default TLS model and affects inlining.
13408 case $host_cpu in
13409 hppa*64*)
13412 lt_prog_compiler_pic_CXX='-fPIC'
13414 esac
13416 *qnx* | *nto*)
13417 # QNX uses GNU C++, but need to define -shared option too, otherwise
13418 # it will coredump.
13419 lt_prog_compiler_pic_CXX='-fPIC -shared'
13422 lt_prog_compiler_pic_CXX='-fPIC'
13424 esac
13425 else
13426 case $host_os in
13427 aix[4-9]*)
13428 # All AIX code is PIC.
13429 if test "$host_cpu" = ia64; then
13430 # AIX 5 now supports IA64 processor
13431 lt_prog_compiler_static_CXX='-Bstatic'
13432 else
13433 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13436 chorus*)
13437 case $cc_basename in
13438 cxch68*)
13439 # Green Hills C++ Compiler
13440 # _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"
13442 esac
13444 dgux*)
13445 case $cc_basename in
13446 ec++*)
13447 lt_prog_compiler_pic_CXX='-KPIC'
13449 ghcx*)
13450 # Green Hills C++ Compiler
13451 lt_prog_compiler_pic_CXX='-pic'
13455 esac
13457 freebsd* | dragonfly*)
13458 # FreeBSD uses GNU C++
13460 hpux9* | hpux10* | hpux11*)
13461 case $cc_basename in
13462 CC*)
13463 lt_prog_compiler_wl_CXX='-Wl,'
13464 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13465 if test "$host_cpu" != ia64; then
13466 lt_prog_compiler_pic_CXX='+Z'
13469 aCC*)
13470 lt_prog_compiler_wl_CXX='-Wl,'
13471 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13472 case $host_cpu in
13473 hppa*64*|ia64*)
13474 # +Z the default
13477 lt_prog_compiler_pic_CXX='+Z'
13479 esac
13483 esac
13485 interix*)
13486 # This is c89, which is MS Visual C++ (no shared libs)
13487 # Anyone wants to do a port?
13489 irix5* | irix6* | nonstopux*)
13490 case $cc_basename in
13491 CC*)
13492 lt_prog_compiler_wl_CXX='-Wl,'
13493 lt_prog_compiler_static_CXX='-non_shared'
13494 # CC pic flag -KPIC is the default.
13498 esac
13500 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13501 case $cc_basename in
13502 KCC*)
13503 # KAI C++ Compiler
13504 lt_prog_compiler_wl_CXX='--backend -Wl,'
13505 lt_prog_compiler_pic_CXX='-fPIC'
13507 ecpc* )
13508 # old Intel C++ for x86_64 which still supported -KPIC.
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_pic_CXX='-KPIC'
13511 lt_prog_compiler_static_CXX='-static'
13513 icpc* )
13514 # Intel C++, used to be incompatible with GCC.
13515 # ICC 10 doesn't accept -KPIC any more.
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13518 lt_prog_compiler_static_CXX='-static'
13520 pgCC* | pgcpp*)
13521 # Portland Group C++ compiler
13522 lt_prog_compiler_wl_CXX='-Wl,'
13523 lt_prog_compiler_pic_CXX='-fpic'
13524 lt_prog_compiler_static_CXX='-Bstatic'
13526 cxx*)
13527 # Compaq C++
13528 # Make sure the PIC flag is empty. It appears that all Alpha
13529 # Linux and Compaq Tru64 Unix objects are PIC.
13530 lt_prog_compiler_pic_CXX=
13531 lt_prog_compiler_static_CXX='-non_shared'
13533 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13534 # IBM XL 8.0, 9.0 on PPC and BlueGene
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_pic_CXX='-qpic'
13537 lt_prog_compiler_static_CXX='-qstaticlink'
13540 case `$CC -V 2>&1 | sed 5q` in
13541 *Sun\ C*)
13542 # Sun C++ 5.9
13543 lt_prog_compiler_pic_CXX='-KPIC'
13544 lt_prog_compiler_static_CXX='-Bstatic'
13545 lt_prog_compiler_wl_CXX='-Qoption ld '
13547 esac
13549 esac
13551 lynxos*)
13553 m88k*)
13555 mvs*)
13556 case $cc_basename in
13557 cxx*)
13558 lt_prog_compiler_pic_CXX='-W c,exportall'
13562 esac
13564 netbsd*)
13566 *qnx* | *nto*)
13567 # QNX uses GNU C++, but need to define -shared option too, otherwise
13568 # it will coredump.
13569 lt_prog_compiler_pic_CXX='-fPIC -shared'
13571 osf3* | osf4* | osf5*)
13572 case $cc_basename in
13573 KCC*)
13574 lt_prog_compiler_wl_CXX='--backend -Wl,'
13576 RCC*)
13577 # Rational C++ 2.4.1
13578 lt_prog_compiler_pic_CXX='-pic'
13580 cxx*)
13581 # Digital/Compaq C++
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 # Make sure the PIC flag is empty. It appears that all Alpha
13584 # Linux and Compaq Tru64 Unix objects are PIC.
13585 lt_prog_compiler_pic_CXX=
13586 lt_prog_compiler_static_CXX='-non_shared'
13590 esac
13592 psos*)
13594 solaris*)
13595 case $cc_basename in
13596 CC*)
13597 # Sun C++ 4.2, 5.x and Centerline C++
13598 lt_prog_compiler_pic_CXX='-KPIC'
13599 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_wl_CXX='-Qoption ld '
13602 gcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-PIC'
13608 esac
13610 sunos4*)
13611 case $cc_basename in
13612 CC*)
13613 # Sun C++ 4.x
13614 lt_prog_compiler_pic_CXX='-pic'
13615 lt_prog_compiler_static_CXX='-Bstatic'
13617 lcc*)
13618 # Lucid
13619 lt_prog_compiler_pic_CXX='-pic'
13623 esac
13625 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13626 case $cc_basename in
13627 CC*)
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 lt_prog_compiler_pic_CXX='-KPIC'
13630 lt_prog_compiler_static_CXX='-Bstatic'
13632 esac
13634 tandem*)
13635 case $cc_basename in
13636 NCC*)
13637 # NonStop-UX NCC 3.20
13638 lt_prog_compiler_pic_CXX='-KPIC'
13642 esac
13644 vxworks*)
13647 lt_prog_compiler_can_build_shared_CXX=no
13649 esac
13652 case $host_os in
13653 # For platforms which do not support PIC, -DPIC is meaningless:
13654 *djgpp*)
13655 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13660 esac
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13662 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13667 # Check to make sure the PIC flag actually works.
13669 if test -n "$lt_prog_compiler_pic_CXX"; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13671 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13672 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13673 $as_echo_n "(cached) " >&6
13674 else
13675 lt_cv_prog_compiler_pic_works_CXX=no
13676 ac_outfile=conftest.$ac_objext
13677 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13678 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13679 # Insert the option either (1) after the last *FLAGS variable, or
13680 # (2) before a word containing "conftest.", or (3) at the end.
13681 # Note that $ac_compile itself does not contain backslashes and begins
13682 # with a dollar sign (not a hyphen), so the echo should work correctly.
13683 # The option is referenced via a variable to avoid confusing sed.
13684 lt_compile=`echo "$ac_compile" | $SED \
13685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687 -e 's:$: $lt_compiler_flag:'`
13688 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13689 (eval "$lt_compile" 2>conftest.err)
13690 ac_status=$?
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 if (exit $ac_status) && test -s "$ac_outfile"; then
13694 # The compiler can only warn and ignore the option if not recognized
13695 # So say no if there are warnings other than the usual output.
13696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13698 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13699 lt_cv_prog_compiler_pic_works_CXX=yes
13702 $RM conftest*
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13706 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13708 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13709 case $lt_prog_compiler_pic_CXX in
13710 "" | " "*) ;;
13711 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13712 esac
13713 else
13714 lt_prog_compiler_pic_CXX=
13715 lt_prog_compiler_can_build_shared_CXX=no
13723 # Check to make sure the static flag actually works.
13725 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13728 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 lt_cv_prog_compiler_static_works_CXX=no
13732 save_LDFLAGS="$LDFLAGS"
13733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13734 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13736 # The linker can only warn and ignore the option if not recognized
13737 # So say no if there are warnings
13738 if test -s conftest.err; then
13739 # Append any errors to the config.log.
13740 cat conftest.err 1>&5
13741 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743 if diff conftest.exp conftest.er2 >/dev/null; then
13744 lt_cv_prog_compiler_static_works_CXX=yes
13746 else
13747 lt_cv_prog_compiler_static_works_CXX=yes
13750 $RM -r conftest*
13751 LDFLAGS="$save_LDFLAGS"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13755 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13757 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13759 else
13760 lt_prog_compiler_static_CXX=
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13768 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 lt_cv_prog_compiler_c_o_CXX=no
13772 $RM -r conftest 2>/dev/null
13773 mkdir conftest
13774 cd conftest
13775 mkdir out
13776 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13778 lt_compiler_flag="-o out/conftest2.$ac_objext"
13779 # Insert the option either (1) after the last *FLAGS variable, or
13780 # (2) before a word containing "conftest.", or (3) at the end.
13781 # Note that $ac_compile itself does not contain backslashes and begins
13782 # with a dollar sign (not a hyphen), so the echo should work correctly.
13783 lt_compile=`echo "$ac_compile" | $SED \
13784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13786 -e 's:$: $lt_compiler_flag:'`
13787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13788 (eval "$lt_compile" 2>out/conftest.err)
13789 ac_status=$?
13790 cat out/conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13793 then
13794 # The compiler can only warn and ignore the option if not recognized
13795 # So say no if there are warnings
13796 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13797 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13798 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13799 lt_cv_prog_compiler_c_o_CXX=yes
13802 chmod u+w . 2>&5
13803 $RM conftest*
13804 # SGI C++ compiler will create directory out/ii_files/ for
13805 # template instantiation
13806 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13807 $RM out/* && rmdir out
13808 cd ..
13809 $RM -r conftest
13810 $RM conftest*
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13814 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13819 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13820 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 lt_cv_prog_compiler_c_o_CXX=no
13824 $RM -r conftest 2>/dev/null
13825 mkdir conftest
13826 cd conftest
13827 mkdir out
13828 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13830 lt_compiler_flag="-o out/conftest2.$ac_objext"
13831 # Insert the option either (1) after the last *FLAGS variable, or
13832 # (2) before a word containing "conftest.", or (3) at the end.
13833 # Note that $ac_compile itself does not contain backslashes and begins
13834 # with a dollar sign (not a hyphen), so the echo should work correctly.
13835 lt_compile=`echo "$ac_compile" | $SED \
13836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13838 -e 's:$: $lt_compiler_flag:'`
13839 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13840 (eval "$lt_compile" 2>out/conftest.err)
13841 ac_status=$?
13842 cat out/conftest.err >&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13845 then
13846 # The compiler can only warn and ignore the option if not recognized
13847 # So say no if there are warnings
13848 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13849 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13850 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13851 lt_cv_prog_compiler_c_o_CXX=yes
13854 chmod u+w . 2>&5
13855 $RM conftest*
13856 # SGI C++ compiler will create directory out/ii_files/ for
13857 # template instantiation
13858 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13859 $RM out/* && rmdir out
13860 cd ..
13861 $RM -r conftest
13862 $RM conftest*
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13866 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13871 hard_links="nottested"
13872 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13873 # do not overwrite the value of need_locks provided by the user
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13875 $as_echo_n "checking if we can lock with hard links... " >&6; }
13876 hard_links=yes
13877 $RM conftest*
13878 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13879 touch conftest.a
13880 ln conftest.a conftest.b 2>&5 || hard_links=no
13881 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13883 $as_echo "$hard_links" >&6; }
13884 if test "$hard_links" = no; then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13886 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13887 need_locks=warn
13889 else
13890 need_locks=no
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13896 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13898 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13899 case $host_os in
13900 aix[4-9]*)
13901 # If we're using GNU nm, then we don't want the "-C" option.
13902 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13903 # Also, AIX nm treats weak defined symbols like other global defined
13904 # symbols, whereas GNU nm marks them as "W".
13905 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13906 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'
13907 else
13908 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'
13911 pw32*)
13912 export_symbols_cmds_CXX="$ltdll_cmds"
13914 cygwin* | mingw* | cegcc*)
13915 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'
13918 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13920 esac
13921 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13924 $as_echo "$ld_shlibs_CXX" >&6; }
13925 test "$ld_shlibs_CXX" = no && can_build_shared=no
13927 with_gnu_ld_CXX=$with_gnu_ld
13935 # Do we need to explicitly link libc?
13937 case "x$archive_cmds_need_lc_CXX" in
13938 x|xyes)
13939 # Assume -lc should be added
13940 archive_cmds_need_lc_CXX=yes
13942 if test "$enable_shared" = yes && test "$GCC" = yes; then
13943 case $archive_cmds_CXX in
13944 *'~'*)
13945 # FIXME: we may have to deal with multi-command sequences.
13947 '$CC '*)
13948 # Test whether the compiler implicitly links with -lc since on some
13949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13950 # to ld, don't add -lc before -lgcc.
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13953 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13954 $as_echo_n "(cached) " >&6
13955 else
13956 $RM conftest*
13957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13960 (eval $ac_compile) 2>&5
13961 ac_status=$?
13962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13963 test $ac_status = 0; } 2>conftest.err; then
13964 soname=conftest
13965 lib=conftest
13966 libobjs=conftest.$ac_objext
13967 deplibs=
13968 wl=$lt_prog_compiler_wl_CXX
13969 pic_flag=$lt_prog_compiler_pic_CXX
13970 compiler_flags=-v
13971 linker_flags=-v
13972 verstring=
13973 output_objdir=.
13974 libname=conftest
13975 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13976 allow_undefined_flag_CXX=
13977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13978 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13979 ac_status=$?
13980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981 test $ac_status = 0; }
13982 then
13983 lt_cv_archive_cmds_need_lc_CXX=no
13984 else
13985 lt_cv_archive_cmds_need_lc_CXX=yes
13987 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13988 else
13989 cat conftest.err 1>&5
13991 $RM conftest*
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13995 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13996 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13998 esac
14001 esac
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14067 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14069 library_names_spec=
14070 libname_spec='lib$name'
14071 soname_spec=
14072 shrext_cmds=".so"
14073 postinstall_cmds=
14074 postuninstall_cmds=
14075 finish_cmds=
14076 finish_eval=
14077 shlibpath_var=
14078 shlibpath_overrides_runpath=unknown
14079 version_type=none
14080 dynamic_linker="$host_os ld.so"
14081 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14082 need_lib_prefix=unknown
14083 hardcode_into_libs=no
14085 # when you set need_version to no, make sure it does not cause -set_version
14086 # flags to be left without arguments
14087 need_version=unknown
14089 case $host_os in
14090 aix3*)
14091 version_type=linux
14092 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14093 shlibpath_var=LIBPATH
14095 # AIX 3 has no versioning support, so we append a major version to the name.
14096 soname_spec='${libname}${release}${shared_ext}$major'
14099 aix[4-9]*)
14100 version_type=linux
14101 need_lib_prefix=no
14102 need_version=no
14103 hardcode_into_libs=yes
14104 if test "$host_cpu" = ia64; then
14105 # AIX 5 supports IA64
14106 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14107 shlibpath_var=LD_LIBRARY_PATH
14108 else
14109 # With GCC up to 2.95.x, collect2 would create an import file
14110 # for dependence libraries. The import file would start with
14111 # the line `#! .'. This would cause the generated library to
14112 # depend on `.', always an invalid library. This was fixed in
14113 # development snapshots of GCC prior to 3.0.
14114 case $host_os in
14115 aix4 | aix4.[01] | aix4.[01].*)
14116 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14117 echo ' yes '
14118 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14120 else
14121 can_build_shared=no
14124 esac
14125 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14126 # soname into executable. Probably we can add versioning support to
14127 # collect2, so additional links can be useful in future.
14128 if test "$aix_use_runtimelinking" = yes; then
14129 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14130 # instead of lib<name>.a to let people know that these are not
14131 # typical AIX shared libraries.
14132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14133 else
14134 # We preserve .a as extension for shared libraries through AIX4.2
14135 # and later when we are not doing run time linking.
14136 library_names_spec='${libname}${release}.a $libname.a'
14137 soname_spec='${libname}${release}${shared_ext}$major'
14139 shlibpath_var=LIBPATH
14143 amigaos*)
14144 case $host_cpu in
14145 powerpc)
14146 # Since July 2007 AmigaOS4 officially supports .so libraries.
14147 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14150 m68k)
14151 library_names_spec='$libname.ixlibrary $libname.a'
14152 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14153 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'
14155 esac
14158 beos*)
14159 library_names_spec='${libname}${shared_ext}'
14160 dynamic_linker="$host_os ld.so"
14161 shlibpath_var=LIBRARY_PATH
14164 bsdi[45]*)
14165 version_type=linux
14166 need_version=no
14167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14170 shlibpath_var=LD_LIBRARY_PATH
14171 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14172 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14173 # the default ld.so.conf also contains /usr/contrib/lib and
14174 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14175 # libtool to hard-code these into programs
14178 cygwin* | mingw* | pw32* | cegcc*)
14179 version_type=windows
14180 shrext_cmds=".dll"
14181 need_version=no
14182 need_lib_prefix=no
14184 case $GCC,$host_os in
14185 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14186 library_names_spec='$libname.dll.a'
14187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14188 postinstall_cmds='base_file=`basename \${file}`~
14189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14190 dldir=$destdir/`dirname \$dlpath`~
14191 test -d \$dldir || mkdir -p \$dldir~
14192 $install_prog $dir/$dlname \$dldir/$dlname~
14193 chmod a+x \$dldir/$dlname~
14194 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14195 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14197 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14198 dlpath=$dir/\$dldll~
14199 $RM \$dlpath'
14200 shlibpath_overrides_runpath=yes
14202 case $host_os in
14203 cygwin*)
14204 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14205 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14208 mingw* | cegcc*)
14209 # MinGW DLLs use traditional 'lib' prefix
14210 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14212 pw32*)
14213 # pw32 DLLs use 'pw' prefix rather than 'lib'
14214 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14216 esac
14220 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14222 esac
14223 dynamic_linker='Win32 ld.exe'
14224 # FIXME: first we should search . and the directory the executable is in
14225 shlibpath_var=PATH
14228 darwin* | rhapsody*)
14229 dynamic_linker="$host_os dyld"
14230 version_type=darwin
14231 need_lib_prefix=no
14232 need_version=no
14233 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14234 soname_spec='${libname}${release}${major}$shared_ext'
14235 shlibpath_overrides_runpath=yes
14236 shlibpath_var=DYLD_LIBRARY_PATH
14237 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14239 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14242 dgux*)
14243 version_type=linux
14244 need_lib_prefix=no
14245 need_version=no
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14247 soname_spec='${libname}${release}${shared_ext}$major'
14248 shlibpath_var=LD_LIBRARY_PATH
14251 freebsd1*)
14252 dynamic_linker=no
14255 freebsd* | dragonfly*)
14256 # DragonFly does not have aout. When/if they implement a new
14257 # versioning mechanism, adjust this.
14258 if test -x /usr/bin/objformat; then
14259 objformat=`/usr/bin/objformat`
14260 else
14261 case $host_os in
14262 freebsd[123]*) objformat=aout ;;
14263 *) objformat=elf ;;
14264 esac
14266 version_type=freebsd-$objformat
14267 case $version_type in
14268 freebsd-elf*)
14269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14270 need_version=no
14271 need_lib_prefix=no
14273 freebsd-*)
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14275 need_version=yes
14277 esac
14278 shlibpath_var=LD_LIBRARY_PATH
14279 case $host_os in
14280 freebsd2*)
14281 shlibpath_overrides_runpath=yes
14283 freebsd3.[01]* | freebsdelf3.[01]*)
14284 shlibpath_overrides_runpath=yes
14285 hardcode_into_libs=yes
14287 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14288 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14289 shlibpath_overrides_runpath=no
14290 hardcode_into_libs=yes
14292 *) # from 4.6 on, and DragonFly
14293 shlibpath_overrides_runpath=yes
14294 hardcode_into_libs=yes
14296 esac
14299 gnu*)
14300 version_type=linux
14301 need_lib_prefix=no
14302 need_version=no
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LD_LIBRARY_PATH
14306 hardcode_into_libs=yes
14309 haiku*)
14310 version_type=linux
14311 need_lib_prefix=no
14312 need_version=no
14313 dynamic_linker="$host_os runtime_loader"
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14315 soname_spec='${libname}${release}${shared_ext}$major'
14316 shlibpath_var=LIBRARY_PATH
14317 shlibpath_overrides_runpath=yes
14318 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14319 hardcode_into_libs=yes
14322 hpux9* | hpux10* | hpux11*)
14323 # Give a soname corresponding to the major version so that dld.sl refuses to
14324 # link against other versions.
14325 version_type=sunos
14326 need_lib_prefix=no
14327 need_version=no
14328 case $host_cpu in
14329 ia64*)
14330 shrext_cmds='.so'
14331 hardcode_into_libs=yes
14332 dynamic_linker="$host_os dld.so"
14333 shlibpath_var=LD_LIBRARY_PATH
14334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14336 soname_spec='${libname}${release}${shared_ext}$major'
14337 if test "X$HPUX_IA64_MODE" = X32; then
14338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14339 else
14340 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14344 hppa*64*)
14345 shrext_cmds='.sl'
14346 hardcode_into_libs=yes
14347 dynamic_linker="$host_os dld.sl"
14348 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14352 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14356 shrext_cmds='.sl'
14357 dynamic_linker="$host_os dld.sl"
14358 shlibpath_var=SHLIB_PATH
14359 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361 soname_spec='${libname}${release}${shared_ext}$major'
14363 esac
14364 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14365 postinstall_cmds='chmod 555 $lib'
14366 # or fails outright, so override atomically:
14367 install_override_mode=555
14370 interix[3-9]*)
14371 version_type=linux
14372 need_lib_prefix=no
14373 need_version=no
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14377 shlibpath_var=LD_LIBRARY_PATH
14378 shlibpath_overrides_runpath=no
14379 hardcode_into_libs=yes
14382 irix5* | irix6* | nonstopux*)
14383 case $host_os in
14384 nonstopux*) version_type=nonstopux ;;
14386 if test "$lt_cv_prog_gnu_ld" = yes; then
14387 version_type=linux
14388 else
14389 version_type=irix
14390 fi ;;
14391 esac
14392 need_lib_prefix=no
14393 need_version=no
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14396 case $host_os in
14397 irix5* | nonstopux*)
14398 libsuff= shlibsuff=
14401 case $LD in # libtool.m4 will add one of these switches to LD
14402 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14403 libsuff= shlibsuff= libmagic=32-bit;;
14404 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14405 libsuff=32 shlibsuff=N32 libmagic=N32;;
14406 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14407 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14408 *) libsuff= shlibsuff= libmagic=never-match;;
14409 esac
14411 esac
14412 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14413 shlibpath_overrides_runpath=no
14414 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14415 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14416 hardcode_into_libs=yes
14419 # No shared lib support for Linux oldld, aout, or coff.
14420 linux*oldld* | linux*aout* | linux*coff*)
14421 dynamic_linker=no
14424 # This must be Linux ELF.
14425 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14426 version_type=linux
14427 need_lib_prefix=no
14428 need_version=no
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14432 shlibpath_var=LD_LIBRARY_PATH
14433 shlibpath_overrides_runpath=no
14435 # Some binutils ld are patched to set DT_RUNPATH
14436 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 lt_cv_shlibpath_overrides_runpath=no
14440 save_LDFLAGS=$LDFLAGS
14441 save_libdir=$libdir
14442 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14443 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14444 if test x$gcc_no_link = xyes; then
14445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14451 main ()
14455 return 0;
14457 _ACEOF
14458 if ac_fn_cxx_try_link "$LINENO"; then :
14459 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14460 lt_cv_shlibpath_overrides_runpath=yes
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 LDFLAGS=$save_LDFLAGS
14466 libdir=$save_libdir
14470 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14472 # This implies no fast_install, which is unacceptable.
14473 # Some rework will be needed to allow for fast_install
14474 # before this can be enabled.
14475 hardcode_into_libs=yes
14477 # Append ld.so.conf contents to the search path
14478 if test -f /etc/ld.so.conf; then
14479 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' ' '`
14480 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14483 # We used to test for /lib/ld.so.1 and disable shared libraries on
14484 # powerpc, because MkLinux only supported shared libraries with the
14485 # GNU dynamic linker. Since this was broken with cross compilers,
14486 # most powerpc-linux boxes support dynamic linking these days and
14487 # people can always --disable-shared, the test was removed, and we
14488 # assume the GNU/Linux dynamic linker is in use.
14489 dynamic_linker='GNU/Linux ld.so'
14492 netbsd*)
14493 version_type=sunos
14494 need_lib_prefix=no
14495 need_version=no
14496 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14498 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14499 dynamic_linker='NetBSD (a.out) ld.so'
14500 else
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 dynamic_linker='NetBSD ld.elf_so'
14505 shlibpath_var=LD_LIBRARY_PATH
14506 shlibpath_overrides_runpath=yes
14507 hardcode_into_libs=yes
14510 newsos6)
14511 version_type=linux
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=yes
14517 *nto* | *qnx*)
14518 version_type=qnx
14519 need_lib_prefix=no
14520 need_version=no
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14523 shlibpath_var=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath=no
14525 hardcode_into_libs=yes
14526 dynamic_linker='ldqnx.so'
14529 openbsd*)
14530 version_type=sunos
14531 sys_lib_dlsearch_path_spec="/usr/lib"
14532 need_lib_prefix=no
14533 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14534 case $host_os in
14535 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14536 *) need_version=no ;;
14537 esac
14538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14539 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14540 shlibpath_var=LD_LIBRARY_PATH
14541 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14542 case $host_os in
14543 openbsd2.[89] | openbsd2.[89].*)
14544 shlibpath_overrides_runpath=no
14547 shlibpath_overrides_runpath=yes
14549 esac
14550 else
14551 shlibpath_overrides_runpath=yes
14555 os2*)
14556 libname_spec='$name'
14557 shrext_cmds=".dll"
14558 need_lib_prefix=no
14559 library_names_spec='$libname${shared_ext} $libname.a'
14560 dynamic_linker='OS/2 ld.exe'
14561 shlibpath_var=LIBPATH
14564 osf3* | osf4* | osf5*)
14565 version_type=osf
14566 need_lib_prefix=no
14567 need_version=no
14568 soname_spec='${libname}${release}${shared_ext}$major'
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570 shlibpath_var=LD_LIBRARY_PATH
14571 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14572 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14575 rdos*)
14576 dynamic_linker=no
14579 solaris*)
14580 version_type=linux
14581 need_lib_prefix=no
14582 need_version=no
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14584 soname_spec='${libname}${release}${shared_ext}$major'
14585 shlibpath_var=LD_LIBRARY_PATH
14586 shlibpath_overrides_runpath=yes
14587 hardcode_into_libs=yes
14588 # ldd complains unless libraries are executable
14589 postinstall_cmds='chmod +x $lib'
14592 sunos4*)
14593 version_type=sunos
14594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14595 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14596 shlibpath_var=LD_LIBRARY_PATH
14597 shlibpath_overrides_runpath=yes
14598 if test "$with_gnu_ld" = yes; then
14599 need_lib_prefix=no
14601 need_version=yes
14604 sysv4 | sysv4.3*)
14605 version_type=linux
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 case $host_vendor in
14610 sni)
14611 shlibpath_overrides_runpath=no
14612 need_lib_prefix=no
14613 runpath_var=LD_RUN_PATH
14615 siemens)
14616 need_lib_prefix=no
14618 motorola)
14619 need_lib_prefix=no
14620 need_version=no
14621 shlibpath_overrides_runpath=no
14622 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14624 esac
14627 sysv4*MP*)
14628 if test -d /usr/nec ;then
14629 version_type=linux
14630 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14631 soname_spec='$libname${shared_ext}.$major'
14632 shlibpath_var=LD_LIBRARY_PATH
14636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14637 version_type=freebsd-elf
14638 need_lib_prefix=no
14639 need_version=no
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14641 soname_spec='${libname}${release}${shared_ext}$major'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=yes
14644 hardcode_into_libs=yes
14645 if test "$with_gnu_ld" = yes; then
14646 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14647 else
14648 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14649 case $host_os in
14650 sco3.2v5*)
14651 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14653 esac
14655 sys_lib_dlsearch_path_spec='/usr/lib'
14658 tpf*)
14659 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14660 version_type=linux
14661 need_lib_prefix=no
14662 need_version=no
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=no
14666 hardcode_into_libs=yes
14669 uts4*)
14670 version_type=linux
14671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14672 soname_spec='${libname}${release}${shared_ext}$major'
14673 shlibpath_var=LD_LIBRARY_PATH
14677 dynamic_linker=no
14679 esac
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14681 $as_echo "$dynamic_linker" >&6; }
14682 test "$dynamic_linker" = no && can_build_shared=no
14684 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14685 if test "$GCC" = yes; then
14686 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14689 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14690 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14692 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14693 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14734 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14735 hardcode_action_CXX=
14736 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14737 test -n "$runpath_var_CXX" ||
14738 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14740 # We can hardcode non-existent directories.
14741 if test "$hardcode_direct_CXX" != no &&
14742 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14743 # have to relink, otherwise we might link with an installed library
14744 # when we should be linking with a yet-to-be-installed one
14745 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14746 test "$hardcode_minus_L_CXX" != no; then
14747 # Linking always hardcodes the temporary library directory.
14748 hardcode_action_CXX=relink
14749 else
14750 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14751 hardcode_action_CXX=immediate
14753 else
14754 # We cannot hardcode anything, or else we can only hardcode existing
14755 # directories.
14756 hardcode_action_CXX=unsupported
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14759 $as_echo "$hardcode_action_CXX" >&6; }
14761 if test "$hardcode_action_CXX" = relink ||
14762 test "$inherit_rpath_CXX" = yes; then
14763 # Fast installation is not supported
14764 enable_fast_install=no
14765 elif test "$shlibpath_overrides_runpath" = yes ||
14766 test "$enable_shared" = no; then
14767 # Fast installation is not necessary
14768 enable_fast_install=needless
14777 fi # test -n "$compiler"
14779 CC=$lt_save_CC
14780 LDCXX=$LD
14781 LD=$lt_save_LD
14782 GCC=$lt_save_GCC
14783 with_gnu_ld=$lt_save_with_gnu_ld
14784 lt_cv_path_LDCXX=$lt_cv_path_LD
14785 lt_cv_path_LD=$lt_save_path_LD
14786 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14787 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14788 fi # test "$_lt_caught_CXX_error" != yes
14790 ac_ext=c
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14808 ac_config_commands="$ac_config_commands libtool"
14813 # Only expand once:
14819 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14820 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14822 # Possibly disable most of the library.
14823 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14824 ## than just ignoring the results. Faster /and/ more correct, win win.
14826 # Check whether --enable-hosted-libstdcxx was given.
14827 if test "${enable_hosted_libstdcxx+set}" = set; then :
14828 enableval=$enable_hosted_libstdcxx;
14829 else
14830 case "$host" in
14831 arm*-*-symbianelf*)
14832 enable_hosted_libstdcxx=no
14835 enable_hosted_libstdcxx=yes
14837 esac
14840 if test "$enable_hosted_libstdcxx" = no; then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14842 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14843 is_hosted=no
14844 hosted_define=0
14845 enable_abi_check=no
14846 enable_libstdcxx_pch=no
14847 else
14848 is_hosted=yes
14849 hosted_define=1
14853 cat >>confdefs.h <<_ACEOF
14854 #define _GLIBCXX_HOSTED $hosted_define
14855 _ACEOF
14859 # Enable compiler support that doesn't require linking.
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14862 $as_echo_n "checking for exception model to use... " >&6; }
14864 ac_ext=cpp
14865 ac_cpp='$CXXCPP $CPPFLAGS'
14866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14870 # Check whether --enable-sjlj-exceptions was given.
14871 if test "${enable_sjlj_exceptions+set}" = set; then :
14872 enableval=$enable_sjlj_exceptions;
14873 case "$enableval" in
14874 yes|no|auto) ;;
14875 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14876 esac
14878 else
14879 enable_sjlj_exceptions=auto
14884 if test $enable_sjlj_exceptions = auto; then
14885 # Botheration. Now we've got to detect the exception model. Link tests
14886 # against libgcc.a are problematic since we've not been given proper -L
14887 # bits for single-tree newlib and libgloss.
14889 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14890 cat > conftest.$ac_ext << EOF
14891 #line 14891 "configure"
14892 struct S { ~S(); };
14893 void bar();
14894 void foo()
14896 S s;
14897 bar();
14900 old_CXXFLAGS="$CXXFLAGS"
14901 CXXFLAGS=-S
14902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14903 (eval $ac_compile) 2>&5
14904 ac_status=$?
14905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 test $ac_status = 0; }; then
14907 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14908 enable_sjlj_exceptions=yes
14909 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14910 enable_sjlj_exceptions=no
14911 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14912 enable_sjlj_exceptions=no
14915 CXXFLAGS="$old_CXXFLAGS"
14916 rm -f conftest*
14919 # This is a tad weird, for hysterical raisins. We have to map
14920 # enable/disable to two different models.
14921 case $enable_sjlj_exceptions in
14922 yes)
14924 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14926 ac_exception_model_name=sjlj
14929 ac_exception_model_name="call frame"
14932 as_fn_error "unable to detect exception model" "$LINENO" 5
14934 esac
14935 ac_ext=c
14936 ac_cpp='$CPP $CPPFLAGS'
14937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14942 $as_echo "$ac_exception_model_name" >&6; }
14945 # Check whether --enable-libstdcxx-pch was given.
14946 if test "${enable_libstdcxx_pch+set}" = set; then :
14947 enableval=$enable_libstdcxx_pch;
14948 case "$enableval" in
14949 yes|no) ;;
14950 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14951 esac
14953 else
14954 enable_libstdcxx_pch=$is_hosted
14958 if test $enable_libstdcxx_pch = yes; then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14960 $as_echo_n "checking for compiler with PCH support... " >&6; }
14961 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 ac_save_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14967 ac_ext=cpp
14968 ac_cpp='$CXXCPP $CPPFLAGS'
14969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14973 echo '#include <math.h>' > conftest.h
14974 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14975 -o conftest.h.gch 1>&5 2>&1 &&
14976 echo '#error "pch failed"' > conftest.h &&
14977 echo '#include "conftest.h"' > conftest.cc &&
14978 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14979 then
14980 glibcxx_cv_prog_CXX_pch=yes
14981 else
14982 glibcxx_cv_prog_CXX_pch=no
14984 rm -f conftest*
14985 CXXFLAGS=$ac_save_CXXFLAGS
14986 ac_ext=c
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
14995 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
14996 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15000 $as_echo_n "checking for enabled PCH... " >&6; }
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15002 $as_echo "$enable_libstdcxx_pch" >&6; }
15005 if test $enable_libstdcxx_pch = yes; then
15006 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15007 else
15008 glibcxx_PCHFLAGS=""
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15014 $as_echo_n "checking for thread model used by GCC... " >&6; }
15015 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15017 $as_echo "$target_thread_file" >&6; }
15019 if test $target_thread_file != single; then
15021 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15025 glibcxx_thread_h=gthr-$target_thread_file.h
15027 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15028 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15029 enable_thread=yes
15030 else
15031 enable_thread=no
15038 ac_ext=cpp
15039 ac_cpp='$CXXCPP $CPPFLAGS'
15040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15044 old_CXXFLAGS="$CXXFLAGS"
15046 # Do link tests if possible, instead asm tests, limited to some platforms
15047 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15048 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15049 atomic_builtins_link_tests=no
15050 if test x$gcc_no_link != xyes; then
15051 # Can do link tests. Limit to some tested platforms
15052 case "$host" in
15053 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15054 atomic_builtins_link_tests=yes
15056 esac
15059 if test x$atomic_builtins_link_tests = xyes; then
15061 # Do link tests.
15063 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15066 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15067 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15071 if test x$gcc_no_link = xyes; then
15072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15078 main ()
15080 typedef bool atomic_type;
15081 atomic_type c1;
15082 atomic_type c2;
15083 const atomic_type c3(0);
15084 __sync_fetch_and_add(&c1, c2);
15085 __sync_val_compare_and_swap(&c1, c3, c2);
15086 __sync_lock_test_and_set(&c1, c3);
15087 __sync_lock_release(&c1);
15088 __sync_synchronize();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_cxx_try_link "$LINENO"; then :
15094 glibcxx_cv_atomic_bool=yes
15095 else
15096 glibcxx_cv_atomic_bool=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15103 if test $glibcxx_cv_atomic_bool = yes; then
15105 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15109 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15112 $as_echo_n "checking for atomic builtins for short... " >&6; }
15113 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15117 if test x$gcc_no_link = xyes; then
15118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15124 main ()
15126 typedef short atomic_type;
15127 atomic_type c1;
15128 atomic_type c2;
15129 const atomic_type c3(0);
15130 __sync_fetch_and_add(&c1, c2);
15131 __sync_val_compare_and_swap(&c1, c3, c2);
15132 __sync_lock_test_and_set(&c1, c3);
15133 __sync_lock_release(&c1);
15134 __sync_synchronize();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_cxx_try_link "$LINENO"; then :
15140 glibcxx_cv_atomic_short=yes
15141 else
15142 glibcxx_cv_atomic_short=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15149 if test $glibcxx_cv_atomic_short = yes; then
15151 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15155 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15158 $as_echo_n "checking for atomic builtins for int... " >&6; }
15159 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15163 if test x$gcc_no_link = xyes; then
15164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15170 main ()
15172 typedef int atomic_type;
15173 atomic_type c1;
15174 atomic_type c2;
15175 const atomic_type c3(0);
15176 __sync_fetch_and_add(&c1, c2);
15177 __sync_val_compare_and_swap(&c1, c3, c2);
15178 __sync_lock_test_and_set(&c1, c3);
15179 __sync_lock_release(&c1);
15180 __sync_synchronize();
15182 return 0;
15184 _ACEOF
15185 if ac_fn_cxx_try_link "$LINENO"; then :
15186 glibcxx_cv_atomic_int=yes
15187 else
15188 glibcxx_cv_atomic_int=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15195 if test $glibcxx_cv_atomic_int = yes; then
15197 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15201 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15204 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15205 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15209 if test x$gcc_no_link = xyes; then
15210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15216 main ()
15218 typedef long long atomic_type;
15219 atomic_type c1;
15220 atomic_type c2;
15221 const atomic_type c3(0);
15222 __sync_fetch_and_add(&c1, c2);
15223 __sync_val_compare_and_swap(&c1, c3, c2);
15224 __sync_lock_test_and_set(&c1, c3);
15225 __sync_lock_release(&c1);
15226 __sync_synchronize();
15228 return 0;
15230 _ACEOF
15231 if ac_fn_cxx_try_link "$LINENO"; then :
15232 glibcxx_cv_atomic_long_long=yes
15233 else
15234 glibcxx_cv_atomic_long_long=no
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15241 if test $glibcxx_cv_atomic_long_long = yes; then
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15247 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15249 else
15251 # Do asm tests.
15253 # Compile unoptimized.
15254 CXXFLAGS='-O0 -S'
15256 # Fake what AC_TRY_COMPILE does.
15258 cat > conftest.$ac_ext << EOF
15259 #line 15259 "configure"
15260 int main()
15262 typedef bool atomic_type;
15263 atomic_type c1;
15264 atomic_type c2;
15265 const atomic_type c3(0);
15266 __sync_fetch_and_add(&c1, c2);
15267 __sync_val_compare_and_swap(&c1, c3, c2);
15268 __sync_lock_test_and_set(&c1, c3);
15269 __sync_lock_release(&c1);
15270 __sync_synchronize();
15271 return 0;
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15276 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15278 (eval $ac_compile) 2>&5
15279 ac_status=$?
15280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15281 test $ac_status = 0; }; then
15282 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15283 glibcxx_cv_atomic_bool=no
15284 else
15286 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15288 glibcxx_cv_atomic_bool=yes
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15292 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15293 rm -f conftest*
15295 cat > conftest.$ac_ext << EOF
15296 #line 15296 "configure"
15297 int main()
15299 typedef short atomic_type;
15300 atomic_type c1;
15301 atomic_type c2;
15302 const atomic_type c3(0);
15303 __sync_fetch_and_add(&c1, c2);
15304 __sync_val_compare_and_swap(&c1, c3, c2);
15305 __sync_lock_test_and_set(&c1, c3);
15306 __sync_lock_release(&c1);
15307 __sync_synchronize();
15308 return 0;
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15313 $as_echo_n "checking for atomic builtins for short... " >&6; }
15314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15315 (eval $ac_compile) 2>&5
15316 ac_status=$?
15317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318 test $ac_status = 0; }; then
15319 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15320 glibcxx_cv_atomic_short=no
15321 else
15323 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15325 glibcxx_cv_atomic_short=yes
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15329 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15330 rm -f conftest*
15332 cat > conftest.$ac_ext << EOF
15333 #line 15333 "configure"
15334 int main()
15336 // NB: _Atomic_word not necessarily int.
15337 typedef int atomic_type;
15338 atomic_type c1;
15339 atomic_type c2;
15340 const atomic_type c3(0);
15341 __sync_fetch_and_add(&c1, c2);
15342 __sync_val_compare_and_swap(&c1, c3, c2);
15343 __sync_lock_test_and_set(&c1, c3);
15344 __sync_lock_release(&c1);
15345 __sync_synchronize();
15346 return 0;
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15351 $as_echo_n "checking for atomic builtins for int... " >&6; }
15352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15353 (eval $ac_compile) 2>&5
15354 ac_status=$?
15355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 test $ac_status = 0; }; then
15357 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15358 glibcxx_cv_atomic_int=no
15359 else
15361 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15363 glibcxx_cv_atomic_int=yes
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15367 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15368 rm -f conftest*
15370 cat > conftest.$ac_ext << EOF
15371 #line 15371 "configure"
15372 int main()
15374 typedef long long atomic_type;
15375 atomic_type c1;
15376 atomic_type c2;
15377 const atomic_type c3(0);
15378 __sync_fetch_and_add(&c1, c2);
15379 __sync_val_compare_and_swap(&c1, c3, c2);
15380 __sync_lock_test_and_set(&c1, c3);
15381 __sync_lock_release(&c1);
15382 __sync_synchronize();
15383 return 0;
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15388 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_long_long=no
15396 else
15398 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15400 glibcxx_cv_atomic_long_long=yes
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15404 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15405 rm -f conftest*
15409 CXXFLAGS="$old_CXXFLAGS"
15410 ac_ext=c
15411 ac_cpp='$CPP $CPPFLAGS'
15412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417 # Set atomicity_dir to builtins if either of above tests pass.
15418 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15419 atomicity_dir=cpu/generic/atomicity_builtins
15422 # If still generic, set to mutex.
15423 if test $atomicity_dir = "cpu/generic" ; then
15424 atomicity_dir=cpu/generic/atomicity_mutex
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15426 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15427 if test "x$target_thread_file" = xsingle; then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15429 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15431 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15432 else
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15434 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15436 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15443 # Fake what AC_TRY_COMPILE does, without linking as this is
15444 # unnecessary for this test.
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15450 _Decimal32 d1;
15451 _Decimal64 d2;
15452 _Decimal128 d3;
15453 return 0;
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15458 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460 (eval $ac_compile) 2>&5
15461 ac_status=$?
15462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463 test $ac_status = 0; }; then
15465 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15467 enable_dfp=yes
15468 else
15469 enable_dfp=no
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15472 $as_echo "$enable_dfp" >&6; }
15473 rm -f conftest*
15476 # Checks for compiler support that doesn't require linking.
15478 # All these tests are for C++; save the language and the compiler flags.
15479 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15480 # found in GLIBCXX_CONFIGURE.
15482 ac_ext=cpp
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15488 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15489 ac_save_CXXFLAGS="$CXXFLAGS"
15491 # Check for maintainer-mode bits.
15492 if test x"$USE_MAINTAINER_MODE" = xno; then
15493 WERROR=''
15494 else
15495 WERROR='-Werror'
15498 # Check for -ffunction-sections -fdata-sections
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15500 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15501 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15504 int foo; void bar() { };
15506 main ()
15510 return 0;
15512 _ACEOF
15513 if ac_fn_cxx_try_compile "$LINENO"; then :
15514 ac_fdsections=yes
15515 else
15516 ac_fdsections=no
15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15519 if test "$ac_test_CXXFLAGS" = set; then
15520 CXXFLAGS="$ac_save_CXXFLAGS"
15521 else
15522 # this is the suspicious part
15523 CXXFLAGS=''
15525 if test x"$ac_fdsections" = x"yes"; then
15526 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15529 $as_echo "$ac_fdsections" >&6; }
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Enable all the variable C++ runtime options that don't require linking.
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15544 $as_echo_n "checking for underlying I/O to use... " >&6; }
15545 # Check whether --enable-cstdio was given.
15546 if test "${enable_cstdio+set}" = set; then :
15547 enableval=$enable_cstdio;
15548 case "$enableval" in
15549 stdio) ;;
15550 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15551 esac
15553 else
15554 enable_cstdio=stdio
15559 # Now that libio has been removed, you can have any color you want as long
15560 # as it's black. This is one big no-op until other packages are added, but
15561 # showing the framework never hurts.
15562 case ${enable_cstdio} in
15563 stdio)
15564 CSTDIO_H=config/io/c_io_stdio.h
15565 BASIC_FILE_H=config/io/basic_file_stdio.h
15566 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15568 $as_echo "stdio" >&6; }
15570 esac
15577 # Check whether --enable-clocale was given.
15578 if test "${enable_clocale+set}" = set; then :
15579 enableval=$enable_clocale;
15580 case "$enableval" in
15581 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15582 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15583 esac
15585 else
15586 enable_clocale=auto
15591 # Deal with gettext issues. Default to not using it (=no) until we detect
15592 # support for it later. Let the user turn it off via --e/d, but let that
15593 # default to on for easier handling.
15594 USE_NLS=no
15595 # Check whether --enable-nls was given.
15596 if test "${enable_nls+set}" = set; then :
15597 enableval=$enable_nls;
15598 else
15599 enable_nls=yes
15603 # Either a known packaage, or "auto"
15604 if test $enable_clocale = no || test $enable_clocale = yes; then
15605 enable_clocale=auto
15607 enable_clocale_flag=$enable_clocale
15609 # Probe for locale model to use if none specified.
15610 # Default to "generic".
15611 if test $enable_clocale_flag = auto; then
15612 case ${target_os} in
15613 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15614 enable_clocale_flag=gnu
15616 darwin* | freebsd*)
15617 enable_clocale_flag=darwin
15620 enable_clocale_flag=generic
15622 esac
15625 # Sanity check model, and test for special functionality.
15626 if test $enable_clocale_flag = gnu; then
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 #include <features.h>
15631 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15632 _GLIBCXX_ok
15633 #endif
15635 _ACEOF
15636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15637 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15638 enable_clocale_flag=gnu
15639 else
15640 enable_clocale_flag=generic
15642 rm -f conftest*
15645 if test $enable_clocale = auto; then
15646 # Test for bugs early in glibc-2.2.x series
15647 if test "$cross_compiling" = yes; then :
15648 enable_clocale_flag=generic
15649 else
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 #define _GNU_SOURCE 1
15654 #include <locale.h>
15655 #include <string.h>
15656 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15657 extern __typeof(newlocale) __newlocale;
15658 extern __typeof(duplocale) __duplocale;
15659 extern __typeof(strcoll_l) __strcoll_l;
15660 #endif
15661 int main()
15663 const char __one[] = "Äuglein Augmen";
15664 const char __two[] = "Äuglein";
15665 int i;
15666 int j;
15667 __locale_t loc;
15668 __locale_t loc_dup;
15669 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15670 loc_dup = __duplocale(loc);
15671 i = __strcoll_l(__one, __two, loc);
15672 j = __strcoll_l(__one, __two, loc_dup);
15673 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_run "$LINENO"; then :
15678 enable_clocale_flag=gnu
15679 else
15680 enable_clocale_flag=generic
15682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15683 conftest.$ac_objext conftest.beam conftest.$ac_ext
15688 # Set it to scream when it hurts.
15689 ac_save_CFLAGS="$CFLAGS"
15690 CFLAGS="-Wimplicit-function-declaration -Werror"
15692 # Use strxfrm_l if available.
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15695 #define _GNU_SOURCE 1
15696 #include <string.h>
15697 #include <locale.h>
15699 main ()
15701 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15703 return 0;
15705 _ACEOF
15706 if ac_fn_c_try_compile "$LINENO"; then :
15708 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713 # Use strerror_l if available.
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE 1
15717 #include <string.h>
15718 #include <locale.h>
15720 main ()
15722 __locale_t loc; strerror_l(5, loc);
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_compile "$LINENO"; then :
15729 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 CFLAGS="$ac_save_CFLAGS"
15737 # Perhaps use strerror_r if available, and strerror_l isn't.
15738 ac_save_CFLAGS="$CFLAGS"
15739 CFLAGS="-Wimplicit-function-declaration -Werror"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 #define _GNU_SOURCE 1
15743 #include <string.h>
15744 #include <locale.h>
15746 main ()
15748 char s[128]; strerror_r(5, s, 128);
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15755 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 CFLAGS="$ac_save_CFLAGS"
15761 # Set configure bits for specified locale package
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15763 $as_echo_n "checking for C locale to use... " >&6; }
15764 case ${enable_clocale_flag} in
15765 generic)
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15767 $as_echo "generic" >&6; }
15769 CLOCALE_H=config/locale/generic/c_locale.h
15770 CLOCALE_CC=config/locale/generic/c_locale.cc
15771 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15772 CCOLLATE_CC=config/locale/generic/collate_members.cc
15773 CCTYPE_CC=config/locale/generic/ctype_members.cc
15774 CMESSAGES_H=config/locale/generic/messages_members.h
15775 CMESSAGES_CC=config/locale/generic/messages_members.cc
15776 CMONEY_CC=config/locale/generic/monetary_members.cc
15777 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15778 CTIME_H=config/locale/generic/time_members.h
15779 CTIME_CC=config/locale/generic/time_members.cc
15780 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15782 darwin)
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15784 $as_echo "darwin or freebsd" >&6; }
15786 CLOCALE_H=config/locale/generic/c_locale.h
15787 CLOCALE_CC=config/locale/generic/c_locale.cc
15788 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15789 CCOLLATE_CC=config/locale/generic/collate_members.cc
15790 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15791 CMESSAGES_H=config/locale/generic/messages_members.h
15792 CMESSAGES_CC=config/locale/generic/messages_members.cc
15793 CMONEY_CC=config/locale/generic/monetary_members.cc
15794 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15795 CTIME_H=config/locale/generic/time_members.h
15796 CTIME_CC=config/locale/generic/time_members.cc
15797 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15800 gnu)
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15802 $as_echo "gnu" >&6; }
15804 # Declare intention to use gettext, and add support for specific
15805 # languages.
15806 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15807 ALL_LINGUAS="de fr"
15809 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15810 # Extract the first word of "msgfmt", so it can be a program name with args.
15811 set dummy msgfmt; ac_word=$2
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15813 $as_echo_n "checking for $ac_word... " >&6; }
15814 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 if test -n "$check_msgfmt"; then
15818 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15819 else
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15823 IFS=$as_save_IFS
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15827 ac_cv_prog_check_msgfmt="yes"
15828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15829 break 2
15831 done
15832 done
15833 IFS=$as_save_IFS
15835 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15838 check_msgfmt=$ac_cv_prog_check_msgfmt
15839 if test -n "$check_msgfmt"; then
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15841 $as_echo "$check_msgfmt" >&6; }
15842 else
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15844 $as_echo "no" >&6; }
15848 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15849 USE_NLS=yes
15851 # Export the build objects.
15852 for ling in $ALL_LINGUAS; do \
15853 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15854 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15855 done
15859 CLOCALE_H=config/locale/gnu/c_locale.h
15860 CLOCALE_CC=config/locale/gnu/c_locale.cc
15861 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15862 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15863 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15864 CMESSAGES_H=config/locale/gnu/messages_members.h
15865 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15866 CMONEY_CC=config/locale/gnu/monetary_members.cc
15867 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15868 CTIME_H=config/locale/gnu/time_members.h
15869 CTIME_CC=config/locale/gnu/time_members.cc
15870 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15872 ieee_1003.1-2001)
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15874 $as_echo "IEEE 1003.1" >&6; }
15876 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15877 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15878 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15879 CCOLLATE_CC=config/locale/generic/collate_members.cc
15880 CCTYPE_CC=config/locale/generic/ctype_members.cc
15881 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15882 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15883 CMONEY_CC=config/locale/generic/monetary_members.cc
15884 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15885 CTIME_H=config/locale/generic/time_members.h
15886 CTIME_CC=config/locale/generic/time_members.cc
15887 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15889 esac
15891 # This is where the testsuite looks for locale catalogs, using the
15892 # -DLOCALEDIR define during testsuite compilation.
15893 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15896 # A standalone libintl (e.g., GNU libintl) may be in use.
15897 if test $USE_NLS = yes; then
15898 for ac_header in libintl.h
15899 do :
15900 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15901 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_LIBINTL_H 1
15904 _ACEOF
15906 else
15907 USE_NLS=no
15910 done
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15913 $as_echo_n "checking for library containing gettext... " >&6; }
15914 if test "${ac_cv_search_gettext+set}" = set; then :
15915 $as_echo_n "(cached) " >&6
15916 else
15917 ac_func_search_save_LIBS=$LIBS
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15921 /* Override any GCC internal prototype to avoid an error.
15922 Use char because int might match the return type of a GCC
15923 builtin and then its argument prototype would still apply. */
15924 #ifdef __cplusplus
15925 extern "C"
15926 #endif
15927 char gettext ();
15929 main ()
15931 return gettext ();
15933 return 0;
15935 _ACEOF
15936 for ac_lib in '' intl; do
15937 if test -z "$ac_lib"; then
15938 ac_res="none required"
15939 else
15940 ac_res=-l$ac_lib
15941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15943 if test x$gcc_no_link = xyes; then
15944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15946 if ac_fn_c_try_link "$LINENO"; then :
15947 ac_cv_search_gettext=$ac_res
15949 rm -f core conftest.err conftest.$ac_objext \
15950 conftest$ac_exeext
15951 if test "${ac_cv_search_gettext+set}" = set; then :
15952 break
15954 done
15955 if test "${ac_cv_search_gettext+set}" = set; then :
15957 else
15958 ac_cv_search_gettext=no
15960 rm conftest.$ac_ext
15961 LIBS=$ac_func_search_save_LIBS
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15964 $as_echo "$ac_cv_search_gettext" >&6; }
15965 ac_res=$ac_cv_search_gettext
15966 if test "$ac_res" != no; then :
15967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15969 else
15970 USE_NLS=no
15974 if test $USE_NLS = yes; then
15976 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15996 $as_echo_n "checking for std::allocator base class... " >&6; }
15997 # Check whether --enable-libstdcxx-allocator was given.
15998 if test "${enable_libstdcxx_allocator+set}" = set; then :
15999 enableval=$enable_libstdcxx_allocator;
16000 case "$enableval" in
16001 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16002 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16003 esac
16005 else
16006 enable_libstdcxx_allocator=auto
16011 # If they didn't use this option switch, or if they specified --enable
16012 # with no specific model, we'll have to look for one. If they
16013 # specified --disable (???), do likewise.
16014 if test $enable_libstdcxx_allocator = no ||
16015 test $enable_libstdcxx_allocator = yes;
16016 then
16017 enable_libstdcxx_allocator=auto
16020 # Either a known package, or "auto". Auto implies the default choice
16021 # for a particular platform.
16022 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16024 # Probe for host-specific support if no specific model is specified.
16025 # Default to "new".
16026 if test $enable_libstdcxx_allocator_flag = auto; then
16027 case ${target_os} in
16028 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16029 enable_libstdcxx_allocator_flag=new
16032 enable_libstdcxx_allocator_flag=new
16034 esac
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16037 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16040 # Set configure bits for specified locale package
16041 case ${enable_libstdcxx_allocator_flag} in
16042 bitmap)
16043 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16044 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16046 malloc)
16047 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16048 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16051 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16052 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16054 new)
16055 ALLOCATOR_H=config/allocator/new_allocator_base.h
16056 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16058 pool)
16059 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16060 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16062 esac
16068 # Check whether --enable-cheaders was given.
16069 if test "${enable_cheaders+set}" = set; then :
16070 enableval=$enable_cheaders;
16071 case "$enableval" in
16072 c|c_std|c_global) ;;
16073 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16074 esac
16076 else
16077 enable_cheaders=$c_model
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16082 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16084 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16086 # Allow overrides to configure.host here.
16087 if test $enable_cheaders = c_global; then
16088 c_compatibility=yes
16091 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16092 c_extra=yes
16102 # Check whether --enable-long-long was given.
16103 if test "${enable_long_long+set}" = set; then :
16104 enableval=$enable_long_long;
16105 case "$enableval" in
16106 yes|no) ;;
16107 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16108 esac
16110 else
16111 enable_long_long=yes
16115 if test $enable_long_long = yes; then
16117 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16121 $as_echo_n "checking for enabled long long specializations... " >&6; }
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16123 $as_echo "$enable_long_long" >&6; }
16126 # Check whether --enable-wchar_t was given.
16127 if test "${enable_wchar_t+set}" = set; then :
16128 enableval=$enable_wchar_t;
16129 case "$enableval" in
16130 yes|no) ;;
16131 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16132 esac
16134 else
16135 enable_wchar_t=yes
16140 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16141 for ac_header in wchar.h
16142 do :
16143 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_WCHAR_H 1
16147 _ACEOF
16148 ac_has_wchar_h=yes
16149 else
16150 ac_has_wchar_h=no
16153 done
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16156 $as_echo_n "checking for mbstate_t... " >&6; }
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <wchar.h>
16161 main ()
16163 mbstate_t teststate;
16165 return 0;
16167 _ACEOF
16168 if ac_fn_c_try_compile "$LINENO"; then :
16169 have_mbstate_t=yes
16170 else
16171 have_mbstate_t=no
16173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16175 $as_echo "$have_mbstate_t" >&6; }
16176 if test x"$have_mbstate_t" = xyes; then
16178 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16182 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16183 # ac_has_wchar_h.
16184 for ac_header in wctype.h
16185 do :
16186 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_WCTYPE_H 1
16190 _ACEOF
16191 ac_has_wctype_h=yes
16192 else
16193 ac_has_wctype_h=no
16196 done
16199 if test x"$enable_wchar_t" = x"yes"; then
16202 ac_ext=cpp
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16209 if test x"$ac_has_wchar_h" = xyes &&
16210 test x"$ac_has_wctype_h" = xyes; then
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16213 #include <wchar.h>
16214 #include <stddef.h>
16215 wint_t i;
16216 long l = WEOF;
16217 long j = WCHAR_MIN;
16218 long k = WCHAR_MAX;
16219 namespace test
16221 using ::btowc;
16222 using ::fgetwc;
16223 using ::fgetws;
16224 using ::fputwc;
16225 using ::fputws;
16226 using ::fwide;
16227 using ::fwprintf;
16228 using ::fwscanf;
16229 using ::getwc;
16230 using ::getwchar;
16231 using ::mbrlen;
16232 using ::mbrtowc;
16233 using ::mbsinit;
16234 using ::mbsrtowcs;
16235 using ::putwc;
16236 using ::putwchar;
16237 using ::swprintf;
16238 using ::swscanf;
16239 using ::ungetwc;
16240 using ::vfwprintf;
16241 using ::vswprintf;
16242 using ::vwprintf;
16243 using ::wcrtomb;
16244 using ::wcscat;
16245 using ::wcschr;
16246 using ::wcscmp;
16247 using ::wcscoll;
16248 using ::wcscpy;
16249 using ::wcscspn;
16250 using ::wcsftime;
16251 using ::wcslen;
16252 using ::wcsncat;
16253 using ::wcsncmp;
16254 using ::wcsncpy;
16255 using ::wcspbrk;
16256 using ::wcsrchr;
16257 using ::wcsrtombs;
16258 using ::wcsspn;
16259 using ::wcsstr;
16260 using ::wcstod;
16261 using ::wcstok;
16262 using ::wcstol;
16263 using ::wcstoul;
16264 using ::wcsxfrm;
16265 using ::wctob;
16266 using ::wmemchr;
16267 using ::wmemcmp;
16268 using ::wmemcpy;
16269 using ::wmemmove;
16270 using ::wmemset;
16271 using ::wprintf;
16272 using ::wscanf;
16276 main ()
16280 return 0;
16282 _ACEOF
16283 if ac_fn_cxx_try_compile "$LINENO"; then :
16285 else
16286 enable_wchar_t=no
16288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16289 else
16290 enable_wchar_t=no
16293 ac_ext=c
16294 ac_cpp='$CPP $CPPFLAGS'
16295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16301 if test x"$enable_wchar_t" = x"yes"; then
16303 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16308 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16310 $as_echo "$enable_wchar_t" >&6; }
16314 # Check whether --enable-c99 was given.
16315 if test "${enable_c99+set}" = set; then :
16316 enableval=$enable_c99;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16320 esac
16322 else
16323 enable_c99=yes
16328 if test x"$enable_c99" = x"yes"; then
16331 ac_ext=cpp
16332 ac_cpp='$CXXCPP $CPPFLAGS'
16333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16338 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16339 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16340 # spuriously enabled.
16341 # Long term, -std=c++0x could be even better, could manage to explicitely
16342 # request C99 facilities to the underlying C headers.
16343 ac_save_CXXFLAGS="$CXXFLAGS"
16344 CXXFLAGS="$CXXFLAGS -std=c++98"
16345 ac_save_LIBS="$LIBS"
16346 ac_save_gcc_no_link="$gcc_no_link"
16348 if test x$gcc_no_link != xyes; then
16349 # Use -fno-exceptions to that the C driver can link these tests without
16350 # hitting undefined references to personality routines.
16351 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16353 $as_echo_n "checking for sin in -lm... " >&6; }
16354 if test "${ac_cv_lib_m_sin+set}" = set; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 ac_check_lib_save_LIBS=$LIBS
16358 LIBS="-lm $LIBS"
16359 if test x$gcc_no_link = xyes; then
16360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16368 #ifdef __cplusplus
16369 extern "C"
16370 #endif
16371 char sin ();
16373 main ()
16375 return sin ();
16377 return 0;
16379 _ACEOF
16380 if ac_fn_cxx_try_link "$LINENO"; then :
16381 ac_cv_lib_m_sin=yes
16382 else
16383 ac_cv_lib_m_sin=no
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LIBS=$ac_check_lib_save_LIBS
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16390 $as_echo "$ac_cv_lib_m_sin" >&6; }
16391 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16393 LIBS="$LIBS -lm"
16395 else
16397 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16398 gcc_no_link=yes
16404 # Check for the existence of <math.h> functions used if C99 is enabled.
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16406 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16407 if test "${glibcxx_cv_c99_math+set}" = set; then :
16408 $as_echo_n "(cached) " >&6
16409 else
16411 if test x$gcc_no_link = xyes; then
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 #include <math.h>
16415 volatile double d1, d2;
16416 volatile int i;
16418 main ()
16420 i = fpclassify(d1);
16421 i = isfinite(d1);
16422 i = isinf(d1);
16423 i = isnan(d1);
16424 i = isnormal(d1);
16425 i = signbit(d1);
16426 i = isgreater(d1, d2);
16427 i = isgreaterequal(d1, d2);
16428 i = isless(d1, d2);
16429 i = islessequal(d1, d2);
16430 i = islessgreater(d1, d2);
16431 i = islessgreater(d1, d2);
16432 i = isunordered(d1, d2);
16435 return 0;
16437 _ACEOF
16438 if ac_fn_cxx_try_compile "$LINENO"; then :
16439 glibcxx_cv_c99_math=yes
16440 else
16441 glibcxx_cv_c99_math=no
16443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16444 else
16445 if test x$gcc_no_link = xyes; then
16446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16450 #include <math.h>
16451 volatile double d1, d2;
16452 volatile int i;
16454 main ()
16456 i = fpclassify(d1);
16457 i = isfinite(d1);
16458 i = isinf(d1);
16459 i = isnan(d1);
16460 i = isnormal(d1);
16461 i = signbit(d1);
16462 i = isgreater(d1, d2);
16463 i = isgreaterequal(d1, d2);
16464 i = isless(d1, d2);
16465 i = islessequal(d1, d2);
16466 i = islessgreater(d1, d2);
16467 i = islessgreater(d1, d2);
16468 i = isunordered(d1, d2);
16471 return 0;
16473 _ACEOF
16474 if ac_fn_cxx_try_link "$LINENO"; then :
16475 glibcxx_cv_c99_math=yes
16476 else
16477 glibcxx_cv_c99_math=no
16479 rm -f core conftest.err conftest.$ac_objext \
16480 conftest$ac_exeext conftest.$ac_ext
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16486 $as_echo "$glibcxx_cv_c99_math" >&6; }
16487 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16489 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16493 # Check for the existence of <complex.h> complex math functions.
16494 # This is necessary even though libstdc++ uses the builtin versions
16495 # of these functions, because if the builtin cannot be used, a reference
16496 # to the library function is emitted.
16497 for ac_header in tgmath.h
16498 do :
16499 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16500 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_TGMATH_H 1
16503 _ACEOF
16504 ac_has_tgmath_h=yes
16505 else
16506 ac_has_tgmath_h=no
16509 done
16511 for ac_header in complex.h
16512 do :
16513 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16514 if test "x$ac_cv_header_complex_h" = x""yes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_COMPLEX_H 1
16517 _ACEOF
16518 ac_has_complex_h=yes
16519 else
16520 ac_has_complex_h=no
16523 done
16525 glibcxx_cv_c99_complex=no;
16526 if test x"$ac_has_complex_h" = x"yes"; then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16528 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16529 if test x$gcc_no_link = xyes; then
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #include <complex.h>
16533 typedef __complex__ float float_type;
16534 typedef __complex__ double double_type;
16535 typedef __complex__ long double ld_type;
16536 volatile float_type tmpf;
16537 volatile double_type tmpd;
16538 volatile ld_type tmpld;
16539 volatile float f;
16540 volatile double d;
16541 volatile long double ld;
16543 main ()
16545 f = cabsf(tmpf);
16546 f = cargf(tmpf);
16547 tmpf = ccosf(tmpf);
16548 tmpf = ccoshf(tmpf);
16549 tmpf = cexpf(tmpf);
16550 tmpf = clogf(tmpf);
16551 tmpf = csinf(tmpf);
16552 tmpf = csinhf(tmpf);
16553 tmpf = csqrtf(tmpf);
16554 tmpf = ctanf(tmpf);
16555 tmpf = ctanhf(tmpf);
16556 tmpf = cpowf(tmpf, tmpf);
16557 tmpf = cprojf(tmpf);
16558 d = cabs(tmpd);
16559 d = carg(tmpd);
16560 tmpd = ccos(tmpd);
16561 tmpd = ccosh(tmpd);
16562 tmpd = cexp(tmpd);
16563 tmpd = clog(tmpd);
16564 tmpd = csin(tmpd);
16565 tmpd = csinh(tmpd);
16566 tmpd = csqrt(tmpd);
16567 tmpd = ctan(tmpd);
16568 tmpd = ctanh(tmpd);
16569 tmpd = cpow(tmpd, tmpd);
16570 tmpd = cproj(tmpd);
16571 ld = cabsl(tmpld);
16572 ld = cargl(tmpld);
16573 tmpld = ccosl(tmpld);
16574 tmpld = ccoshl(tmpld);
16575 tmpld = cexpl(tmpld);
16576 tmpld = clogl(tmpld);
16577 tmpld = csinl(tmpld);
16578 tmpld = csinhl(tmpld);
16579 tmpld = csqrtl(tmpld);
16580 tmpld = ctanl(tmpld);
16581 tmpld = ctanhl(tmpld);
16582 tmpld = cpowl(tmpld, tmpld);
16583 tmpld = cprojl(tmpld);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_compile "$LINENO"; then :
16590 glibcxx_cv_c99_complex=yes
16591 else
16592 glibcxx_cv_c99_complex=no
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16595 else
16596 if test x$gcc_no_link = xyes; then
16597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <complex.h>
16602 typedef __complex__ float float_type;
16603 typedef __complex__ double double_type;
16604 typedef __complex__ long double ld_type;
16605 volatile float_type tmpf;
16606 volatile double_type tmpd;
16607 volatile ld_type tmpld;
16608 volatile float f;
16609 volatile double d;
16610 volatile long double ld;
16612 main ()
16614 f = cabsf(tmpf);
16615 f = cargf(tmpf);
16616 tmpf = ccosf(tmpf);
16617 tmpf = ccoshf(tmpf);
16618 tmpf = cexpf(tmpf);
16619 tmpf = clogf(tmpf);
16620 tmpf = csinf(tmpf);
16621 tmpf = csinhf(tmpf);
16622 tmpf = csqrtf(tmpf);
16623 tmpf = ctanf(tmpf);
16624 tmpf = ctanhf(tmpf);
16625 tmpf = cpowf(tmpf, tmpf);
16626 tmpf = cprojf(tmpf);
16627 d = cabs(tmpd);
16628 d = carg(tmpd);
16629 tmpd = ccos(tmpd);
16630 tmpd = ccosh(tmpd);
16631 tmpd = cexp(tmpd);
16632 tmpd = clog(tmpd);
16633 tmpd = csin(tmpd);
16634 tmpd = csinh(tmpd);
16635 tmpd = csqrt(tmpd);
16636 tmpd = ctan(tmpd);
16637 tmpd = ctanh(tmpd);
16638 tmpd = cpow(tmpd, tmpd);
16639 tmpd = cproj(tmpd);
16640 ld = cabsl(tmpld);
16641 ld = cargl(tmpld);
16642 tmpld = ccosl(tmpld);
16643 tmpld = ccoshl(tmpld);
16644 tmpld = cexpl(tmpld);
16645 tmpld = clogl(tmpld);
16646 tmpld = csinl(tmpld);
16647 tmpld = csinhl(tmpld);
16648 tmpld = csqrtl(tmpld);
16649 tmpld = ctanl(tmpld);
16650 tmpld = ctanhl(tmpld);
16651 tmpld = cpowl(tmpld, tmpld);
16652 tmpld = cprojl(tmpld);
16655 return 0;
16657 _ACEOF
16658 if ac_fn_cxx_try_link "$LINENO"; then :
16659 glibcxx_cv_c99_complex=yes
16660 else
16661 glibcxx_cv_c99_complex=no
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16668 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16669 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16671 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16675 # Check for the existence in <stdio.h> of vscanf, et. al.
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16677 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16678 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16679 $as_echo_n "(cached) " >&6
16680 else
16682 if test x$gcc_no_link = xyes; then
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16685 #include <stdio.h>
16686 #include <stdarg.h>
16687 void foo(char* fmt, ...)
16689 va_list args; va_start(args, fmt);
16690 vfscanf(stderr, "%i", args);
16691 vscanf("%i", args);
16692 vsnprintf(fmt, 0, "%i", args);
16693 vsscanf(fmt, "%i", args);
16696 main ()
16698 snprintf("12", 0, "%i");
16700 return 0;
16702 _ACEOF
16703 if ac_fn_cxx_try_compile "$LINENO"; then :
16704 glibcxx_cv_c99_stdio=yes
16705 else
16706 glibcxx_cv_c99_stdio=no
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16709 else
16710 if test x$gcc_no_link = xyes; then
16711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16715 #include <stdio.h>
16716 #include <stdarg.h>
16717 void foo(char* fmt, ...)
16719 va_list args; va_start(args, fmt);
16720 vfscanf(stderr, "%i", args);
16721 vscanf("%i", args);
16722 vsnprintf(fmt, 0, "%i", args);
16723 vsscanf(fmt, "%i", args);
16726 main ()
16728 snprintf("12", 0, "%i");
16730 return 0;
16732 _ACEOF
16733 if ac_fn_cxx_try_link "$LINENO"; then :
16734 glibcxx_cv_c99_stdio=yes
16735 else
16736 glibcxx_cv_c99_stdio=no
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16745 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16747 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16749 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16750 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16751 $as_echo_n "(cached) " >&6
16752 else
16754 if test x$gcc_no_link = xyes; then
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <stdlib.h>
16758 volatile float f;
16759 volatile long double ld;
16760 volatile unsigned long long ll;
16761 lldiv_t mydivt;
16763 main ()
16765 char* tmp;
16766 f = strtof("gnu", &tmp);
16767 ld = strtold("gnu", &tmp);
16768 ll = strtoll("gnu", &tmp, 10);
16769 ll = strtoull("gnu", &tmp, 10);
16770 ll = llabs(10);
16771 mydivt = lldiv(10,1);
16772 ll = mydivt.quot;
16773 ll = mydivt.rem;
16774 ll = atoll("10");
16775 _Exit(0);
16778 return 0;
16780 _ACEOF
16781 if ac_fn_cxx_try_compile "$LINENO"; then :
16782 glibcxx_cv_c99_stdlib=yes
16783 else
16784 glibcxx_cv_c99_stdlib=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16787 else
16788 if test x$gcc_no_link = xyes; then
16789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16793 #include <stdlib.h>
16794 volatile float f;
16795 volatile long double ld;
16796 volatile unsigned long long ll;
16797 lldiv_t mydivt;
16799 main ()
16801 char* tmp;
16802 f = strtof("gnu", &tmp);
16803 ld = strtold("gnu", &tmp);
16804 ll = strtoll("gnu", &tmp, 10);
16805 ll = strtoull("gnu", &tmp, 10);
16806 ll = llabs(10);
16807 mydivt = lldiv(10,1);
16808 ll = mydivt.quot;
16809 ll = mydivt.rem;
16810 ll = atoll("10");
16811 _Exit(0);
16814 return 0;
16816 _ACEOF
16817 if ac_fn_cxx_try_link "$LINENO"; then :
16818 glibcxx_cv_c99_stdlib=yes
16819 else
16820 glibcxx_cv_c99_stdlib=no
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16829 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16831 # Check for the existence in <wchar.h> of wcstold, etc.
16832 glibcxx_cv_c99_wchar=no;
16833 if test x"$ac_has_wchar_h" = xyes &&
16834 test x"$ac_has_wctype_h" = xyes; then
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16836 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 #include <wchar.h>
16840 namespace test
16842 using ::wcstold;
16843 using ::wcstoll;
16844 using ::wcstoull;
16848 main ()
16852 return 0;
16854 _ACEOF
16855 if ac_fn_cxx_try_compile "$LINENO"; then :
16856 glibcxx_cv_c99_wchar=yes
16857 else
16858 glibcxx_cv_c99_wchar=no
16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16862 # Checks for wide character functions that may not be present.
16863 # Injection of these is wrapped with guard macros.
16864 # NB: only put functions here, instead of immediately above, if
16865 # absolutely necessary.
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #include <wchar.h>
16869 namespace test { using ::vfwscanf; }
16871 main ()
16875 return 0;
16877 _ACEOF
16878 if ac_fn_cxx_try_compile "$LINENO"; then :
16880 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 #include <wchar.h>
16888 namespace test { using ::vswscanf; }
16890 main ()
16894 return 0;
16896 _ACEOF
16897 if ac_fn_cxx_try_compile "$LINENO"; then :
16899 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #include <wchar.h>
16907 namespace test { using ::vwscanf; }
16909 main ()
16913 return 0;
16915 _ACEOF
16916 if ac_fn_cxx_try_compile "$LINENO"; then :
16918 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <wchar.h>
16926 namespace test { using ::wcstof; }
16928 main ()
16932 return 0;
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wctype.h>
16946 main ()
16948 wint_t t; int i = iswblank(t);
16950 return 0;
16952 _ACEOF
16953 if ac_fn_cxx_try_compile "$LINENO"; then :
16955 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16961 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16964 # Option parsed, now set things appropriately.
16965 if test x"$glibcxx_cv_c99_math" = x"no" ||
16966 test x"$glibcxx_cv_c99_complex" = x"no" ||
16967 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16968 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16969 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16970 enable_c99=no;
16971 else
16973 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16977 gcc_no_link="$ac_save_gcc_no_link"
16978 LIBS="$ac_save_LIBS"
16979 CXXFLAGS="$ac_save_CXXFLAGS"
16980 ac_ext=c
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16989 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16991 $as_echo "$enable_c99" >&6; }
16994 # Check whether --enable-concept-checks was given.
16995 if test "${enable_concept_checks+set}" = set; then :
16996 enableval=$enable_concept_checks;
16997 case "$enableval" in
16998 yes|no) ;;
16999 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17000 esac
17002 else
17003 enable_concept_checks=no
17007 if test $enable_concept_checks = yes; then
17009 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17014 # Check whether --enable-libstdcxx-debug-flags was given.
17015 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17016 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17017 xno | x) enable_libstdcxx_debug_flags= ;;
17018 x-*) ;;
17019 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17020 esac
17021 else
17022 enable_libstdcxx_debug_flags="-g3 -O0"
17027 # Option parsed, now set things appropriately
17028 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17032 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17036 $as_echo_n "checking for additional debug build... " >&6; }
17037 # Check whether --enable-libstdcxx-debug was given.
17038 if test "${enable_libstdcxx_debug+set}" = set; then :
17039 enableval=$enable_libstdcxx_debug;
17040 case "$enableval" in
17041 yes|no) ;;
17042 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17043 esac
17045 else
17046 enable_libstdcxx_debug=no
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17051 $as_echo "$enable_libstdcxx_debug" >&6; }
17056 enable_parallel=no;
17058 # See if configured libgomp/omp.h exists. (libgomp may be in
17059 # noconfigdirs but not explicitly disabled.)
17060 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17061 enable_parallel=yes;
17062 else
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17064 $as_echo "$as_me: target-libgomp not built" >&6;}
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17068 $as_echo_n "checking for parallel mode support... " >&6; }
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17070 $as_echo "$enable_parallel" >&6; }
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17074 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17075 # Check whether --enable-cxx-flags was given.
17076 if test "${enable_cxx_flags+set}" = set; then :
17077 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17078 xno | x) enable_cxx_flags= ;;
17079 x-*) ;;
17080 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17081 esac
17082 else
17083 enable_cxx_flags=
17088 # Run through flags (either default or command-line) and set anything
17089 # extra (e.g., #defines) that must accompany particular g++ options.
17090 if test -n "$enable_cxx_flags"; then
17091 for f in $enable_cxx_flags; do
17092 case "$f" in
17093 -fhonor-std) ;;
17094 -*) ;;
17095 *) # and we're trying to pass /what/ exactly?
17096 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17097 esac
17098 done
17101 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17103 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17107 # Check whether --enable-fully-dynamic-string was given.
17108 if test "${enable_fully_dynamic_string+set}" = set; then :
17109 enableval=$enable_fully_dynamic_string;
17110 case "$enableval" in
17111 yes|no) ;;
17112 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17113 esac
17115 else
17116 enable_fully_dynamic_string=no
17120 if test $enable_fully_dynamic_string = yes; then
17122 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17127 # Checks for operating systems support that doesn't require linking.
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17131 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17132 if test "${glibcxx_cv_system_error1+set}" = set; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 #include <errno.h>
17140 main ()
17142 int i = EOWNERDEAD;
17144 return 0;
17146 _ACEOF
17147 if ac_fn_c_try_compile "$LINENO"; then :
17148 glibcxx_cv_system_error1=yes
17149 else
17150 glibcxx_cv_system_error1=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17157 $as_echo "$glibcxx_cv_system_error1" >&6; }
17158 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17160 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17164 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17165 if test "${glibcxx_cv_system_error2+set}" = set; then :
17166 $as_echo_n "(cached) " >&6
17167 else
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <errno.h>
17173 main ()
17175 int i = ENOTRECOVERABLE;
17177 return 0;
17179 _ACEOF
17180 if ac_fn_c_try_compile "$LINENO"; then :
17181 glibcxx_cv_system_error2=yes
17182 else
17183 glibcxx_cv_system_error2=no
17185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17190 $as_echo "$glibcxx_cv_system_error2" >&6; }
17191 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17193 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17197 $as_echo_n "checking for ENOLINK... " >&6; }
17198 if test "${glibcxx_cv_system_error3+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 #include <errno.h>
17206 main ()
17208 int i = ENOLINK;
17210 return 0;
17212 _ACEOF
17213 if ac_fn_c_try_compile "$LINENO"; then :
17214 glibcxx_cv_system_error3=yes
17215 else
17216 glibcxx_cv_system_error3=no
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17223 $as_echo "$glibcxx_cv_system_error3" >&6; }
17224 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17226 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17230 $as_echo_n "checking for EPROTO... " >&6; }
17231 if test "${glibcxx_cv_system_error4+set}" = set; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #include <errno.h>
17239 main ()
17241 int i = EPROTO;
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247 glibcxx_cv_system_error4=yes
17248 else
17249 glibcxx_cv_system_error4=no
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17256 $as_echo "$glibcxx_cv_system_error4" >&6; }
17257 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17259 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17263 $as_echo_n "checking for ENODATA... " >&6; }
17264 if test "${glibcxx_cv_system_error5+set}" = set; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #include <errno.h>
17272 main ()
17274 int i = ENODATA;
17276 return 0;
17278 _ACEOF
17279 if ac_fn_c_try_compile "$LINENO"; then :
17280 glibcxx_cv_system_error5=yes
17281 else
17282 glibcxx_cv_system_error5=no
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17289 $as_echo "$glibcxx_cv_system_error5" >&6; }
17290 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17292 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17296 $as_echo_n "checking for ENOSR... " >&6; }
17297 if test "${glibcxx_cv_system_error6+set}" = set; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #include <errno.h>
17305 main ()
17307 int i = ENOSR;
17309 return 0;
17311 _ACEOF
17312 if ac_fn_c_try_compile "$LINENO"; then :
17313 glibcxx_cv_system_error6=yes
17314 else
17315 glibcxx_cv_system_error6=no
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17322 $as_echo "$glibcxx_cv_system_error6" >&6; }
17323 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17325 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17329 $as_echo_n "checking for ENOSTR... " >&6; }
17330 if test "${glibcxx_cv_system_error7+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 #include <errno.h>
17338 main ()
17340 int i = ENOSTR;
17342 return 0;
17344 _ACEOF
17345 if ac_fn_c_try_compile "$LINENO"; then :
17346 glibcxx_cv_system_error7=yes
17347 else
17348 glibcxx_cv_system_error7=no
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17355 $as_echo "$glibcxx_cv_system_error7" >&6; }
17356 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17358 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17362 $as_echo_n "checking for ETIME... " >&6; }
17363 if test "${glibcxx_cv_system_error8+set}" = set; then :
17364 $as_echo_n "(cached) " >&6
17365 else
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #include <errno.h>
17371 main ()
17373 int i = ETIME;
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 glibcxx_cv_system_error8=yes
17380 else
17381 glibcxx_cv_system_error8=no
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17388 $as_echo "$glibcxx_cv_system_error8" >&6; }
17389 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17391 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17395 $as_echo_n "checking for EBADMSG... " >&6; }
17396 if test "${glibcxx_cv_system_error9+set}" = set; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #include <errno.h>
17404 main ()
17406 int i = EBADMSG;
17408 return 0;
17410 _ACEOF
17411 if ac_fn_c_try_compile "$LINENO"; then :
17412 glibcxx_cv_system_error9=yes
17413 else
17414 glibcxx_cv_system_error9=no
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17421 $as_echo "$glibcxx_cv_system_error9" >&6; }
17422 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17424 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17428 $as_echo_n "checking for ECANCELED... " >&6; }
17429 if test "${glibcxx_cv_system_error10+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 #include <errno.h>
17437 main ()
17439 int i = ECANCELED;
17441 return 0;
17443 _ACEOF
17444 if ac_fn_c_try_compile "$LINENO"; then :
17445 glibcxx_cv_system_error10=yes
17446 else
17447 glibcxx_cv_system_error10=no
17449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17454 $as_echo "$glibcxx_cv_system_error10" >&6; }
17455 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17457 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17461 $as_echo_n "checking for EOVERFLOW... " >&6; }
17462 if test "${glibcxx_cv_system_error11+set}" = set; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 #include <errno.h>
17470 main ()
17472 int i = EOVERFLOW;
17474 return 0;
17476 _ACEOF
17477 if ac_fn_c_try_compile "$LINENO"; then :
17478 glibcxx_cv_system_error11=yes
17479 else
17480 glibcxx_cv_system_error11=no
17482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17487 $as_echo "$glibcxx_cv_system_error11" >&6; }
17488 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17490 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17494 $as_echo_n "checking for ENOTSUP... " >&6; }
17495 if test "${glibcxx_cv_system_error12+set}" = set; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <errno.h>
17503 main ()
17505 int i = ENOTSUP;
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_compile "$LINENO"; then :
17511 glibcxx_cv_system_error12=yes
17512 else
17513 glibcxx_cv_system_error12=no
17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17520 $as_echo "$glibcxx_cv_system_error12" >&6; }
17521 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17523 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17527 $as_echo_n "checking for EIDRM... " >&6; }
17528 if test "${glibcxx_cv_system_error13+set}" = set; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17533 /* end confdefs.h. */
17534 #include <errno.h>
17536 main ()
17538 int i = EIDRM;
17540 return 0;
17542 _ACEOF
17543 if ac_fn_c_try_compile "$LINENO"; then :
17544 glibcxx_cv_system_error13=yes
17545 else
17546 glibcxx_cv_system_error13=no
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17553 $as_echo "$glibcxx_cv_system_error13" >&6; }
17554 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17556 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17560 $as_echo_n "checking for ETXTBSY... " >&6; }
17561 if test "${glibcxx_cv_system_error14+set}" = set; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <errno.h>
17569 main ()
17571 int i = ETXTBSY;
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_compile "$LINENO"; then :
17577 glibcxx_cv_system_error14=yes
17578 else
17579 glibcxx_cv_system_error14=no
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17586 $as_echo "$glibcxx_cv_system_error14" >&6; }
17587 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17589 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17595 # For the streamoff typedef.
17599 ac_ext=cpp
17600 ac_cpp='$CXXCPP $CPPFLAGS'
17601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17607 $as_echo_n "checking for int64_t... " >&6; }
17608 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #include <stdint.h>
17616 main ()
17618 int64_t var;
17620 return 0;
17622 _ACEOF
17623 if ac_fn_cxx_try_compile "$LINENO"; then :
17624 glibcxx_cv_INT64_T=yes
17625 else
17626 glibcxx_cv_INT64_T=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 if test $glibcxx_cv_INT64_T = yes; then
17635 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17638 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17641 $as_echo_n "checking for int64_t as long... " >&6; }
17642 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17643 $as_echo_n "(cached) " >&6
17644 else
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 #include <stdint.h>
17649 template<typename, typename> struct same { enum { value = -1 }; };
17650 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17651 int array[same<int64_t, long>::value];
17653 main ()
17657 return 0;
17659 _ACEOF
17660 if ac_fn_cxx_try_compile "$LINENO"; then :
17661 glibcxx_cv_int64_t_long=yes
17662 else
17663 glibcxx_cv_int64_t_long=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670 if test $glibcxx_cv_int64_t_long = yes; then
17672 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17675 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17679 $as_echo_n "checking for int64_t as long long... " >&6; }
17680 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17681 $as_echo_n "(cached) " >&6
17682 else
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 #include <stdint.h>
17687 template<typename, typename> struct same { enum { value = -1 }; };
17688 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17689 int array[same<int64_t, long long>::value];
17691 main ()
17695 return 0;
17697 _ACEOF
17698 if ac_fn_cxx_try_compile "$LINENO"; then :
17699 glibcxx_cv_int64_t_long_long=yes
17700 else
17701 glibcxx_cv_int64_t_long_long=no
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 if test $glibcxx_cv_int64_t_long_long = yes; then
17710 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17713 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17717 ac_ext=c
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17725 # For LFS support.
17728 ac_ext=cpp
17729 ac_cpp='$CXXCPP $CPPFLAGS'
17730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17734 ac_save_CXXFLAGS="$CXXFLAGS"
17735 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17737 $as_echo_n "checking for LFS support... " >&6; }
17738 if test "${glibcxx_cv_LFS+set}" = set; then :
17739 $as_echo_n "(cached) " >&6
17740 else
17742 if test x$gcc_no_link = xyes; then
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 #include <unistd.h>
17746 #include <stdio.h>
17747 #include <sys/stat.h>
17750 main ()
17752 FILE* fp;
17753 fopen64("t", "w");
17754 fseeko64(fp, 0, SEEK_CUR);
17755 ftello64(fp);
17756 lseek64(1, 0, SEEK_CUR);
17757 struct stat64 buf;
17758 fstat64(1, &buf);
17760 return 0;
17762 _ACEOF
17763 if ac_fn_cxx_try_compile "$LINENO"; then :
17764 glibcxx_cv_LFS=yes
17765 else
17766 glibcxx_cv_LFS=no
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 else
17770 if test x$gcc_no_link = xyes; then
17771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #include <unistd.h>
17776 #include <stdio.h>
17777 #include <sys/stat.h>
17780 main ()
17782 FILE* fp;
17783 fopen64("t", "w");
17784 fseeko64(fp, 0, SEEK_CUR);
17785 ftello64(fp);
17786 lseek64(1, 0, SEEK_CUR);
17787 struct stat64 buf;
17788 fstat64(1, &buf);
17790 return 0;
17792 _ACEOF
17793 if ac_fn_cxx_try_link "$LINENO"; then :
17794 glibcxx_cv_LFS=yes
17795 else
17796 glibcxx_cv_LFS=no
17798 rm -f core conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17804 if test $glibcxx_cv_LFS = yes; then
17806 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17810 $as_echo "$glibcxx_cv_LFS" >&6; }
17811 CXXFLAGS="$ac_save_CXXFLAGS"
17812 ac_ext=c
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17820 # For showmanyc_helper().
17821 for ac_header in sys/ioctl.h sys/filio.h
17822 do :
17823 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17824 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17825 eval as_val=\$$as_ac_Header
17826 if test "x$as_val" = x""yes; then :
17827 cat >>confdefs.h <<_ACEOF
17828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17829 _ACEOF
17833 done
17838 ac_ext=cpp
17839 ac_cpp='$CXXCPP $CPPFLAGS'
17840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17844 ac_save_CXXFLAGS="$CXXFLAGS"
17845 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17848 $as_echo_n "checking for poll... " >&6; }
17849 if test "${glibcxx_cv_POLL+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17853 if test x$gcc_no_link = xyes; then
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <poll.h>
17858 main ()
17860 struct pollfd pfd[1];
17861 pfd[0].events = POLLIN;
17862 poll(pfd, 1, 0);
17864 return 0;
17866 _ACEOF
17867 if ac_fn_cxx_try_compile "$LINENO"; then :
17868 glibcxx_cv_POLL=yes
17869 else
17870 glibcxx_cv_POLL=no
17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 else
17874 if test x$gcc_no_link = xyes; then
17875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <poll.h>
17881 main ()
17883 struct pollfd pfd[1];
17884 pfd[0].events = POLLIN;
17885 poll(pfd, 1, 0);
17887 return 0;
17889 _ACEOF
17890 if ac_fn_cxx_try_link "$LINENO"; then :
17891 glibcxx_cv_POLL=yes
17892 else
17893 glibcxx_cv_POLL=no
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17901 if test $glibcxx_cv_POLL = yes; then
17903 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17907 $as_echo "$glibcxx_cv_POLL" >&6; }
17909 CXXFLAGS="$ac_save_CXXFLAGS"
17910 ac_ext=c
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920 ac_ext=cpp
17921 ac_cpp='$CXXCPP $CPPFLAGS'
17922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17926 ac_save_CXXFLAGS="$CXXFLAGS"
17927 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17930 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17931 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17935 if test x$gcc_no_link = xyes; then
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <sys/stat.h>
17940 main ()
17942 struct stat buffer;
17943 fstat(0, &buffer);
17944 S_ISREG(buffer.st_mode);
17946 return 0;
17948 _ACEOF
17949 if ac_fn_cxx_try_compile "$LINENO"; then :
17950 glibcxx_cv_S_ISREG=yes
17951 else
17952 glibcxx_cv_S_ISREG=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 else
17956 if test x$gcc_no_link = xyes; then
17957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #include <sys/stat.h>
17963 main ()
17965 struct stat buffer;
17966 fstat(0, &buffer);
17967 S_ISREG(buffer.st_mode);
17969 return 0;
17971 _ACEOF
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 glibcxx_cv_S_ISREG=yes
17974 else
17975 glibcxx_cv_S_ISREG=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17983 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17987 if test x$gcc_no_link = xyes; then
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <sys/stat.h>
17992 main ()
17994 struct stat buffer;
17995 fstat(0, &buffer);
17996 S_IFREG & buffer.st_mode;
17998 return 0;
18000 _ACEOF
18001 if ac_fn_cxx_try_compile "$LINENO"; then :
18002 glibcxx_cv_S_IFREG=yes
18003 else
18004 glibcxx_cv_S_IFREG=no
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 else
18008 if test x$gcc_no_link = xyes; then
18009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <sys/stat.h>
18015 main ()
18017 struct stat buffer;
18018 fstat(0, &buffer);
18019 S_IFREG & buffer.st_mode;
18021 return 0;
18023 _ACEOF
18024 if ac_fn_cxx_try_link "$LINENO"; then :
18025 glibcxx_cv_S_IFREG=yes
18026 else
18027 glibcxx_cv_S_IFREG=no
18029 rm -f core conftest.err conftest.$ac_objext \
18030 conftest$ac_exeext conftest.$ac_ext
18035 res=no
18036 if test $glibcxx_cv_S_ISREG = yes; then
18038 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18040 res=S_ISREG
18041 elif test $glibcxx_cv_S_IFREG = yes; then
18043 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18045 res=S_IFREG
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18048 $as_echo "$res" >&6; }
18050 CXXFLAGS="$ac_save_CXXFLAGS"
18051 ac_ext=c
18052 ac_cpp='$CPP $CPPFLAGS'
18053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18059 # For xsputn_2().
18060 for ac_header in sys/uio.h
18061 do :
18062 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18063 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_SYS_UIO_H 1
18066 _ACEOF
18070 done
18075 ac_ext=cpp
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18081 ac_save_CXXFLAGS="$CXXFLAGS"
18082 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18085 $as_echo_n "checking for writev... " >&6; }
18086 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18090 if test x$gcc_no_link = xyes; then
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18093 #include <sys/uio.h>
18095 main ()
18097 struct iovec iov[2];
18098 writev(0, iov, 0);
18100 return 0;
18102 _ACEOF
18103 if ac_fn_cxx_try_compile "$LINENO"; then :
18104 glibcxx_cv_WRITEV=yes
18105 else
18106 glibcxx_cv_WRITEV=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 else
18110 if test x$gcc_no_link = xyes; then
18111 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18115 #include <sys/uio.h>
18117 main ()
18119 struct iovec iov[2];
18120 writev(0, iov, 0);
18122 return 0;
18124 _ACEOF
18125 if ac_fn_cxx_try_link "$LINENO"; then :
18126 glibcxx_cv_WRITEV=yes
18127 else
18128 glibcxx_cv_WRITEV=no
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18136 if test $glibcxx_cv_WRITEV = yes; then
18138 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18142 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18144 CXXFLAGS="$ac_save_CXXFLAGS"
18145 ac_ext=c
18146 ac_cpp='$CPP $CPPFLAGS'
18147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153 # For C99 support to TR1.
18157 ac_ext=cpp
18158 ac_cpp='$CXXCPP $CPPFLAGS'
18159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18165 # undefined and fake C99 facilities may be spuriously enabled.
18166 ac_save_CXXFLAGS="$CXXFLAGS"
18167 CXXFLAGS="$CXXFLAGS -std=c++98"
18169 # Check for the existence of <complex.h> complex math functions used
18170 # by tr1/complex.
18171 for ac_header in complex.h
18172 do :
18173 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18174 if test "x$ac_cv_header_complex_h" = x""yes; then :
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_COMPLEX_H 1
18177 _ACEOF
18178 ac_has_complex_h=yes
18179 else
18180 ac_has_complex_h=no
18183 done
18185 ac_c99_complex_tr1=no;
18186 if test x"$ac_has_complex_h" = x"yes"; then
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18188 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191 #include <complex.h>
18193 main ()
18195 typedef __complex__ float float_type; float_type tmpf;
18196 cacosf(tmpf);
18197 casinf(tmpf);
18198 catanf(tmpf);
18199 cacoshf(tmpf);
18200 casinhf(tmpf);
18201 catanhf(tmpf);
18202 typedef __complex__ double double_type; double_type tmpd;
18203 cacos(tmpd);
18204 casin(tmpd);
18205 catan(tmpd);
18206 cacosh(tmpd);
18207 casinh(tmpd);
18208 catanh(tmpd);
18209 typedef __complex__ long double ld_type; ld_type tmpld;
18210 cacosl(tmpld);
18211 casinl(tmpld);
18212 catanl(tmpld);
18213 cacoshl(tmpld);
18214 casinhl(tmpld);
18215 catanhl(tmpld);
18218 return 0;
18220 _ACEOF
18221 if ac_fn_cxx_try_compile "$LINENO"; then :
18222 ac_c99_complex_tr1=yes
18223 else
18224 ac_c99_complex_tr1=no
18226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18229 $as_echo "$ac_c99_complex_tr1" >&6; }
18230 if test x"$ac_c99_complex_tr1" = x"yes"; then
18232 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18236 # Check for the existence of <ctype.h> functions.
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18238 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18239 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18240 $as_echo_n "(cached) " >&6
18241 else
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <ctype.h>
18247 main ()
18249 int ch;
18250 int ret;
18251 ret = isblank(ch);
18254 return 0;
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_c99_ctype_tr1=yes
18259 else
18260 glibcxx_cv_c99_ctype_tr1=no
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18267 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18268 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18270 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18274 # Check for the existence of <fenv.h> functions.
18275 for ac_header in fenv.h
18276 do :
18277 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18278 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18279 cat >>confdefs.h <<_ACEOF
18280 #define HAVE_FENV_H 1
18281 _ACEOF
18282 ac_has_fenv_h=yes
18283 else
18284 ac_has_fenv_h=no
18287 done
18289 ac_c99_fenv_tr1=no;
18290 if test x"$ac_has_fenv_h" = x"yes"; then
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18292 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <fenv.h>
18297 main ()
18299 int except, mode;
18300 fexcept_t* pflag;
18301 fenv_t* penv;
18302 int ret;
18303 ret = feclearexcept(except);
18304 ret = fegetexceptflag(pflag, except);
18305 ret = feraiseexcept(except);
18306 ret = fesetexceptflag(pflag, except);
18307 ret = fetestexcept(except);
18308 ret = fegetround();
18309 ret = fesetround(mode);
18310 ret = fegetenv(penv);
18311 ret = feholdexcept(penv);
18312 ret = fesetenv(penv);
18313 ret = feupdateenv(penv);
18316 return 0;
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 ac_c99_fenv_tr1=yes
18321 else
18322 ac_c99_fenv_tr1=no
18324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18327 $as_echo "$ac_c99_fenv_tr1" >&6; }
18328 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18330 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18334 # Check for the existence of <stdint.h> types.
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18336 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18337 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #define __STDC_LIMIT_MACROS
18344 #define __STDC_CONSTANT_MACROS
18345 #include <stdint.h>
18347 main ()
18349 typedef int8_t my_int8_t;
18350 my_int8_t i8 = INT8_MIN;
18351 i8 = INT8_MAX;
18352 typedef int16_t my_int16_t;
18353 my_int16_t i16 = INT16_MIN;
18354 i16 = INT16_MAX;
18355 typedef int32_t my_int32_t;
18356 my_int32_t i32 = INT32_MIN;
18357 i32 = INT32_MAX;
18358 typedef int64_t my_int64_t;
18359 my_int64_t i64 = INT64_MIN;
18360 i64 = INT64_MAX;
18361 typedef int_fast8_t my_int_fast8_t;
18362 my_int_fast8_t if8 = INT_FAST8_MIN;
18363 if8 = INT_FAST8_MAX;
18364 typedef int_fast16_t my_int_fast16_t;
18365 my_int_fast16_t if16 = INT_FAST16_MIN;
18366 if16 = INT_FAST16_MAX;
18367 typedef int_fast32_t my_int_fast32_t;
18368 my_int_fast32_t if32 = INT_FAST32_MIN;
18369 if32 = INT_FAST32_MAX;
18370 typedef int_fast64_t my_int_fast64_t;
18371 my_int_fast64_t if64 = INT_FAST64_MIN;
18372 if64 = INT_FAST64_MAX;
18373 typedef int_least8_t my_int_least8_t;
18374 my_int_least8_t il8 = INT_LEAST8_MIN;
18375 il8 = INT_LEAST8_MAX;
18376 typedef int_least16_t my_int_least16_t;
18377 my_int_least16_t il16 = INT_LEAST16_MIN;
18378 il16 = INT_LEAST16_MAX;
18379 typedef int_least32_t my_int_least32_t;
18380 my_int_least32_t il32 = INT_LEAST32_MIN;
18381 il32 = INT_LEAST32_MAX;
18382 typedef int_least64_t my_int_least64_t;
18383 my_int_least64_t il64 = INT_LEAST64_MIN;
18384 il64 = INT_LEAST64_MAX;
18385 typedef intmax_t my_intmax_t;
18386 my_intmax_t im = INTMAX_MAX;
18387 im = INTMAX_MIN;
18388 typedef intptr_t my_intptr_t;
18389 my_intptr_t ip = INTPTR_MAX;
18390 ip = INTPTR_MIN;
18391 typedef uint8_t my_uint8_t;
18392 my_uint8_t ui8 = UINT8_MAX;
18393 ui8 = UINT8_MAX;
18394 typedef uint16_t my_uint16_t;
18395 my_uint16_t ui16 = UINT16_MAX;
18396 ui16 = UINT16_MAX;
18397 typedef uint32_t my_uint32_t;
18398 my_uint32_t ui32 = UINT32_MAX;
18399 ui32 = UINT32_MAX;
18400 typedef uint64_t my_uint64_t;
18401 my_uint64_t ui64 = UINT64_MAX;
18402 ui64 = UINT64_MAX;
18403 typedef uint_fast8_t my_uint_fast8_t;
18404 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18405 uif8 = UINT_FAST8_MAX;
18406 typedef uint_fast16_t my_uint_fast16_t;
18407 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18408 uif16 = UINT_FAST16_MAX;
18409 typedef uint_fast32_t my_uint_fast32_t;
18410 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18411 uif32 = UINT_FAST32_MAX;
18412 typedef uint_fast64_t my_uint_fast64_t;
18413 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18414 uif64 = UINT_FAST64_MAX;
18415 typedef uint_least8_t my_uint_least8_t;
18416 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18417 uil8 = UINT_LEAST8_MAX;
18418 typedef uint_least16_t my_uint_least16_t;
18419 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18420 uil16 = UINT_LEAST16_MAX;
18421 typedef uint_least32_t my_uint_least32_t;
18422 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18423 uil32 = UINT_LEAST32_MAX;
18424 typedef uint_least64_t my_uint_least64_t;
18425 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18426 uil64 = UINT_LEAST64_MAX;
18427 typedef uintmax_t my_uintmax_t;
18428 my_uintmax_t uim = UINTMAX_MAX;
18429 uim = UINTMAX_MAX;
18430 typedef uintptr_t my_uintptr_t;
18431 my_uintptr_t uip = UINTPTR_MAX;
18432 uip = UINTPTR_MAX;
18435 return 0;
18437 _ACEOF
18438 if ac_fn_cxx_try_compile "$LINENO"; then :
18439 glibcxx_cv_c99_stdint_tr1=yes
18440 else
18441 glibcxx_cv_c99_stdint_tr1=no
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18448 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18449 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18451 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18455 # Check for the existence of <math.h> functions.
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18457 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18458 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 #include <math.h>
18466 main ()
18468 typedef double_t my_double_t;
18469 typedef float_t my_float_t;
18470 acosh(0.0);
18471 acoshf(0.0f);
18472 acoshl(0.0l);
18473 asinh(0.0);
18474 asinhf(0.0f);
18475 asinhl(0.0l);
18476 atanh(0.0);
18477 atanhf(0.0f);
18478 atanhl(0.0l);
18479 cbrt(0.0);
18480 cbrtf(0.0f);
18481 cbrtl(0.0l);
18482 copysign(0.0, 0.0);
18483 copysignf(0.0f, 0.0f);
18484 copysignl(0.0l, 0.0l);
18485 erf(0.0);
18486 erff(0.0f);
18487 erfl(0.0l);
18488 erfc(0.0);
18489 erfcf(0.0f);
18490 erfcl(0.0l);
18491 exp2(0.0);
18492 exp2f(0.0f);
18493 exp2l(0.0l);
18494 expm1(0.0);
18495 expm1f(0.0f);
18496 expm1l(0.0l);
18497 fdim(0.0, 0.0);
18498 fdimf(0.0f, 0.0f);
18499 fdiml(0.0l, 0.0l);
18500 fma(0.0, 0.0, 0.0);
18501 fmaf(0.0f, 0.0f, 0.0f);
18502 fmal(0.0l, 0.0l, 0.0l);
18503 fmax(0.0, 0.0);
18504 fmaxf(0.0f, 0.0f);
18505 fmaxl(0.0l, 0.0l);
18506 fmin(0.0, 0.0);
18507 fminf(0.0f, 0.0f);
18508 fminl(0.0l, 0.0l);
18509 hypot(0.0, 0.0);
18510 hypotf(0.0f, 0.0f);
18511 hypotl(0.0l, 0.0l);
18512 ilogb(0.0);
18513 ilogbf(0.0f);
18514 ilogbl(0.0l);
18515 lgamma(0.0);
18516 lgammaf(0.0f);
18517 lgammal(0.0l);
18518 llrint(0.0);
18519 llrintf(0.0f);
18520 llrintl(0.0l);
18521 llround(0.0);
18522 llroundf(0.0f);
18523 llroundl(0.0l);
18524 log1p(0.0);
18525 log1pf(0.0f);
18526 log1pl(0.0l);
18527 log2(0.0);
18528 log2f(0.0f);
18529 log2l(0.0l);
18530 logb(0.0);
18531 logbf(0.0f);
18532 logbl(0.0l);
18533 lrint(0.0);
18534 lrintf(0.0f);
18535 lrintl(0.0l);
18536 lround(0.0);
18537 lroundf(0.0f);
18538 lroundl(0.0l);
18539 nan(0);
18540 nanf(0);
18541 nanl(0);
18542 nearbyint(0.0);
18543 nearbyintf(0.0f);
18544 nearbyintl(0.0l);
18545 nextafter(0.0, 0.0);
18546 nextafterf(0.0f, 0.0f);
18547 nextafterl(0.0l, 0.0l);
18548 nexttoward(0.0, 0.0);
18549 nexttowardf(0.0f, 0.0f);
18550 nexttowardl(0.0l, 0.0l);
18551 remainder(0.0, 0.0);
18552 remainderf(0.0f, 0.0f);
18553 remainderl(0.0l, 0.0l);
18554 remquo(0.0, 0.0, 0);
18555 remquof(0.0f, 0.0f, 0);
18556 remquol(0.0l, 0.0l, 0);
18557 rint(0.0);
18558 rintf(0.0f);
18559 rintl(0.0l);
18560 round(0.0);
18561 roundf(0.0f);
18562 roundl(0.0l);
18563 scalbln(0.0, 0l);
18564 scalblnf(0.0f, 0l);
18565 scalblnl(0.0l, 0l);
18566 scalbn(0.0, 0);
18567 scalbnf(0.0f, 0);
18568 scalbnl(0.0l, 0);
18569 tgamma(0.0);
18570 tgammaf(0.0f);
18571 tgammal(0.0l);
18572 trunc(0.0);
18573 truncf(0.0f);
18574 truncl(0.0l);
18577 return 0;
18579 _ACEOF
18580 if ac_fn_cxx_try_compile "$LINENO"; then :
18581 glibcxx_cv_c99_math_tr1=yes
18582 else
18583 glibcxx_cv_c99_math_tr1=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18590 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18591 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18593 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18597 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18598 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18599 ac_c99_inttypes_tr1=no;
18600 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18602 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <inttypes.h>
18607 main ()
18609 intmax_t i, numer, denom, base;
18610 const char* s;
18611 char** endptr;
18612 intmax_t ret = imaxabs(i);
18613 imaxdiv_t dret = imaxdiv(numer, denom);
18614 ret = strtoimax(s, endptr, base);
18615 uintmax_t uret = strtoumax(s, endptr, base);
18618 return 0;
18620 _ACEOF
18621 if ac_fn_cxx_try_compile "$LINENO"; then :
18622 ac_c99_inttypes_tr1=yes
18623 else
18624 ac_c99_inttypes_tr1=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18629 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18630 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18632 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18636 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18637 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638 ac_c99_inttypes_wchar_t_tr1=no;
18639 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <inttypes.h>
18646 main ()
18648 intmax_t base;
18649 const wchar_t* s;
18650 wchar_t** endptr;
18651 intmax_t ret = wcstoimax(s, endptr, base);
18652 uintmax_t uret = wcstoumax(s, endptr, base);
18655 return 0;
18657 _ACEOF
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 ac_c99_inttypes_wchar_t_tr1=yes
18660 else
18661 ac_c99_inttypes_wchar_t_tr1=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18666 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18667 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18669 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18673 # Check for the existence of the <stdbool.h> header.
18674 for ac_header in stdbool.h
18675 do :
18676 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_STDBOOL_H 1
18680 _ACEOF
18684 done
18687 CXXFLAGS="$ac_save_CXXFLAGS"
18688 ac_ext=c
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18696 # For common values of EOF, SEEK_CUR, SEEK_END.
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18700 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18701 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18702 $as_echo_n "(cached) " >&6
18703 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #include <stdio.h>
18709 main ()
18711 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18712 unusual values...
18713 #endif
18716 return 0;
18718 _ACEOF
18719 if ac_fn_c_try_compile "$LINENO"; then :
18720 glibcxx_cv_stdio_macros=yes
18721 else
18722 glibcxx_cv_stdio_macros=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18729 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18730 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18732 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18738 # For gettimeofday support.
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18742 $as_echo_n "checking for gettimeofday... " >&6; }
18745 ac_ext=cpp
18746 ac_cpp='$CXXCPP $CPPFLAGS'
18747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18751 ac_save_CXXFLAGS="$CXXFLAGS"
18752 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18754 ac_has_gettimeofday=no;
18755 for ac_header in sys/time.h
18756 do :
18757 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18758 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_SYS_TIME_H 1
18761 _ACEOF
18762 ac_has_sys_time_h=yes
18763 else
18764 ac_has_sys_time_h=no
18767 done
18769 if test x"$ac_has_sys_time_h" = x"yes"; then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18771 $as_echo_n "checking for gettimeofday... " >&6; }
18772 if test x$gcc_no_link = xyes; then
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <sys/time.h>
18777 main ()
18779 timeval tv; gettimeofday(&tv, 0);
18781 return 0;
18783 _ACEOF
18784 if ac_fn_cxx_try_compile "$LINENO"; then :
18785 ac_has_gettimeofday=yes
18786 else
18787 ac_has_gettimeofday=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 else
18791 if test x$gcc_no_link = xyes; then
18792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <sys/time.h>
18798 main ()
18800 timeval tv; gettimeofday(&tv, 0);
18802 return 0;
18804 _ACEOF
18805 if ac_fn_cxx_try_link "$LINENO"; then :
18806 ac_has_gettimeofday=yes
18807 else
18808 ac_has_gettimeofday=no
18810 rm -f core conftest.err conftest.$ac_objext \
18811 conftest$ac_exeext conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18815 $as_echo "$ac_has_gettimeofday" >&6; }
18818 if test x"$ac_has_gettimeofday" = x"yes"; then
18820 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18824 CXXFLAGS="$ac_save_CXXFLAGS"
18825 ac_ext=c
18826 ac_cpp='$CPP $CPPFLAGS'
18827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18833 # For clock_gettime, nanosleep and sched_yield support.
18834 # NB: The default is [no], because otherwise it requires linking.
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18838 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18839 # Check whether --enable-libstdcxx-time was given.
18840 if test "${enable_libstdcxx_time+set}" = set; then :
18841 enableval=$enable_libstdcxx_time;
18842 case "$enableval" in
18843 yes|no|rt) ;;
18844 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18845 esac
18847 else
18848 enable_libstdcxx_time=no
18854 ac_ext=cpp
18855 ac_cpp='$CXXCPP $CPPFLAGS'
18856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18860 ac_save_CXXFLAGS="$CXXFLAGS"
18861 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18862 ac_save_LIBS="$LIBS"
18864 ac_has_clock_monotonic=no
18865 ac_has_clock_realtime=no
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18867 $as_echo "$enable_libstdcxx_time" >&6; }
18869 if test x"$enable_libstdcxx_time" != x"no"; then
18871 if test x"$enable_libstdcxx_time" = x"rt"; then
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18873 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18874 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18875 $as_echo_n "(cached) " >&6
18876 else
18877 ac_func_search_save_LIBS=$LIBS
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18881 /* Override any GCC internal prototype to avoid an error.
18882 Use char because int might match the return type of a GCC
18883 builtin and then its argument prototype would still apply. */
18884 #ifdef __cplusplus
18885 extern "C"
18886 #endif
18887 char clock_gettime ();
18889 main ()
18891 return clock_gettime ();
18893 return 0;
18895 _ACEOF
18896 for ac_lib in '' rt posix4; do
18897 if test -z "$ac_lib"; then
18898 ac_res="none required"
18899 else
18900 ac_res=-l$ac_lib
18901 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18903 if test x$gcc_no_link = xyes; then
18904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18906 if ac_fn_cxx_try_link "$LINENO"; then :
18907 ac_cv_search_clock_gettime=$ac_res
18909 rm -f core conftest.err conftest.$ac_objext \
18910 conftest$ac_exeext
18911 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18912 break
18914 done
18915 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18917 else
18918 ac_cv_search_clock_gettime=no
18920 rm conftest.$ac_ext
18921 LIBS=$ac_func_search_save_LIBS
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18924 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18925 ac_res=$ac_cv_search_clock_gettime
18926 if test "$ac_res" != no; then :
18927 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18932 $as_echo_n "checking for library containing nanosleep... " >&6; }
18933 if test "${ac_cv_search_nanosleep+set}" = set; then :
18934 $as_echo_n "(cached) " >&6
18935 else
18936 ac_func_search_save_LIBS=$LIBS
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938 /* end confdefs.h. */
18940 /* Override any GCC internal prototype to avoid an error.
18941 Use char because int might match the return type of a GCC
18942 builtin and then its argument prototype would still apply. */
18943 #ifdef __cplusplus
18944 extern "C"
18945 #endif
18946 char nanosleep ();
18948 main ()
18950 return nanosleep ();
18952 return 0;
18954 _ACEOF
18955 for ac_lib in '' rt posix4; do
18956 if test -z "$ac_lib"; then
18957 ac_res="none required"
18958 else
18959 ac_res=-l$ac_lib
18960 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18962 if test x$gcc_no_link = xyes; then
18963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18965 if ac_fn_cxx_try_link "$LINENO"; then :
18966 ac_cv_search_nanosleep=$ac_res
18968 rm -f core conftest.err conftest.$ac_objext \
18969 conftest$ac_exeext
18970 if test "${ac_cv_search_nanosleep+set}" = set; then :
18971 break
18973 done
18974 if test "${ac_cv_search_nanosleep+set}" = set; then :
18976 else
18977 ac_cv_search_nanosleep=no
18979 rm conftest.$ac_ext
18980 LIBS=$ac_func_search_save_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18983 $as_echo "$ac_cv_search_nanosleep" >&6; }
18984 ac_res=$ac_cv_search_nanosleep
18985 if test "$ac_res" != no; then :
18986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18990 else
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18992 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18993 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18996 ac_func_search_save_LIBS=$LIBS
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
19000 /* Override any GCC internal prototype to avoid an error.
19001 Use char because int might match the return type of a GCC
19002 builtin and then its argument prototype would still apply. */
19003 #ifdef __cplusplus
19004 extern "C"
19005 #endif
19006 char clock_gettime ();
19008 main ()
19010 return clock_gettime ();
19012 return 0;
19014 _ACEOF
19015 for ac_lib in '' posix4; do
19016 if test -z "$ac_lib"; then
19017 ac_res="none required"
19018 else
19019 ac_res=-l$ac_lib
19020 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19022 if test x$gcc_no_link = xyes; then
19023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19025 if ac_fn_cxx_try_link "$LINENO"; then :
19026 ac_cv_search_clock_gettime=$ac_res
19028 rm -f core conftest.err conftest.$ac_objext \
19029 conftest$ac_exeext
19030 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19031 break
19033 done
19034 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19036 else
19037 ac_cv_search_clock_gettime=no
19039 rm conftest.$ac_ext
19040 LIBS=$ac_func_search_save_LIBS
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19043 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19044 ac_res=$ac_cv_search_clock_gettime
19045 if test "$ac_res" != no; then :
19046 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19051 $as_echo_n "checking for library containing nanosleep... " >&6; }
19052 if test "${ac_cv_search_nanosleep+set}" = set; then :
19053 $as_echo_n "(cached) " >&6
19054 else
19055 ac_func_search_save_LIBS=$LIBS
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19059 /* Override any GCC internal prototype to avoid an error.
19060 Use char because int might match the return type of a GCC
19061 builtin and then its argument prototype would still apply. */
19062 #ifdef __cplusplus
19063 extern "C"
19064 #endif
19065 char nanosleep ();
19067 main ()
19069 return nanosleep ();
19071 return 0;
19073 _ACEOF
19074 for ac_lib in '' posix4; do
19075 if test -z "$ac_lib"; then
19076 ac_res="none required"
19077 else
19078 ac_res=-l$ac_lib
19079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19081 if test x$gcc_no_link = xyes; then
19082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19084 if ac_fn_cxx_try_link "$LINENO"; then :
19085 ac_cv_search_nanosleep=$ac_res
19087 rm -f core conftest.err conftest.$ac_objext \
19088 conftest$ac_exeext
19089 if test "${ac_cv_search_nanosleep+set}" = set; then :
19090 break
19092 done
19093 if test "${ac_cv_search_nanosleep+set}" = set; then :
19095 else
19096 ac_cv_search_nanosleep=no
19098 rm conftest.$ac_ext
19099 LIBS=$ac_func_search_save_LIBS
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19102 $as_echo "$ac_cv_search_nanosleep" >&6; }
19103 ac_res=$ac_cv_search_nanosleep
19104 if test "$ac_res" != no; then :
19105 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19111 case "$ac_cv_search_clock_gettime" in
19112 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19114 esac
19115 case "$ac_cv_search_nanosleep" in
19116 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19118 esac
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19121 $as_echo_n "checking for library containing sched_yield... " >&6; }
19122 if test "${ac_cv_search_sched_yield+set}" = set; then :
19123 $as_echo_n "(cached) " >&6
19124 else
19125 ac_func_search_save_LIBS=$LIBS
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19129 /* Override any GCC internal prototype to avoid an error.
19130 Use char because int might match the return type of a GCC
19131 builtin and then its argument prototype would still apply. */
19132 #ifdef __cplusplus
19133 extern "C"
19134 #endif
19135 char sched_yield ();
19137 main ()
19139 return sched_yield ();
19141 return 0;
19143 _ACEOF
19144 for ac_lib in '' rt posix4; do
19145 if test -z "$ac_lib"; then
19146 ac_res="none required"
19147 else
19148 ac_res=-l$ac_lib
19149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19151 if test x$gcc_no_link = xyes; then
19152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19154 if ac_fn_cxx_try_link "$LINENO"; then :
19155 ac_cv_search_sched_yield=$ac_res
19157 rm -f core conftest.err conftest.$ac_objext \
19158 conftest$ac_exeext
19159 if test "${ac_cv_search_sched_yield+set}" = set; then :
19160 break
19162 done
19163 if test "${ac_cv_search_sched_yield+set}" = set; then :
19165 else
19166 ac_cv_search_sched_yield=no
19168 rm conftest.$ac_ext
19169 LIBS=$ac_func_search_save_LIBS
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19172 $as_echo "$ac_cv_search_sched_yield" >&6; }
19173 ac_res=$ac_cv_search_sched_yield
19174 if test "$ac_res" != no; then :
19175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19180 case "$ac_cv_search_sched_yield" in
19181 -lposix4*)
19182 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19184 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19187 -lrt*)
19188 if test x"$enable_libstdcxx_time" = x"rt"; then
19189 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19191 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19197 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19200 esac
19202 for ac_header in unistd.h
19203 do :
19204 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19205 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_UNISTD_H 1
19208 _ACEOF
19209 ac_has_unistd_h=yes
19210 else
19211 ac_has_unistd_h=no
19214 done
19217 if test x"$ac_has_unistd_h" = x"yes"; then
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19219 $as_echo_n "checking for monotonic clock... " >&6; }
19220 if test x$gcc_no_link = xyes; then
19221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 #include <unistd.h>
19226 #include <time.h>
19229 main ()
19231 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19232 timespec tp;
19233 #endif
19234 clock_gettime(CLOCK_MONOTONIC, &tp);
19237 return 0;
19239 _ACEOF
19240 if ac_fn_cxx_try_link "$LINENO"; then :
19241 ac_has_clock_monotonic=yes
19242 else
19243 ac_has_clock_monotonic=no
19245 rm -f core conftest.err conftest.$ac_objext \
19246 conftest$ac_exeext conftest.$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19249 $as_echo "$ac_has_clock_monotonic" >&6; }
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19252 $as_echo_n "checking for realtime clock... " >&6; }
19253 if test x$gcc_no_link = xyes; then
19254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 #include <unistd.h>
19259 #include <time.h>
19262 main ()
19264 #if _POSIX_TIMERS > 0
19265 timespec tp;
19266 #endif
19267 clock_gettime(CLOCK_REALTIME, &tp);
19270 return 0;
19272 _ACEOF
19273 if ac_fn_cxx_try_link "$LINENO"; then :
19274 ac_has_clock_realtime=yes
19275 else
19276 ac_has_clock_realtime=no
19278 rm -f core conftest.err conftest.$ac_objext \
19279 conftest$ac_exeext conftest.$ac_ext
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19282 $as_echo "$ac_has_clock_realtime" >&6; }
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19285 $as_echo_n "checking for nanosleep... " >&6; }
19286 if test x$gcc_no_link = xyes; then
19287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19292 #include <time.h>
19295 main ()
19297 #if _POSIX_TIMERS > 0
19298 timespec tp;
19299 #endif
19300 nanosleep(&tp, 0);
19303 return 0;
19305 _ACEOF
19306 if ac_fn_cxx_try_link "$LINENO"; then :
19307 ac_has_nanosleep=yes
19308 else
19309 ac_has_nanosleep=no
19311 rm -f core conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19315 $as_echo "$ac_has_nanosleep" >&6; }
19319 if test x"$ac_has_clock_monotonic" = x"yes"; then
19321 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19325 if test x"$ac_has_clock_realtime" = x"yes"; then
19327 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19331 if test x"$ac_has_nanosleep" = x"yes"; then
19333 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19339 CXXFLAGS="$ac_save_CXXFLAGS"
19340 LIBS="$ac_save_LIBS"
19341 ac_ext=c
19342 ac_cpp='$CPP $CPPFLAGS'
19343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19349 # For gthread support
19352 ac_ext=cpp
19353 ac_cpp='$CXXCPP $CPPFLAGS'
19354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19359 ac_save_CXXFLAGS="$CXXFLAGS"
19360 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19362 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19363 case $target_thread_file in
19364 posix)
19365 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19366 esac
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19369 $as_echo_n "checking for gthreads library... " >&6; }
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 #include "gthr.h"
19375 main ()
19378 #ifndef __GTHREADS_CXX0X
19379 #error
19380 #endif
19382 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19383 #if (defined(_PTHREADS) \
19384 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19385 #error
19386 #endif
19389 return 0;
19391 _ACEOF
19392 if ac_fn_cxx_try_compile "$LINENO"; then :
19393 ac_has_gthreads=yes
19394 else
19395 ac_has_gthreads=no
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19400 $as_echo "$ac_has_gthreads" >&6; }
19402 if test x"$ac_has_gthreads" = x"yes"; then
19404 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19408 CXXFLAGS="$ac_save_CXXFLAGS"
19409 ac_ext=c
19410 ac_cpp='$CPP $CPPFLAGS'
19411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19419 if test "x$ac_cv_header_locale_h" = x""yes; then :
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19422 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19423 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #include <locale.h>
19430 main ()
19432 return LC_MESSAGES
19434 return 0;
19436 _ACEOF
19437 if ac_fn_c_try_compile "$LINENO"; then :
19438 ac_cv_val_LC_MESSAGES=yes
19439 else
19440 ac_cv_val_LC_MESSAGES=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19445 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19446 if test $ac_cv_val_LC_MESSAGES = yes; then
19448 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19457 # Check for available headers.
19458 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19459 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19460 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19461 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19462 wchar.h wctype.h
19463 do :
19464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19466 eval as_val=\$$as_ac_Header
19467 if test "x$as_val" = x""yes; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19470 _ACEOF
19474 done
19477 # Only do link tests if native. Else, hardcode.
19478 if $GLIBCXX_IS_NATIVE; then
19480 # We can do more elaborate tests that assume a working linker.
19481 CANADIAN=no
19485 # Check whether --with-gnu-ld was given.
19486 if test "${with_gnu_ld+set}" = set; then :
19487 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19488 else
19489 with_gnu_ld=no
19492 ac_prog=ld
19493 if test "$GCC" = yes; then
19494 # Check if gcc -print-prog-name=ld gives a path.
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19496 $as_echo_n "checking for ld used by $CC... " >&6; }
19497 case $host in
19498 *-*-mingw*)
19499 # gcc leaves a trailing carriage return which upsets mingw
19500 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19502 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19503 esac
19504 case $ac_prog in
19505 # Accept absolute paths.
19506 [\\/]* | ?:[\\/]*)
19507 re_direlt='/[^/][^/]*/\.\./'
19508 # Canonicalize the pathname of ld
19509 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19510 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19511 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19512 done
19513 test -z "$LD" && LD="$ac_prog"
19516 # If it fails, then pretend we aren't using GCC.
19517 ac_prog=ld
19520 # If it is relative, then search for the first ld in PATH.
19521 with_gnu_ld=unknown
19523 esac
19524 elif test "$with_gnu_ld" = yes; then
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19526 $as_echo_n "checking for GNU ld... " >&6; }
19527 else
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19529 $as_echo_n "checking for non-GNU ld... " >&6; }
19531 if test "${lt_cv_path_LD+set}" = set; then :
19532 $as_echo_n "(cached) " >&6
19533 else
19534 if test -z "$LD"; then
19535 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19536 for ac_dir in $PATH; do
19537 IFS="$lt_save_ifs"
19538 test -z "$ac_dir" && ac_dir=.
19539 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19540 lt_cv_path_LD="$ac_dir/$ac_prog"
19541 # Check to see if the program is GNU ld. I'd rather use --version,
19542 # but apparently some variants of GNU ld only accept -v.
19543 # Break only if it was the GNU/non-GNU ld that we prefer.
19544 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19545 *GNU* | *'with BFD'*)
19546 test "$with_gnu_ld" != no && break
19549 test "$with_gnu_ld" != yes && break
19551 esac
19553 done
19554 IFS="$lt_save_ifs"
19555 else
19556 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19560 LD="$lt_cv_path_LD"
19561 if test -n "$LD"; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19563 $as_echo "$LD" >&6; }
19564 else
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19566 $as_echo "no" >&6; }
19568 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19570 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19571 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19575 case `$LD -v 2>&1 </dev/null` in
19576 *GNU* | *'with BFD'*)
19577 lt_cv_prog_gnu_ld=yes
19580 lt_cv_prog_gnu_ld=no
19582 esac
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19585 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19586 with_gnu_ld=$lt_cv_prog_gnu_ld
19594 # If we're not using GNU ld, then there's no point in even trying these
19595 # tests. Check for that first. We should have already tested for gld
19596 # by now (in libtool), but require it now just to be safe...
19597 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19598 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19602 # The name set by libtool depends on the version of libtool. Shame on us
19603 # for depending on an impl detail, but c'est la vie. Older versions used
19604 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19605 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19606 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19607 # set (hence we're using an older libtool), then set it.
19608 if test x${with_gnu_ld+set} != xset; then
19609 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19610 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19611 with_gnu_ld=no
19612 else
19613 with_gnu_ld=$ac_cv_prog_gnu_ld
19617 # Start by getting the version number. I think the libtool test already
19618 # does some of this, but throws away the result.
19619 glibcxx_ld_is_gold=no
19620 if test x"$with_gnu_ld" = x"yes"; then
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19622 $as_echo_n "checking for ld version... " >&6; }
19624 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19625 glibcxx_ld_is_gold=yes
19627 ldver=`$LD --version 2>/dev/null |
19628 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'`
19630 glibcxx_gnu_ld_version=`echo $ldver | \
19631 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19633 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19636 # Set --gc-sections.
19637 glibcxx_have_gc_sections=no
19638 if test "$glibcxx_ld_is_gold" = "yes"; then
19639 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19640 glibcxx_have_gc_sections=yes
19642 else
19643 glibcxx_gcsections_min_ld=21602
19644 if test x"$with_gnu_ld" = x"yes" &&
19645 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19646 glibcxx_have_gc_sections=yes
19649 if test "$glibcxx_have_gc_sections" = "yes"; then
19650 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19651 # NB: This flag only works reliably after 2.16.1. Configure tests
19652 # for this are difficult, so hard wire a value that should work.
19654 ac_test_CFLAGS="${CFLAGS+set}"
19655 ac_save_CFLAGS="$CFLAGS"
19656 CFLAGS='-Wl,--gc-sections'
19658 # Check for -Wl,--gc-sections
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19660 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19661 if test x$gcc_no_link = xyes; then
19662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 int one(void) { return 1; }
19667 int two(void) { return 2; }
19670 main ()
19672 two();
19674 return 0;
19676 _ACEOF
19677 if ac_fn_c_try_link "$LINENO"; then :
19678 ac_gcsections=yes
19679 else
19680 ac_gcsections=no
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19684 if test "$ac_gcsections" = "yes"; then
19685 rm -f conftest.c
19686 touch conftest.c
19687 if $CC -c conftest.c; then
19688 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19689 grep "Warning: gc-sections option ignored" > /dev/null; then
19690 ac_gcsections=no
19693 rm -f conftest.c conftest.o conftest
19695 if test "$ac_gcsections" = "yes"; then
19696 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19699 $as_echo "$ac_gcsections" >&6; }
19701 if test "$ac_test_CFLAGS" = set; then
19702 CFLAGS="$ac_save_CFLAGS"
19703 else
19704 # this is the suspicious part
19705 CFLAGS=''
19709 # Set -z,relro.
19710 # Note this is only for shared objects.
19711 ac_ld_relro=no
19712 if test x"$with_gnu_ld" = x"yes"; then
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19714 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19715 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19716 if test -n "$cxx_z_relo"; then
19717 OPT_LDFLAGS="-Wl,-z,relro"
19718 ac_ld_relro=yes
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19721 $as_echo "$ac_ld_relro" >&6; }
19724 # Set linker optimization flags.
19725 if test x"$with_gnu_ld" = x"yes"; then
19726 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19733 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19734 ac_save_CXXFLAGS="$CXXFLAGS"
19735 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19738 $as_echo_n "checking for sin in -lm... " >&6; }
19739 if test "${ac_cv_lib_m_sin+set}" = set; then :
19740 $as_echo_n "(cached) " >&6
19741 else
19742 ac_check_lib_save_LIBS=$LIBS
19743 LIBS="-lm $LIBS"
19744 if test x$gcc_no_link = xyes; then
19745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19750 /* Override any GCC internal prototype to avoid an error.
19751 Use char because int might match the return type of a GCC
19752 builtin and then its argument prototype would still apply. */
19753 #ifdef __cplusplus
19754 extern "C"
19755 #endif
19756 char sin ();
19758 main ()
19760 return sin ();
19762 return 0;
19764 _ACEOF
19765 if ac_fn_c_try_link "$LINENO"; then :
19766 ac_cv_lib_m_sin=yes
19767 else
19768 ac_cv_lib_m_sin=no
19770 rm -f core conftest.err conftest.$ac_objext \
19771 conftest$ac_exeext conftest.$ac_ext
19772 LIBS=$ac_check_lib_save_LIBS
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19775 $as_echo "$ac_cv_lib_m_sin" >&6; }
19776 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19777 libm="-lm"
19780 ac_save_LIBS="$LIBS"
19781 LIBS="$LIBS $libm"
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19786 $as_echo_n "checking for isinf declaration... " >&6; }
19787 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19788 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19793 ac_ext=cpp
19794 ac_cpp='$CXXCPP $CPPFLAGS'
19795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #include <math.h>
19802 #ifdef HAVE_IEEEFP_H
19803 #include <ieeefp.h>
19804 #endif
19807 main ()
19809 isinf(0);
19811 return 0;
19813 _ACEOF
19814 if ac_fn_cxx_try_compile "$LINENO"; then :
19815 glibcxx_cv_func_isinf_use=yes
19816 else
19817 glibcxx_cv_func_isinf_use=no
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 ac_ext=c
19821 ac_cpp='$CPP $CPPFLAGS'
19822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19831 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19833 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19834 for ac_func in isinf
19835 do :
19836 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19837 if test "x$ac_cv_func_isinf" = x""yes; then :
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_ISINF 1
19840 _ACEOF
19843 done
19845 else
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19848 $as_echo_n "checking for _isinf declaration... " >&6; }
19849 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19850 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19851 $as_echo_n "(cached) " >&6
19852 else
19855 ac_ext=cpp
19856 ac_cpp='$CXXCPP $CPPFLAGS'
19857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863 #include <math.h>
19864 #ifdef HAVE_IEEEFP_H
19865 #include <ieeefp.h>
19866 #endif
19869 main ()
19871 _isinf(0);
19873 return 0;
19875 _ACEOF
19876 if ac_fn_cxx_try_compile "$LINENO"; then :
19877 glibcxx_cv_func__isinf_use=yes
19878 else
19879 glibcxx_cv_func__isinf_use=no
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 ac_ext=c
19883 ac_cpp='$CPP $CPPFLAGS'
19884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19893 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19895 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19896 for ac_func in _isinf
19897 do :
19898 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19899 if test "x$ac_cv_func__isinf" = x""yes; then :
19900 cat >>confdefs.h <<_ACEOF
19901 #define HAVE__ISINF 1
19902 _ACEOF
19905 done
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19915 $as_echo_n "checking for isnan declaration... " >&6; }
19916 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19917 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19919 else
19922 ac_ext=cpp
19923 ac_cpp='$CXXCPP $CPPFLAGS'
19924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #include <math.h>
19931 #ifdef HAVE_IEEEFP_H
19932 #include <ieeefp.h>
19933 #endif
19936 main ()
19938 isnan(0);
19940 return 0;
19942 _ACEOF
19943 if ac_fn_cxx_try_compile "$LINENO"; then :
19944 glibcxx_cv_func_isnan_use=yes
19945 else
19946 glibcxx_cv_func_isnan_use=no
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949 ac_ext=c
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19960 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19962 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19963 for ac_func in isnan
19964 do :
19965 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19966 if test "x$ac_cv_func_isnan" = x""yes; then :
19967 cat >>confdefs.h <<_ACEOF
19968 #define HAVE_ISNAN 1
19969 _ACEOF
19972 done
19974 else
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19977 $as_echo_n "checking for _isnan declaration... " >&6; }
19978 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19979 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19980 $as_echo_n "(cached) " >&6
19981 else
19984 ac_ext=cpp
19985 ac_cpp='$CXXCPP $CPPFLAGS'
19986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19992 #include <math.h>
19993 #ifdef HAVE_IEEEFP_H
19994 #include <ieeefp.h>
19995 #endif
19998 main ()
20000 _isnan(0);
20002 return 0;
20004 _ACEOF
20005 if ac_fn_cxx_try_compile "$LINENO"; then :
20006 glibcxx_cv_func__isnan_use=yes
20007 else
20008 glibcxx_cv_func__isnan_use=no
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 ac_ext=c
20012 ac_cpp='$CPP $CPPFLAGS'
20013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20022 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20024 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20025 for ac_func in _isnan
20026 do :
20027 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20028 if test "x$ac_cv_func__isnan" = x""yes; then :
20029 cat >>confdefs.h <<_ACEOF
20030 #define HAVE__ISNAN 1
20031 _ACEOF
20034 done
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20044 $as_echo_n "checking for finite declaration... " >&6; }
20045 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20046 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20047 $as_echo_n "(cached) " >&6
20048 else
20051 ac_ext=cpp
20052 ac_cpp='$CXXCPP $CPPFLAGS'
20053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #include <math.h>
20060 #ifdef HAVE_IEEEFP_H
20061 #include <ieeefp.h>
20062 #endif
20065 main ()
20067 finite(0);
20069 return 0;
20071 _ACEOF
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073 glibcxx_cv_func_finite_use=yes
20074 else
20075 glibcxx_cv_func_finite_use=no
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20078 ac_ext=c
20079 ac_cpp='$CPP $CPPFLAGS'
20080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20089 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20091 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20092 for ac_func in finite
20093 do :
20094 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20095 if test "x$ac_cv_func_finite" = x""yes; then :
20096 cat >>confdefs.h <<_ACEOF
20097 #define HAVE_FINITE 1
20098 _ACEOF
20101 done
20103 else
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20106 $as_echo_n "checking for _finite declaration... " >&6; }
20107 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20108 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20109 $as_echo_n "(cached) " >&6
20110 else
20113 ac_ext=cpp
20114 ac_cpp='$CXXCPP $CPPFLAGS'
20115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h. */
20121 #include <math.h>
20122 #ifdef HAVE_IEEEFP_H
20123 #include <ieeefp.h>
20124 #endif
20127 main ()
20129 _finite(0);
20131 return 0;
20133 _ACEOF
20134 if ac_fn_cxx_try_compile "$LINENO"; then :
20135 glibcxx_cv_func__finite_use=yes
20136 else
20137 glibcxx_cv_func__finite_use=no
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 ac_ext=c
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20151 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20153 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20154 for ac_func in _finite
20155 do :
20156 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20157 if test "x$ac_cv_func__finite" = x""yes; then :
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE__FINITE 1
20160 _ACEOF
20163 done
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20173 $as_echo_n "checking for sincos declaration... " >&6; }
20174 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20175 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20177 else
20180 ac_ext=cpp
20181 ac_cpp='$CXXCPP $CPPFLAGS'
20182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188 #include <math.h>
20190 main ()
20192 sincos(0, 0, 0);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_func_sincos_use=yes
20199 else
20200 glibcxx_cv_func_sincos_use=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203 ac_ext=c
20204 ac_cpp='$CPP $CPPFLAGS'
20205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20214 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20216 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20217 for ac_func in sincos
20218 do :
20219 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20220 if test "x$ac_cv_func_sincos" = x""yes; then :
20221 cat >>confdefs.h <<_ACEOF
20222 #define HAVE_SINCOS 1
20223 _ACEOF
20226 done
20228 else
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20231 $as_echo_n "checking for _sincos declaration... " >&6; }
20232 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20233 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20235 else
20238 ac_ext=cpp
20239 ac_cpp='$CXXCPP $CPPFLAGS'
20240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20246 #include <math.h>
20248 main ()
20250 _sincos(0, 0, 0);
20252 return 0;
20254 _ACEOF
20255 if ac_fn_cxx_try_compile "$LINENO"; then :
20256 glibcxx_cv_func__sincos_use=yes
20257 else
20258 glibcxx_cv_func__sincos_use=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 ac_ext=c
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20272 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20274 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20275 for ac_func in _sincos
20276 do :
20277 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20278 if test "x$ac_cv_func__sincos" = x""yes; then :
20279 cat >>confdefs.h <<_ACEOF
20280 #define HAVE__SINCOS 1
20281 _ACEOF
20284 done
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20294 $as_echo_n "checking for fpclass declaration... " >&6; }
20295 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20296 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20297 $as_echo_n "(cached) " >&6
20298 else
20301 ac_ext=cpp
20302 ac_cpp='$CXXCPP $CPPFLAGS'
20303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20308 /* end confdefs.h. */
20309 #include <math.h>
20310 #ifdef HAVE_IEEEFP_H
20311 #include <ieeefp.h>
20312 #endif
20315 main ()
20317 fpclass(0);
20319 return 0;
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_func_fpclass_use=yes
20324 else
20325 glibcxx_cv_func_fpclass_use=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 ac_ext=c
20329 ac_cpp='$CPP $CPPFLAGS'
20330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20339 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20341 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20342 for ac_func in fpclass
20343 do :
20344 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20345 if test "x$ac_cv_func_fpclass" = x""yes; then :
20346 cat >>confdefs.h <<_ACEOF
20347 #define HAVE_FPCLASS 1
20348 _ACEOF
20351 done
20353 else
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20356 $as_echo_n "checking for _fpclass declaration... " >&6; }
20357 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20358 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20363 ac_ext=cpp
20364 ac_cpp='$CXXCPP $CPPFLAGS'
20365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20371 #include <math.h>
20372 #ifdef HAVE_IEEEFP_H
20373 #include <ieeefp.h>
20374 #endif
20377 main ()
20379 _fpclass(0);
20381 return 0;
20383 _ACEOF
20384 if ac_fn_cxx_try_compile "$LINENO"; then :
20385 glibcxx_cv_func__fpclass_use=yes
20386 else
20387 glibcxx_cv_func__fpclass_use=no
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20390 ac_ext=c
20391 ac_cpp='$CPP $CPPFLAGS'
20392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20401 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20403 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20404 for ac_func in _fpclass
20405 do :
20406 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20407 if test "x$ac_cv_func__fpclass" = x""yes; then :
20408 cat >>confdefs.h <<_ACEOF
20409 #define HAVE__FPCLASS 1
20410 _ACEOF
20413 done
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20423 $as_echo_n "checking for qfpclass declaration... " >&6; }
20424 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20425 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20427 else
20430 ac_ext=cpp
20431 ac_cpp='$CXXCPP $CPPFLAGS'
20432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <math.h>
20439 #ifdef HAVE_IEEEFP_H
20440 #include <ieeefp.h>
20441 #endif
20444 main ()
20446 qfpclass(0);
20448 return 0;
20450 _ACEOF
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 glibcxx_cv_func_qfpclass_use=yes
20453 else
20454 glibcxx_cv_func_qfpclass_use=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 ac_ext=c
20458 ac_cpp='$CPP $CPPFLAGS'
20459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20468 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20470 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20471 for ac_func in qfpclass
20472 do :
20473 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20474 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE_QFPCLASS 1
20477 _ACEOF
20480 done
20482 else
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20485 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20486 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20487 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20488 $as_echo_n "(cached) " >&6
20489 else
20492 ac_ext=cpp
20493 ac_cpp='$CXXCPP $CPPFLAGS'
20494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20500 #include <math.h>
20501 #ifdef HAVE_IEEEFP_H
20502 #include <ieeefp.h>
20503 #endif
20506 main ()
20508 _qfpclass(0);
20510 return 0;
20512 _ACEOF
20513 if ac_fn_cxx_try_compile "$LINENO"; then :
20514 glibcxx_cv_func__qfpclass_use=yes
20515 else
20516 glibcxx_cv_func__qfpclass_use=no
20518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20519 ac_ext=c
20520 ac_cpp='$CPP $CPPFLAGS'
20521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20530 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20532 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20533 for ac_func in _qfpclass
20534 do :
20535 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20536 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20537 cat >>confdefs.h <<_ACEOF
20538 #define HAVE__QFPCLASS 1
20539 _ACEOF
20542 done
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20552 $as_echo_n "checking for hypot declaration... " >&6; }
20553 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20554 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20555 $as_echo_n "(cached) " >&6
20556 else
20559 ac_ext=cpp
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20567 #include <math.h>
20569 main ()
20571 hypot(0, 0);
20573 return 0;
20575 _ACEOF
20576 if ac_fn_cxx_try_compile "$LINENO"; then :
20577 glibcxx_cv_func_hypot_use=yes
20578 else
20579 glibcxx_cv_func_hypot_use=no
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20582 ac_ext=c
20583 ac_cpp='$CPP $CPPFLAGS'
20584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20593 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20595 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20596 for ac_func in hypot
20597 do :
20598 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20599 if test "x$ac_cv_func_hypot" = x""yes; then :
20600 cat >>confdefs.h <<_ACEOF
20601 #define HAVE_HYPOT 1
20602 _ACEOF
20605 done
20607 else
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20610 $as_echo_n "checking for _hypot declaration... " >&6; }
20611 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20612 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20617 ac_ext=cpp
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625 #include <math.h>
20627 main ()
20629 _hypot(0, 0);
20631 return 0;
20633 _ACEOF
20634 if ac_fn_cxx_try_compile "$LINENO"; then :
20635 glibcxx_cv_func__hypot_use=yes
20636 else
20637 glibcxx_cv_func__hypot_use=no
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 ac_ext=c
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20651 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20653 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20654 for ac_func in _hypot
20655 do :
20656 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20657 if test "x$ac_cv_func__hypot" = x""yes; then :
20658 cat >>confdefs.h <<_ACEOF
20659 #define HAVE__HYPOT 1
20660 _ACEOF
20663 done
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20673 $as_echo_n "checking for float trig functions... " >&6; }
20674 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20679 ac_ext=cpp
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20686 /* end confdefs.h. */
20687 #include <math.h>
20689 main ()
20691 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20693 return 0;
20695 _ACEOF
20696 if ac_fn_cxx_try_compile "$LINENO"; then :
20697 glibcxx_cv_func_float_trig_use=yes
20698 else
20699 glibcxx_cv_func_float_trig_use=no
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702 ac_ext=c
20703 ac_cpp='$CPP $CPPFLAGS'
20704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20711 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20712 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20713 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20714 do :
20715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20717 eval as_val=\$$as_ac_var
20718 if test "x$as_val" = x""yes; then :
20719 cat >>confdefs.h <<_ACEOF
20720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20721 _ACEOF
20724 done
20726 else
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20728 $as_echo_n "checking for _float trig functions... " >&6; }
20729 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20730 $as_echo_n "(cached) " >&6
20731 else
20734 ac_ext=cpp
20735 ac_cpp='$CXXCPP $CPPFLAGS'
20736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20742 #include <math.h>
20744 main ()
20746 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20748 return 0;
20750 _ACEOF
20751 if ac_fn_cxx_try_compile "$LINENO"; then :
20752 glibcxx_cv_func__float_trig_use=yes
20753 else
20754 glibcxx_cv_func__float_trig_use=no
20756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757 ac_ext=c
20758 ac_cpp='$CPP $CPPFLAGS'
20759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20766 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20767 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20768 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20769 do :
20770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20772 eval as_val=\$$as_ac_var
20773 if test "x$as_val" = x""yes; then :
20774 cat >>confdefs.h <<_ACEOF
20775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20779 done
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20789 $as_echo_n "checking for float round functions... " >&6; }
20790 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20791 $as_echo_n "(cached) " >&6
20792 else
20795 ac_ext=cpp
20796 ac_cpp='$CXXCPP $CPPFLAGS'
20797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20803 #include <math.h>
20805 main ()
20807 ceilf (0); floorf (0);
20809 return 0;
20811 _ACEOF
20812 if ac_fn_cxx_try_compile "$LINENO"; then :
20813 glibcxx_cv_func_float_round_use=yes
20814 else
20815 glibcxx_cv_func_float_round_use=no
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 ac_ext=c
20819 ac_cpp='$CPP $CPPFLAGS'
20820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20827 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20828 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20829 for ac_func in ceilf floorf
20830 do :
20831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20833 eval as_val=\$$as_ac_var
20834 if test "x$as_val" = x""yes; then :
20835 cat >>confdefs.h <<_ACEOF
20836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20837 _ACEOF
20840 done
20842 else
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20844 $as_echo_n "checking for _float round functions... " >&6; }
20845 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20847 else
20850 ac_ext=cpp
20851 ac_cpp='$CXXCPP $CPPFLAGS'
20852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #include <math.h>
20860 main ()
20862 _ceilf (0); _floorf (0);
20864 return 0;
20866 _ACEOF
20867 if ac_fn_cxx_try_compile "$LINENO"; then :
20868 glibcxx_cv_func__float_round_use=yes
20869 else
20870 glibcxx_cv_func__float_round_use=no
20872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20873 ac_ext=c
20874 ac_cpp='$CPP $CPPFLAGS'
20875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20882 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20883 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20884 for ac_func in _ceilf _floorf
20885 do :
20886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20888 eval as_val=\$$as_ac_var
20889 if test "x$as_val" = x""yes; then :
20890 cat >>confdefs.h <<_ACEOF
20891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20892 _ACEOF
20895 done
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20906 $as_echo_n "checking for expf declaration... " >&6; }
20907 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20908 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20909 $as_echo_n "(cached) " >&6
20910 else
20913 ac_ext=cpp
20914 ac_cpp='$CXXCPP $CPPFLAGS'
20915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20921 #include <math.h>
20922 #ifdef HAVE_IEEEFP_H
20923 #include <ieeefp.h>
20924 #endif
20927 main ()
20929 expf(0);
20931 return 0;
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 glibcxx_cv_func_expf_use=yes
20936 else
20937 glibcxx_cv_func_expf_use=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 ac_ext=c
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20951 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20953 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20954 for ac_func in expf
20955 do :
20956 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20957 if test "x$ac_cv_func_expf" = x""yes; then :
20958 cat >>confdefs.h <<_ACEOF
20959 #define HAVE_EXPF 1
20960 _ACEOF
20963 done
20965 else
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20968 $as_echo_n "checking for _expf declaration... " >&6; }
20969 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20970 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20972 else
20975 ac_ext=cpp
20976 ac_cpp='$CXXCPP $CPPFLAGS'
20977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 #include <math.h>
20984 #ifdef HAVE_IEEEFP_H
20985 #include <ieeefp.h>
20986 #endif
20989 main ()
20991 _expf(0);
20993 return 0;
20995 _ACEOF
20996 if ac_fn_cxx_try_compile "$LINENO"; then :
20997 glibcxx_cv_func__expf_use=yes
20998 else
20999 glibcxx_cv_func__expf_use=no
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21002 ac_ext=c
21003 ac_cpp='$CPP $CPPFLAGS'
21004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21013 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21015 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21016 for ac_func in _expf
21017 do :
21018 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21019 if test "x$ac_cv_func__expf" = x""yes; then :
21020 cat >>confdefs.h <<_ACEOF
21021 #define HAVE__EXPF 1
21022 _ACEOF
21025 done
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21035 $as_echo_n "checking for isnanf declaration... " >&6; }
21036 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21037 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21042 ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #include <math.h>
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21053 #endif
21056 main ()
21058 isnanf(0);
21060 return 0;
21062 _ACEOF
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 glibcxx_cv_func_isnanf_use=yes
21065 else
21066 glibcxx_cv_func_isnanf_use=no
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21080 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21082 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21083 for ac_func in isnanf
21084 do :
21085 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21086 if test "x$ac_cv_func_isnanf" = x""yes; then :
21087 cat >>confdefs.h <<_ACEOF
21088 #define HAVE_ISNANF 1
21089 _ACEOF
21092 done
21094 else
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21097 $as_echo_n "checking for _isnanf declaration... " >&6; }
21098 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21099 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21100 $as_echo_n "(cached) " >&6
21101 else
21104 ac_ext=cpp
21105 ac_cpp='$CXXCPP $CPPFLAGS'
21106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21112 #include <math.h>
21113 #ifdef HAVE_IEEEFP_H
21114 #include <ieeefp.h>
21115 #endif
21118 main ()
21120 _isnanf(0);
21122 return 0;
21124 _ACEOF
21125 if ac_fn_cxx_try_compile "$LINENO"; then :
21126 glibcxx_cv_func__isnanf_use=yes
21127 else
21128 glibcxx_cv_func__isnanf_use=no
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21131 ac_ext=c
21132 ac_cpp='$CPP $CPPFLAGS'
21133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21142 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21144 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21145 for ac_func in _isnanf
21146 do :
21147 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21148 if test "x$ac_cv_func__isnanf" = x""yes; then :
21149 cat >>confdefs.h <<_ACEOF
21150 #define HAVE__ISNANF 1
21151 _ACEOF
21154 done
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21164 $as_echo_n "checking for isinff declaration... " >&6; }
21165 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21166 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21168 else
21171 ac_ext=cpp
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21179 #include <math.h>
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21182 #endif
21185 main ()
21187 isinff(0);
21189 return 0;
21191 _ACEOF
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func_isinff_use=yes
21194 else
21195 glibcxx_cv_func_isinff_use=no
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 ac_ext=c
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21209 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21211 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21212 for ac_func in isinff
21213 do :
21214 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21215 if test "x$ac_cv_func_isinff" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE_ISINFF 1
21218 _ACEOF
21221 done
21223 else
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21226 $as_echo_n "checking for _isinff declaration... " >&6; }
21227 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21228 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21229 $as_echo_n "(cached) " >&6
21230 else
21233 ac_ext=cpp
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <math.h>
21242 #ifdef HAVE_IEEEFP_H
21243 #include <ieeefp.h>
21244 #endif
21247 main ()
21249 _isinff(0);
21251 return 0;
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func__isinff_use=yes
21256 else
21257 glibcxx_cv_func__isinff_use=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 ac_ext=c
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21271 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21273 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21274 for ac_func in _isinff
21275 do :
21276 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21277 if test "x$ac_cv_func__isinff" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE__ISINFF 1
21280 _ACEOF
21283 done
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21293 $as_echo_n "checking for atan2f declaration... " >&6; }
21294 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21295 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21300 ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21308 #include <math.h>
21310 main ()
21312 atan2f(0, 0);
21314 return 0;
21316 _ACEOF
21317 if ac_fn_cxx_try_compile "$LINENO"; then :
21318 glibcxx_cv_func_atan2f_use=yes
21319 else
21320 glibcxx_cv_func_atan2f_use=no
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21323 ac_ext=c
21324 ac_cpp='$CPP $CPPFLAGS'
21325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21334 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21336 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21337 for ac_func in atan2f
21338 do :
21339 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21340 if test "x$ac_cv_func_atan2f" = x""yes; then :
21341 cat >>confdefs.h <<_ACEOF
21342 #define HAVE_ATAN2F 1
21343 _ACEOF
21346 done
21348 else
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21351 $as_echo_n "checking for _atan2f declaration... " >&6; }
21352 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21353 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21354 $as_echo_n "(cached) " >&6
21355 else
21358 ac_ext=cpp
21359 ac_cpp='$CXXCPP $CPPFLAGS'
21360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21366 #include <math.h>
21368 main ()
21370 _atan2f(0, 0);
21372 return 0;
21374 _ACEOF
21375 if ac_fn_cxx_try_compile "$LINENO"; then :
21376 glibcxx_cv_func__atan2f_use=yes
21377 else
21378 glibcxx_cv_func__atan2f_use=no
21380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381 ac_ext=c
21382 ac_cpp='$CPP $CPPFLAGS'
21383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21392 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21394 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21395 for ac_func in _atan2f
21396 do :
21397 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21398 if test "x$ac_cv_func__atan2f" = x""yes; then :
21399 cat >>confdefs.h <<_ACEOF
21400 #define HAVE__ATAN2F 1
21401 _ACEOF
21404 done
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21414 $as_echo_n "checking for fabsf declaration... " >&6; }
21415 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21416 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21417 $as_echo_n "(cached) " >&6
21418 else
21421 ac_ext=cpp
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21429 #include <math.h>
21430 #ifdef HAVE_IEEEFP_H
21431 #include <ieeefp.h>
21432 #endif
21435 main ()
21437 fabsf(0);
21439 return 0;
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_func_fabsf_use=yes
21444 else
21445 glibcxx_cv_func_fabsf_use=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 ac_ext=c
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21459 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21461 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21462 for ac_func in fabsf
21463 do :
21464 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21465 if test "x$ac_cv_func_fabsf" = x""yes; then :
21466 cat >>confdefs.h <<_ACEOF
21467 #define HAVE_FABSF 1
21468 _ACEOF
21471 done
21473 else
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21476 $as_echo_n "checking for _fabsf declaration... " >&6; }
21477 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21478 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21479 $as_echo_n "(cached) " >&6
21480 else
21483 ac_ext=cpp
21484 ac_cpp='$CXXCPP $CPPFLAGS'
21485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21491 #include <math.h>
21492 #ifdef HAVE_IEEEFP_H
21493 #include <ieeefp.h>
21494 #endif
21497 main ()
21499 _fabsf(0);
21501 return 0;
21503 _ACEOF
21504 if ac_fn_cxx_try_compile "$LINENO"; then :
21505 glibcxx_cv_func__fabsf_use=yes
21506 else
21507 glibcxx_cv_func__fabsf_use=no
21509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21510 ac_ext=c
21511 ac_cpp='$CPP $CPPFLAGS'
21512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21521 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21523 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21524 for ac_func in _fabsf
21525 do :
21526 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21527 if test "x$ac_cv_func__fabsf" = x""yes; then :
21528 cat >>confdefs.h <<_ACEOF
21529 #define HAVE__FABSF 1
21530 _ACEOF
21533 done
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21543 $as_echo_n "checking for fmodf declaration... " >&6; }
21544 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21545 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21547 else
21550 ac_ext=cpp
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21558 #include <math.h>
21560 main ()
21562 fmodf(0, 0);
21564 return 0;
21566 _ACEOF
21567 if ac_fn_cxx_try_compile "$LINENO"; then :
21568 glibcxx_cv_func_fmodf_use=yes
21569 else
21570 glibcxx_cv_func_fmodf_use=no
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21573 ac_ext=c
21574 ac_cpp='$CPP $CPPFLAGS'
21575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21584 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21586 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21587 for ac_func in fmodf
21588 do :
21589 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21590 if test "x$ac_cv_func_fmodf" = x""yes; then :
21591 cat >>confdefs.h <<_ACEOF
21592 #define HAVE_FMODF 1
21593 _ACEOF
21596 done
21598 else
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21601 $as_echo_n "checking for _fmodf declaration... " >&6; }
21602 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21603 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21608 ac_ext=cpp
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616 #include <math.h>
21618 main ()
21620 _fmodf(0, 0);
21622 return 0;
21624 _ACEOF
21625 if ac_fn_cxx_try_compile "$LINENO"; then :
21626 glibcxx_cv_func__fmodf_use=yes
21627 else
21628 glibcxx_cv_func__fmodf_use=no
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 ac_ext=c
21632 ac_cpp='$CPP $CPPFLAGS'
21633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21642 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21644 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21645 for ac_func in _fmodf
21646 do :
21647 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21648 if test "x$ac_cv_func__fmodf" = x""yes; then :
21649 cat >>confdefs.h <<_ACEOF
21650 #define HAVE__FMODF 1
21651 _ACEOF
21654 done
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21664 $as_echo_n "checking for frexpf declaration... " >&6; }
21665 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21666 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21668 else
21671 ac_ext=cpp
21672 ac_cpp='$CXXCPP $CPPFLAGS'
21673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <math.h>
21681 main ()
21683 frexpf(0, 0);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func_frexpf_use=yes
21690 else
21691 glibcxx_cv_func_frexpf_use=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21705 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21707 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21708 for ac_func in frexpf
21709 do :
21710 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21711 if test "x$ac_cv_func_frexpf" = x""yes; then :
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE_FREXPF 1
21714 _ACEOF
21717 done
21719 else
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21722 $as_echo_n "checking for _frexpf declaration... " >&6; }
21723 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21724 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21725 $as_echo_n "(cached) " >&6
21726 else
21729 ac_ext=cpp
21730 ac_cpp='$CXXCPP $CPPFLAGS'
21731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21736 /* end confdefs.h. */
21737 #include <math.h>
21739 main ()
21741 _frexpf(0, 0);
21743 return 0;
21745 _ACEOF
21746 if ac_fn_cxx_try_compile "$LINENO"; then :
21747 glibcxx_cv_func__frexpf_use=yes
21748 else
21749 glibcxx_cv_func__frexpf_use=no
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752 ac_ext=c
21753 ac_cpp='$CPP $CPPFLAGS'
21754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21763 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21765 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21766 for ac_func in _frexpf
21767 do :
21768 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21769 if test "x$ac_cv_func__frexpf" = x""yes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define HAVE__FREXPF 1
21772 _ACEOF
21775 done
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21785 $as_echo_n "checking for hypotf declaration... " >&6; }
21786 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21787 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21788 $as_echo_n "(cached) " >&6
21789 else
21792 ac_ext=cpp
21793 ac_cpp='$CXXCPP $CPPFLAGS'
21794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21799 /* end confdefs.h. */
21800 #include <math.h>
21802 main ()
21804 hypotf(0, 0);
21806 return 0;
21808 _ACEOF
21809 if ac_fn_cxx_try_compile "$LINENO"; then :
21810 glibcxx_cv_func_hypotf_use=yes
21811 else
21812 glibcxx_cv_func_hypotf_use=no
21814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815 ac_ext=c
21816 ac_cpp='$CPP $CPPFLAGS'
21817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21826 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21828 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21829 for ac_func in hypotf
21830 do :
21831 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21832 if test "x$ac_cv_func_hypotf" = x""yes; then :
21833 cat >>confdefs.h <<_ACEOF
21834 #define HAVE_HYPOTF 1
21835 _ACEOF
21838 done
21840 else
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21843 $as_echo_n "checking for _hypotf declaration... " >&6; }
21844 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21845 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21847 else
21850 ac_ext=cpp
21851 ac_cpp='$CXXCPP $CPPFLAGS'
21852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21858 #include <math.h>
21860 main ()
21862 _hypotf(0, 0);
21864 return 0;
21866 _ACEOF
21867 if ac_fn_cxx_try_compile "$LINENO"; then :
21868 glibcxx_cv_func__hypotf_use=yes
21869 else
21870 glibcxx_cv_func__hypotf_use=no
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 ac_ext=c
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21884 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21886 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21887 for ac_func in _hypotf
21888 do :
21889 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21890 if test "x$ac_cv_func__hypotf" = x""yes; then :
21891 cat >>confdefs.h <<_ACEOF
21892 #define HAVE__HYPOTF 1
21893 _ACEOF
21896 done
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21906 $as_echo_n "checking for ldexpf declaration... " >&6; }
21907 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21908 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21909 $as_echo_n "(cached) " >&6
21910 else
21913 ac_ext=cpp
21914 ac_cpp='$CXXCPP $CPPFLAGS'
21915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21921 #include <math.h>
21923 main ()
21925 ldexpf(0, 0);
21927 return 0;
21929 _ACEOF
21930 if ac_fn_cxx_try_compile "$LINENO"; then :
21931 glibcxx_cv_func_ldexpf_use=yes
21932 else
21933 glibcxx_cv_func_ldexpf_use=no
21935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21936 ac_ext=c
21937 ac_cpp='$CPP $CPPFLAGS'
21938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21947 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21949 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21950 for ac_func in ldexpf
21951 do :
21952 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21953 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21954 cat >>confdefs.h <<_ACEOF
21955 #define HAVE_LDEXPF 1
21956 _ACEOF
21959 done
21961 else
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21964 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21965 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21966 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21967 $as_echo_n "(cached) " >&6
21968 else
21971 ac_ext=cpp
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21979 #include <math.h>
21981 main ()
21983 _ldexpf(0, 0);
21985 return 0;
21987 _ACEOF
21988 if ac_fn_cxx_try_compile "$LINENO"; then :
21989 glibcxx_cv_func__ldexpf_use=yes
21990 else
21991 glibcxx_cv_func__ldexpf_use=no
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21994 ac_ext=c
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22005 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22007 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22008 for ac_func in _ldexpf
22009 do :
22010 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22011 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define HAVE__LDEXPF 1
22014 _ACEOF
22017 done
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22027 $as_echo_n "checking for logf declaration... " >&6; }
22028 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22029 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22030 $as_echo_n "(cached) " >&6
22031 else
22034 ac_ext=cpp
22035 ac_cpp='$CXXCPP $CPPFLAGS'
22036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22042 #include <math.h>
22043 #ifdef HAVE_IEEEFP_H
22044 #include <ieeefp.h>
22045 #endif
22048 main ()
22050 logf(0);
22052 return 0;
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func_logf_use=yes
22057 else
22058 glibcxx_cv_func_logf_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22072 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22074 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22075 for ac_func in logf
22076 do :
22077 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22078 if test "x$ac_cv_func_logf" = x""yes; then :
22079 cat >>confdefs.h <<_ACEOF
22080 #define HAVE_LOGF 1
22081 _ACEOF
22084 done
22086 else
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22089 $as_echo_n "checking for _logf declaration... " >&6; }
22090 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22091 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22092 $as_echo_n "(cached) " >&6
22093 else
22096 ac_ext=cpp
22097 ac_cpp='$CXXCPP $CPPFLAGS'
22098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22103 /* end confdefs.h. */
22104 #include <math.h>
22105 #ifdef HAVE_IEEEFP_H
22106 #include <ieeefp.h>
22107 #endif
22110 main ()
22112 _logf(0);
22114 return 0;
22116 _ACEOF
22117 if ac_fn_cxx_try_compile "$LINENO"; then :
22118 glibcxx_cv_func__logf_use=yes
22119 else
22120 glibcxx_cv_func__logf_use=no
22122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22123 ac_ext=c
22124 ac_cpp='$CPP $CPPFLAGS'
22125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22134 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22136 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22137 for ac_func in _logf
22138 do :
22139 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22140 if test "x$ac_cv_func__logf" = x""yes; then :
22141 cat >>confdefs.h <<_ACEOF
22142 #define HAVE__LOGF 1
22143 _ACEOF
22146 done
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22156 $as_echo_n "checking for log10f declaration... " >&6; }
22157 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22158 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22159 $as_echo_n "(cached) " >&6
22160 else
22163 ac_ext=cpp
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h. */
22171 #include <math.h>
22172 #ifdef HAVE_IEEEFP_H
22173 #include <ieeefp.h>
22174 #endif
22177 main ()
22179 log10f(0);
22181 return 0;
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_func_log10f_use=yes
22186 else
22187 glibcxx_cv_func_log10f_use=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 ac_ext=c
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22201 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22203 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22204 for ac_func in log10f
22205 do :
22206 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22207 if test "x$ac_cv_func_log10f" = x""yes; then :
22208 cat >>confdefs.h <<_ACEOF
22209 #define HAVE_LOG10F 1
22210 _ACEOF
22213 done
22215 else
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22218 $as_echo_n "checking for _log10f declaration... " >&6; }
22219 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22220 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22222 else
22225 ac_ext=cpp
22226 ac_cpp='$CXXCPP $CPPFLAGS'
22227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22232 /* end confdefs.h. */
22233 #include <math.h>
22234 #ifdef HAVE_IEEEFP_H
22235 #include <ieeefp.h>
22236 #endif
22239 main ()
22241 _log10f(0);
22243 return 0;
22245 _ACEOF
22246 if ac_fn_cxx_try_compile "$LINENO"; then :
22247 glibcxx_cv_func__log10f_use=yes
22248 else
22249 glibcxx_cv_func__log10f_use=no
22251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22252 ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22263 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22265 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22266 for ac_func in _log10f
22267 do :
22268 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22269 if test "x$ac_cv_func__log10f" = x""yes; then :
22270 cat >>confdefs.h <<_ACEOF
22271 #define HAVE__LOG10F 1
22272 _ACEOF
22275 done
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22285 $as_echo_n "checking for modff declaration... " >&6; }
22286 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22287 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22289 else
22292 ac_ext=cpp
22293 ac_cpp='$CXXCPP $CPPFLAGS'
22294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22300 #include <math.h>
22302 main ()
22304 modff(0, 0);
22306 return 0;
22308 _ACEOF
22309 if ac_fn_cxx_try_compile "$LINENO"; then :
22310 glibcxx_cv_func_modff_use=yes
22311 else
22312 glibcxx_cv_func_modff_use=no
22314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315 ac_ext=c
22316 ac_cpp='$CPP $CPPFLAGS'
22317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22326 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22328 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22329 for ac_func in modff
22330 do :
22331 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22332 if test "x$ac_cv_func_modff" = x""yes; then :
22333 cat >>confdefs.h <<_ACEOF
22334 #define HAVE_MODFF 1
22335 _ACEOF
22338 done
22340 else
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22343 $as_echo_n "checking for _modff declaration... " >&6; }
22344 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22345 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22347 else
22350 ac_ext=cpp
22351 ac_cpp='$CXXCPP $CPPFLAGS'
22352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357 /* end confdefs.h. */
22358 #include <math.h>
22360 main ()
22362 _modff(0, 0);
22364 return 0;
22366 _ACEOF
22367 if ac_fn_cxx_try_compile "$LINENO"; then :
22368 glibcxx_cv_func__modff_use=yes
22369 else
22370 glibcxx_cv_func__modff_use=no
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 ac_ext=c
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22384 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22386 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22387 for ac_func in _modff
22388 do :
22389 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22390 if test "x$ac_cv_func__modff" = x""yes; then :
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE__MODFF 1
22393 _ACEOF
22396 done
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22406 $as_echo_n "checking for modf declaration... " >&6; }
22407 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22408 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22413 ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <math.h>
22423 main ()
22425 modf(0, 0);
22427 return 0;
22429 _ACEOF
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_func_modf_use=yes
22432 else
22433 glibcxx_cv_func_modf_use=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22447 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22449 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22450 for ac_func in modf
22451 do :
22452 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22453 if test "x$ac_cv_func_modf" = x""yes; then :
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_MODF 1
22456 _ACEOF
22459 done
22461 else
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22464 $as_echo_n "checking for _modf declaration... " >&6; }
22465 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22466 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22468 else
22471 ac_ext=cpp
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479 #include <math.h>
22481 main ()
22483 _modf(0, 0);
22485 return 0;
22487 _ACEOF
22488 if ac_fn_cxx_try_compile "$LINENO"; then :
22489 glibcxx_cv_func__modf_use=yes
22490 else
22491 glibcxx_cv_func__modf_use=no
22493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22494 ac_ext=c
22495 ac_cpp='$CPP $CPPFLAGS'
22496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22505 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22507 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22508 for ac_func in _modf
22509 do :
22510 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22511 if test "x$ac_cv_func__modf" = x""yes; then :
22512 cat >>confdefs.h <<_ACEOF
22513 #define HAVE__MODF 1
22514 _ACEOF
22517 done
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22527 $as_echo_n "checking for powf declaration... " >&6; }
22528 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22529 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22530 $as_echo_n "(cached) " >&6
22531 else
22534 ac_ext=cpp
22535 ac_cpp='$CXXCPP $CPPFLAGS'
22536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22541 /* end confdefs.h. */
22542 #include <math.h>
22544 main ()
22546 powf(0, 0);
22548 return 0;
22550 _ACEOF
22551 if ac_fn_cxx_try_compile "$LINENO"; then :
22552 glibcxx_cv_func_powf_use=yes
22553 else
22554 glibcxx_cv_func_powf_use=no
22556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22557 ac_ext=c
22558 ac_cpp='$CPP $CPPFLAGS'
22559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22568 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22570 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22571 for ac_func in powf
22572 do :
22573 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22574 if test "x$ac_cv_func_powf" = x""yes; then :
22575 cat >>confdefs.h <<_ACEOF
22576 #define HAVE_POWF 1
22577 _ACEOF
22580 done
22582 else
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22585 $as_echo_n "checking for _powf declaration... " >&6; }
22586 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22587 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22592 ac_ext=cpp
22593 ac_cpp='$CXXCPP $CPPFLAGS'
22594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22600 #include <math.h>
22602 main ()
22604 _powf(0, 0);
22606 return 0;
22608 _ACEOF
22609 if ac_fn_cxx_try_compile "$LINENO"; then :
22610 glibcxx_cv_func__powf_use=yes
22611 else
22612 glibcxx_cv_func__powf_use=no
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 ac_ext=c
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22626 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22628 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22629 for ac_func in _powf
22630 do :
22631 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22632 if test "x$ac_cv_func__powf" = x""yes; then :
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE__POWF 1
22635 _ACEOF
22638 done
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22648 $as_echo_n "checking for sqrtf declaration... " >&6; }
22649 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22650 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22652 else
22655 ac_ext=cpp
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22663 #include <math.h>
22664 #ifdef HAVE_IEEEFP_H
22665 #include <ieeefp.h>
22666 #endif
22669 main ()
22671 sqrtf(0);
22673 return 0;
22675 _ACEOF
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677 glibcxx_cv_func_sqrtf_use=yes
22678 else
22679 glibcxx_cv_func_sqrtf_use=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22693 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22695 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22696 for ac_func in sqrtf
22697 do :
22698 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22699 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22700 cat >>confdefs.h <<_ACEOF
22701 #define HAVE_SQRTF 1
22702 _ACEOF
22705 done
22707 else
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22710 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22711 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22712 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22713 $as_echo_n "(cached) " >&6
22714 else
22717 ac_ext=cpp
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h. */
22725 #include <math.h>
22726 #ifdef HAVE_IEEEFP_H
22727 #include <ieeefp.h>
22728 #endif
22731 main ()
22733 _sqrtf(0);
22735 return 0;
22737 _ACEOF
22738 if ac_fn_cxx_try_compile "$LINENO"; then :
22739 glibcxx_cv_func__sqrtf_use=yes
22740 else
22741 glibcxx_cv_func__sqrtf_use=no
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 ac_ext=c
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22755 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22757 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22758 for ac_func in _sqrtf
22759 do :
22760 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22761 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22762 cat >>confdefs.h <<_ACEOF
22763 #define HAVE__SQRTF 1
22764 _ACEOF
22767 done
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22777 $as_echo_n "checking for sincosf declaration... " >&6; }
22778 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22779 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22781 else
22784 ac_ext=cpp
22785 ac_cpp='$CXXCPP $CPPFLAGS'
22786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22792 #include <math.h>
22794 main ()
22796 sincosf(0, 0, 0);
22798 return 0;
22800 _ACEOF
22801 if ac_fn_cxx_try_compile "$LINENO"; then :
22802 glibcxx_cv_func_sincosf_use=yes
22803 else
22804 glibcxx_cv_func_sincosf_use=no
22806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 ac_ext=c
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22818 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22820 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22821 for ac_func in sincosf
22822 do :
22823 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22824 if test "x$ac_cv_func_sincosf" = x""yes; then :
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE_SINCOSF 1
22827 _ACEOF
22830 done
22832 else
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22835 $as_echo_n "checking for _sincosf declaration... " >&6; }
22836 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22837 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22839 else
22842 ac_ext=cpp
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850 #include <math.h>
22852 main ()
22854 _sincosf(0, 0, 0);
22856 return 0;
22858 _ACEOF
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func__sincosf_use=yes
22861 else
22862 glibcxx_cv_func__sincosf_use=no
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22876 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22878 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22879 for ac_func in _sincosf
22880 do :
22881 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22882 if test "x$ac_cv_func__sincosf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE__SINCOSF 1
22885 _ACEOF
22888 done
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22898 $as_echo_n "checking for finitef declaration... " >&6; }
22899 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22900 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22901 $as_echo_n "(cached) " >&6
22902 else
22905 ac_ext=cpp
22906 ac_cpp='$CXXCPP $CPPFLAGS'
22907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22913 #include <math.h>
22914 #ifdef HAVE_IEEEFP_H
22915 #include <ieeefp.h>
22916 #endif
22919 main ()
22921 finitef(0);
22923 return 0;
22925 _ACEOF
22926 if ac_fn_cxx_try_compile "$LINENO"; then :
22927 glibcxx_cv_func_finitef_use=yes
22928 else
22929 glibcxx_cv_func_finitef_use=no
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22932 ac_ext=c
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22943 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22945 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22946 for ac_func in finitef
22947 do :
22948 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22949 if test "x$ac_cv_func_finitef" = x""yes; then :
22950 cat >>confdefs.h <<_ACEOF
22951 #define HAVE_FINITEF 1
22952 _ACEOF
22955 done
22957 else
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22960 $as_echo_n "checking for _finitef declaration... " >&6; }
22961 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22962 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22963 $as_echo_n "(cached) " >&6
22964 else
22967 ac_ext=cpp
22968 ac_cpp='$CXXCPP $CPPFLAGS'
22969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22974 /* end confdefs.h. */
22975 #include <math.h>
22976 #ifdef HAVE_IEEEFP_H
22977 #include <ieeefp.h>
22978 #endif
22981 main ()
22983 _finitef(0);
22985 return 0;
22987 _ACEOF
22988 if ac_fn_cxx_try_compile "$LINENO"; then :
22989 glibcxx_cv_func__finitef_use=yes
22990 else
22991 glibcxx_cv_func__finitef_use=no
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994 ac_ext=c
22995 ac_cpp='$CPP $CPPFLAGS'
22996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23005 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23007 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23008 for ac_func in _finitef
23009 do :
23010 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23011 if test "x$ac_cv_func__finitef" = x""yes; then :
23012 cat >>confdefs.h <<_ACEOF
23013 #define HAVE__FINITEF 1
23014 _ACEOF
23017 done
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23027 $as_echo_n "checking for long double trig functions... " >&6; }
23028 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23033 ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23041 #include <math.h>
23043 main ()
23045 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23047 return 0;
23049 _ACEOF
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051 glibcxx_cv_func_long_double_trig_use=yes
23052 else
23053 glibcxx_cv_func_long_double_trig_use=no
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056 ac_ext=c
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23065 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23066 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23067 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23068 do :
23069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23071 eval as_val=\$$as_ac_var
23072 if test "x$as_val" = x""yes; then :
23073 cat >>confdefs.h <<_ACEOF
23074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23075 _ACEOF
23078 done
23080 else
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23082 $as_echo_n "checking for _long double trig functions... " >&6; }
23083 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23084 $as_echo_n "(cached) " >&6
23085 else
23088 ac_ext=cpp
23089 ac_cpp='$CXXCPP $CPPFLAGS'
23090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23096 #include <math.h>
23098 main ()
23100 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23102 return 0;
23104 _ACEOF
23105 if ac_fn_cxx_try_compile "$LINENO"; then :
23106 glibcxx_cv_func__long_double_trig_use=yes
23107 else
23108 glibcxx_cv_func__long_double_trig_use=no
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 ac_ext=c
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23120 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23121 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23122 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23123 do :
23124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23126 eval as_val=\$$as_ac_var
23127 if test "x$as_val" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23130 _ACEOF
23133 done
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23143 $as_echo_n "checking for long double round functions... " >&6; }
23144 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23159 main ()
23161 ceill (0); floorl (0);
23163 return 0;
23165 _ACEOF
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func_long_double_round_use=yes
23168 else
23169 glibcxx_cv_func_long_double_round_use=no
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23181 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23182 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23183 for ac_func in ceill floorl
23184 do :
23185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23187 eval as_val=\$$as_ac_var
23188 if test "x$as_val" = x""yes; then :
23189 cat >>confdefs.h <<_ACEOF
23190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23191 _ACEOF
23194 done
23196 else
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23198 $as_echo_n "checking for _long double round functions... " >&6; }
23199 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23200 $as_echo_n "(cached) " >&6
23201 else
23204 ac_ext=cpp
23205 ac_cpp='$CXXCPP $CPPFLAGS'
23206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23211 /* end confdefs.h. */
23212 #include <math.h>
23214 main ()
23216 _ceill (0); _floorl (0);
23218 return 0;
23220 _ACEOF
23221 if ac_fn_cxx_try_compile "$LINENO"; then :
23222 glibcxx_cv_func__long_double_round_use=yes
23223 else
23224 glibcxx_cv_func__long_double_round_use=no
23226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23227 ac_ext=c
23228 ac_cpp='$CPP $CPPFLAGS'
23229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23236 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23237 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23238 for ac_func in _ceill _floorl
23239 do :
23240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23242 eval as_val=\$$as_ac_var
23243 if test "x$as_val" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23246 _ACEOF
23249 done
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23260 $as_echo_n "checking for isnanl declaration... " >&6; }
23261 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23262 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23263 $as_echo_n "(cached) " >&6
23264 else
23267 ac_ext=cpp
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23274 /* end confdefs.h. */
23275 #include <math.h>
23276 #ifdef HAVE_IEEEFP_H
23277 #include <ieeefp.h>
23278 #endif
23281 main ()
23283 isnanl(0);
23285 return 0;
23287 _ACEOF
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func_isnanl_use=yes
23290 else
23291 glibcxx_cv_func_isnanl_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 ac_ext=c
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23305 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23307 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23308 for ac_func in isnanl
23309 do :
23310 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23311 if test "x$ac_cv_func_isnanl" = x""yes; then :
23312 cat >>confdefs.h <<_ACEOF
23313 #define HAVE_ISNANL 1
23314 _ACEOF
23317 done
23319 else
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23322 $as_echo_n "checking for _isnanl declaration... " >&6; }
23323 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23324 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23326 else
23329 ac_ext=cpp
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23337 #include <math.h>
23338 #ifdef HAVE_IEEEFP_H
23339 #include <ieeefp.h>
23340 #endif
23343 main ()
23345 _isnanl(0);
23347 return 0;
23349 _ACEOF
23350 if ac_fn_cxx_try_compile "$LINENO"; then :
23351 glibcxx_cv_func__isnanl_use=yes
23352 else
23353 glibcxx_cv_func__isnanl_use=no
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23367 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23369 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23370 for ac_func in _isnanl
23371 do :
23372 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23373 if test "x$ac_cv_func__isnanl" = x""yes; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE__ISNANL 1
23376 _ACEOF
23379 done
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23389 $as_echo_n "checking for isinfl declaration... " >&6; }
23390 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23391 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23393 else
23396 ac_ext=cpp
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23404 #include <math.h>
23405 #ifdef HAVE_IEEEFP_H
23406 #include <ieeefp.h>
23407 #endif
23410 main ()
23412 isinfl(0);
23414 return 0;
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func_isinfl_use=yes
23419 else
23420 glibcxx_cv_func_isinfl_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23434 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23436 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23437 for ac_func in isinfl
23438 do :
23439 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23440 if test "x$ac_cv_func_isinfl" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE_ISINFL 1
23443 _ACEOF
23446 done
23448 else
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23451 $as_echo_n "checking for _isinfl declaration... " >&6; }
23452 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23453 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23454 $as_echo_n "(cached) " >&6
23455 else
23458 ac_ext=cpp
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23466 #include <math.h>
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23469 #endif
23472 main ()
23474 _isinfl(0);
23476 return 0;
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func__isinfl_use=yes
23481 else
23482 glibcxx_cv_func__isinfl_use=no
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23496 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23498 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23499 for ac_func in _isinfl
23500 do :
23501 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23502 if test "x$ac_cv_func__isinfl" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE__ISINFL 1
23505 _ACEOF
23508 done
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23518 $as_echo_n "checking for atan2l declaration... " >&6; }
23519 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23520 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23521 $as_echo_n "(cached) " >&6
23522 else
23525 ac_ext=cpp
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23533 #include <math.h>
23535 main ()
23537 atan2l(0, 0);
23539 return 0;
23541 _ACEOF
23542 if ac_fn_cxx_try_compile "$LINENO"; then :
23543 glibcxx_cv_func_atan2l_use=yes
23544 else
23545 glibcxx_cv_func_atan2l_use=no
23547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23548 ac_ext=c
23549 ac_cpp='$CPP $CPPFLAGS'
23550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23559 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23561 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23562 for ac_func in atan2l
23563 do :
23564 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23565 if test "x$ac_cv_func_atan2l" = x""yes; then :
23566 cat >>confdefs.h <<_ACEOF
23567 #define HAVE_ATAN2L 1
23568 _ACEOF
23571 done
23573 else
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23576 $as_echo_n "checking for _atan2l declaration... " >&6; }
23577 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23578 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23579 $as_echo_n "(cached) " >&6
23580 else
23583 ac_ext=cpp
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23591 #include <math.h>
23593 main ()
23595 _atan2l(0, 0);
23597 return 0;
23599 _ACEOF
23600 if ac_fn_cxx_try_compile "$LINENO"; then :
23601 glibcxx_cv_func__atan2l_use=yes
23602 else
23603 glibcxx_cv_func__atan2l_use=no
23605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23606 ac_ext=c
23607 ac_cpp='$CPP $CPPFLAGS'
23608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23617 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23619 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23620 for ac_func in _atan2l
23621 do :
23622 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23623 if test "x$ac_cv_func__atan2l" = x""yes; then :
23624 cat >>confdefs.h <<_ACEOF
23625 #define HAVE__ATAN2L 1
23626 _ACEOF
23629 done
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23639 $as_echo_n "checking for expl declaration... " >&6; }
23640 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23641 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23643 else
23646 ac_ext=cpp
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23653 /* end confdefs.h. */
23654 #include <math.h>
23655 #ifdef HAVE_IEEEFP_H
23656 #include <ieeefp.h>
23657 #endif
23660 main ()
23662 expl(0);
23664 return 0;
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func_expl_use=yes
23669 else
23670 glibcxx_cv_func_expl_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23684 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23686 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23687 for ac_func in expl
23688 do :
23689 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23690 if test "x$ac_cv_func_expl" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE_EXPL 1
23693 _ACEOF
23696 done
23698 else
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23701 $as_echo_n "checking for _expl declaration... " >&6; }
23702 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23703 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23705 else
23708 ac_ext=cpp
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23716 #include <math.h>
23717 #ifdef HAVE_IEEEFP_H
23718 #include <ieeefp.h>
23719 #endif
23722 main ()
23724 _expl(0);
23726 return 0;
23728 _ACEOF
23729 if ac_fn_cxx_try_compile "$LINENO"; then :
23730 glibcxx_cv_func__expl_use=yes
23731 else
23732 glibcxx_cv_func__expl_use=no
23734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23735 ac_ext=c
23736 ac_cpp='$CPP $CPPFLAGS'
23737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23746 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23748 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23749 for ac_func in _expl
23750 do :
23751 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23752 if test "x$ac_cv_func__expl" = x""yes; then :
23753 cat >>confdefs.h <<_ACEOF
23754 #define HAVE__EXPL 1
23755 _ACEOF
23758 done
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23768 $as_echo_n "checking for fabsl declaration... " >&6; }
23769 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23770 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23772 else
23775 ac_ext=cpp
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23783 #include <math.h>
23784 #ifdef HAVE_IEEEFP_H
23785 #include <ieeefp.h>
23786 #endif
23789 main ()
23791 fabsl(0);
23793 return 0;
23795 _ACEOF
23796 if ac_fn_cxx_try_compile "$LINENO"; then :
23797 glibcxx_cv_func_fabsl_use=yes
23798 else
23799 glibcxx_cv_func_fabsl_use=no
23801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23802 ac_ext=c
23803 ac_cpp='$CPP $CPPFLAGS'
23804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23813 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23815 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23816 for ac_func in fabsl
23817 do :
23818 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23819 if test "x$ac_cv_func_fabsl" = x""yes; then :
23820 cat >>confdefs.h <<_ACEOF
23821 #define HAVE_FABSL 1
23822 _ACEOF
23825 done
23827 else
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23830 $as_echo_n "checking for _fabsl declaration... " >&6; }
23831 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23832 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23833 $as_echo_n "(cached) " >&6
23834 else
23837 ac_ext=cpp
23838 ac_cpp='$CXXCPP $CPPFLAGS'
23839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23844 /* end confdefs.h. */
23845 #include <math.h>
23846 #ifdef HAVE_IEEEFP_H
23847 #include <ieeefp.h>
23848 #endif
23851 main ()
23853 _fabsl(0);
23855 return 0;
23857 _ACEOF
23858 if ac_fn_cxx_try_compile "$LINENO"; then :
23859 glibcxx_cv_func__fabsl_use=yes
23860 else
23861 glibcxx_cv_func__fabsl_use=no
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 ac_ext=c
23865 ac_cpp='$CPP $CPPFLAGS'
23866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23875 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23877 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23878 for ac_func in _fabsl
23879 do :
23880 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23881 if test "x$ac_cv_func__fabsl" = x""yes; then :
23882 cat >>confdefs.h <<_ACEOF
23883 #define HAVE__FABSL 1
23884 _ACEOF
23887 done
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23897 $as_echo_n "checking for fmodl declaration... " >&6; }
23898 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23899 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23900 $as_echo_n "(cached) " >&6
23901 else
23904 ac_ext=cpp
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23912 #include <math.h>
23914 main ()
23916 fmodl(0, 0);
23918 return 0;
23920 _ACEOF
23921 if ac_fn_cxx_try_compile "$LINENO"; then :
23922 glibcxx_cv_func_fmodl_use=yes
23923 else
23924 glibcxx_cv_func_fmodl_use=no
23926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23927 ac_ext=c
23928 ac_cpp='$CPP $CPPFLAGS'
23929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23938 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23940 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23941 for ac_func in fmodl
23942 do :
23943 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23944 if test "x$ac_cv_func_fmodl" = x""yes; then :
23945 cat >>confdefs.h <<_ACEOF
23946 #define HAVE_FMODL 1
23947 _ACEOF
23950 done
23952 else
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23955 $as_echo_n "checking for _fmodl declaration... " >&6; }
23956 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23957 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23958 $as_echo_n "(cached) " >&6
23959 else
23962 ac_ext=cpp
23963 ac_cpp='$CXXCPP $CPPFLAGS'
23964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23969 /* end confdefs.h. */
23970 #include <math.h>
23972 main ()
23974 _fmodl(0, 0);
23976 return 0;
23978 _ACEOF
23979 if ac_fn_cxx_try_compile "$LINENO"; then :
23980 glibcxx_cv_func__fmodl_use=yes
23981 else
23982 glibcxx_cv_func__fmodl_use=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 ac_ext=c
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23996 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23998 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23999 for ac_func in _fmodl
24000 do :
24001 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24002 if test "x$ac_cv_func__fmodl" = x""yes; then :
24003 cat >>confdefs.h <<_ACEOF
24004 #define HAVE__FMODL 1
24005 _ACEOF
24008 done
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24018 $as_echo_n "checking for frexpl declaration... " >&6; }
24019 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24020 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24021 $as_echo_n "(cached) " >&6
24022 else
24025 ac_ext=cpp
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24033 #include <math.h>
24035 main ()
24037 frexpl(0, 0);
24039 return 0;
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_frexpl_use=yes
24044 else
24045 glibcxx_cv_func_frexpl_use=no
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24059 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24061 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24062 for ac_func in frexpl
24063 do :
24064 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24065 if test "x$ac_cv_func_frexpl" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE_FREXPL 1
24068 _ACEOF
24071 done
24073 else
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24076 $as_echo_n "checking for _frexpl declaration... " >&6; }
24077 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24078 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24079 $as_echo_n "(cached) " >&6
24080 else
24083 ac_ext=cpp
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24090 /* end confdefs.h. */
24091 #include <math.h>
24093 main ()
24095 _frexpl(0, 0);
24097 return 0;
24099 _ACEOF
24100 if ac_fn_cxx_try_compile "$LINENO"; then :
24101 glibcxx_cv_func__frexpl_use=yes
24102 else
24103 glibcxx_cv_func__frexpl_use=no
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 ac_ext=c
24107 ac_cpp='$CPP $CPPFLAGS'
24108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24117 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24119 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24120 for ac_func in _frexpl
24121 do :
24122 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24123 if test "x$ac_cv_func__frexpl" = x""yes; then :
24124 cat >>confdefs.h <<_ACEOF
24125 #define HAVE__FREXPL 1
24126 _ACEOF
24129 done
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24139 $as_echo_n "checking for hypotl declaration... " >&6; }
24140 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24141 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24142 $as_echo_n "(cached) " >&6
24143 else
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24154 #include <math.h>
24156 main ()
24158 hypotl(0, 0);
24160 return 0;
24162 _ACEOF
24163 if ac_fn_cxx_try_compile "$LINENO"; then :
24164 glibcxx_cv_func_hypotl_use=yes
24165 else
24166 glibcxx_cv_func_hypotl_use=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24180 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24182 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24183 for ac_func in hypotl
24184 do :
24185 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24186 if test "x$ac_cv_func_hypotl" = x""yes; then :
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE_HYPOTL 1
24189 _ACEOF
24192 done
24194 else
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24197 $as_echo_n "checking for _hypotl declaration... " >&6; }
24198 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24199 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24201 else
24204 ac_ext=cpp
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211 /* end confdefs.h. */
24212 #include <math.h>
24214 main ()
24216 _hypotl(0, 0);
24218 return 0;
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func__hypotl_use=yes
24223 else
24224 glibcxx_cv_func__hypotl_use=no
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24238 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24240 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24241 for ac_func in _hypotl
24242 do :
24243 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24244 if test "x$ac_cv_func__hypotl" = x""yes; then :
24245 cat >>confdefs.h <<_ACEOF
24246 #define HAVE__HYPOTL 1
24247 _ACEOF
24250 done
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24260 $as_echo_n "checking for ldexpl declaration... " >&6; }
24261 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24262 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24263 $as_echo_n "(cached) " >&6
24264 else
24267 ac_ext=cpp
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24274 /* end confdefs.h. */
24275 #include <math.h>
24277 main ()
24279 ldexpl(0, 0);
24281 return 0;
24283 _ACEOF
24284 if ac_fn_cxx_try_compile "$LINENO"; then :
24285 glibcxx_cv_func_ldexpl_use=yes
24286 else
24287 glibcxx_cv_func_ldexpl_use=no
24289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24290 ac_ext=c
24291 ac_cpp='$CPP $CPPFLAGS'
24292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24301 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24303 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24304 for ac_func in ldexpl
24305 do :
24306 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24307 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24308 cat >>confdefs.h <<_ACEOF
24309 #define HAVE_LDEXPL 1
24310 _ACEOF
24313 done
24315 else
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24318 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24319 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24320 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24321 $as_echo_n "(cached) " >&6
24322 else
24325 ac_ext=cpp
24326 ac_cpp='$CXXCPP $CPPFLAGS'
24327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24332 /* end confdefs.h. */
24333 #include <math.h>
24335 main ()
24337 _ldexpl(0, 0);
24339 return 0;
24341 _ACEOF
24342 if ac_fn_cxx_try_compile "$LINENO"; then :
24343 glibcxx_cv_func__ldexpl_use=yes
24344 else
24345 glibcxx_cv_func__ldexpl_use=no
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24359 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24361 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24362 for ac_func in _ldexpl
24363 do :
24364 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24365 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24366 cat >>confdefs.h <<_ACEOF
24367 #define HAVE__LDEXPL 1
24368 _ACEOF
24371 done
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24381 $as_echo_n "checking for logl declaration... " >&6; }
24382 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24383 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24384 $as_echo_n "(cached) " >&6
24385 else
24388 ac_ext=cpp
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h. */
24396 #include <math.h>
24397 #ifdef HAVE_IEEEFP_H
24398 #include <ieeefp.h>
24399 #endif
24402 main ()
24404 logl(0);
24406 return 0;
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func_logl_use=yes
24411 else
24412 glibcxx_cv_func_logl_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24426 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24428 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24429 for ac_func in logl
24430 do :
24431 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24432 if test "x$ac_cv_func_logl" = x""yes; then :
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE_LOGL 1
24435 _ACEOF
24438 done
24440 else
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24443 $as_echo_n "checking for _logl declaration... " >&6; }
24444 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24445 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24446 $as_echo_n "(cached) " >&6
24447 else
24450 ac_ext=cpp
24451 ac_cpp='$CXXCPP $CPPFLAGS'
24452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24457 /* end confdefs.h. */
24458 #include <math.h>
24459 #ifdef HAVE_IEEEFP_H
24460 #include <ieeefp.h>
24461 #endif
24464 main ()
24466 _logl(0);
24468 return 0;
24470 _ACEOF
24471 if ac_fn_cxx_try_compile "$LINENO"; then :
24472 glibcxx_cv_func__logl_use=yes
24473 else
24474 glibcxx_cv_func__logl_use=no
24476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24477 ac_ext=c
24478 ac_cpp='$CPP $CPPFLAGS'
24479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24488 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24490 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24491 for ac_func in _logl
24492 do :
24493 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24494 if test "x$ac_cv_func__logl" = x""yes; then :
24495 cat >>confdefs.h <<_ACEOF
24496 #define HAVE__LOGL 1
24497 _ACEOF
24500 done
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24510 $as_echo_n "checking for log10l declaration... " >&6; }
24511 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24512 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24513 $as_echo_n "(cached) " >&6
24514 else
24517 ac_ext=cpp
24518 ac_cpp='$CXXCPP $CPPFLAGS'
24519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24524 /* end confdefs.h. */
24525 #include <math.h>
24526 #ifdef HAVE_IEEEFP_H
24527 #include <ieeefp.h>
24528 #endif
24531 main ()
24533 log10l(0);
24535 return 0;
24537 _ACEOF
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539 glibcxx_cv_func_log10l_use=yes
24540 else
24541 glibcxx_cv_func_log10l_use=no
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 ac_ext=c
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24555 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24557 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24558 for ac_func in log10l
24559 do :
24560 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24561 if test "x$ac_cv_func_log10l" = x""yes; then :
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_LOG10L 1
24564 _ACEOF
24567 done
24569 else
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24572 $as_echo_n "checking for _log10l declaration... " >&6; }
24573 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24574 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24575 $as_echo_n "(cached) " >&6
24576 else
24579 ac_ext=cpp
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24586 /* end confdefs.h. */
24587 #include <math.h>
24588 #ifdef HAVE_IEEEFP_H
24589 #include <ieeefp.h>
24590 #endif
24593 main ()
24595 _log10l(0);
24597 return 0;
24599 _ACEOF
24600 if ac_fn_cxx_try_compile "$LINENO"; then :
24601 glibcxx_cv_func__log10l_use=yes
24602 else
24603 glibcxx_cv_func__log10l_use=no
24605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24606 ac_ext=c
24607 ac_cpp='$CPP $CPPFLAGS'
24608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24617 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24619 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24620 for ac_func in _log10l
24621 do :
24622 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24623 if test "x$ac_cv_func__log10l" = x""yes; then :
24624 cat >>confdefs.h <<_ACEOF
24625 #define HAVE__LOG10L 1
24626 _ACEOF
24629 done
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24639 $as_echo_n "checking for modfl declaration... " >&6; }
24640 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24641 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24642 $as_echo_n "(cached) " >&6
24643 else
24646 ac_ext=cpp
24647 ac_cpp='$CXXCPP $CPPFLAGS'
24648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h. */
24654 #include <math.h>
24656 main ()
24658 modfl(0, 0);
24660 return 0;
24662 _ACEOF
24663 if ac_fn_cxx_try_compile "$LINENO"; then :
24664 glibcxx_cv_func_modfl_use=yes
24665 else
24666 glibcxx_cv_func_modfl_use=no
24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24669 ac_ext=c
24670 ac_cpp='$CPP $CPPFLAGS'
24671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24680 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24682 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24683 for ac_func in modfl
24684 do :
24685 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24686 if test "x$ac_cv_func_modfl" = x""yes; then :
24687 cat >>confdefs.h <<_ACEOF
24688 #define HAVE_MODFL 1
24689 _ACEOF
24692 done
24694 else
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24697 $as_echo_n "checking for _modfl declaration... " >&6; }
24698 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24699 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24700 $as_echo_n "(cached) " >&6
24701 else
24704 ac_ext=cpp
24705 ac_cpp='$CXXCPP $CPPFLAGS'
24706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24711 /* end confdefs.h. */
24712 #include <math.h>
24714 main ()
24716 _modfl(0, 0);
24718 return 0;
24720 _ACEOF
24721 if ac_fn_cxx_try_compile "$LINENO"; then :
24722 glibcxx_cv_func__modfl_use=yes
24723 else
24724 glibcxx_cv_func__modfl_use=no
24726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24727 ac_ext=c
24728 ac_cpp='$CPP $CPPFLAGS'
24729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24738 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24740 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24741 for ac_func in _modfl
24742 do :
24743 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24744 if test "x$ac_cv_func__modfl" = x""yes; then :
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE__MODFL 1
24747 _ACEOF
24750 done
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24760 $as_echo_n "checking for powl declaration... " >&6; }
24761 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24762 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24763 $as_echo_n "(cached) " >&6
24764 else
24767 ac_ext=cpp
24768 ac_cpp='$CXXCPP $CPPFLAGS'
24769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24774 /* end confdefs.h. */
24775 #include <math.h>
24777 main ()
24779 powl(0, 0);
24781 return 0;
24783 _ACEOF
24784 if ac_fn_cxx_try_compile "$LINENO"; then :
24785 glibcxx_cv_func_powl_use=yes
24786 else
24787 glibcxx_cv_func_powl_use=no
24789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24790 ac_ext=c
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24801 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24803 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24804 for ac_func in powl
24805 do :
24806 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24807 if test "x$ac_cv_func_powl" = x""yes; then :
24808 cat >>confdefs.h <<_ACEOF
24809 #define HAVE_POWL 1
24810 _ACEOF
24813 done
24815 else
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24818 $as_echo_n "checking for _powl declaration... " >&6; }
24819 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24820 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24821 $as_echo_n "(cached) " >&6
24822 else
24825 ac_ext=cpp
24826 ac_cpp='$CXXCPP $CPPFLAGS'
24827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24832 /* end confdefs.h. */
24833 #include <math.h>
24835 main ()
24837 _powl(0, 0);
24839 return 0;
24841 _ACEOF
24842 if ac_fn_cxx_try_compile "$LINENO"; then :
24843 glibcxx_cv_func__powl_use=yes
24844 else
24845 glibcxx_cv_func__powl_use=no
24847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24848 ac_ext=c
24849 ac_cpp='$CPP $CPPFLAGS'
24850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24859 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24861 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24862 for ac_func in _powl
24863 do :
24864 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24865 if test "x$ac_cv_func__powl" = x""yes; then :
24866 cat >>confdefs.h <<_ACEOF
24867 #define HAVE__POWL 1
24868 _ACEOF
24871 done
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24881 $as_echo_n "checking for sqrtl declaration... " >&6; }
24882 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24883 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24884 $as_echo_n "(cached) " >&6
24885 else
24888 ac_ext=cpp
24889 ac_cpp='$CXXCPP $CPPFLAGS'
24890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24895 /* end confdefs.h. */
24896 #include <math.h>
24897 #ifdef HAVE_IEEEFP_H
24898 #include <ieeefp.h>
24899 #endif
24902 main ()
24904 sqrtl(0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func_sqrtl_use=yes
24911 else
24912 glibcxx_cv_func_sqrtl_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24926 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24928 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24929 for ac_func in sqrtl
24930 do :
24931 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24932 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE_SQRTL 1
24935 _ACEOF
24938 done
24940 else
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24943 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24944 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24945 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24959 #ifdef HAVE_IEEEFP_H
24960 #include <ieeefp.h>
24961 #endif
24964 main ()
24966 _sqrtl(0);
24968 return 0;
24970 _ACEOF
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func__sqrtl_use=yes
24973 else
24974 glibcxx_cv_func__sqrtl_use=no
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 ac_ext=c
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24988 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24990 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24991 for ac_func in _sqrtl
24992 do :
24993 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24994 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE__SQRTL 1
24997 _ACEOF
25000 done
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25010 $as_echo_n "checking for sincosl declaration... " >&6; }
25011 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25012 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25013 $as_echo_n "(cached) " >&6
25014 else
25017 ac_ext=cpp
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024 /* end confdefs.h. */
25025 #include <math.h>
25027 main ()
25029 sincosl(0, 0, 0);
25031 return 0;
25033 _ACEOF
25034 if ac_fn_cxx_try_compile "$LINENO"; then :
25035 glibcxx_cv_func_sincosl_use=yes
25036 else
25037 glibcxx_cv_func_sincosl_use=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 ac_ext=c
25041 ac_cpp='$CPP $CPPFLAGS'
25042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25051 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25053 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25054 for ac_func in sincosl
25055 do :
25056 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25057 if test "x$ac_cv_func_sincosl" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_SINCOSL 1
25060 _ACEOF
25063 done
25065 else
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25068 $as_echo_n "checking for _sincosl declaration... " >&6; }
25069 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25070 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25085 main ()
25087 _sincosl(0, 0, 0);
25089 return 0;
25091 _ACEOF
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func__sincosl_use=yes
25094 else
25095 glibcxx_cv_func__sincosl_use=no
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25098 ac_ext=c
25099 ac_cpp='$CPP $CPPFLAGS'
25100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25109 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25111 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25112 for ac_func in _sincosl
25113 do :
25114 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25115 if test "x$ac_cv_func__sincosl" = x""yes; then :
25116 cat >>confdefs.h <<_ACEOF
25117 #define HAVE__SINCOSL 1
25118 _ACEOF
25121 done
25130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25131 $as_echo_n "checking for finitel declaration... " >&6; }
25132 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25133 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25134 $as_echo_n "(cached) " >&6
25135 else
25138 ac_ext=cpp
25139 ac_cpp='$CXXCPP $CPPFLAGS'
25140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h. */
25146 #include <math.h>
25147 #ifdef HAVE_IEEEFP_H
25148 #include <ieeefp.h>
25149 #endif
25152 main ()
25154 finitel(0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func_finitel_use=yes
25161 else
25162 glibcxx_cv_func_finitel_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25176 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25178 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25179 for ac_func in finitel
25180 do :
25181 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25182 if test "x$ac_cv_func_finitel" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE_FINITEL 1
25185 _ACEOF
25188 done
25190 else
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25193 $as_echo_n "checking for _finitel declaration... " >&6; }
25194 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25195 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25200 ac_ext=cpp
25201 ac_cpp='$CXXCPP $CPPFLAGS'
25202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208 #include <math.h>
25209 #ifdef HAVE_IEEEFP_H
25210 #include <ieeefp.h>
25211 #endif
25214 main ()
25216 _finitel(0);
25218 return 0;
25220 _ACEOF
25221 if ac_fn_cxx_try_compile "$LINENO"; then :
25222 glibcxx_cv_func__finitel_use=yes
25223 else
25224 glibcxx_cv_func__finitel_use=no
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25227 ac_ext=c
25228 ac_cpp='$CPP $CPPFLAGS'
25229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25238 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25240 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25241 for ac_func in _finitel
25242 do :
25243 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25244 if test "x$ac_cv_func__finitel" = x""yes; then :
25245 cat >>confdefs.h <<_ACEOF
25246 #define HAVE__FINITEL 1
25247 _ACEOF
25250 done
25258 LIBS="$ac_save_LIBS"
25259 CXXFLAGS="$ac_save_CXXFLAGS"
25262 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25263 ac_save_CXXFLAGS="$CXXFLAGS"
25264 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25268 $as_echo_n "checking for strtold declaration... " >&6; }
25269 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25270 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25271 $as_echo_n "(cached) " >&6
25272 else
25275 ac_ext=cpp
25276 ac_cpp='$CXXCPP $CPPFLAGS'
25277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25283 #include <stdlib.h>
25285 main ()
25287 strtold(0, 0);
25289 return 0;
25291 _ACEOF
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func_strtold_use=yes
25294 else
25295 glibcxx_cv_func_strtold_use=no
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 ac_ext=c
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25309 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25310 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25311 for ac_func in strtold
25312 do :
25313 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25314 if test "x$ac_cv_func_strtold" = x""yes; then :
25315 cat >>confdefs.h <<_ACEOF
25316 #define HAVE_STRTOLD 1
25317 _ACEOF
25320 done
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25328 $as_echo_n "checking for strtof declaration... " >&6; }
25329 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25330 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25331 $as_echo_n "(cached) " >&6
25332 else
25335 ac_ext=cpp
25336 ac_cpp='$CXXCPP $CPPFLAGS'
25337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25342 /* end confdefs.h. */
25343 #include <stdlib.h>
25345 main ()
25347 strtof(0, 0);
25349 return 0;
25351 _ACEOF
25352 if ac_fn_cxx_try_compile "$LINENO"; then :
25353 glibcxx_cv_func_strtof_use=yes
25354 else
25355 glibcxx_cv_func_strtof_use=no
25357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25358 ac_ext=c
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25369 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25370 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25371 for ac_func in strtof
25372 do :
25373 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25374 if test "x$ac_cv_func_strtof" = x""yes; then :
25375 cat >>confdefs.h <<_ACEOF
25376 #define HAVE_STRTOF 1
25377 _ACEOF
25380 done
25387 CXXFLAGS="$ac_save_CXXFLAGS"
25390 # For /dev/random and /dev/urandom for TR1.
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25394 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25395 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25396 $as_echo_n "(cached) " >&6
25397 else
25399 if test -r /dev/random && test -r /dev/urandom; then
25400 glibcxx_cv_random_tr1=yes;
25401 else
25402 glibcxx_cv_random_tr1=no;
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25408 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25410 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25412 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25418 # For TLS support.
25421 # Check whether --enable-tls was given.
25422 if test "${enable_tls+set}" = set; then :
25423 enableval=$enable_tls;
25424 case "$enableval" in
25425 yes|no) ;;
25426 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25427 esac
25429 else
25430 enable_tls=yes
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25435 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25436 if test "${gcc_cv_have_tls+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25440 if test "$cross_compiling" = yes; then :
25441 if test x$gcc_no_link = xyes; then
25442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 __thread int a; int b; int main() { return a = b; }
25447 _ACEOF
25448 if ac_fn_c_try_link "$LINENO"; then :
25449 chktls_save_LDFLAGS="$LDFLAGS"
25450 case $host in
25451 *-*-linux*)
25452 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25454 esac
25455 chktls_save_CFLAGS="$CFLAGS"
25456 CFLAGS="-fPIC $CFLAGS"
25457 if test x$gcc_no_link = xyes; then
25458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25461 /* end confdefs.h. */
25462 int f() { return 0; }
25463 _ACEOF
25464 if ac_fn_c_try_link "$LINENO"; then :
25465 if test x$gcc_no_link = xyes; then
25466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25470 __thread int a; int b; int f() { return a = b; }
25471 _ACEOF
25472 if ac_fn_c_try_link "$LINENO"; then :
25473 gcc_cv_have_tls=yes
25474 else
25475 gcc_cv_have_tls=no
25477 rm -f core conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25479 else
25480 gcc_cv_have_tls=yes
25482 rm -f core conftest.err conftest.$ac_objext \
25483 conftest$ac_exeext conftest.$ac_ext
25484 CFLAGS="$chktls_save_CFLAGS"
25485 LDFLAGS="$chktls_save_LDFLAGS"
25486 else
25487 gcc_cv_have_tls=no
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25493 else
25494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h. */
25496 __thread int a; int b; int main() { return a = b; }
25497 _ACEOF
25498 if ac_fn_c_try_run "$LINENO"; then :
25499 chktls_save_LDFLAGS="$LDFLAGS"
25500 LDFLAGS="-static $LDFLAGS"
25501 if test x$gcc_no_link = xyes; then
25502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 int main() { return 0; }
25507 _ACEOF
25508 if ac_fn_c_try_link "$LINENO"; then :
25509 if test "$cross_compiling" = yes; then :
25510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25512 as_fn_error "cannot run test program while cross compiling
25513 See \`config.log' for more details." "$LINENO" 5; }
25514 else
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h. */
25517 __thread int a; int b; int main() { return a = b; }
25518 _ACEOF
25519 if ac_fn_c_try_run "$LINENO"; then :
25520 gcc_cv_have_tls=yes
25521 else
25522 gcc_cv_have_tls=no
25524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25525 conftest.$ac_objext conftest.beam conftest.$ac_ext
25528 else
25529 gcc_cv_have_tls=yes
25531 rm -f core conftest.err conftest.$ac_objext \
25532 conftest$ac_exeext conftest.$ac_ext
25533 LDFLAGS="$chktls_save_LDFLAGS"
25534 if test $gcc_cv_have_tls = yes; then
25535 chktls_save_CFLAGS="$CFLAGS"
25536 thread_CFLAGS=failed
25537 for flag in '' '-pthread' '-lpthread'; do
25538 CFLAGS="$flag $chktls_save_CFLAGS"
25539 if test x$gcc_no_link = xyes; then
25540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25543 /* end confdefs.h. */
25544 #include <pthread.h>
25545 void *g(void *d) { return NULL; }
25547 main ()
25549 pthread_t t; pthread_create(&t,NULL,g,NULL);
25551 return 0;
25553 _ACEOF
25554 if ac_fn_c_try_link "$LINENO"; then :
25555 thread_CFLAGS="$flag"
25557 rm -f core conftest.err conftest.$ac_objext \
25558 conftest$ac_exeext conftest.$ac_ext
25559 if test "X$thread_CFLAGS" != Xfailed; then
25560 break
25562 done
25563 CFLAGS="$chktls_save_CFLAGS"
25564 if test "X$thread_CFLAGS" != Xfailed; then
25565 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25566 if test "$cross_compiling" = yes; then :
25567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25569 as_fn_error "cannot run test program while cross compiling
25570 See \`config.log' for more details." "$LINENO" 5; }
25571 else
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <pthread.h>
25575 __thread int a;
25576 static int *a_in_other_thread;
25577 static void *
25578 thread_func (void *arg)
25580 a_in_other_thread = &a;
25581 return (void *)0;
25584 main ()
25586 pthread_t thread;
25587 void *thread_retval;
25588 int *a_in_main_thread;
25589 if (pthread_create (&thread, (pthread_attr_t *)0,
25590 thread_func, (void *)0))
25591 return 0;
25592 a_in_main_thread = &a;
25593 if (pthread_join (thread, &thread_retval))
25594 return 0;
25595 return (a_in_other_thread == a_in_main_thread);
25597 return 0;
25599 _ACEOF
25600 if ac_fn_c_try_run "$LINENO"; then :
25601 gcc_cv_have_tls=yes
25602 else
25603 gcc_cv_have_tls=no
25605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25606 conftest.$ac_objext conftest.beam conftest.$ac_ext
25609 CFLAGS="$chktls_save_CFLAGS"
25612 else
25613 gcc_cv_have_tls=no
25615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25616 conftest.$ac_objext conftest.beam conftest.$ac_ext
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25621 $as_echo "$gcc_cv_have_tls" >&6; }
25622 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25624 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25628 # For iconv support.
25630 if test "X$prefix" = "XNONE"; then
25631 acl_final_prefix="$ac_default_prefix"
25632 else
25633 acl_final_prefix="$prefix"
25635 if test "X$exec_prefix" = "XNONE"; then
25636 acl_final_exec_prefix='${prefix}'
25637 else
25638 acl_final_exec_prefix="$exec_prefix"
25640 acl_save_prefix="$prefix"
25641 prefix="$acl_final_prefix"
25642 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25643 prefix="$acl_save_prefix"
25646 # Check whether --with-gnu-ld was given.
25647 if test "${with_gnu_ld+set}" = set; then :
25648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25649 else
25650 with_gnu_ld=no
25653 # Prepare PATH_SEPARATOR.
25654 # The user is always right.
25655 if test "${PATH_SEPARATOR+set}" != set; then
25656 echo "#! /bin/sh" >conf$$.sh
25657 echo "exit 0" >>conf$$.sh
25658 chmod +x conf$$.sh
25659 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25660 PATH_SEPARATOR=';'
25661 else
25662 PATH_SEPARATOR=:
25664 rm -f conf$$.sh
25666 ac_prog=ld
25667 if test "$GCC" = yes; then
25668 # Check if gcc -print-prog-name=ld gives a path.
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25670 $as_echo_n "checking for ld used by GCC... " >&6; }
25671 case $host in
25672 *-*-mingw*)
25673 # gcc leaves a trailing carriage return which upsets mingw
25674 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25676 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25677 esac
25678 case $ac_prog in
25679 # Accept absolute paths.
25680 [\\/]* | [A-Za-z]:[\\/]*)
25681 re_direlt='/[^/][^/]*/\.\./'
25682 # Canonicalize the path of ld
25683 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25684 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25685 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25686 done
25687 test -z "$LD" && LD="$ac_prog"
25690 # If it fails, then pretend we aren't using GCC.
25691 ac_prog=ld
25694 # If it is relative, then search for the first ld in PATH.
25695 with_gnu_ld=unknown
25697 esac
25698 elif test "$with_gnu_ld" = yes; then
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25700 $as_echo_n "checking for GNU ld... " >&6; }
25701 else
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25703 $as_echo_n "checking for non-GNU ld... " >&6; }
25705 if test "${acl_cv_path_LD+set}" = set; then :
25706 $as_echo_n "(cached) " >&6
25707 else
25708 if test -z "$LD"; then
25709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25710 for ac_dir in $PATH; do
25711 test -z "$ac_dir" && ac_dir=.
25712 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25713 acl_cv_path_LD="$ac_dir/$ac_prog"
25714 # Check to see if the program is GNU ld. I'd rather use --version,
25715 # but apparently some GNU ld's only accept -v.
25716 # Break only if it was the GNU/non-GNU ld that we prefer.
25717 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25718 test "$with_gnu_ld" != no && break
25719 else
25720 test "$with_gnu_ld" != yes && break
25723 done
25724 IFS="$ac_save_ifs"
25725 else
25726 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25730 LD="$acl_cv_path_LD"
25731 if test -n "$LD"; then
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25733 $as_echo "$LD" >&6; }
25734 else
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25736 $as_echo "no" >&6; }
25738 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25740 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25741 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25742 $as_echo_n "(cached) " >&6
25743 else
25744 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25745 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25746 acl_cv_prog_gnu_ld=yes
25747 else
25748 acl_cv_prog_gnu_ld=no
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25752 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25753 with_gnu_ld=$acl_cv_prog_gnu_ld
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25758 $as_echo_n "checking for shared library run path origin... " >&6; }
25759 if test "${acl_cv_rpath+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25763 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25764 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25765 . ./conftest.sh
25766 rm -f ./conftest.sh
25767 acl_cv_rpath=done
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25771 $as_echo "$acl_cv_rpath" >&6; }
25772 wl="$acl_cv_wl"
25773 libext="$acl_cv_libext"
25774 shlibext="$acl_cv_shlibext"
25775 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25776 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25777 hardcode_direct="$acl_cv_hardcode_direct"
25778 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25779 # Check whether --enable-rpath was given.
25780 if test "${enable_rpath+set}" = set; then :
25781 enableval=$enable_rpath; :
25782 else
25783 enable_rpath=yes
25793 use_additional=yes
25795 acl_save_prefix="$prefix"
25796 prefix="$acl_final_prefix"
25797 acl_save_exec_prefix="$exec_prefix"
25798 exec_prefix="$acl_final_exec_prefix"
25800 eval additional_includedir=\"$includedir\"
25801 eval additional_libdir=\"$libdir\"
25803 exec_prefix="$acl_save_exec_prefix"
25804 prefix="$acl_save_prefix"
25807 # Check whether --with-libiconv-prefix was given.
25808 if test "${with_libiconv_prefix+set}" = set; then :
25809 withval=$with_libiconv_prefix;
25810 if test "X$withval" = "Xno"; then
25811 use_additional=no
25812 else
25813 if test "X$withval" = "X"; then
25815 acl_save_prefix="$prefix"
25816 prefix="$acl_final_prefix"
25817 acl_save_exec_prefix="$exec_prefix"
25818 exec_prefix="$acl_final_exec_prefix"
25820 eval additional_includedir=\"$includedir\"
25821 eval additional_libdir=\"$libdir\"
25823 exec_prefix="$acl_save_exec_prefix"
25824 prefix="$acl_save_prefix"
25826 else
25827 additional_includedir="$withval/include"
25828 additional_libdir="$withval/lib"
25834 LIBICONV=
25835 LTLIBICONV=
25836 INCICONV=
25837 rpathdirs=
25838 ltrpathdirs=
25839 names_already_handled=
25840 names_next_round='iconv '
25841 while test -n "$names_next_round"; do
25842 names_this_round="$names_next_round"
25843 names_next_round=
25844 for name in $names_this_round; do
25845 already_handled=
25846 for n in $names_already_handled; do
25847 if test "$n" = "$name"; then
25848 already_handled=yes
25849 break
25851 done
25852 if test -z "$already_handled"; then
25853 names_already_handled="$names_already_handled $name"
25854 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25855 eval value=\"\$HAVE_LIB$uppername\"
25856 if test -n "$value"; then
25857 if test "$value" = yes; then
25858 eval value=\"\$LIB$uppername\"
25859 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25860 eval value=\"\$LTLIB$uppername\"
25861 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25862 else
25865 else
25866 found_dir=
25867 found_la=
25868 found_so=
25869 found_a=
25870 if test $use_additional = yes; then
25871 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25872 found_dir="$additional_libdir"
25873 found_so="$additional_libdir/lib$name.$shlibext"
25874 if test -f "$additional_libdir/lib$name.la"; then
25875 found_la="$additional_libdir/lib$name.la"
25877 else
25878 if test -f "$additional_libdir/lib$name.$libext"; then
25879 found_dir="$additional_libdir"
25880 found_a="$additional_libdir/lib$name.$libext"
25881 if test -f "$additional_libdir/lib$name.la"; then
25882 found_la="$additional_libdir/lib$name.la"
25887 if test "X$found_dir" = "X"; then
25888 for x in $LDFLAGS $LTLIBICONV; do
25890 acl_save_prefix="$prefix"
25891 prefix="$acl_final_prefix"
25892 acl_save_exec_prefix="$exec_prefix"
25893 exec_prefix="$acl_final_exec_prefix"
25894 eval x=\"$x\"
25895 exec_prefix="$acl_save_exec_prefix"
25896 prefix="$acl_save_prefix"
25898 case "$x" in
25899 -L*)
25900 dir=`echo "X$x" | sed -e 's/^X-L//'`
25901 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25902 found_dir="$dir"
25903 found_so="$dir/lib$name.$shlibext"
25904 if test -f "$dir/lib$name.la"; then
25905 found_la="$dir/lib$name.la"
25907 else
25908 if test -f "$dir/lib$name.$libext"; then
25909 found_dir="$dir"
25910 found_a="$dir/lib$name.$libext"
25911 if test -f "$dir/lib$name.la"; then
25912 found_la="$dir/lib$name.la"
25917 esac
25918 if test "X$found_dir" != "X"; then
25919 break
25921 done
25923 if test "X$found_dir" != "X"; then
25924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25925 if test "X$found_so" != "X"; then
25926 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25927 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25928 else
25929 haveit=
25930 for x in $ltrpathdirs; do
25931 if test "X$x" = "X$found_dir"; then
25932 haveit=yes
25933 break
25935 done
25936 if test -z "$haveit"; then
25937 ltrpathdirs="$ltrpathdirs $found_dir"
25939 if test "$hardcode_direct" = yes; then
25940 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25941 else
25942 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25944 haveit=
25945 for x in $rpathdirs; do
25946 if test "X$x" = "X$found_dir"; then
25947 haveit=yes
25948 break
25950 done
25951 if test -z "$haveit"; then
25952 rpathdirs="$rpathdirs $found_dir"
25954 else
25955 haveit=
25956 for x in $LDFLAGS $LIBICONV; do
25958 acl_save_prefix="$prefix"
25959 prefix="$acl_final_prefix"
25960 acl_save_exec_prefix="$exec_prefix"
25961 exec_prefix="$acl_final_exec_prefix"
25962 eval x=\"$x\"
25963 exec_prefix="$acl_save_exec_prefix"
25964 prefix="$acl_save_prefix"
25966 if test "X$x" = "X-L$found_dir"; then
25967 haveit=yes
25968 break
25970 done
25971 if test -z "$haveit"; then
25972 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25974 if test "$hardcode_minus_L" != no; then
25975 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25976 else
25977 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25982 else
25983 if test "X$found_a" != "X"; then
25984 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25985 else
25986 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25989 additional_includedir=
25990 case "$found_dir" in
25991 */lib | */lib/)
25992 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25993 additional_includedir="$basedir/include"
25995 esac
25996 if test "X$additional_includedir" != "X"; then
25997 if test "X$additional_includedir" != "X/usr/include"; then
25998 haveit=
25999 if test "X$additional_includedir" = "X/usr/local/include"; then
26000 if test -n "$GCC"; then
26001 case $host_os in
26002 linux*) haveit=yes;;
26003 esac
26006 if test -z "$haveit"; then
26007 for x in $CPPFLAGS $INCICONV; do
26009 acl_save_prefix="$prefix"
26010 prefix="$acl_final_prefix"
26011 acl_save_exec_prefix="$exec_prefix"
26012 exec_prefix="$acl_final_exec_prefix"
26013 eval x=\"$x\"
26014 exec_prefix="$acl_save_exec_prefix"
26015 prefix="$acl_save_prefix"
26017 if test "X$x" = "X-I$additional_includedir"; then
26018 haveit=yes
26019 break
26021 done
26022 if test -z "$haveit"; then
26023 if test -d "$additional_includedir"; then
26024 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26030 if test -n "$found_la"; then
26031 save_libdir="$libdir"
26032 case "$found_la" in
26033 */* | *\\*) . "$found_la" ;;
26034 *) . "./$found_la" ;;
26035 esac
26036 libdir="$save_libdir"
26037 for dep in $dependency_libs; do
26038 case "$dep" in
26039 -L*)
26040 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26041 if test "X$additional_libdir" != "X/usr/lib"; then
26042 haveit=
26043 if test "X$additional_libdir" = "X/usr/local/lib"; then
26044 if test -n "$GCC"; then
26045 case $host_os in
26046 linux*) haveit=yes;;
26047 esac
26050 if test -z "$haveit"; then
26051 haveit=
26052 for x in $LDFLAGS $LIBICONV; do
26054 acl_save_prefix="$prefix"
26055 prefix="$acl_final_prefix"
26056 acl_save_exec_prefix="$exec_prefix"
26057 exec_prefix="$acl_final_exec_prefix"
26058 eval x=\"$x\"
26059 exec_prefix="$acl_save_exec_prefix"
26060 prefix="$acl_save_prefix"
26062 if test "X$x" = "X-L$additional_libdir"; then
26063 haveit=yes
26064 break
26066 done
26067 if test -z "$haveit"; then
26068 if test -d "$additional_libdir"; then
26069 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26072 haveit=
26073 for x in $LDFLAGS $LTLIBICONV; do
26075 acl_save_prefix="$prefix"
26076 prefix="$acl_final_prefix"
26077 acl_save_exec_prefix="$exec_prefix"
26078 exec_prefix="$acl_final_exec_prefix"
26079 eval x=\"$x\"
26080 exec_prefix="$acl_save_exec_prefix"
26081 prefix="$acl_save_prefix"
26083 if test "X$x" = "X-L$additional_libdir"; then
26084 haveit=yes
26085 break
26087 done
26088 if test -z "$haveit"; then
26089 if test -d "$additional_libdir"; then
26090 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26096 -R*)
26097 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26098 if test "$enable_rpath" != no; then
26099 haveit=
26100 for x in $rpathdirs; do
26101 if test "X$x" = "X$dir"; then
26102 haveit=yes
26103 break
26105 done
26106 if test -z "$haveit"; then
26107 rpathdirs="$rpathdirs $dir"
26109 haveit=
26110 for x in $ltrpathdirs; do
26111 if test "X$x" = "X$dir"; then
26112 haveit=yes
26113 break
26115 done
26116 if test -z "$haveit"; then
26117 ltrpathdirs="$ltrpathdirs $dir"
26121 -l*)
26122 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26124 *.la)
26125 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26128 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26129 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26131 esac
26132 done
26134 else
26135 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26140 done
26141 done
26142 if test "X$rpathdirs" != "X"; then
26143 if test -n "$hardcode_libdir_separator"; then
26144 alldirs=
26145 for found_dir in $rpathdirs; do
26146 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26147 done
26148 acl_save_libdir="$libdir"
26149 libdir="$alldirs"
26150 eval flag=\"$hardcode_libdir_flag_spec\"
26151 libdir="$acl_save_libdir"
26152 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26153 else
26154 for found_dir in $rpathdirs; do
26155 acl_save_libdir="$libdir"
26156 libdir="$found_dir"
26157 eval flag=\"$hardcode_libdir_flag_spec\"
26158 libdir="$acl_save_libdir"
26159 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26160 done
26163 if test "X$ltrpathdirs" != "X"; then
26164 for found_dir in $ltrpathdirs; do
26165 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26166 done
26175 am_save_CPPFLAGS="$CPPFLAGS"
26177 for element in $INCICONV; do
26178 haveit=
26179 for x in $CPPFLAGS; do
26181 acl_save_prefix="$prefix"
26182 prefix="$acl_final_prefix"
26183 acl_save_exec_prefix="$exec_prefix"
26184 exec_prefix="$acl_final_exec_prefix"
26185 eval x=\"$x\"
26186 exec_prefix="$acl_save_exec_prefix"
26187 prefix="$acl_save_prefix"
26189 if test "X$x" = "X$element"; then
26190 haveit=yes
26191 break
26193 done
26194 if test -z "$haveit"; then
26195 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26197 done
26200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26201 $as_echo_n "checking for iconv... " >&6; }
26202 if test "${am_cv_func_iconv+set}" = set; then :
26203 $as_echo_n "(cached) " >&6
26204 else
26206 am_cv_func_iconv="no, consider installing GNU libiconv"
26207 am_cv_lib_iconv=no
26208 if test x$gcc_no_link = xyes; then
26209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26213 #include <stdlib.h>
26214 #include <iconv.h>
26216 main ()
26218 iconv_t cd = iconv_open("","");
26219 iconv(cd,NULL,NULL,NULL,NULL);
26220 iconv_close(cd);
26222 return 0;
26224 _ACEOF
26225 if ac_fn_c_try_link "$LINENO"; then :
26226 am_cv_func_iconv=yes
26228 rm -f core conftest.err conftest.$ac_objext \
26229 conftest$ac_exeext conftest.$ac_ext
26230 if test "$am_cv_func_iconv" != yes; then
26231 am_save_LIBS="$LIBS"
26232 LIBS="$LIBS $LIBICONV"
26233 if test x$gcc_no_link = xyes; then
26234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 #include <stdlib.h>
26239 #include <iconv.h>
26241 main ()
26243 iconv_t cd = iconv_open("","");
26244 iconv(cd,NULL,NULL,NULL,NULL);
26245 iconv_close(cd);
26247 return 0;
26249 _ACEOF
26250 if ac_fn_c_try_link "$LINENO"; then :
26251 am_cv_lib_iconv=yes
26252 am_cv_func_iconv=yes
26254 rm -f core conftest.err conftest.$ac_objext \
26255 conftest$ac_exeext conftest.$ac_ext
26256 LIBS="$am_save_LIBS"
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26261 $as_echo "$am_cv_func_iconv" >&6; }
26262 if test "$am_cv_func_iconv" = yes; then
26264 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26267 if test "$am_cv_lib_iconv" = yes; then
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26269 $as_echo_n "checking how to link with libiconv... " >&6; }
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26271 $as_echo "$LIBICONV" >&6; }
26272 else
26273 CPPFLAGS="$am_save_CPPFLAGS"
26274 LIBICONV=
26275 LTLIBICONV=
26280 if test "$am_cv_func_iconv" = yes; then
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26282 $as_echo_n "checking for iconv declaration... " >&6; }
26283 if test "${am_cv_proto_iconv+set}" = set; then :
26284 $as_echo_n "(cached) " >&6
26285 else
26287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26290 #include <stdlib.h>
26291 #include <iconv.h>
26292 extern
26293 #ifdef __cplusplus
26295 #endif
26296 #if defined(__STDC__) || defined(__cplusplus)
26297 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26298 #else
26299 size_t iconv();
26300 #endif
26303 main ()
26307 return 0;
26309 _ACEOF
26310 if ac_fn_c_try_compile "$LINENO"; then :
26311 am_cv_proto_iconv_arg1=""
26312 else
26313 am_cv_proto_iconv_arg1="const"
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316 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);"
26319 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26321 }$am_cv_proto_iconv" >&5
26322 $as_echo "${ac_t:-
26323 }$am_cv_proto_iconv" >&6; }
26325 cat >>confdefs.h <<_ACEOF
26326 #define ICONV_CONST $am_cv_proto_iconv_arg1
26327 _ACEOF
26332 else
26334 # This lets us hard-code the functionality we know we'll have in the cross
26335 # target environment. "Let" is a sugar-coated word placed on an especially
26336 # dull and tedious hack, actually.
26338 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26339 # that involve linking, can't be used:
26340 # "cannot open sim-crt0.o"
26341 # "cannot open crt0.o"
26342 # etc. All this is because there currently exists no unified, consistent
26343 # way for top level CC information to be passed down to target directories:
26344 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26345 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26346 # crosses can be removed.
26348 # If Canadian cross, then don't pick up tools from the build directory.
26349 # Used only in GLIBCXX_EXPORT_INCLUDES.
26350 if test -n "$with_cross_host" &&
26351 test x"$build_alias" != x"$with_cross_host" &&
26352 test x"$build" != x"$target";
26353 then
26354 CANADIAN=yes
26355 else
26356 CANADIAN=no
26359 # Construct crosses by hand, eliminating bits that need ld...
26360 # GLIBCXX_CHECK_MATH_SUPPORT
26362 # First, test for "known" system libraries. We may be using newlib even
26363 # on a hosted environment.
26364 if test "x${with_newlib}" = "xyes"; then
26365 os_include_dir="os/newlib"
26366 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26369 # GLIBCXX_CHECK_STDLIB_SUPPORT
26370 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26373 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26375 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26377 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26379 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26381 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26383 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26385 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26387 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26389 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26391 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26393 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26395 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26397 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26399 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26401 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26403 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26405 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26407 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26409 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26411 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26413 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26415 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26418 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26420 else
26422 # Base decisions on target environment.
26423 case "${host}" in
26424 arm*-*-symbianelf*)
26425 # This is a freestanding configuration; there is nothing to do here.
26428 mips*-sde-elf*)
26429 # These definitions are for the SDE C library rather than newlib.
26430 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26433 # All these tests are for C++; save the language and the compiler flags.
26434 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26435 # found in GLIBCXX_CONFIGURE.
26437 ac_ext=cpp
26438 ac_cpp='$CXXCPP $CPPFLAGS'
26439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26444 ac_save_CXXFLAGS="$CXXFLAGS"
26446 # Check for maintainer-mode bits.
26447 if test x"$USE_MAINTAINER_MODE" = xno; then
26448 WERROR=''
26449 else
26450 WERROR='-Werror'
26453 # Check for -ffunction-sections -fdata-sections
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26455 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26456 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26458 /* end confdefs.h. */
26459 int foo; void bar() { };
26461 main ()
26465 return 0;
26467 _ACEOF
26468 if ac_fn_cxx_try_compile "$LINENO"; then :
26469 ac_fdsections=yes
26470 else
26471 ac_fdsections=no
26473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26474 if test "$ac_test_CXXFLAGS" = set; then
26475 CXXFLAGS="$ac_save_CXXFLAGS"
26476 else
26477 # this is the suspicious part
26478 CXXFLAGS=''
26480 if test x"$ac_fdsections" = x"yes"; then
26481 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26484 $as_echo "$ac_fdsections" >&6; }
26486 ac_ext=c
26487 ac_cpp='$CPP $CPPFLAGS'
26488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26496 # If we're not using GNU ld, then there's no point in even trying these
26497 # tests. Check for that first. We should have already tested for gld
26498 # by now (in libtool), but require it now just to be safe...
26499 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26500 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26504 # The name set by libtool depends on the version of libtool. Shame on us
26505 # for depending on an impl detail, but c'est la vie. Older versions used
26506 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26507 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26508 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26509 # set (hence we're using an older libtool), then set it.
26510 if test x${with_gnu_ld+set} != xset; then
26511 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26512 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26513 with_gnu_ld=no
26514 else
26515 with_gnu_ld=$ac_cv_prog_gnu_ld
26519 # Start by getting the version number. I think the libtool test already
26520 # does some of this, but throws away the result.
26521 glibcxx_ld_is_gold=no
26522 if test x"$with_gnu_ld" = x"yes"; then
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26524 $as_echo_n "checking for ld version... " >&6; }
26526 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26527 glibcxx_ld_is_gold=yes
26529 ldver=`$LD --version 2>/dev/null |
26530 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'`
26532 glibcxx_gnu_ld_version=`echo $ldver | \
26533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26535 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26538 # Set --gc-sections.
26539 glibcxx_have_gc_sections=no
26540 if test "$glibcxx_ld_is_gold" = "yes"; then
26541 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26542 glibcxx_have_gc_sections=yes
26544 else
26545 glibcxx_gcsections_min_ld=21602
26546 if test x"$with_gnu_ld" = x"yes" &&
26547 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26548 glibcxx_have_gc_sections=yes
26551 if test "$glibcxx_have_gc_sections" = "yes"; then
26552 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26553 # NB: This flag only works reliably after 2.16.1. Configure tests
26554 # for this are difficult, so hard wire a value that should work.
26556 ac_test_CFLAGS="${CFLAGS+set}"
26557 ac_save_CFLAGS="$CFLAGS"
26558 CFLAGS='-Wl,--gc-sections'
26560 # Check for -Wl,--gc-sections
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26562 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26563 if test x$gcc_no_link = xyes; then
26564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26567 /* end confdefs.h. */
26568 int one(void) { return 1; }
26569 int two(void) { return 2; }
26572 main ()
26574 two();
26576 return 0;
26578 _ACEOF
26579 if ac_fn_c_try_link "$LINENO"; then :
26580 ac_gcsections=yes
26581 else
26582 ac_gcsections=no
26584 rm -f core conftest.err conftest.$ac_objext \
26585 conftest$ac_exeext conftest.$ac_ext
26586 if test "$ac_gcsections" = "yes"; then
26587 rm -f conftest.c
26588 touch conftest.c
26589 if $CC -c conftest.c; then
26590 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26591 grep "Warning: gc-sections option ignored" > /dev/null; then
26592 ac_gcsections=no
26595 rm -f conftest.c conftest.o conftest
26597 if test "$ac_gcsections" = "yes"; then
26598 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26601 $as_echo "$ac_gcsections" >&6; }
26603 if test "$ac_test_CFLAGS" = set; then
26604 CFLAGS="$ac_save_CFLAGS"
26605 else
26606 # this is the suspicious part
26607 CFLAGS=''
26611 # Set -z,relro.
26612 # Note this is only for shared objects.
26613 ac_ld_relro=no
26614 if test x"$with_gnu_ld" = x"yes"; then
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26616 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26617 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26618 if test -n "$cxx_z_relo"; then
26619 OPT_LDFLAGS="-Wl,-z,relro"
26620 ac_ld_relro=yes
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26623 $as_echo "$ac_ld_relro" >&6; }
26626 # Set linker optimization flags.
26627 if test x"$with_gnu_ld" = x"yes"; then
26628 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26635 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26636 ac_save_CXXFLAGS="$CXXFLAGS"
26637 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26640 $as_echo_n "checking for sin in -lm... " >&6; }
26641 if test "${ac_cv_lib_m_sin+set}" = set; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26644 ac_check_lib_save_LIBS=$LIBS
26645 LIBS="-lm $LIBS"
26646 if test x$gcc_no_link = xyes; then
26647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26650 /* end confdefs.h. */
26652 /* Override any GCC internal prototype to avoid an error.
26653 Use char because int might match the return type of a GCC
26654 builtin and then its argument prototype would still apply. */
26655 #ifdef __cplusplus
26656 extern "C"
26657 #endif
26658 char sin ();
26660 main ()
26662 return sin ();
26664 return 0;
26666 _ACEOF
26667 if ac_fn_c_try_link "$LINENO"; then :
26668 ac_cv_lib_m_sin=yes
26669 else
26670 ac_cv_lib_m_sin=no
26672 rm -f core conftest.err conftest.$ac_objext \
26673 conftest$ac_exeext conftest.$ac_ext
26674 LIBS=$ac_check_lib_save_LIBS
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26677 $as_echo "$ac_cv_lib_m_sin" >&6; }
26678 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26679 libm="-lm"
26682 ac_save_LIBS="$LIBS"
26683 LIBS="$LIBS $libm"
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26688 $as_echo_n "checking for isinf declaration... " >&6; }
26689 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26690 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26691 $as_echo_n "(cached) " >&6
26692 else
26695 ac_ext=cpp
26696 ac_cpp='$CXXCPP $CPPFLAGS'
26697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26702 /* end confdefs.h. */
26703 #include <math.h>
26704 #ifdef HAVE_IEEEFP_H
26705 #include <ieeefp.h>
26706 #endif
26709 main ()
26711 isinf(0);
26713 return 0;
26715 _ACEOF
26716 if ac_fn_cxx_try_compile "$LINENO"; then :
26717 glibcxx_cv_func_isinf_use=yes
26718 else
26719 glibcxx_cv_func_isinf_use=no
26721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26722 ac_ext=c
26723 ac_cpp='$CPP $CPPFLAGS'
26724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26733 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26735 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26736 for ac_func in isinf
26737 do :
26738 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26739 if test "x$ac_cv_func_isinf" = x""yes; then :
26740 cat >>confdefs.h <<_ACEOF
26741 #define HAVE_ISINF 1
26742 _ACEOF
26745 done
26747 else
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26750 $as_echo_n "checking for _isinf declaration... " >&6; }
26751 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26752 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26753 $as_echo_n "(cached) " >&6
26754 else
26757 ac_ext=cpp
26758 ac_cpp='$CXXCPP $CPPFLAGS'
26759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26764 /* end confdefs.h. */
26765 #include <math.h>
26766 #ifdef HAVE_IEEEFP_H
26767 #include <ieeefp.h>
26768 #endif
26771 main ()
26773 _isinf(0);
26775 return 0;
26777 _ACEOF
26778 if ac_fn_cxx_try_compile "$LINENO"; then :
26779 glibcxx_cv_func__isinf_use=yes
26780 else
26781 glibcxx_cv_func__isinf_use=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 ac_ext=c
26785 ac_cpp='$CPP $CPPFLAGS'
26786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26795 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26797 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26798 for ac_func in _isinf
26799 do :
26800 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26801 if test "x$ac_cv_func__isinf" = x""yes; then :
26802 cat >>confdefs.h <<_ACEOF
26803 #define HAVE__ISINF 1
26804 _ACEOF
26807 done
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26817 $as_echo_n "checking for isnan declaration... " >&6; }
26818 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26819 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26820 $as_echo_n "(cached) " >&6
26821 else
26824 ac_ext=cpp
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26832 #include <math.h>
26833 #ifdef HAVE_IEEEFP_H
26834 #include <ieeefp.h>
26835 #endif
26838 main ()
26840 isnan(0);
26842 return 0;
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func_isnan_use=yes
26847 else
26848 glibcxx_cv_func_isnan_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851 ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26862 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26864 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26865 for ac_func in isnan
26866 do :
26867 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26868 if test "x$ac_cv_func_isnan" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE_ISNAN 1
26871 _ACEOF
26874 done
26876 else
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26879 $as_echo_n "checking for _isnan declaration... " >&6; }
26880 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26881 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26882 $as_echo_n "(cached) " >&6
26883 else
26886 ac_ext=cpp
26887 ac_cpp='$CXXCPP $CPPFLAGS'
26888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h. */
26894 #include <math.h>
26895 #ifdef HAVE_IEEEFP_H
26896 #include <ieeefp.h>
26897 #endif
26900 main ()
26902 _isnan(0);
26904 return 0;
26906 _ACEOF
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func__isnan_use=yes
26909 else
26910 glibcxx_cv_func__isnan_use=no
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 ac_ext=c
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26924 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26926 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26927 for ac_func in _isnan
26928 do :
26929 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26930 if test "x$ac_cv_func__isnan" = x""yes; then :
26931 cat >>confdefs.h <<_ACEOF
26932 #define HAVE__ISNAN 1
26933 _ACEOF
26936 done
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26946 $as_echo_n "checking for finite declaration... " >&6; }
26947 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26948 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26950 else
26953 ac_ext=cpp
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 #include <math.h>
26962 #ifdef HAVE_IEEEFP_H
26963 #include <ieeefp.h>
26964 #endif
26967 main ()
26969 finite(0);
26971 return 0;
26973 _ACEOF
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975 glibcxx_cv_func_finite_use=yes
26976 else
26977 glibcxx_cv_func_finite_use=no
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26991 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26993 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26994 for ac_func in finite
26995 do :
26996 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26997 if test "x$ac_cv_func_finite" = x""yes; then :
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE_FINITE 1
27000 _ACEOF
27003 done
27005 else
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27008 $as_echo_n "checking for _finite declaration... " >&6; }
27009 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27010 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27011 $as_echo_n "(cached) " >&6
27012 else
27015 ac_ext=cpp
27016 ac_cpp='$CXXCPP $CPPFLAGS'
27017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27022 /* end confdefs.h. */
27023 #include <math.h>
27024 #ifdef HAVE_IEEEFP_H
27025 #include <ieeefp.h>
27026 #endif
27029 main ()
27031 _finite(0);
27033 return 0;
27035 _ACEOF
27036 if ac_fn_cxx_try_compile "$LINENO"; then :
27037 glibcxx_cv_func__finite_use=yes
27038 else
27039 glibcxx_cv_func__finite_use=no
27041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042 ac_ext=c
27043 ac_cpp='$CPP $CPPFLAGS'
27044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27053 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27055 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27056 for ac_func in _finite
27057 do :
27058 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27059 if test "x$ac_cv_func__finite" = x""yes; then :
27060 cat >>confdefs.h <<_ACEOF
27061 #define HAVE__FINITE 1
27062 _ACEOF
27065 done
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27075 $as_echo_n "checking for sincos declaration... " >&6; }
27076 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27077 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27082 ac_ext=cpp
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h. */
27090 #include <math.h>
27092 main ()
27094 sincos(0, 0, 0);
27096 return 0;
27098 _ACEOF
27099 if ac_fn_cxx_try_compile "$LINENO"; then :
27100 glibcxx_cv_func_sincos_use=yes
27101 else
27102 glibcxx_cv_func_sincos_use=no
27104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27105 ac_ext=c
27106 ac_cpp='$CPP $CPPFLAGS'
27107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27116 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27118 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27119 for ac_func in sincos
27120 do :
27121 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27122 if test "x$ac_cv_func_sincos" = x""yes; then :
27123 cat >>confdefs.h <<_ACEOF
27124 #define HAVE_SINCOS 1
27125 _ACEOF
27128 done
27130 else
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27133 $as_echo_n "checking for _sincos declaration... " >&6; }
27134 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27135 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27136 $as_echo_n "(cached) " >&6
27137 else
27140 ac_ext=cpp
27141 ac_cpp='$CXXCPP $CPPFLAGS'
27142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27148 #include <math.h>
27150 main ()
27152 _sincos(0, 0, 0);
27154 return 0;
27156 _ACEOF
27157 if ac_fn_cxx_try_compile "$LINENO"; then :
27158 glibcxx_cv_func__sincos_use=yes
27159 else
27160 glibcxx_cv_func__sincos_use=no
27162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27163 ac_ext=c
27164 ac_cpp='$CPP $CPPFLAGS'
27165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27174 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27176 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27177 for ac_func in _sincos
27178 do :
27179 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27180 if test "x$ac_cv_func__sincos" = x""yes; then :
27181 cat >>confdefs.h <<_ACEOF
27182 #define HAVE__SINCOS 1
27183 _ACEOF
27186 done
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27196 $as_echo_n "checking for fpclass declaration... " >&6; }
27197 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27198 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27199 $as_echo_n "(cached) " >&6
27200 else
27203 ac_ext=cpp
27204 ac_cpp='$CXXCPP $CPPFLAGS'
27205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27210 /* end confdefs.h. */
27211 #include <math.h>
27212 #ifdef HAVE_IEEEFP_H
27213 #include <ieeefp.h>
27214 #endif
27217 main ()
27219 fpclass(0);
27221 return 0;
27223 _ACEOF
27224 if ac_fn_cxx_try_compile "$LINENO"; then :
27225 glibcxx_cv_func_fpclass_use=yes
27226 else
27227 glibcxx_cv_func_fpclass_use=no
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27230 ac_ext=c
27231 ac_cpp='$CPP $CPPFLAGS'
27232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27241 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27243 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27244 for ac_func in fpclass
27245 do :
27246 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27247 if test "x$ac_cv_func_fpclass" = x""yes; then :
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE_FPCLASS 1
27250 _ACEOF
27253 done
27255 else
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27258 $as_echo_n "checking for _fpclass declaration... " >&6; }
27259 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27260 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27261 $as_echo_n "(cached) " >&6
27262 else
27265 ac_ext=cpp
27266 ac_cpp='$CXXCPP $CPPFLAGS'
27267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27272 /* end confdefs.h. */
27273 #include <math.h>
27274 #ifdef HAVE_IEEEFP_H
27275 #include <ieeefp.h>
27276 #endif
27279 main ()
27281 _fpclass(0);
27283 return 0;
27285 _ACEOF
27286 if ac_fn_cxx_try_compile "$LINENO"; then :
27287 glibcxx_cv_func__fpclass_use=yes
27288 else
27289 glibcxx_cv_func__fpclass_use=no
27291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27292 ac_ext=c
27293 ac_cpp='$CPP $CPPFLAGS'
27294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27303 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27305 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27306 for ac_func in _fpclass
27307 do :
27308 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27309 if test "x$ac_cv_func__fpclass" = x""yes; then :
27310 cat >>confdefs.h <<_ACEOF
27311 #define HAVE__FPCLASS 1
27312 _ACEOF
27315 done
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27325 $as_echo_n "checking for qfpclass declaration... " >&6; }
27326 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27327 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27328 $as_echo_n "(cached) " >&6
27329 else
27332 ac_ext=cpp
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h. */
27340 #include <math.h>
27341 #ifdef HAVE_IEEEFP_H
27342 #include <ieeefp.h>
27343 #endif
27346 main ()
27348 qfpclass(0);
27350 return 0;
27352 _ACEOF
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354 glibcxx_cv_func_qfpclass_use=yes
27355 else
27356 glibcxx_cv_func_qfpclass_use=no
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27359 ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27370 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27372 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27373 for ac_func in qfpclass
27374 do :
27375 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27376 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27377 cat >>confdefs.h <<_ACEOF
27378 #define HAVE_QFPCLASS 1
27379 _ACEOF
27382 done
27384 else
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27387 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27388 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27389 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27390 $as_echo_n "(cached) " >&6
27391 else
27394 ac_ext=cpp
27395 ac_cpp='$CXXCPP $CPPFLAGS'
27396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27402 #include <math.h>
27403 #ifdef HAVE_IEEEFP_H
27404 #include <ieeefp.h>
27405 #endif
27408 main ()
27410 _qfpclass(0);
27412 return 0;
27414 _ACEOF
27415 if ac_fn_cxx_try_compile "$LINENO"; then :
27416 glibcxx_cv_func__qfpclass_use=yes
27417 else
27418 glibcxx_cv_func__qfpclass_use=no
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27421 ac_ext=c
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27432 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27434 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27435 for ac_func in _qfpclass
27436 do :
27437 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27438 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27439 cat >>confdefs.h <<_ACEOF
27440 #define HAVE__QFPCLASS 1
27441 _ACEOF
27444 done
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27454 $as_echo_n "checking for hypot declaration... " >&6; }
27455 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27456 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27457 $as_echo_n "(cached) " >&6
27458 else
27461 ac_ext=cpp
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h. */
27469 #include <math.h>
27471 main ()
27473 hypot(0, 0);
27475 return 0;
27477 _ACEOF
27478 if ac_fn_cxx_try_compile "$LINENO"; then :
27479 glibcxx_cv_func_hypot_use=yes
27480 else
27481 glibcxx_cv_func_hypot_use=no
27483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484 ac_ext=c
27485 ac_cpp='$CPP $CPPFLAGS'
27486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27495 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27497 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27498 for ac_func in hypot
27499 do :
27500 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27501 if test "x$ac_cv_func_hypot" = x""yes; then :
27502 cat >>confdefs.h <<_ACEOF
27503 #define HAVE_HYPOT 1
27504 _ACEOF
27507 done
27509 else
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27512 $as_echo_n "checking for _hypot declaration... " >&6; }
27513 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27514 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27515 $as_echo_n "(cached) " >&6
27516 else
27519 ac_ext=cpp
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27527 #include <math.h>
27529 main ()
27531 _hypot(0, 0);
27533 return 0;
27535 _ACEOF
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537 glibcxx_cv_func__hypot_use=yes
27538 else
27539 glibcxx_cv_func__hypot_use=no
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27553 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27555 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27556 for ac_func in _hypot
27557 do :
27558 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27559 if test "x$ac_cv_func__hypot" = x""yes; then :
27560 cat >>confdefs.h <<_ACEOF
27561 #define HAVE__HYPOT 1
27562 _ACEOF
27565 done
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27575 $as_echo_n "checking for float trig functions... " >&6; }
27576 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27577 $as_echo_n "(cached) " >&6
27578 else
27581 ac_ext=cpp
27582 ac_cpp='$CXXCPP $CPPFLAGS'
27583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h. */
27589 #include <math.h>
27591 main ()
27593 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27595 return 0;
27597 _ACEOF
27598 if ac_fn_cxx_try_compile "$LINENO"; then :
27599 glibcxx_cv_func_float_trig_use=yes
27600 else
27601 glibcxx_cv_func_float_trig_use=no
27603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27604 ac_ext=c
27605 ac_cpp='$CPP $CPPFLAGS'
27606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27613 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27614 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27615 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27616 do :
27617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27619 eval as_val=\$$as_ac_var
27620 if test "x$as_val" = x""yes; then :
27621 cat >>confdefs.h <<_ACEOF
27622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27623 _ACEOF
27626 done
27628 else
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27630 $as_echo_n "checking for _float trig functions... " >&6; }
27631 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27632 $as_echo_n "(cached) " >&6
27633 else
27636 ac_ext=cpp
27637 ac_cpp='$CXXCPP $CPPFLAGS'
27638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27643 /* end confdefs.h. */
27644 #include <math.h>
27646 main ()
27648 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27650 return 0;
27652 _ACEOF
27653 if ac_fn_cxx_try_compile "$LINENO"; then :
27654 glibcxx_cv_func__float_trig_use=yes
27655 else
27656 glibcxx_cv_func__float_trig_use=no
27658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27659 ac_ext=c
27660 ac_cpp='$CPP $CPPFLAGS'
27661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27668 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27669 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27670 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27671 do :
27672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27674 eval as_val=\$$as_ac_var
27675 if test "x$as_val" = x""yes; then :
27676 cat >>confdefs.h <<_ACEOF
27677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27678 _ACEOF
27681 done
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27691 $as_echo_n "checking for float round functions... " >&6; }
27692 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27693 $as_echo_n "(cached) " >&6
27694 else
27697 ac_ext=cpp
27698 ac_cpp='$CXXCPP $CPPFLAGS'
27699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27704 /* end confdefs.h. */
27705 #include <math.h>
27707 main ()
27709 ceilf (0); floorf (0);
27711 return 0;
27713 _ACEOF
27714 if ac_fn_cxx_try_compile "$LINENO"; then :
27715 glibcxx_cv_func_float_round_use=yes
27716 else
27717 glibcxx_cv_func_float_round_use=no
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27729 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27730 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27731 for ac_func in ceilf floorf
27732 do :
27733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27735 eval as_val=\$$as_ac_var
27736 if test "x$as_val" = x""yes; then :
27737 cat >>confdefs.h <<_ACEOF
27738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27739 _ACEOF
27742 done
27744 else
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27746 $as_echo_n "checking for _float round functions... " >&6; }
27747 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27748 $as_echo_n "(cached) " >&6
27749 else
27752 ac_ext=cpp
27753 ac_cpp='$CXXCPP $CPPFLAGS'
27754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27759 /* end confdefs.h. */
27760 #include <math.h>
27762 main ()
27764 _ceilf (0); _floorf (0);
27766 return 0;
27768 _ACEOF
27769 if ac_fn_cxx_try_compile "$LINENO"; then :
27770 glibcxx_cv_func__float_round_use=yes
27771 else
27772 glibcxx_cv_func__float_round_use=no
27774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27775 ac_ext=c
27776 ac_cpp='$CPP $CPPFLAGS'
27777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27784 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27785 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27786 for ac_func in _ceilf _floorf
27787 do :
27788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27790 eval as_val=\$$as_ac_var
27791 if test "x$as_val" = x""yes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27794 _ACEOF
27797 done
27807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27808 $as_echo_n "checking for expf declaration... " >&6; }
27809 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27810 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27811 $as_echo_n "(cached) " >&6
27812 else
27815 ac_ext=cpp
27816 ac_cpp='$CXXCPP $CPPFLAGS'
27817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27822 /* end confdefs.h. */
27823 #include <math.h>
27824 #ifdef HAVE_IEEEFP_H
27825 #include <ieeefp.h>
27826 #endif
27829 main ()
27831 expf(0);
27833 return 0;
27835 _ACEOF
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func_expf_use=yes
27838 else
27839 glibcxx_cv_func_expf_use=no
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27853 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27855 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27856 for ac_func in expf
27857 do :
27858 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27859 if test "x$ac_cv_func_expf" = x""yes; then :
27860 cat >>confdefs.h <<_ACEOF
27861 #define HAVE_EXPF 1
27862 _ACEOF
27865 done
27867 else
27869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27870 $as_echo_n "checking for _expf declaration... " >&6; }
27871 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27872 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27873 $as_echo_n "(cached) " >&6
27874 else
27877 ac_ext=cpp
27878 ac_cpp='$CXXCPP $CPPFLAGS'
27879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27884 /* end confdefs.h. */
27885 #include <math.h>
27886 #ifdef HAVE_IEEEFP_H
27887 #include <ieeefp.h>
27888 #endif
27891 main ()
27893 _expf(0);
27895 return 0;
27897 _ACEOF
27898 if ac_fn_cxx_try_compile "$LINENO"; then :
27899 glibcxx_cv_func__expf_use=yes
27900 else
27901 glibcxx_cv_func__expf_use=no
27903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27904 ac_ext=c
27905 ac_cpp='$CPP $CPPFLAGS'
27906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27915 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27917 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27918 for ac_func in _expf
27919 do :
27920 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27921 if test "x$ac_cv_func__expf" = x""yes; then :
27922 cat >>confdefs.h <<_ACEOF
27923 #define HAVE__EXPF 1
27924 _ACEOF
27927 done
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27937 $as_echo_n "checking for isnanf declaration... " >&6; }
27938 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27939 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27958 main ()
27960 isnanf(0);
27962 return 0;
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func_isnanf_use=yes
27967 else
27968 glibcxx_cv_func_isnanf_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27982 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27984 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27985 for ac_func in isnanf
27986 do :
27987 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27988 if test "x$ac_cv_func_isnanf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE_ISNANF 1
27991 _ACEOF
27994 done
27996 else
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27999 $as_echo_n "checking for _isnanf declaration... " >&6; }
28000 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28001 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28002 $as_echo_n "(cached) " >&6
28003 else
28006 ac_ext=cpp
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 #include <math.h>
28015 #ifdef HAVE_IEEEFP_H
28016 #include <ieeefp.h>
28017 #endif
28020 main ()
28022 _isnanf(0);
28024 return 0;
28026 _ACEOF
28027 if ac_fn_cxx_try_compile "$LINENO"; then :
28028 glibcxx_cv_func__isnanf_use=yes
28029 else
28030 glibcxx_cv_func__isnanf_use=no
28032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28033 ac_ext=c
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28044 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28046 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28047 for ac_func in _isnanf
28048 do :
28049 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28050 if test "x$ac_cv_func__isnanf" = x""yes; then :
28051 cat >>confdefs.h <<_ACEOF
28052 #define HAVE__ISNANF 1
28053 _ACEOF
28056 done
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28066 $as_echo_n "checking for isinff declaration... " >&6; }
28067 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28068 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28073 ac_ext=cpp
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28081 #include <math.h>
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28084 #endif
28087 main ()
28089 isinff(0);
28091 return 0;
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func_isinff_use=yes
28096 else
28097 glibcxx_cv_func_isinff_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100 ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28111 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28113 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28114 for ac_func in isinff
28115 do :
28116 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28117 if test "x$ac_cv_func_isinff" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE_ISINFF 1
28120 _ACEOF
28123 done
28125 else
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28128 $as_echo_n "checking for _isinff declaration... " >&6; }
28129 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28130 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28135 ac_ext=cpp
28136 ac_cpp='$CXXCPP $CPPFLAGS'
28137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 #include <math.h>
28144 #ifdef HAVE_IEEEFP_H
28145 #include <ieeefp.h>
28146 #endif
28149 main ()
28151 _isinff(0);
28153 return 0;
28155 _ACEOF
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func__isinff_use=yes
28158 else
28159 glibcxx_cv_func__isinff_use=no
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28173 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28175 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28176 for ac_func in _isinff
28177 do :
28178 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28179 if test "x$ac_cv_func__isinff" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE__ISINFF 1
28182 _ACEOF
28185 done
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28195 $as_echo_n "checking for atan2f declaration... " >&6; }
28196 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28197 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28199 else
28202 ac_ext=cpp
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28210 #include <math.h>
28212 main ()
28214 atan2f(0, 0);
28216 return 0;
28218 _ACEOF
28219 if ac_fn_cxx_try_compile "$LINENO"; then :
28220 glibcxx_cv_func_atan2f_use=yes
28221 else
28222 glibcxx_cv_func_atan2f_use=no
28224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28225 ac_ext=c
28226 ac_cpp='$CPP $CPPFLAGS'
28227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28236 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28238 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28239 for ac_func in atan2f
28240 do :
28241 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28242 if test "x$ac_cv_func_atan2f" = x""yes; then :
28243 cat >>confdefs.h <<_ACEOF
28244 #define HAVE_ATAN2F 1
28245 _ACEOF
28248 done
28250 else
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28253 $as_echo_n "checking for _atan2f declaration... " >&6; }
28254 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28255 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28256 $as_echo_n "(cached) " >&6
28257 else
28260 ac_ext=cpp
28261 ac_cpp='$CXXCPP $CPPFLAGS'
28262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28267 /* end confdefs.h. */
28268 #include <math.h>
28270 main ()
28272 _atan2f(0, 0);
28274 return 0;
28276 _ACEOF
28277 if ac_fn_cxx_try_compile "$LINENO"; then :
28278 glibcxx_cv_func__atan2f_use=yes
28279 else
28280 glibcxx_cv_func__atan2f_use=no
28282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28283 ac_ext=c
28284 ac_cpp='$CPP $CPPFLAGS'
28285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28294 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28296 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28297 for ac_func in _atan2f
28298 do :
28299 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28300 if test "x$ac_cv_func__atan2f" = x""yes; then :
28301 cat >>confdefs.h <<_ACEOF
28302 #define HAVE__ATAN2F 1
28303 _ACEOF
28306 done
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28316 $as_echo_n "checking for fabsf declaration... " >&6; }
28317 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28318 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28319 $as_echo_n "(cached) " >&6
28320 else
28323 ac_ext=cpp
28324 ac_cpp='$CXXCPP $CPPFLAGS'
28325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28330 /* end confdefs.h. */
28331 #include <math.h>
28332 #ifdef HAVE_IEEEFP_H
28333 #include <ieeefp.h>
28334 #endif
28337 main ()
28339 fabsf(0);
28341 return 0;
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func_fabsf_use=yes
28346 else
28347 glibcxx_cv_func_fabsf_use=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28361 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28363 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28364 for ac_func in fabsf
28365 do :
28366 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28367 if test "x$ac_cv_func_fabsf" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE_FABSF 1
28370 _ACEOF
28373 done
28375 else
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28378 $as_echo_n "checking for _fabsf declaration... " >&6; }
28379 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28380 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28381 $as_echo_n "(cached) " >&6
28382 else
28385 ac_ext=cpp
28386 ac_cpp='$CXXCPP $CPPFLAGS'
28387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28392 /* end confdefs.h. */
28393 #include <math.h>
28394 #ifdef HAVE_IEEEFP_H
28395 #include <ieeefp.h>
28396 #endif
28399 main ()
28401 _fabsf(0);
28403 return 0;
28405 _ACEOF
28406 if ac_fn_cxx_try_compile "$LINENO"; then :
28407 glibcxx_cv_func__fabsf_use=yes
28408 else
28409 glibcxx_cv_func__fabsf_use=no
28411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28412 ac_ext=c
28413 ac_cpp='$CPP $CPPFLAGS'
28414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28423 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28425 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28426 for ac_func in _fabsf
28427 do :
28428 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28429 if test "x$ac_cv_func__fabsf" = x""yes; then :
28430 cat >>confdefs.h <<_ACEOF
28431 #define HAVE__FABSF 1
28432 _ACEOF
28435 done
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28445 $as_echo_n "checking for fmodf declaration... " >&6; }
28446 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28447 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28462 main ()
28464 fmodf(0, 0);
28466 return 0;
28468 _ACEOF
28469 if ac_fn_cxx_try_compile "$LINENO"; then :
28470 glibcxx_cv_func_fmodf_use=yes
28471 else
28472 glibcxx_cv_func_fmodf_use=no
28474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28475 ac_ext=c
28476 ac_cpp='$CPP $CPPFLAGS'
28477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28486 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28488 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28489 for ac_func in fmodf
28490 do :
28491 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28492 if test "x$ac_cv_func_fmodf" = x""yes; then :
28493 cat >>confdefs.h <<_ACEOF
28494 #define HAVE_FMODF 1
28495 _ACEOF
28498 done
28500 else
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28503 $as_echo_n "checking for _fmodf declaration... " >&6; }
28504 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28505 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28507 else
28510 ac_ext=cpp
28511 ac_cpp='$CXXCPP $CPPFLAGS'
28512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28517 /* end confdefs.h. */
28518 #include <math.h>
28520 main ()
28522 _fmodf(0, 0);
28524 return 0;
28526 _ACEOF
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528 glibcxx_cv_func__fmodf_use=yes
28529 else
28530 glibcxx_cv_func__fmodf_use=no
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 ac_ext=c
28534 ac_cpp='$CPP $CPPFLAGS'
28535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28544 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28546 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28547 for ac_func in _fmodf
28548 do :
28549 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28550 if test "x$ac_cv_func__fmodf" = x""yes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE__FMODF 1
28553 _ACEOF
28556 done
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28566 $as_echo_n "checking for frexpf declaration... " >&6; }
28567 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28568 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28569 $as_echo_n "(cached) " >&6
28570 else
28573 ac_ext=cpp
28574 ac_cpp='$CXXCPP $CPPFLAGS'
28575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28580 /* end confdefs.h. */
28581 #include <math.h>
28583 main ()
28585 frexpf(0, 0);
28587 return 0;
28589 _ACEOF
28590 if ac_fn_cxx_try_compile "$LINENO"; then :
28591 glibcxx_cv_func_frexpf_use=yes
28592 else
28593 glibcxx_cv_func_frexpf_use=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 ac_ext=c
28597 ac_cpp='$CPP $CPPFLAGS'
28598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28607 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28609 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28610 for ac_func in frexpf
28611 do :
28612 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28613 if test "x$ac_cv_func_frexpf" = x""yes; then :
28614 cat >>confdefs.h <<_ACEOF
28615 #define HAVE_FREXPF 1
28616 _ACEOF
28619 done
28621 else
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28624 $as_echo_n "checking for _frexpf declaration... " >&6; }
28625 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28626 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28627 $as_echo_n "(cached) " >&6
28628 else
28631 ac_ext=cpp
28632 ac_cpp='$CXXCPP $CPPFLAGS'
28633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28639 #include <math.h>
28641 main ()
28643 _frexpf(0, 0);
28645 return 0;
28647 _ACEOF
28648 if ac_fn_cxx_try_compile "$LINENO"; then :
28649 glibcxx_cv_func__frexpf_use=yes
28650 else
28651 glibcxx_cv_func__frexpf_use=no
28653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28654 ac_ext=c
28655 ac_cpp='$CPP $CPPFLAGS'
28656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28665 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28667 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28668 for ac_func in _frexpf
28669 do :
28670 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28671 if test "x$ac_cv_func__frexpf" = x""yes; then :
28672 cat >>confdefs.h <<_ACEOF
28673 #define HAVE__FREXPF 1
28674 _ACEOF
28677 done
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28687 $as_echo_n "checking for hypotf declaration... " >&6; }
28688 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28689 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28690 $as_echo_n "(cached) " >&6
28691 else
28694 ac_ext=cpp
28695 ac_cpp='$CXXCPP $CPPFLAGS'
28696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28701 /* end confdefs.h. */
28702 #include <math.h>
28704 main ()
28706 hypotf(0, 0);
28708 return 0;
28710 _ACEOF
28711 if ac_fn_cxx_try_compile "$LINENO"; then :
28712 glibcxx_cv_func_hypotf_use=yes
28713 else
28714 glibcxx_cv_func_hypotf_use=no
28716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28717 ac_ext=c
28718 ac_cpp='$CPP $CPPFLAGS'
28719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28728 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28730 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28731 for ac_func in hypotf
28732 do :
28733 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28734 if test "x$ac_cv_func_hypotf" = x""yes; then :
28735 cat >>confdefs.h <<_ACEOF
28736 #define HAVE_HYPOTF 1
28737 _ACEOF
28740 done
28742 else
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28745 $as_echo_n "checking for _hypotf declaration... " >&6; }
28746 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28747 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28748 $as_echo_n "(cached) " >&6
28749 else
28752 ac_ext=cpp
28753 ac_cpp='$CXXCPP $CPPFLAGS'
28754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28759 /* end confdefs.h. */
28760 #include <math.h>
28762 main ()
28764 _hypotf(0, 0);
28766 return 0;
28768 _ACEOF
28769 if ac_fn_cxx_try_compile "$LINENO"; then :
28770 glibcxx_cv_func__hypotf_use=yes
28771 else
28772 glibcxx_cv_func__hypotf_use=no
28774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28775 ac_ext=c
28776 ac_cpp='$CPP $CPPFLAGS'
28777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28786 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28788 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28789 for ac_func in _hypotf
28790 do :
28791 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28792 if test "x$ac_cv_func__hypotf" = x""yes; then :
28793 cat >>confdefs.h <<_ACEOF
28794 #define HAVE__HYPOTF 1
28795 _ACEOF
28798 done
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28808 $as_echo_n "checking for ldexpf declaration... " >&6; }
28809 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28810 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28811 $as_echo_n "(cached) " >&6
28812 else
28815 ac_ext=cpp
28816 ac_cpp='$CXXCPP $CPPFLAGS'
28817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28822 /* end confdefs.h. */
28823 #include <math.h>
28825 main ()
28827 ldexpf(0, 0);
28829 return 0;
28831 _ACEOF
28832 if ac_fn_cxx_try_compile "$LINENO"; then :
28833 glibcxx_cv_func_ldexpf_use=yes
28834 else
28835 glibcxx_cv_func_ldexpf_use=no
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 ac_ext=c
28839 ac_cpp='$CPP $CPPFLAGS'
28840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28849 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28851 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28852 for ac_func in ldexpf
28853 do :
28854 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28855 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28856 cat >>confdefs.h <<_ACEOF
28857 #define HAVE_LDEXPF 1
28858 _ACEOF
28861 done
28863 else
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28866 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28867 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28868 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28869 $as_echo_n "(cached) " >&6
28870 else
28873 ac_ext=cpp
28874 ac_cpp='$CXXCPP $CPPFLAGS'
28875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28880 /* end confdefs.h. */
28881 #include <math.h>
28883 main ()
28885 _ldexpf(0, 0);
28887 return 0;
28889 _ACEOF
28890 if ac_fn_cxx_try_compile "$LINENO"; then :
28891 glibcxx_cv_func__ldexpf_use=yes
28892 else
28893 glibcxx_cv_func__ldexpf_use=no
28895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28896 ac_ext=c
28897 ac_cpp='$CPP $CPPFLAGS'
28898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28907 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28909 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28910 for ac_func in _ldexpf
28911 do :
28912 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28913 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28914 cat >>confdefs.h <<_ACEOF
28915 #define HAVE__LDEXPF 1
28916 _ACEOF
28919 done
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28929 $as_echo_n "checking for logf declaration... " >&6; }
28930 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28931 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28932 $as_echo_n "(cached) " >&6
28933 else
28936 ac_ext=cpp
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943 /* end confdefs.h. */
28944 #include <math.h>
28945 #ifdef HAVE_IEEEFP_H
28946 #include <ieeefp.h>
28947 #endif
28950 main ()
28952 logf(0);
28954 return 0;
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func_logf_use=yes
28959 else
28960 glibcxx_cv_func_logf_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963 ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28974 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28976 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28977 for ac_func in logf
28978 do :
28979 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28980 if test "x$ac_cv_func_logf" = x""yes; then :
28981 cat >>confdefs.h <<_ACEOF
28982 #define HAVE_LOGF 1
28983 _ACEOF
28986 done
28988 else
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28991 $as_echo_n "checking for _logf declaration... " >&6; }
28992 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28993 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28994 $as_echo_n "(cached) " >&6
28995 else
28998 ac_ext=cpp
28999 ac_cpp='$CXXCPP $CPPFLAGS'
29000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29005 /* end confdefs.h. */
29006 #include <math.h>
29007 #ifdef HAVE_IEEEFP_H
29008 #include <ieeefp.h>
29009 #endif
29012 main ()
29014 _logf(0);
29016 return 0;
29018 _ACEOF
29019 if ac_fn_cxx_try_compile "$LINENO"; then :
29020 glibcxx_cv_func__logf_use=yes
29021 else
29022 glibcxx_cv_func__logf_use=no
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29025 ac_ext=c
29026 ac_cpp='$CPP $CPPFLAGS'
29027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29036 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29038 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29039 for ac_func in _logf
29040 do :
29041 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29042 if test "x$ac_cv_func__logf" = x""yes; then :
29043 cat >>confdefs.h <<_ACEOF
29044 #define HAVE__LOGF 1
29045 _ACEOF
29048 done
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29058 $as_echo_n "checking for log10f declaration... " >&6; }
29059 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29060 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29061 $as_echo_n "(cached) " >&6
29062 else
29065 ac_ext=cpp
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h. */
29073 #include <math.h>
29074 #ifdef HAVE_IEEEFP_H
29075 #include <ieeefp.h>
29076 #endif
29079 main ()
29081 log10f(0);
29083 return 0;
29085 _ACEOF
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087 glibcxx_cv_func_log10f_use=yes
29088 else
29089 glibcxx_cv_func_log10f_use=no
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092 ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29103 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29105 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29106 for ac_func in log10f
29107 do :
29108 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29109 if test "x$ac_cv_func_log10f" = x""yes; then :
29110 cat >>confdefs.h <<_ACEOF
29111 #define HAVE_LOG10F 1
29112 _ACEOF
29115 done
29117 else
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29120 $as_echo_n "checking for _log10f declaration... " >&6; }
29121 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29122 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29123 $as_echo_n "(cached) " >&6
29124 else
29127 ac_ext=cpp
29128 ac_cpp='$CXXCPP $CPPFLAGS'
29129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h. */
29135 #include <math.h>
29136 #ifdef HAVE_IEEEFP_H
29137 #include <ieeefp.h>
29138 #endif
29141 main ()
29143 _log10f(0);
29145 return 0;
29147 _ACEOF
29148 if ac_fn_cxx_try_compile "$LINENO"; then :
29149 glibcxx_cv_func__log10f_use=yes
29150 else
29151 glibcxx_cv_func__log10f_use=no
29153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29154 ac_ext=c
29155 ac_cpp='$CPP $CPPFLAGS'
29156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29165 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29167 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29168 for ac_func in _log10f
29169 do :
29170 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29171 if test "x$ac_cv_func__log10f" = x""yes; then :
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE__LOG10F 1
29174 _ACEOF
29177 done
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29187 $as_echo_n "checking for modff declaration... " >&6; }
29188 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29189 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29190 $as_echo_n "(cached) " >&6
29191 else
29194 ac_ext=cpp
29195 ac_cpp='$CXXCPP $CPPFLAGS'
29196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201 /* end confdefs.h. */
29202 #include <math.h>
29204 main ()
29206 modff(0, 0);
29208 return 0;
29210 _ACEOF
29211 if ac_fn_cxx_try_compile "$LINENO"; then :
29212 glibcxx_cv_func_modff_use=yes
29213 else
29214 glibcxx_cv_func_modff_use=no
29216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29217 ac_ext=c
29218 ac_cpp='$CPP $CPPFLAGS'
29219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29228 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29230 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29231 for ac_func in modff
29232 do :
29233 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29234 if test "x$ac_cv_func_modff" = x""yes; then :
29235 cat >>confdefs.h <<_ACEOF
29236 #define HAVE_MODFF 1
29237 _ACEOF
29240 done
29242 else
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29245 $as_echo_n "checking for _modff declaration... " >&6; }
29246 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29247 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29262 main ()
29264 _modff(0, 0);
29266 return 0;
29268 _ACEOF
29269 if ac_fn_cxx_try_compile "$LINENO"; then :
29270 glibcxx_cv_func__modff_use=yes
29271 else
29272 glibcxx_cv_func__modff_use=no
29274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29286 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29288 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29289 for ac_func in _modff
29290 do :
29291 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29292 if test "x$ac_cv_func__modff" = x""yes; then :
29293 cat >>confdefs.h <<_ACEOF
29294 #define HAVE__MODFF 1
29295 _ACEOF
29298 done
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29308 $as_echo_n "checking for modf declaration... " >&6; }
29309 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29310 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29311 $as_echo_n "(cached) " >&6
29312 else
29315 ac_ext=cpp
29316 ac_cpp='$CXXCPP $CPPFLAGS'
29317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29323 #include <math.h>
29325 main ()
29327 modf(0, 0);
29329 return 0;
29331 _ACEOF
29332 if ac_fn_cxx_try_compile "$LINENO"; then :
29333 glibcxx_cv_func_modf_use=yes
29334 else
29335 glibcxx_cv_func_modf_use=no
29337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29338 ac_ext=c
29339 ac_cpp='$CPP $CPPFLAGS'
29340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29349 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29351 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29352 for ac_func in modf
29353 do :
29354 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29355 if test "x$ac_cv_func_modf" = x""yes; then :
29356 cat >>confdefs.h <<_ACEOF
29357 #define HAVE_MODF 1
29358 _ACEOF
29361 done
29363 else
29365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29366 $as_echo_n "checking for _modf declaration... " >&6; }
29367 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29368 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29369 $as_echo_n "(cached) " >&6
29370 else
29373 ac_ext=cpp
29374 ac_cpp='$CXXCPP $CPPFLAGS'
29375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29380 /* end confdefs.h. */
29381 #include <math.h>
29383 main ()
29385 _modf(0, 0);
29387 return 0;
29389 _ACEOF
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 glibcxx_cv_func__modf_use=yes
29392 else
29393 glibcxx_cv_func__modf_use=no
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 ac_ext=c
29397 ac_cpp='$CPP $CPPFLAGS'
29398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29407 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29409 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29410 for ac_func in _modf
29411 do :
29412 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29413 if test "x$ac_cv_func__modf" = x""yes; then :
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE__MODF 1
29416 _ACEOF
29419 done
29428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29429 $as_echo_n "checking for powf declaration... " >&6; }
29430 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29431 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29432 $as_echo_n "(cached) " >&6
29433 else
29436 ac_ext=cpp
29437 ac_cpp='$CXXCPP $CPPFLAGS'
29438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29444 #include <math.h>
29446 main ()
29448 powf(0, 0);
29450 return 0;
29452 _ACEOF
29453 if ac_fn_cxx_try_compile "$LINENO"; then :
29454 glibcxx_cv_func_powf_use=yes
29455 else
29456 glibcxx_cv_func_powf_use=no
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459 ac_ext=c
29460 ac_cpp='$CPP $CPPFLAGS'
29461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29470 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29472 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29473 for ac_func in powf
29474 do :
29475 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29476 if test "x$ac_cv_func_powf" = x""yes; then :
29477 cat >>confdefs.h <<_ACEOF
29478 #define HAVE_POWF 1
29479 _ACEOF
29482 done
29484 else
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29487 $as_echo_n "checking for _powf declaration... " >&6; }
29488 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29489 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29490 $as_echo_n "(cached) " >&6
29491 else
29494 ac_ext=cpp
29495 ac_cpp='$CXXCPP $CPPFLAGS'
29496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29501 /* end confdefs.h. */
29502 #include <math.h>
29504 main ()
29506 _powf(0, 0);
29508 return 0;
29510 _ACEOF
29511 if ac_fn_cxx_try_compile "$LINENO"; then :
29512 glibcxx_cv_func__powf_use=yes
29513 else
29514 glibcxx_cv_func__powf_use=no
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 ac_ext=c
29518 ac_cpp='$CPP $CPPFLAGS'
29519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29528 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29530 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29531 for ac_func in _powf
29532 do :
29533 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29534 if test "x$ac_cv_func__powf" = x""yes; then :
29535 cat >>confdefs.h <<_ACEOF
29536 #define HAVE__POWF 1
29537 _ACEOF
29540 done
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29550 $as_echo_n "checking for sqrtf declaration... " >&6; }
29551 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29552 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29553 $as_echo_n "(cached) " >&6
29554 else
29557 ac_ext=cpp
29558 ac_cpp='$CXXCPP $CPPFLAGS'
29559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29564 /* end confdefs.h. */
29565 #include <math.h>
29566 #ifdef HAVE_IEEEFP_H
29567 #include <ieeefp.h>
29568 #endif
29571 main ()
29573 sqrtf(0);
29575 return 0;
29577 _ACEOF
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579 glibcxx_cv_func_sqrtf_use=yes
29580 else
29581 glibcxx_cv_func_sqrtf_use=no
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29584 ac_ext=c
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29595 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29597 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29598 for ac_func in sqrtf
29599 do :
29600 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29601 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE_SQRTF 1
29604 _ACEOF
29607 done
29609 else
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29612 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29613 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29614 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29615 $as_echo_n "(cached) " >&6
29616 else
29619 ac_ext=cpp
29620 ac_cpp='$CXXCPP $CPPFLAGS'
29621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29626 /* end confdefs.h. */
29627 #include <math.h>
29628 #ifdef HAVE_IEEEFP_H
29629 #include <ieeefp.h>
29630 #endif
29633 main ()
29635 _sqrtf(0);
29637 return 0;
29639 _ACEOF
29640 if ac_fn_cxx_try_compile "$LINENO"; then :
29641 glibcxx_cv_func__sqrtf_use=yes
29642 else
29643 glibcxx_cv_func__sqrtf_use=no
29645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29646 ac_ext=c
29647 ac_cpp='$CPP $CPPFLAGS'
29648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29657 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29659 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29660 for ac_func in _sqrtf
29661 do :
29662 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29663 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29664 cat >>confdefs.h <<_ACEOF
29665 #define HAVE__SQRTF 1
29666 _ACEOF
29669 done
29678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29679 $as_echo_n "checking for sincosf declaration... " >&6; }
29680 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29681 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29682 $as_echo_n "(cached) " >&6
29683 else
29686 ac_ext=cpp
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29694 #include <math.h>
29696 main ()
29698 sincosf(0, 0, 0);
29700 return 0;
29702 _ACEOF
29703 if ac_fn_cxx_try_compile "$LINENO"; then :
29704 glibcxx_cv_func_sincosf_use=yes
29705 else
29706 glibcxx_cv_func_sincosf_use=no
29708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29709 ac_ext=c
29710 ac_cpp='$CPP $CPPFLAGS'
29711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29720 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29722 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29723 for ac_func in sincosf
29724 do :
29725 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29726 if test "x$ac_cv_func_sincosf" = x""yes; then :
29727 cat >>confdefs.h <<_ACEOF
29728 #define HAVE_SINCOSF 1
29729 _ACEOF
29732 done
29734 else
29736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29737 $as_echo_n "checking for _sincosf declaration... " >&6; }
29738 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29739 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29740 $as_echo_n "(cached) " >&6
29741 else
29744 ac_ext=cpp
29745 ac_cpp='$CXXCPP $CPPFLAGS'
29746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29751 /* end confdefs.h. */
29752 #include <math.h>
29754 main ()
29756 _sincosf(0, 0, 0);
29758 return 0;
29760 _ACEOF
29761 if ac_fn_cxx_try_compile "$LINENO"; then :
29762 glibcxx_cv_func__sincosf_use=yes
29763 else
29764 glibcxx_cv_func__sincosf_use=no
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29767 ac_ext=c
29768 ac_cpp='$CPP $CPPFLAGS'
29769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29778 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29780 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29781 for ac_func in _sincosf
29782 do :
29783 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29784 if test "x$ac_cv_func__sincosf" = x""yes; then :
29785 cat >>confdefs.h <<_ACEOF
29786 #define HAVE__SINCOSF 1
29787 _ACEOF
29790 done
29799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29800 $as_echo_n "checking for finitef declaration... " >&6; }
29801 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29802 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29803 $as_echo_n "(cached) " >&6
29804 else
29807 ac_ext=cpp
29808 ac_cpp='$CXXCPP $CPPFLAGS'
29809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29814 /* end confdefs.h. */
29815 #include <math.h>
29816 #ifdef HAVE_IEEEFP_H
29817 #include <ieeefp.h>
29818 #endif
29821 main ()
29823 finitef(0);
29825 return 0;
29827 _ACEOF
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829 glibcxx_cv_func_finitef_use=yes
29830 else
29831 glibcxx_cv_func_finitef_use=no
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29834 ac_ext=c
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29845 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29847 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29848 for ac_func in finitef
29849 do :
29850 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29851 if test "x$ac_cv_func_finitef" = x""yes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE_FINITEF 1
29854 _ACEOF
29857 done
29859 else
29861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29862 $as_echo_n "checking for _finitef declaration... " >&6; }
29863 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29864 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29865 $as_echo_n "(cached) " >&6
29866 else
29869 ac_ext=cpp
29870 ac_cpp='$CXXCPP $CPPFLAGS'
29871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29877 #include <math.h>
29878 #ifdef HAVE_IEEEFP_H
29879 #include <ieeefp.h>
29880 #endif
29883 main ()
29885 _finitef(0);
29887 return 0;
29889 _ACEOF
29890 if ac_fn_cxx_try_compile "$LINENO"; then :
29891 glibcxx_cv_func__finitef_use=yes
29892 else
29893 glibcxx_cv_func__finitef_use=no
29895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29896 ac_ext=c
29897 ac_cpp='$CPP $CPPFLAGS'
29898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29907 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29909 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29910 for ac_func in _finitef
29911 do :
29912 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29913 if test "x$ac_cv_func__finitef" = x""yes; then :
29914 cat >>confdefs.h <<_ACEOF
29915 #define HAVE__FINITEF 1
29916 _ACEOF
29919 done
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29929 $as_echo_n "checking for long double trig functions... " >&6; }
29930 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29932 else
29935 ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29943 #include <math.h>
29945 main ()
29947 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29949 return 0;
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func_long_double_trig_use=yes
29954 else
29955 glibcxx_cv_func_long_double_trig_use=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29967 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29968 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29969 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29970 do :
29971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29973 eval as_val=\$$as_ac_var
29974 if test "x$as_val" = x""yes; then :
29975 cat >>confdefs.h <<_ACEOF
29976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29977 _ACEOF
29980 done
29982 else
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29984 $as_echo_n "checking for _long double trig functions... " >&6; }
29985 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29986 $as_echo_n "(cached) " >&6
29987 else
29990 ac_ext=cpp
29991 ac_cpp='$CXXCPP $CPPFLAGS'
29992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29998 #include <math.h>
30000 main ()
30002 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30004 return 0;
30006 _ACEOF
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func__long_double_trig_use=yes
30009 else
30010 glibcxx_cv_func__long_double_trig_use=no
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30022 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30023 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30024 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30025 do :
30026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30028 eval as_val=\$$as_ac_var
30029 if test "x$as_val" = x""yes; then :
30030 cat >>confdefs.h <<_ACEOF
30031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30032 _ACEOF
30035 done
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30045 $as_echo_n "checking for long double round functions... " >&6; }
30046 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30061 main ()
30063 ceill (0); floorl (0);
30065 return 0;
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func_long_double_round_use=yes
30070 else
30071 glibcxx_cv_func_long_double_round_use=no
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30083 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30084 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30085 for ac_func in ceill floorl
30086 do :
30087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30089 eval as_val=\$$as_ac_var
30090 if test "x$as_val" = x""yes; then :
30091 cat >>confdefs.h <<_ACEOF
30092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30093 _ACEOF
30096 done
30098 else
30099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30100 $as_echo_n "checking for _long double round functions... " >&6; }
30101 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30102 $as_echo_n "(cached) " >&6
30103 else
30106 ac_ext=cpp
30107 ac_cpp='$CXXCPP $CPPFLAGS'
30108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30113 /* end confdefs.h. */
30114 #include <math.h>
30116 main ()
30118 _ceill (0); _floorl (0);
30120 return 0;
30122 _ACEOF
30123 if ac_fn_cxx_try_compile "$LINENO"; then :
30124 glibcxx_cv_func__long_double_round_use=yes
30125 else
30126 glibcxx_cv_func__long_double_round_use=no
30128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30129 ac_ext=c
30130 ac_cpp='$CPP $CPPFLAGS'
30131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30138 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30139 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30140 for ac_func in _ceill _floorl
30141 do :
30142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30144 eval as_val=\$$as_ac_var
30145 if test "x$as_val" = x""yes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30148 _ACEOF
30151 done
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30162 $as_echo_n "checking for isnanl declaration... " >&6; }
30163 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30164 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30165 $as_echo_n "(cached) " >&6
30166 else
30169 ac_ext=cpp
30170 ac_cpp='$CXXCPP $CPPFLAGS'
30171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30176 /* end confdefs.h. */
30177 #include <math.h>
30178 #ifdef HAVE_IEEEFP_H
30179 #include <ieeefp.h>
30180 #endif
30183 main ()
30185 isnanl(0);
30187 return 0;
30189 _ACEOF
30190 if ac_fn_cxx_try_compile "$LINENO"; then :
30191 glibcxx_cv_func_isnanl_use=yes
30192 else
30193 glibcxx_cv_func_isnanl_use=no
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30196 ac_ext=c
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30207 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30209 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30210 for ac_func in isnanl
30211 do :
30212 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30213 if test "x$ac_cv_func_isnanl" = x""yes; then :
30214 cat >>confdefs.h <<_ACEOF
30215 #define HAVE_ISNANL 1
30216 _ACEOF
30219 done
30221 else
30223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30224 $as_echo_n "checking for _isnanl declaration... " >&6; }
30225 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30226 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30228 else
30231 ac_ext=cpp
30232 ac_cpp='$CXXCPP $CPPFLAGS'
30233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30238 /* end confdefs.h. */
30239 #include <math.h>
30240 #ifdef HAVE_IEEEFP_H
30241 #include <ieeefp.h>
30242 #endif
30245 main ()
30247 _isnanl(0);
30249 return 0;
30251 _ACEOF
30252 if ac_fn_cxx_try_compile "$LINENO"; then :
30253 glibcxx_cv_func__isnanl_use=yes
30254 else
30255 glibcxx_cv_func__isnanl_use=no
30257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30258 ac_ext=c
30259 ac_cpp='$CPP $CPPFLAGS'
30260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30269 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30271 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30272 for ac_func in _isnanl
30273 do :
30274 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30275 if test "x$ac_cv_func__isnanl" = x""yes; then :
30276 cat >>confdefs.h <<_ACEOF
30277 #define HAVE__ISNANL 1
30278 _ACEOF
30281 done
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30291 $as_echo_n "checking for isinfl declaration... " >&6; }
30292 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30293 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30307 #ifdef HAVE_IEEEFP_H
30308 #include <ieeefp.h>
30309 #endif
30312 main ()
30314 isinfl(0);
30316 return 0;
30318 _ACEOF
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 glibcxx_cv_func_isinfl_use=yes
30321 else
30322 glibcxx_cv_func_isinfl_use=no
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30325 ac_ext=c
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30336 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30338 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30339 for ac_func in isinfl
30340 do :
30341 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30342 if test "x$ac_cv_func_isinfl" = x""yes; then :
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE_ISINFL 1
30345 _ACEOF
30348 done
30350 else
30352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30353 $as_echo_n "checking for _isinfl declaration... " >&6; }
30354 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30355 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30356 $as_echo_n "(cached) " >&6
30357 else
30360 ac_ext=cpp
30361 ac_cpp='$CXXCPP $CPPFLAGS'
30362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30367 /* end confdefs.h. */
30368 #include <math.h>
30369 #ifdef HAVE_IEEEFP_H
30370 #include <ieeefp.h>
30371 #endif
30374 main ()
30376 _isinfl(0);
30378 return 0;
30380 _ACEOF
30381 if ac_fn_cxx_try_compile "$LINENO"; then :
30382 glibcxx_cv_func__isinfl_use=yes
30383 else
30384 glibcxx_cv_func__isinfl_use=no
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30387 ac_ext=c
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30398 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30400 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30401 for ac_func in _isinfl
30402 do :
30403 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30404 if test "x$ac_cv_func__isinfl" = x""yes; then :
30405 cat >>confdefs.h <<_ACEOF
30406 #define HAVE__ISINFL 1
30407 _ACEOF
30410 done
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30420 $as_echo_n "checking for atan2l declaration... " >&6; }
30421 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30422 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30423 $as_echo_n "(cached) " >&6
30424 else
30427 ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <math.h>
30437 main ()
30439 atan2l(0, 0);
30441 return 0;
30443 _ACEOF
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func_atan2l_use=yes
30446 else
30447 glibcxx_cv_func_atan2l_use=no
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 ac_ext=c
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30461 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30463 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30464 for ac_func in atan2l
30465 do :
30466 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30467 if test "x$ac_cv_func_atan2l" = x""yes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE_ATAN2L 1
30470 _ACEOF
30473 done
30475 else
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30478 $as_echo_n "checking for _atan2l declaration... " >&6; }
30479 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30480 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30481 $as_echo_n "(cached) " >&6
30482 else
30485 ac_ext=cpp
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30492 /* end confdefs.h. */
30493 #include <math.h>
30495 main ()
30497 _atan2l(0, 0);
30499 return 0;
30501 _ACEOF
30502 if ac_fn_cxx_try_compile "$LINENO"; then :
30503 glibcxx_cv_func__atan2l_use=yes
30504 else
30505 glibcxx_cv_func__atan2l_use=no
30507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30508 ac_ext=c
30509 ac_cpp='$CPP $CPPFLAGS'
30510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30519 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30521 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30522 for ac_func in _atan2l
30523 do :
30524 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30525 if test "x$ac_cv_func__atan2l" = x""yes; then :
30526 cat >>confdefs.h <<_ACEOF
30527 #define HAVE__ATAN2L 1
30528 _ACEOF
30531 done
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30541 $as_echo_n "checking for expl declaration... " >&6; }
30542 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30543 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30544 $as_echo_n "(cached) " >&6
30545 else
30548 ac_ext=cpp
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <math.h>
30557 #ifdef HAVE_IEEEFP_H
30558 #include <ieeefp.h>
30559 #endif
30562 main ()
30564 expl(0);
30566 return 0;
30568 _ACEOF
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570 glibcxx_cv_func_expl_use=yes
30571 else
30572 glibcxx_cv_func_expl_use=no
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30575 ac_ext=c
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30586 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30588 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30589 for ac_func in expl
30590 do :
30591 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30592 if test "x$ac_cv_func_expl" = x""yes; then :
30593 cat >>confdefs.h <<_ACEOF
30594 #define HAVE_EXPL 1
30595 _ACEOF
30598 done
30600 else
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30603 $as_echo_n "checking for _expl declaration... " >&6; }
30604 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30605 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30606 $as_echo_n "(cached) " >&6
30607 else
30610 ac_ext=cpp
30611 ac_cpp='$CXXCPP $CPPFLAGS'
30612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30617 /* end confdefs.h. */
30618 #include <math.h>
30619 #ifdef HAVE_IEEEFP_H
30620 #include <ieeefp.h>
30621 #endif
30624 main ()
30626 _expl(0);
30628 return 0;
30630 _ACEOF
30631 if ac_fn_cxx_try_compile "$LINENO"; then :
30632 glibcxx_cv_func__expl_use=yes
30633 else
30634 glibcxx_cv_func__expl_use=no
30636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30637 ac_ext=c
30638 ac_cpp='$CPP $CPPFLAGS'
30639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30648 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30650 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30651 for ac_func in _expl
30652 do :
30653 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30654 if test "x$ac_cv_func__expl" = x""yes; then :
30655 cat >>confdefs.h <<_ACEOF
30656 #define HAVE__EXPL 1
30657 _ACEOF
30660 done
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30670 $as_echo_n "checking for fabsl declaration... " >&6; }
30671 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30672 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30677 ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30685 #include <math.h>
30686 #ifdef HAVE_IEEEFP_H
30687 #include <ieeefp.h>
30688 #endif
30691 main ()
30693 fabsl(0);
30695 return 0;
30697 _ACEOF
30698 if ac_fn_cxx_try_compile "$LINENO"; then :
30699 glibcxx_cv_func_fabsl_use=yes
30700 else
30701 glibcxx_cv_func_fabsl_use=no
30703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30704 ac_ext=c
30705 ac_cpp='$CPP $CPPFLAGS'
30706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30715 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30717 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30718 for ac_func in fabsl
30719 do :
30720 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30721 if test "x$ac_cv_func_fabsl" = x""yes; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE_FABSL 1
30724 _ACEOF
30727 done
30729 else
30731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30732 $as_echo_n "checking for _fabsl declaration... " >&6; }
30733 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30734 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30735 $as_echo_n "(cached) " >&6
30736 else
30739 ac_ext=cpp
30740 ac_cpp='$CXXCPP $CPPFLAGS'
30741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30746 /* end confdefs.h. */
30747 #include <math.h>
30748 #ifdef HAVE_IEEEFP_H
30749 #include <ieeefp.h>
30750 #endif
30753 main ()
30755 _fabsl(0);
30757 return 0;
30759 _ACEOF
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func__fabsl_use=yes
30762 else
30763 glibcxx_cv_func__fabsl_use=no
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30777 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30779 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30780 for ac_func in _fabsl
30781 do :
30782 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30783 if test "x$ac_cv_func__fabsl" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE__FABSL 1
30786 _ACEOF
30789 done
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30799 $as_echo_n "checking for fmodl declaration... " >&6; }
30800 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30801 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30803 else
30806 ac_ext=cpp
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30814 #include <math.h>
30816 main ()
30818 fmodl(0, 0);
30820 return 0;
30822 _ACEOF
30823 if ac_fn_cxx_try_compile "$LINENO"; then :
30824 glibcxx_cv_func_fmodl_use=yes
30825 else
30826 glibcxx_cv_func_fmodl_use=no
30828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30829 ac_ext=c
30830 ac_cpp='$CPP $CPPFLAGS'
30831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30840 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30842 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30843 for ac_func in fmodl
30844 do :
30845 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30846 if test "x$ac_cv_func_fmodl" = x""yes; then :
30847 cat >>confdefs.h <<_ACEOF
30848 #define HAVE_FMODL 1
30849 _ACEOF
30852 done
30854 else
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30857 $as_echo_n "checking for _fmodl declaration... " >&6; }
30858 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30859 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30860 $as_echo_n "(cached) " >&6
30861 else
30864 ac_ext=cpp
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h. */
30872 #include <math.h>
30874 main ()
30876 _fmodl(0, 0);
30878 return 0;
30880 _ACEOF
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func__fmodl_use=yes
30883 else
30884 glibcxx_cv_func__fmodl_use=no
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887 ac_ext=c
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30898 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30900 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30901 for ac_func in _fmodl
30902 do :
30903 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30904 if test "x$ac_cv_func__fmodl" = x""yes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define HAVE__FMODL 1
30907 _ACEOF
30910 done
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30920 $as_echo_n "checking for frexpl declaration... " >&6; }
30921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30922 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30927 ac_ext=cpp
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30935 #include <math.h>
30937 main ()
30939 frexpl(0, 0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_frexpl_use=yes
30946 else
30947 glibcxx_cv_func_frexpl_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30961 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30963 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30964 for ac_func in frexpl
30965 do :
30966 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30967 if test "x$ac_cv_func_frexpl" = x""yes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE_FREXPL 1
30970 _ACEOF
30973 done
30975 else
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30978 $as_echo_n "checking for _frexpl declaration... " >&6; }
30979 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30980 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30981 $as_echo_n "(cached) " >&6
30982 else
30985 ac_ext=cpp
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
30993 #include <math.h>
30995 main ()
30997 _frexpl(0, 0);
30999 return 0;
31001 _ACEOF
31002 if ac_fn_cxx_try_compile "$LINENO"; then :
31003 glibcxx_cv_func__frexpl_use=yes
31004 else
31005 glibcxx_cv_func__frexpl_use=no
31007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31008 ac_ext=c
31009 ac_cpp='$CPP $CPPFLAGS'
31010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31019 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31021 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31022 for ac_func in _frexpl
31023 do :
31024 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31025 if test "x$ac_cv_func__frexpl" = x""yes; then :
31026 cat >>confdefs.h <<_ACEOF
31027 #define HAVE__FREXPL 1
31028 _ACEOF
31031 done
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31041 $as_echo_n "checking for hypotl declaration... " >&6; }
31042 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31043 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31044 $as_echo_n "(cached) " >&6
31045 else
31048 ac_ext=cpp
31049 ac_cpp='$CXXCPP $CPPFLAGS'
31050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31055 /* end confdefs.h. */
31056 #include <math.h>
31058 main ()
31060 hypotl(0, 0);
31062 return 0;
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func_hypotl_use=yes
31067 else
31068 glibcxx_cv_func_hypotl_use=no
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31071 ac_ext=c
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31082 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31084 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31085 for ac_func in hypotl
31086 do :
31087 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31088 if test "x$ac_cv_func_hypotl" = x""yes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE_HYPOTL 1
31091 _ACEOF
31094 done
31096 else
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31099 $as_echo_n "checking for _hypotl declaration... " >&6; }
31100 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31101 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31102 $as_echo_n "(cached) " >&6
31103 else
31106 ac_ext=cpp
31107 ac_cpp='$CXXCPP $CPPFLAGS'
31108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31113 /* end confdefs.h. */
31114 #include <math.h>
31116 main ()
31118 _hypotl(0, 0);
31120 return 0;
31122 _ACEOF
31123 if ac_fn_cxx_try_compile "$LINENO"; then :
31124 glibcxx_cv_func__hypotl_use=yes
31125 else
31126 glibcxx_cv_func__hypotl_use=no
31128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31129 ac_ext=c
31130 ac_cpp='$CPP $CPPFLAGS'
31131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31140 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31142 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31143 for ac_func in _hypotl
31144 do :
31145 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31146 if test "x$ac_cv_func__hypotl" = x""yes; then :
31147 cat >>confdefs.h <<_ACEOF
31148 #define HAVE__HYPOTL 1
31149 _ACEOF
31152 done
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31162 $as_echo_n "checking for ldexpl declaration... " >&6; }
31163 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31164 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31165 $as_echo_n "(cached) " >&6
31166 else
31169 ac_ext=cpp
31170 ac_cpp='$CXXCPP $CPPFLAGS'
31171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31177 #include <math.h>
31179 main ()
31181 ldexpl(0, 0);
31183 return 0;
31185 _ACEOF
31186 if ac_fn_cxx_try_compile "$LINENO"; then :
31187 glibcxx_cv_func_ldexpl_use=yes
31188 else
31189 glibcxx_cv_func_ldexpl_use=no
31191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31192 ac_ext=c
31193 ac_cpp='$CPP $CPPFLAGS'
31194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31203 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31205 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31206 for ac_func in ldexpl
31207 do :
31208 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31209 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31210 cat >>confdefs.h <<_ACEOF
31211 #define HAVE_LDEXPL 1
31212 _ACEOF
31215 done
31217 else
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31220 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31221 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31222 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31223 $as_echo_n "(cached) " >&6
31224 else
31227 ac_ext=cpp
31228 ac_cpp='$CXXCPP $CPPFLAGS'
31229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31234 /* end confdefs.h. */
31235 #include <math.h>
31237 main ()
31239 _ldexpl(0, 0);
31241 return 0;
31243 _ACEOF
31244 if ac_fn_cxx_try_compile "$LINENO"; then :
31245 glibcxx_cv_func__ldexpl_use=yes
31246 else
31247 glibcxx_cv_func__ldexpl_use=no
31249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31250 ac_ext=c
31251 ac_cpp='$CPP $CPPFLAGS'
31252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31261 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31263 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31264 for ac_func in _ldexpl
31265 do :
31266 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31267 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31268 cat >>confdefs.h <<_ACEOF
31269 #define HAVE__LDEXPL 1
31270 _ACEOF
31273 done
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31283 $as_echo_n "checking for logl declaration... " >&6; }
31284 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31285 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31286 $as_echo_n "(cached) " >&6
31287 else
31290 ac_ext=cpp
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h. */
31298 #include <math.h>
31299 #ifdef HAVE_IEEEFP_H
31300 #include <ieeefp.h>
31301 #endif
31304 main ()
31306 logl(0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func_logl_use=yes
31313 else
31314 glibcxx_cv_func_logl_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31328 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31330 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31331 for ac_func in logl
31332 do :
31333 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31334 if test "x$ac_cv_func_logl" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE_LOGL 1
31337 _ACEOF
31340 done
31342 else
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31345 $as_echo_n "checking for _logl declaration... " >&6; }
31346 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31347 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31348 $as_echo_n "(cached) " >&6
31349 else
31352 ac_ext=cpp
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31359 /* end confdefs.h. */
31360 #include <math.h>
31361 #ifdef HAVE_IEEEFP_H
31362 #include <ieeefp.h>
31363 #endif
31366 main ()
31368 _logl(0);
31370 return 0;
31372 _ACEOF
31373 if ac_fn_cxx_try_compile "$LINENO"; then :
31374 glibcxx_cv_func__logl_use=yes
31375 else
31376 glibcxx_cv_func__logl_use=no
31378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31379 ac_ext=c
31380 ac_cpp='$CPP $CPPFLAGS'
31381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31390 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31392 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31393 for ac_func in _logl
31394 do :
31395 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31396 if test "x$ac_cv_func__logl" = x""yes; then :
31397 cat >>confdefs.h <<_ACEOF
31398 #define HAVE__LOGL 1
31399 _ACEOF
31402 done
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31412 $as_echo_n "checking for log10l declaration... " >&6; }
31413 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31414 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31415 $as_echo_n "(cached) " >&6
31416 else
31419 ac_ext=cpp
31420 ac_cpp='$CXXCPP $CPPFLAGS'
31421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h. */
31427 #include <math.h>
31428 #ifdef HAVE_IEEEFP_H
31429 #include <ieeefp.h>
31430 #endif
31433 main ()
31435 log10l(0);
31437 return 0;
31439 _ACEOF
31440 if ac_fn_cxx_try_compile "$LINENO"; then :
31441 glibcxx_cv_func_log10l_use=yes
31442 else
31443 glibcxx_cv_func_log10l_use=no
31445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31446 ac_ext=c
31447 ac_cpp='$CPP $CPPFLAGS'
31448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31457 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31459 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31460 for ac_func in log10l
31461 do :
31462 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31463 if test "x$ac_cv_func_log10l" = x""yes; then :
31464 cat >>confdefs.h <<_ACEOF
31465 #define HAVE_LOG10L 1
31466 _ACEOF
31469 done
31471 else
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31474 $as_echo_n "checking for _log10l declaration... " >&6; }
31475 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31476 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31477 $as_echo_n "(cached) " >&6
31478 else
31481 ac_ext=cpp
31482 ac_cpp='$CXXCPP $CPPFLAGS'
31483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31488 /* end confdefs.h. */
31489 #include <math.h>
31490 #ifdef HAVE_IEEEFP_H
31491 #include <ieeefp.h>
31492 #endif
31495 main ()
31497 _log10l(0);
31499 return 0;
31501 _ACEOF
31502 if ac_fn_cxx_try_compile "$LINENO"; then :
31503 glibcxx_cv_func__log10l_use=yes
31504 else
31505 glibcxx_cv_func__log10l_use=no
31507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31508 ac_ext=c
31509 ac_cpp='$CPP $CPPFLAGS'
31510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31519 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31521 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31522 for ac_func in _log10l
31523 do :
31524 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31525 if test "x$ac_cv_func__log10l" = x""yes; then :
31526 cat >>confdefs.h <<_ACEOF
31527 #define HAVE__LOG10L 1
31528 _ACEOF
31531 done
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31541 $as_echo_n "checking for modfl declaration... " >&6; }
31542 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31543 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31544 $as_echo_n "(cached) " >&6
31545 else
31548 ac_ext=cpp
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31556 #include <math.h>
31558 main ()
31560 modfl(0, 0);
31562 return 0;
31564 _ACEOF
31565 if ac_fn_cxx_try_compile "$LINENO"; then :
31566 glibcxx_cv_func_modfl_use=yes
31567 else
31568 glibcxx_cv_func_modfl_use=no
31570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31571 ac_ext=c
31572 ac_cpp='$CPP $CPPFLAGS'
31573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31582 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31584 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31585 for ac_func in modfl
31586 do :
31587 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31588 if test "x$ac_cv_func_modfl" = x""yes; then :
31589 cat >>confdefs.h <<_ACEOF
31590 #define HAVE_MODFL 1
31591 _ACEOF
31594 done
31596 else
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31599 $as_echo_n "checking for _modfl declaration... " >&6; }
31600 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31601 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31616 main ()
31618 _modfl(0, 0);
31620 return 0;
31622 _ACEOF
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func__modfl_use=yes
31625 else
31626 glibcxx_cv_func__modfl_use=no
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31629 ac_ext=c
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31640 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31642 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31643 for ac_func in _modfl
31644 do :
31645 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31646 if test "x$ac_cv_func__modfl" = x""yes; then :
31647 cat >>confdefs.h <<_ACEOF
31648 #define HAVE__MODFL 1
31649 _ACEOF
31652 done
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31662 $as_echo_n "checking for powl declaration... " >&6; }
31663 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31664 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31665 $as_echo_n "(cached) " >&6
31666 else
31669 ac_ext=cpp
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 /* end confdefs.h. */
31677 #include <math.h>
31679 main ()
31681 powl(0, 0);
31683 return 0;
31685 _ACEOF
31686 if ac_fn_cxx_try_compile "$LINENO"; then :
31687 glibcxx_cv_func_powl_use=yes
31688 else
31689 glibcxx_cv_func_powl_use=no
31691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31692 ac_ext=c
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31703 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31705 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31706 for ac_func in powl
31707 do :
31708 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31709 if test "x$ac_cv_func_powl" = x""yes; then :
31710 cat >>confdefs.h <<_ACEOF
31711 #define HAVE_POWL 1
31712 _ACEOF
31715 done
31717 else
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31720 $as_echo_n "checking for _powl declaration... " >&6; }
31721 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31722 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31723 $as_echo_n "(cached) " >&6
31724 else
31727 ac_ext=cpp
31728 ac_cpp='$CXXCPP $CPPFLAGS'
31729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31734 /* end confdefs.h. */
31735 #include <math.h>
31737 main ()
31739 _powl(0, 0);
31741 return 0;
31743 _ACEOF
31744 if ac_fn_cxx_try_compile "$LINENO"; then :
31745 glibcxx_cv_func__powl_use=yes
31746 else
31747 glibcxx_cv_func__powl_use=no
31749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31750 ac_ext=c
31751 ac_cpp='$CPP $CPPFLAGS'
31752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31761 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31763 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31764 for ac_func in _powl
31765 do :
31766 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31767 if test "x$ac_cv_func__powl" = x""yes; then :
31768 cat >>confdefs.h <<_ACEOF
31769 #define HAVE__POWL 1
31770 _ACEOF
31773 done
31782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31783 $as_echo_n "checking for sqrtl declaration... " >&6; }
31784 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31785 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31786 $as_echo_n "(cached) " >&6
31787 else
31790 ac_ext=cpp
31791 ac_cpp='$CXXCPP $CPPFLAGS'
31792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31797 /* end confdefs.h. */
31798 #include <math.h>
31799 #ifdef HAVE_IEEEFP_H
31800 #include <ieeefp.h>
31801 #endif
31804 main ()
31806 sqrtl(0);
31808 return 0;
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func_sqrtl_use=yes
31813 else
31814 glibcxx_cv_func_sqrtl_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31828 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31830 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31831 for ac_func in sqrtl
31832 do :
31833 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31834 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE_SQRTL 1
31837 _ACEOF
31840 done
31842 else
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31845 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31846 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31847 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31849 else
31852 ac_ext=cpp
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31860 #include <math.h>
31861 #ifdef HAVE_IEEEFP_H
31862 #include <ieeefp.h>
31863 #endif
31866 main ()
31868 _sqrtl(0);
31870 return 0;
31872 _ACEOF
31873 if ac_fn_cxx_try_compile "$LINENO"; then :
31874 glibcxx_cv_func__sqrtl_use=yes
31875 else
31876 glibcxx_cv_func__sqrtl_use=no
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 ac_ext=c
31880 ac_cpp='$CPP $CPPFLAGS'
31881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31890 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31892 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31893 for ac_func in _sqrtl
31894 do :
31895 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31896 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31897 cat >>confdefs.h <<_ACEOF
31898 #define HAVE__SQRTL 1
31899 _ACEOF
31902 done
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31912 $as_echo_n "checking for sincosl declaration... " >&6; }
31913 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31914 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31915 $as_echo_n "(cached) " >&6
31916 else
31919 ac_ext=cpp
31920 ac_cpp='$CXXCPP $CPPFLAGS'
31921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31926 /* end confdefs.h. */
31927 #include <math.h>
31929 main ()
31931 sincosl(0, 0, 0);
31933 return 0;
31935 _ACEOF
31936 if ac_fn_cxx_try_compile "$LINENO"; then :
31937 glibcxx_cv_func_sincosl_use=yes
31938 else
31939 glibcxx_cv_func_sincosl_use=no
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942 ac_ext=c
31943 ac_cpp='$CPP $CPPFLAGS'
31944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31953 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31955 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31956 for ac_func in sincosl
31957 do :
31958 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31959 if test "x$ac_cv_func_sincosl" = x""yes; then :
31960 cat >>confdefs.h <<_ACEOF
31961 #define HAVE_SINCOSL 1
31962 _ACEOF
31965 done
31967 else
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31970 $as_echo_n "checking for _sincosl declaration... " >&6; }
31971 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31972 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31973 $as_echo_n "(cached) " >&6
31974 else
31977 ac_ext=cpp
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31985 #include <math.h>
31987 main ()
31989 _sincosl(0, 0, 0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func__sincosl_use=yes
31996 else
31997 glibcxx_cv_func__sincosl_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32011 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32013 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32014 for ac_func in _sincosl
32015 do :
32016 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32017 if test "x$ac_cv_func__sincosl" = x""yes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE__SINCOSL 1
32020 _ACEOF
32023 done
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32033 $as_echo_n "checking for finitel declaration... " >&6; }
32034 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32035 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32036 $as_echo_n "(cached) " >&6
32037 else
32040 ac_ext=cpp
32041 ac_cpp='$CXXCPP $CPPFLAGS'
32042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32047 /* end confdefs.h. */
32048 #include <math.h>
32049 #ifdef HAVE_IEEEFP_H
32050 #include <ieeefp.h>
32051 #endif
32054 main ()
32056 finitel(0);
32058 return 0;
32060 _ACEOF
32061 if ac_fn_cxx_try_compile "$LINENO"; then :
32062 glibcxx_cv_func_finitel_use=yes
32063 else
32064 glibcxx_cv_func_finitel_use=no
32066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32067 ac_ext=c
32068 ac_cpp='$CPP $CPPFLAGS'
32069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32078 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32080 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32081 for ac_func in finitel
32082 do :
32083 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32084 if test "x$ac_cv_func_finitel" = x""yes; then :
32085 cat >>confdefs.h <<_ACEOF
32086 #define HAVE_FINITEL 1
32087 _ACEOF
32090 done
32092 else
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32095 $as_echo_n "checking for _finitel declaration... " >&6; }
32096 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32097 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32098 $as_echo_n "(cached) " >&6
32099 else
32102 ac_ext=cpp
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32110 #include <math.h>
32111 #ifdef HAVE_IEEEFP_H
32112 #include <ieeefp.h>
32113 #endif
32116 main ()
32118 _finitel(0);
32120 return 0;
32122 _ACEOF
32123 if ac_fn_cxx_try_compile "$LINENO"; then :
32124 glibcxx_cv_func__finitel_use=yes
32125 else
32126 glibcxx_cv_func__finitel_use=no
32128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32129 ac_ext=c
32130 ac_cpp='$CPP $CPPFLAGS'
32131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32140 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32142 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32143 for ac_func in _finitel
32144 do :
32145 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32146 if test "x$ac_cv_func__finitel" = x""yes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE__FINITEL 1
32149 _ACEOF
32152 done
32160 LIBS="$ac_save_LIBS"
32161 CXXFLAGS="$ac_save_CXXFLAGS"
32164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32165 ac_save_CXXFLAGS="$CXXFLAGS"
32166 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32170 $as_echo_n "checking for strtold declaration... " >&6; }
32171 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32172 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32173 $as_echo_n "(cached) " >&6
32174 else
32177 ac_ext=cpp
32178 ac_cpp='$CXXCPP $CPPFLAGS'
32179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32184 /* end confdefs.h. */
32185 #include <stdlib.h>
32187 main ()
32189 strtold(0, 0);
32191 return 0;
32193 _ACEOF
32194 if ac_fn_cxx_try_compile "$LINENO"; then :
32195 glibcxx_cv_func_strtold_use=yes
32196 else
32197 glibcxx_cv_func_strtold_use=no
32199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32200 ac_ext=c
32201 ac_cpp='$CPP $CPPFLAGS'
32202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32211 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32212 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32213 for ac_func in strtold
32214 do :
32215 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32216 if test "x$ac_cv_func_strtold" = x""yes; then :
32217 cat >>confdefs.h <<_ACEOF
32218 #define HAVE_STRTOLD 1
32219 _ACEOF
32222 done
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32230 $as_echo_n "checking for strtof declaration... " >&6; }
32231 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32232 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32233 $as_echo_n "(cached) " >&6
32234 else
32237 ac_ext=cpp
32238 ac_cpp='$CXXCPP $CPPFLAGS'
32239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32244 /* end confdefs.h. */
32245 #include <stdlib.h>
32247 main ()
32249 strtof(0, 0);
32251 return 0;
32253 _ACEOF
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255 glibcxx_cv_func_strtof_use=yes
32256 else
32257 glibcxx_cv_func_strtof_use=no
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260 ac_ext=c
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32271 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32272 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32273 for ac_func in strtof
32274 do :
32275 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32276 if test "x$ac_cv_func_strtof" = x""yes; then :
32277 cat >>confdefs.h <<_ACEOF
32278 #define HAVE_STRTOF 1
32279 _ACEOF
32282 done
32289 CXXFLAGS="$ac_save_CXXFLAGS"
32292 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32294 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32296 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32298 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32301 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32303 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32305 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32309 *-aix*)
32311 # If we're not using GNU ld, then there's no point in even trying these
32312 # tests. Check for that first. We should have already tested for gld
32313 # by now (in libtool), but require it now just to be safe...
32314 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32315 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32319 # The name set by libtool depends on the version of libtool. Shame on us
32320 # for depending on an impl detail, but c'est la vie. Older versions used
32321 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32322 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32323 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32324 # set (hence we're using an older libtool), then set it.
32325 if test x${with_gnu_ld+set} != xset; then
32326 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32327 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32328 with_gnu_ld=no
32329 else
32330 with_gnu_ld=$ac_cv_prog_gnu_ld
32334 # Start by getting the version number. I think the libtool test already
32335 # does some of this, but throws away the result.
32336 glibcxx_ld_is_gold=no
32337 if test x"$with_gnu_ld" = x"yes"; then
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32339 $as_echo_n "checking for ld version... " >&6; }
32341 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32342 glibcxx_ld_is_gold=yes
32344 ldver=`$LD --version 2>/dev/null |
32345 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'`
32347 glibcxx_gnu_ld_version=`echo $ldver | \
32348 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32350 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32353 # Set --gc-sections.
32354 glibcxx_have_gc_sections=no
32355 if test "$glibcxx_ld_is_gold" = "yes"; then
32356 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32357 glibcxx_have_gc_sections=yes
32359 else
32360 glibcxx_gcsections_min_ld=21602
32361 if test x"$with_gnu_ld" = x"yes" &&
32362 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32363 glibcxx_have_gc_sections=yes
32366 if test "$glibcxx_have_gc_sections" = "yes"; then
32367 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32368 # NB: This flag only works reliably after 2.16.1. Configure tests
32369 # for this are difficult, so hard wire a value that should work.
32371 ac_test_CFLAGS="${CFLAGS+set}"
32372 ac_save_CFLAGS="$CFLAGS"
32373 CFLAGS='-Wl,--gc-sections'
32375 # Check for -Wl,--gc-sections
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32377 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32378 if test x$gcc_no_link = xyes; then
32379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h. */
32383 int one(void) { return 1; }
32384 int two(void) { return 2; }
32387 main ()
32389 two();
32391 return 0;
32393 _ACEOF
32394 if ac_fn_c_try_link "$LINENO"; then :
32395 ac_gcsections=yes
32396 else
32397 ac_gcsections=no
32399 rm -f core conftest.err conftest.$ac_objext \
32400 conftest$ac_exeext conftest.$ac_ext
32401 if test "$ac_gcsections" = "yes"; then
32402 rm -f conftest.c
32403 touch conftest.c
32404 if $CC -c conftest.c; then
32405 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32406 grep "Warning: gc-sections option ignored" > /dev/null; then
32407 ac_gcsections=no
32410 rm -f conftest.c conftest.o conftest
32412 if test "$ac_gcsections" = "yes"; then
32413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32416 $as_echo "$ac_gcsections" >&6; }
32418 if test "$ac_test_CFLAGS" = set; then
32419 CFLAGS="$ac_save_CFLAGS"
32420 else
32421 # this is the suspicious part
32422 CFLAGS=''
32426 # Set -z,relro.
32427 # Note this is only for shared objects.
32428 ac_ld_relro=no
32429 if test x"$with_gnu_ld" = x"yes"; then
32430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32431 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32432 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32433 if test -n "$cxx_z_relo"; then
32434 OPT_LDFLAGS="-Wl,-z,relro"
32435 ac_ld_relro=yes
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32438 $as_echo "$ac_ld_relro" >&6; }
32441 # Set linker optimization flags.
32442 if test x"$with_gnu_ld" = x"yes"; then
32443 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32451 ac_save_CXXFLAGS="$CXXFLAGS"
32452 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32455 $as_echo_n "checking for sin in -lm... " >&6; }
32456 if test "${ac_cv_lib_m_sin+set}" = set; then :
32457 $as_echo_n "(cached) " >&6
32458 else
32459 ac_check_lib_save_LIBS=$LIBS
32460 LIBS="-lm $LIBS"
32461 if test x$gcc_no_link = xyes; then
32462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32465 /* end confdefs.h. */
32467 /* Override any GCC internal prototype to avoid an error.
32468 Use char because int might match the return type of a GCC
32469 builtin and then its argument prototype would still apply. */
32470 #ifdef __cplusplus
32471 extern "C"
32472 #endif
32473 char sin ();
32475 main ()
32477 return sin ();
32479 return 0;
32481 _ACEOF
32482 if ac_fn_c_try_link "$LINENO"; then :
32483 ac_cv_lib_m_sin=yes
32484 else
32485 ac_cv_lib_m_sin=no
32487 rm -f core conftest.err conftest.$ac_objext \
32488 conftest$ac_exeext conftest.$ac_ext
32489 LIBS=$ac_check_lib_save_LIBS
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32492 $as_echo "$ac_cv_lib_m_sin" >&6; }
32493 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32494 libm="-lm"
32497 ac_save_LIBS="$LIBS"
32498 LIBS="$LIBS $libm"
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32503 $as_echo_n "checking for isinf declaration... " >&6; }
32504 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32505 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32506 $as_echo_n "(cached) " >&6
32507 else
32510 ac_ext=cpp
32511 ac_cpp='$CXXCPP $CPPFLAGS'
32512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32517 /* end confdefs.h. */
32518 #include <math.h>
32519 #ifdef HAVE_IEEEFP_H
32520 #include <ieeefp.h>
32521 #endif
32524 main ()
32526 isinf(0);
32528 return 0;
32530 _ACEOF
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 glibcxx_cv_func_isinf_use=yes
32533 else
32534 glibcxx_cv_func_isinf_use=no
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537 ac_ext=c
32538 ac_cpp='$CPP $CPPFLAGS'
32539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32548 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32550 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32551 for ac_func in isinf
32552 do :
32553 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32554 if test "x$ac_cv_func_isinf" = x""yes; then :
32555 cat >>confdefs.h <<_ACEOF
32556 #define HAVE_ISINF 1
32557 _ACEOF
32560 done
32562 else
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32565 $as_echo_n "checking for _isinf declaration... " >&6; }
32566 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32567 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32568 $as_echo_n "(cached) " >&6
32569 else
32572 ac_ext=cpp
32573 ac_cpp='$CXXCPP $CPPFLAGS'
32574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32579 /* end confdefs.h. */
32580 #include <math.h>
32581 #ifdef HAVE_IEEEFP_H
32582 #include <ieeefp.h>
32583 #endif
32586 main ()
32588 _isinf(0);
32590 return 0;
32592 _ACEOF
32593 if ac_fn_cxx_try_compile "$LINENO"; then :
32594 glibcxx_cv_func__isinf_use=yes
32595 else
32596 glibcxx_cv_func__isinf_use=no
32598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32599 ac_ext=c
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32610 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32612 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32613 for ac_func in _isinf
32614 do :
32615 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32616 if test "x$ac_cv_func__isinf" = x""yes; then :
32617 cat >>confdefs.h <<_ACEOF
32618 #define HAVE__ISINF 1
32619 _ACEOF
32622 done
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32632 $as_echo_n "checking for isnan declaration... " >&6; }
32633 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32634 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32636 else
32639 ac_ext=cpp
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32647 #include <math.h>
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32650 #endif
32653 main ()
32655 isnan(0);
32657 return 0;
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func_isnan_use=yes
32662 else
32663 glibcxx_cv_func_isnan_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32677 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32679 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32680 for ac_func in isnan
32681 do :
32682 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32683 if test "x$ac_cv_func_isnan" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE_ISNAN 1
32686 _ACEOF
32689 done
32691 else
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32694 $as_echo_n "checking for _isnan declaration... " >&6; }
32695 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32696 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32710 #ifdef HAVE_IEEEFP_H
32711 #include <ieeefp.h>
32712 #endif
32715 main ()
32717 _isnan(0);
32719 return 0;
32721 _ACEOF
32722 if ac_fn_cxx_try_compile "$LINENO"; then :
32723 glibcxx_cv_func__isnan_use=yes
32724 else
32725 glibcxx_cv_func__isnan_use=no
32727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32728 ac_ext=c
32729 ac_cpp='$CPP $CPPFLAGS'
32730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32739 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32741 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32742 for ac_func in _isnan
32743 do :
32744 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32745 if test "x$ac_cv_func__isnan" = x""yes; then :
32746 cat >>confdefs.h <<_ACEOF
32747 #define HAVE__ISNAN 1
32748 _ACEOF
32751 done
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32761 $as_echo_n "checking for finite declaration... " >&6; }
32762 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32763 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32764 $as_echo_n "(cached) " >&6
32765 else
32768 ac_ext=cpp
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32776 #include <math.h>
32777 #ifdef HAVE_IEEEFP_H
32778 #include <ieeefp.h>
32779 #endif
32782 main ()
32784 finite(0);
32786 return 0;
32788 _ACEOF
32789 if ac_fn_cxx_try_compile "$LINENO"; then :
32790 glibcxx_cv_func_finite_use=yes
32791 else
32792 glibcxx_cv_func_finite_use=no
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32795 ac_ext=c
32796 ac_cpp='$CPP $CPPFLAGS'
32797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32806 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32808 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32809 for ac_func in finite
32810 do :
32811 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32812 if test "x$ac_cv_func_finite" = x""yes; then :
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE_FINITE 1
32815 _ACEOF
32818 done
32820 else
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32823 $as_echo_n "checking for _finite declaration... " >&6; }
32824 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32825 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32826 $as_echo_n "(cached) " >&6
32827 else
32830 ac_ext=cpp
32831 ac_cpp='$CXXCPP $CPPFLAGS'
32832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32837 /* end confdefs.h. */
32838 #include <math.h>
32839 #ifdef HAVE_IEEEFP_H
32840 #include <ieeefp.h>
32841 #endif
32844 main ()
32846 _finite(0);
32848 return 0;
32850 _ACEOF
32851 if ac_fn_cxx_try_compile "$LINENO"; then :
32852 glibcxx_cv_func__finite_use=yes
32853 else
32854 glibcxx_cv_func__finite_use=no
32856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32857 ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32868 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32870 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32871 for ac_func in _finite
32872 do :
32873 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32874 if test "x$ac_cv_func__finite" = x""yes; then :
32875 cat >>confdefs.h <<_ACEOF
32876 #define HAVE__FINITE 1
32877 _ACEOF
32880 done
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32890 $as_echo_n "checking for sincos declaration... " >&6; }
32891 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32892 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32894 else
32897 ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32905 #include <math.h>
32907 main ()
32909 sincos(0, 0, 0);
32911 return 0;
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_sincos_use=yes
32916 else
32917 glibcxx_cv_func_sincos_use=no
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32931 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32933 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32934 for ac_func in sincos
32935 do :
32936 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32937 if test "x$ac_cv_func_sincos" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_SINCOS 1
32940 _ACEOF
32943 done
32945 else
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32948 $as_echo_n "checking for _sincos declaration... " >&6; }
32949 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32950 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32965 main ()
32967 _sincos(0, 0, 0);
32969 return 0;
32971 _ACEOF
32972 if ac_fn_cxx_try_compile "$LINENO"; then :
32973 glibcxx_cv_func__sincos_use=yes
32974 else
32975 glibcxx_cv_func__sincos_use=no
32977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32978 ac_ext=c
32979 ac_cpp='$CPP $CPPFLAGS'
32980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32989 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32991 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32992 for ac_func in _sincos
32993 do :
32994 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32995 if test "x$ac_cv_func__sincos" = x""yes; then :
32996 cat >>confdefs.h <<_ACEOF
32997 #define HAVE__SINCOS 1
32998 _ACEOF
33001 done
33010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33011 $as_echo_n "checking for fpclass declaration... " >&6; }
33012 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33013 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33014 $as_echo_n "(cached) " >&6
33015 else
33018 ac_ext=cpp
33019 ac_cpp='$CXXCPP $CPPFLAGS'
33020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33025 /* end confdefs.h. */
33026 #include <math.h>
33027 #ifdef HAVE_IEEEFP_H
33028 #include <ieeefp.h>
33029 #endif
33032 main ()
33034 fpclass(0);
33036 return 0;
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_fpclass_use=yes
33041 else
33042 glibcxx_cv_func_fpclass_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33056 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33058 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33059 for ac_func in fpclass
33060 do :
33061 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33062 if test "x$ac_cv_func_fpclass" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_FPCLASS 1
33065 _ACEOF
33068 done
33070 else
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33073 $as_echo_n "checking for _fpclass declaration... " >&6; }
33074 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33075 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33077 else
33080 ac_ext=cpp
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33088 #include <math.h>
33089 #ifdef HAVE_IEEEFP_H
33090 #include <ieeefp.h>
33091 #endif
33094 main ()
33096 _fpclass(0);
33098 return 0;
33100 _ACEOF
33101 if ac_fn_cxx_try_compile "$LINENO"; then :
33102 glibcxx_cv_func__fpclass_use=yes
33103 else
33104 glibcxx_cv_func__fpclass_use=no
33106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33107 ac_ext=c
33108 ac_cpp='$CPP $CPPFLAGS'
33109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33118 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33120 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33121 for ac_func in _fpclass
33122 do :
33123 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33124 if test "x$ac_cv_func__fpclass" = x""yes; then :
33125 cat >>confdefs.h <<_ACEOF
33126 #define HAVE__FPCLASS 1
33127 _ACEOF
33130 done
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33140 $as_echo_n "checking for qfpclass declaration... " >&6; }
33141 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33142 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33143 $as_echo_n "(cached) " >&6
33144 else
33147 ac_ext=cpp
33148 ac_cpp='$CXXCPP $CPPFLAGS'
33149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33154 /* end confdefs.h. */
33155 #include <math.h>
33156 #ifdef HAVE_IEEEFP_H
33157 #include <ieeefp.h>
33158 #endif
33161 main ()
33163 qfpclass(0);
33165 return 0;
33167 _ACEOF
33168 if ac_fn_cxx_try_compile "$LINENO"; then :
33169 glibcxx_cv_func_qfpclass_use=yes
33170 else
33171 glibcxx_cv_func_qfpclass_use=no
33173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33174 ac_ext=c
33175 ac_cpp='$CPP $CPPFLAGS'
33176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33185 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33187 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33188 for ac_func in qfpclass
33189 do :
33190 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33191 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33192 cat >>confdefs.h <<_ACEOF
33193 #define HAVE_QFPCLASS 1
33194 _ACEOF
33197 done
33199 else
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33202 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33203 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33204 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33205 $as_echo_n "(cached) " >&6
33206 else
33209 ac_ext=cpp
33210 ac_cpp='$CXXCPP $CPPFLAGS'
33211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33216 /* end confdefs.h. */
33217 #include <math.h>
33218 #ifdef HAVE_IEEEFP_H
33219 #include <ieeefp.h>
33220 #endif
33223 main ()
33225 _qfpclass(0);
33227 return 0;
33229 _ACEOF
33230 if ac_fn_cxx_try_compile "$LINENO"; then :
33231 glibcxx_cv_func__qfpclass_use=yes
33232 else
33233 glibcxx_cv_func__qfpclass_use=no
33235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33236 ac_ext=c
33237 ac_cpp='$CPP $CPPFLAGS'
33238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33247 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33249 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33250 for ac_func in _qfpclass
33251 do :
33252 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33253 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33254 cat >>confdefs.h <<_ACEOF
33255 #define HAVE__QFPCLASS 1
33256 _ACEOF
33259 done
33268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33269 $as_echo_n "checking for hypot declaration... " >&6; }
33270 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33271 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33272 $as_echo_n "(cached) " >&6
33273 else
33276 ac_ext=cpp
33277 ac_cpp='$CXXCPP $CPPFLAGS'
33278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283 /* end confdefs.h. */
33284 #include <math.h>
33286 main ()
33288 hypot(0, 0);
33290 return 0;
33292 _ACEOF
33293 if ac_fn_cxx_try_compile "$LINENO"; then :
33294 glibcxx_cv_func_hypot_use=yes
33295 else
33296 glibcxx_cv_func_hypot_use=no
33298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33299 ac_ext=c
33300 ac_cpp='$CPP $CPPFLAGS'
33301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33310 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33312 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33313 for ac_func in hypot
33314 do :
33315 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33316 if test "x$ac_cv_func_hypot" = x""yes; then :
33317 cat >>confdefs.h <<_ACEOF
33318 #define HAVE_HYPOT 1
33319 _ACEOF
33322 done
33324 else
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33327 $as_echo_n "checking for _hypot declaration... " >&6; }
33328 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33329 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33330 $as_echo_n "(cached) " >&6
33331 else
33334 ac_ext=cpp
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342 #include <math.h>
33344 main ()
33346 _hypot(0, 0);
33348 return 0;
33350 _ACEOF
33351 if ac_fn_cxx_try_compile "$LINENO"; then :
33352 glibcxx_cv_func__hypot_use=yes
33353 else
33354 glibcxx_cv_func__hypot_use=no
33356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357 ac_ext=c
33358 ac_cpp='$CPP $CPPFLAGS'
33359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33368 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33370 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33371 for ac_func in _hypot
33372 do :
33373 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33374 if test "x$ac_cv_func__hypot" = x""yes; then :
33375 cat >>confdefs.h <<_ACEOF
33376 #define HAVE__HYPOT 1
33377 _ACEOF
33380 done
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33390 $as_echo_n "checking for float trig functions... " >&6; }
33391 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33392 $as_echo_n "(cached) " >&6
33393 else
33396 ac_ext=cpp
33397 ac_cpp='$CXXCPP $CPPFLAGS'
33398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33403 /* end confdefs.h. */
33404 #include <math.h>
33406 main ()
33408 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33410 return 0;
33412 _ACEOF
33413 if ac_fn_cxx_try_compile "$LINENO"; then :
33414 glibcxx_cv_func_float_trig_use=yes
33415 else
33416 glibcxx_cv_func_float_trig_use=no
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33419 ac_ext=c
33420 ac_cpp='$CPP $CPPFLAGS'
33421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33428 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33429 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33430 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33431 do :
33432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33434 eval as_val=\$$as_ac_var
33435 if test "x$as_val" = x""yes; then :
33436 cat >>confdefs.h <<_ACEOF
33437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33438 _ACEOF
33441 done
33443 else
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33445 $as_echo_n "checking for _float trig functions... " >&6; }
33446 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33447 $as_echo_n "(cached) " >&6
33448 else
33451 ac_ext=cpp
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458 /* end confdefs.h. */
33459 #include <math.h>
33461 main ()
33463 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33465 return 0;
33467 _ACEOF
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func__float_trig_use=yes
33470 else
33471 glibcxx_cv_func__float_trig_use=no
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 ac_ext=c
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33483 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33484 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33485 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33486 do :
33487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33489 eval as_val=\$$as_ac_var
33490 if test "x$as_val" = x""yes; then :
33491 cat >>confdefs.h <<_ACEOF
33492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33493 _ACEOF
33496 done
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33506 $as_echo_n "checking for float round functions... " >&6; }
33507 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33508 $as_echo_n "(cached) " >&6
33509 else
33512 ac_ext=cpp
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33519 /* end confdefs.h. */
33520 #include <math.h>
33522 main ()
33524 ceilf (0); floorf (0);
33526 return 0;
33528 _ACEOF
33529 if ac_fn_cxx_try_compile "$LINENO"; then :
33530 glibcxx_cv_func_float_round_use=yes
33531 else
33532 glibcxx_cv_func_float_round_use=no
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535 ac_ext=c
33536 ac_cpp='$CPP $CPPFLAGS'
33537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33544 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33545 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33546 for ac_func in ceilf floorf
33547 do :
33548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33550 eval as_val=\$$as_ac_var
33551 if test "x$as_val" = x""yes; then :
33552 cat >>confdefs.h <<_ACEOF
33553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33554 _ACEOF
33557 done
33559 else
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33561 $as_echo_n "checking for _float round functions... " >&6; }
33562 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33563 $as_echo_n "(cached) " >&6
33564 else
33567 ac_ext=cpp
33568 ac_cpp='$CXXCPP $CPPFLAGS'
33569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33574 /* end confdefs.h. */
33575 #include <math.h>
33577 main ()
33579 _ceilf (0); _floorf (0);
33581 return 0;
33583 _ACEOF
33584 if ac_fn_cxx_try_compile "$LINENO"; then :
33585 glibcxx_cv_func__float_round_use=yes
33586 else
33587 glibcxx_cv_func__float_round_use=no
33589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33590 ac_ext=c
33591 ac_cpp='$CPP $CPPFLAGS'
33592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33599 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33600 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33601 for ac_func in _ceilf _floorf
33602 do :
33603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33605 eval as_val=\$$as_ac_var
33606 if test "x$as_val" = x""yes; then :
33607 cat >>confdefs.h <<_ACEOF
33608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33609 _ACEOF
33612 done
33622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33623 $as_echo_n "checking for expf declaration... " >&6; }
33624 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33625 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33626 $as_echo_n "(cached) " >&6
33627 else
33630 ac_ext=cpp
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33637 /* end confdefs.h. */
33638 #include <math.h>
33639 #ifdef HAVE_IEEEFP_H
33640 #include <ieeefp.h>
33641 #endif
33644 main ()
33646 expf(0);
33648 return 0;
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func_expf_use=yes
33653 else
33654 glibcxx_cv_func_expf_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33668 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33670 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33671 for ac_func in expf
33672 do :
33673 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33674 if test "x$ac_cv_func_expf" = x""yes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE_EXPF 1
33677 _ACEOF
33680 done
33682 else
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33685 $as_echo_n "checking for _expf declaration... " >&6; }
33686 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33687 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33688 $as_echo_n "(cached) " >&6
33689 else
33692 ac_ext=cpp
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33699 /* end confdefs.h. */
33700 #include <math.h>
33701 #ifdef HAVE_IEEEFP_H
33702 #include <ieeefp.h>
33703 #endif
33706 main ()
33708 _expf(0);
33710 return 0;
33712 _ACEOF
33713 if ac_fn_cxx_try_compile "$LINENO"; then :
33714 glibcxx_cv_func__expf_use=yes
33715 else
33716 glibcxx_cv_func__expf_use=no
33718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33719 ac_ext=c
33720 ac_cpp='$CPP $CPPFLAGS'
33721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33730 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33732 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33733 for ac_func in _expf
33734 do :
33735 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33736 if test "x$ac_cv_func__expf" = x""yes; then :
33737 cat >>confdefs.h <<_ACEOF
33738 #define HAVE__EXPF 1
33739 _ACEOF
33742 done
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33752 $as_echo_n "checking for isnanf declaration... " >&6; }
33753 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33754 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33755 $as_echo_n "(cached) " >&6
33756 else
33759 ac_ext=cpp
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33767 #include <math.h>
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33770 #endif
33773 main ()
33775 isnanf(0);
33777 return 0;
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func_isnanf_use=yes
33782 else
33783 glibcxx_cv_func_isnanf_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33797 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33799 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33800 for ac_func in isnanf
33801 do :
33802 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33803 if test "x$ac_cv_func_isnanf" = x""yes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE_ISNANF 1
33806 _ACEOF
33809 done
33811 else
33813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33814 $as_echo_n "checking for _isnanf declaration... " >&6; }
33815 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33816 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33817 $as_echo_n "(cached) " >&6
33818 else
33821 ac_ext=cpp
33822 ac_cpp='$CXXCPP $CPPFLAGS'
33823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33828 /* end confdefs.h. */
33829 #include <math.h>
33830 #ifdef HAVE_IEEEFP_H
33831 #include <ieeefp.h>
33832 #endif
33835 main ()
33837 _isnanf(0);
33839 return 0;
33841 _ACEOF
33842 if ac_fn_cxx_try_compile "$LINENO"; then :
33843 glibcxx_cv_func__isnanf_use=yes
33844 else
33845 glibcxx_cv_func__isnanf_use=no
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848 ac_ext=c
33849 ac_cpp='$CPP $CPPFLAGS'
33850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33859 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33861 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33862 for ac_func in _isnanf
33863 do :
33864 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33865 if test "x$ac_cv_func__isnanf" = x""yes; then :
33866 cat >>confdefs.h <<_ACEOF
33867 #define HAVE__ISNANF 1
33868 _ACEOF
33871 done
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33881 $as_echo_n "checking for isinff declaration... " >&6; }
33882 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33883 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33885 else
33888 ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33896 #include <math.h>
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33899 #endif
33902 main ()
33904 isinff(0);
33906 return 0;
33908 _ACEOF
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func_isinff_use=yes
33911 else
33912 glibcxx_cv_func_isinff_use=no
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33915 ac_ext=c
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33926 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33928 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33929 for ac_func in isinff
33930 do :
33931 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33932 if test "x$ac_cv_func_isinff" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE_ISINFF 1
33935 _ACEOF
33938 done
33940 else
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33943 $as_echo_n "checking for _isinff declaration... " >&6; }
33944 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33945 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33946 $as_echo_n "(cached) " >&6
33947 else
33950 ac_ext=cpp
33951 ac_cpp='$CXXCPP $CPPFLAGS'
33952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33957 /* end confdefs.h. */
33958 #include <math.h>
33959 #ifdef HAVE_IEEEFP_H
33960 #include <ieeefp.h>
33961 #endif
33964 main ()
33966 _isinff(0);
33968 return 0;
33970 _ACEOF
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func__isinff_use=yes
33973 else
33974 glibcxx_cv_func__isinff_use=no
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977 ac_ext=c
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33988 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33990 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33991 for ac_func in _isinff
33992 do :
33993 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33994 if test "x$ac_cv_func__isinff" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE__ISINFF 1
33997 _ACEOF
34000 done
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34010 $as_echo_n "checking for atan2f declaration... " >&6; }
34011 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34012 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34014 else
34017 ac_ext=cpp
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 #include <math.h>
34027 main ()
34029 atan2f(0, 0);
34031 return 0;
34033 _ACEOF
34034 if ac_fn_cxx_try_compile "$LINENO"; then :
34035 glibcxx_cv_func_atan2f_use=yes
34036 else
34037 glibcxx_cv_func_atan2f_use=no
34039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34040 ac_ext=c
34041 ac_cpp='$CPP $CPPFLAGS'
34042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34051 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34053 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34054 for ac_func in atan2f
34055 do :
34056 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34057 if test "x$ac_cv_func_atan2f" = x""yes; then :
34058 cat >>confdefs.h <<_ACEOF
34059 #define HAVE_ATAN2F 1
34060 _ACEOF
34063 done
34065 else
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34068 $as_echo_n "checking for _atan2f declaration... " >&6; }
34069 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34070 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34071 $as_echo_n "(cached) " >&6
34072 else
34075 ac_ext=cpp
34076 ac_cpp='$CXXCPP $CPPFLAGS'
34077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34082 /* end confdefs.h. */
34083 #include <math.h>
34085 main ()
34087 _atan2f(0, 0);
34089 return 0;
34091 _ACEOF
34092 if ac_fn_cxx_try_compile "$LINENO"; then :
34093 glibcxx_cv_func__atan2f_use=yes
34094 else
34095 glibcxx_cv_func__atan2f_use=no
34097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34098 ac_ext=c
34099 ac_cpp='$CPP $CPPFLAGS'
34100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34109 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34111 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34112 for ac_func in _atan2f
34113 do :
34114 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34115 if test "x$ac_cv_func__atan2f" = x""yes; then :
34116 cat >>confdefs.h <<_ACEOF
34117 #define HAVE__ATAN2F 1
34118 _ACEOF
34121 done
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34131 $as_echo_n "checking for fabsf declaration... " >&6; }
34132 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34133 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34134 $as_echo_n "(cached) " >&6
34135 else
34138 ac_ext=cpp
34139 ac_cpp='$CXXCPP $CPPFLAGS'
34140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34145 /* end confdefs.h. */
34146 #include <math.h>
34147 #ifdef HAVE_IEEEFP_H
34148 #include <ieeefp.h>
34149 #endif
34152 main ()
34154 fabsf(0);
34156 return 0;
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func_fabsf_use=yes
34161 else
34162 glibcxx_cv_func_fabsf_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34176 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34178 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34179 for ac_func in fabsf
34180 do :
34181 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34182 if test "x$ac_cv_func_fabsf" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE_FABSF 1
34185 _ACEOF
34188 done
34190 else
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34193 $as_echo_n "checking for _fabsf declaration... " >&6; }
34194 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34195 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34196 $as_echo_n "(cached) " >&6
34197 else
34200 ac_ext=cpp
34201 ac_cpp='$CXXCPP $CPPFLAGS'
34202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34207 /* end confdefs.h. */
34208 #include <math.h>
34209 #ifdef HAVE_IEEEFP_H
34210 #include <ieeefp.h>
34211 #endif
34214 main ()
34216 _fabsf(0);
34218 return 0;
34220 _ACEOF
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func__fabsf_use=yes
34223 else
34224 glibcxx_cv_func__fabsf_use=no
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=c
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34238 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34240 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34241 for ac_func in _fabsf
34242 do :
34243 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34244 if test "x$ac_cv_func__fabsf" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE__FABSF 1
34247 _ACEOF
34250 done
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34260 $as_echo_n "checking for fmodf declaration... " >&6; }
34261 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34262 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34277 main ()
34279 fmodf(0, 0);
34281 return 0;
34283 _ACEOF
34284 if ac_fn_cxx_try_compile "$LINENO"; then :
34285 glibcxx_cv_func_fmodf_use=yes
34286 else
34287 glibcxx_cv_func_fmodf_use=no
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34290 ac_ext=c
34291 ac_cpp='$CPP $CPPFLAGS'
34292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34301 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34303 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34304 for ac_func in fmodf
34305 do :
34306 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34307 if test "x$ac_cv_func_fmodf" = x""yes; then :
34308 cat >>confdefs.h <<_ACEOF
34309 #define HAVE_FMODF 1
34310 _ACEOF
34313 done
34315 else
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34318 $as_echo_n "checking for _fmodf declaration... " >&6; }
34319 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34320 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34321 $as_echo_n "(cached) " >&6
34322 else
34325 ac_ext=cpp
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34333 #include <math.h>
34335 main ()
34337 _fmodf(0, 0);
34339 return 0;
34341 _ACEOF
34342 if ac_fn_cxx_try_compile "$LINENO"; then :
34343 glibcxx_cv_func__fmodf_use=yes
34344 else
34345 glibcxx_cv_func__fmodf_use=no
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 ac_ext=c
34349 ac_cpp='$CPP $CPPFLAGS'
34350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34359 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34361 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34362 for ac_func in _fmodf
34363 do :
34364 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34365 if test "x$ac_cv_func__fmodf" = x""yes; then :
34366 cat >>confdefs.h <<_ACEOF
34367 #define HAVE__FMODF 1
34368 _ACEOF
34371 done
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34381 $as_echo_n "checking for frexpf declaration... " >&6; }
34382 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34383 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34385 else
34388 ac_ext=cpp
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34396 #include <math.h>
34398 main ()
34400 frexpf(0, 0);
34402 return 0;
34404 _ACEOF
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_frexpf_use=yes
34407 else
34408 glibcxx_cv_func_frexpf_use=no
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 ac_ext=c
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34422 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34424 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34425 for ac_func in frexpf
34426 do :
34427 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34428 if test "x$ac_cv_func_frexpf" = x""yes; then :
34429 cat >>confdefs.h <<_ACEOF
34430 #define HAVE_FREXPF 1
34431 _ACEOF
34434 done
34436 else
34438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34439 $as_echo_n "checking for _frexpf declaration... " >&6; }
34440 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34441 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34442 $as_echo_n "(cached) " >&6
34443 else
34446 ac_ext=cpp
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34453 /* end confdefs.h. */
34454 #include <math.h>
34456 main ()
34458 _frexpf(0, 0);
34460 return 0;
34462 _ACEOF
34463 if ac_fn_cxx_try_compile "$LINENO"; then :
34464 glibcxx_cv_func__frexpf_use=yes
34465 else
34466 glibcxx_cv_func__frexpf_use=no
34468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34469 ac_ext=c
34470 ac_cpp='$CPP $CPPFLAGS'
34471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34480 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34482 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34483 for ac_func in _frexpf
34484 do :
34485 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34486 if test "x$ac_cv_func__frexpf" = x""yes; then :
34487 cat >>confdefs.h <<_ACEOF
34488 #define HAVE__FREXPF 1
34489 _ACEOF
34492 done
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34502 $as_echo_n "checking for hypotf declaration... " >&6; }
34503 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34504 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34505 $as_echo_n "(cached) " >&6
34506 else
34509 ac_ext=cpp
34510 ac_cpp='$CXXCPP $CPPFLAGS'
34511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34516 /* end confdefs.h. */
34517 #include <math.h>
34519 main ()
34521 hypotf(0, 0);
34523 return 0;
34525 _ACEOF
34526 if ac_fn_cxx_try_compile "$LINENO"; then :
34527 glibcxx_cv_func_hypotf_use=yes
34528 else
34529 glibcxx_cv_func_hypotf_use=no
34531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34532 ac_ext=c
34533 ac_cpp='$CPP $CPPFLAGS'
34534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34543 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34545 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34546 for ac_func in hypotf
34547 do :
34548 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34549 if test "x$ac_cv_func_hypotf" = x""yes; then :
34550 cat >>confdefs.h <<_ACEOF
34551 #define HAVE_HYPOTF 1
34552 _ACEOF
34555 done
34557 else
34559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34560 $as_echo_n "checking for _hypotf declaration... " >&6; }
34561 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34562 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34563 $as_echo_n "(cached) " >&6
34564 else
34567 ac_ext=cpp
34568 ac_cpp='$CXXCPP $CPPFLAGS'
34569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34574 /* end confdefs.h. */
34575 #include <math.h>
34577 main ()
34579 _hypotf(0, 0);
34581 return 0;
34583 _ACEOF
34584 if ac_fn_cxx_try_compile "$LINENO"; then :
34585 glibcxx_cv_func__hypotf_use=yes
34586 else
34587 glibcxx_cv_func__hypotf_use=no
34589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34590 ac_ext=c
34591 ac_cpp='$CPP $CPPFLAGS'
34592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34601 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34603 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34604 for ac_func in _hypotf
34605 do :
34606 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34607 if test "x$ac_cv_func__hypotf" = x""yes; then :
34608 cat >>confdefs.h <<_ACEOF
34609 #define HAVE__HYPOTF 1
34610 _ACEOF
34613 done
34622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34623 $as_echo_n "checking for ldexpf declaration... " >&6; }
34624 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34625 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34626 $as_echo_n "(cached) " >&6
34627 else
34630 ac_ext=cpp
34631 ac_cpp='$CXXCPP $CPPFLAGS'
34632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34637 /* end confdefs.h. */
34638 #include <math.h>
34640 main ()
34642 ldexpf(0, 0);
34644 return 0;
34646 _ACEOF
34647 if ac_fn_cxx_try_compile "$LINENO"; then :
34648 glibcxx_cv_func_ldexpf_use=yes
34649 else
34650 glibcxx_cv_func_ldexpf_use=no
34652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34653 ac_ext=c
34654 ac_cpp='$CPP $CPPFLAGS'
34655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34664 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34666 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34667 for ac_func in ldexpf
34668 do :
34669 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34670 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34671 cat >>confdefs.h <<_ACEOF
34672 #define HAVE_LDEXPF 1
34673 _ACEOF
34676 done
34678 else
34680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34681 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34682 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34683 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34684 $as_echo_n "(cached) " >&6
34685 else
34688 ac_ext=cpp
34689 ac_cpp='$CXXCPP $CPPFLAGS'
34690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34695 /* end confdefs.h. */
34696 #include <math.h>
34698 main ()
34700 _ldexpf(0, 0);
34702 return 0;
34704 _ACEOF
34705 if ac_fn_cxx_try_compile "$LINENO"; then :
34706 glibcxx_cv_func__ldexpf_use=yes
34707 else
34708 glibcxx_cv_func__ldexpf_use=no
34710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34711 ac_ext=c
34712 ac_cpp='$CPP $CPPFLAGS'
34713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34722 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34724 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34725 for ac_func in _ldexpf
34726 do :
34727 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34728 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34729 cat >>confdefs.h <<_ACEOF
34730 #define HAVE__LDEXPF 1
34731 _ACEOF
34734 done
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34744 $as_echo_n "checking for logf declaration... " >&6; }
34745 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34746 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <math.h>
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34762 #endif
34765 main ()
34767 logf(0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func_logf_use=yes
34774 else
34775 glibcxx_cv_func_logf_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34789 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34791 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34792 for ac_func in logf
34793 do :
34794 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34795 if test "x$ac_cv_func_logf" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE_LOGF 1
34798 _ACEOF
34801 done
34803 else
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34806 $as_echo_n "checking for _logf declaration... " >&6; }
34807 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34808 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34809 $as_echo_n "(cached) " >&6
34810 else
34813 ac_ext=cpp
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34820 /* end confdefs.h. */
34821 #include <math.h>
34822 #ifdef HAVE_IEEEFP_H
34823 #include <ieeefp.h>
34824 #endif
34827 main ()
34829 _logf(0);
34831 return 0;
34833 _ACEOF
34834 if ac_fn_cxx_try_compile "$LINENO"; then :
34835 glibcxx_cv_func__logf_use=yes
34836 else
34837 glibcxx_cv_func__logf_use=no
34839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840 ac_ext=c
34841 ac_cpp='$CPP $CPPFLAGS'
34842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34851 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34853 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34854 for ac_func in _logf
34855 do :
34856 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34857 if test "x$ac_cv_func__logf" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define HAVE__LOGF 1
34860 _ACEOF
34863 done
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34873 $as_echo_n "checking for log10f declaration... " >&6; }
34874 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34875 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34877 else
34880 ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34888 #include <math.h>
34889 #ifdef HAVE_IEEEFP_H
34890 #include <ieeefp.h>
34891 #endif
34894 main ()
34896 log10f(0);
34898 return 0;
34900 _ACEOF
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902 glibcxx_cv_func_log10f_use=yes
34903 else
34904 glibcxx_cv_func_log10f_use=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907 ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34918 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34920 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34921 for ac_func in log10f
34922 do :
34923 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34924 if test "x$ac_cv_func_log10f" = x""yes; then :
34925 cat >>confdefs.h <<_ACEOF
34926 #define HAVE_LOG10F 1
34927 _ACEOF
34930 done
34932 else
34934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34935 $as_echo_n "checking for _log10f declaration... " >&6; }
34936 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34937 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34938 $as_echo_n "(cached) " >&6
34939 else
34942 ac_ext=cpp
34943 ac_cpp='$CXXCPP $CPPFLAGS'
34944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34949 /* end confdefs.h. */
34950 #include <math.h>
34951 #ifdef HAVE_IEEEFP_H
34952 #include <ieeefp.h>
34953 #endif
34956 main ()
34958 _log10f(0);
34960 return 0;
34962 _ACEOF
34963 if ac_fn_cxx_try_compile "$LINENO"; then :
34964 glibcxx_cv_func__log10f_use=yes
34965 else
34966 glibcxx_cv_func__log10f_use=no
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969 ac_ext=c
34970 ac_cpp='$CPP $CPPFLAGS'
34971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34980 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34982 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34983 for ac_func in _log10f
34984 do :
34985 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34986 if test "x$ac_cv_func__log10f" = x""yes; then :
34987 cat >>confdefs.h <<_ACEOF
34988 #define HAVE__LOG10F 1
34989 _ACEOF
34992 done
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35002 $as_echo_n "checking for modff declaration... " >&6; }
35003 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35004 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35005 $as_echo_n "(cached) " >&6
35006 else
35009 ac_ext=cpp
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35016 /* end confdefs.h. */
35017 #include <math.h>
35019 main ()
35021 modff(0, 0);
35023 return 0;
35025 _ACEOF
35026 if ac_fn_cxx_try_compile "$LINENO"; then :
35027 glibcxx_cv_func_modff_use=yes
35028 else
35029 glibcxx_cv_func_modff_use=no
35031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35032 ac_ext=c
35033 ac_cpp='$CPP $CPPFLAGS'
35034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35043 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35045 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35046 for ac_func in modff
35047 do :
35048 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35049 if test "x$ac_cv_func_modff" = x""yes; then :
35050 cat >>confdefs.h <<_ACEOF
35051 #define HAVE_MODFF 1
35052 _ACEOF
35055 done
35057 else
35059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35060 $as_echo_n "checking for _modff declaration... " >&6; }
35061 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35062 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35063 $as_echo_n "(cached) " >&6
35064 else
35067 ac_ext=cpp
35068 ac_cpp='$CXXCPP $CPPFLAGS'
35069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 /* end confdefs.h. */
35075 #include <math.h>
35077 main ()
35079 _modff(0, 0);
35081 return 0;
35083 _ACEOF
35084 if ac_fn_cxx_try_compile "$LINENO"; then :
35085 glibcxx_cv_func__modff_use=yes
35086 else
35087 glibcxx_cv_func__modff_use=no
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090 ac_ext=c
35091 ac_cpp='$CPP $CPPFLAGS'
35092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35101 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35103 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35104 for ac_func in _modff
35105 do :
35106 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35107 if test "x$ac_cv_func__modff" = x""yes; then :
35108 cat >>confdefs.h <<_ACEOF
35109 #define HAVE__MODFF 1
35110 _ACEOF
35113 done
35122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35123 $as_echo_n "checking for modf declaration... " >&6; }
35124 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35125 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35126 $as_echo_n "(cached) " >&6
35127 else
35130 ac_ext=cpp
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138 #include <math.h>
35140 main ()
35142 modf(0, 0);
35144 return 0;
35146 _ACEOF
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148 glibcxx_cv_func_modf_use=yes
35149 else
35150 glibcxx_cv_func_modf_use=no
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35153 ac_ext=c
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35164 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35166 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35167 for ac_func in modf
35168 do :
35169 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35170 if test "x$ac_cv_func_modf" = x""yes; then :
35171 cat >>confdefs.h <<_ACEOF
35172 #define HAVE_MODF 1
35173 _ACEOF
35176 done
35178 else
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35181 $as_echo_n "checking for _modf declaration... " >&6; }
35182 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35183 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35184 $as_echo_n "(cached) " >&6
35185 else
35188 ac_ext=cpp
35189 ac_cpp='$CXXCPP $CPPFLAGS'
35190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35195 /* end confdefs.h. */
35196 #include <math.h>
35198 main ()
35200 _modf(0, 0);
35202 return 0;
35204 _ACEOF
35205 if ac_fn_cxx_try_compile "$LINENO"; then :
35206 glibcxx_cv_func__modf_use=yes
35207 else
35208 glibcxx_cv_func__modf_use=no
35210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35211 ac_ext=c
35212 ac_cpp='$CPP $CPPFLAGS'
35213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35222 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35224 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35225 for ac_func in _modf
35226 do :
35227 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35228 if test "x$ac_cv_func__modf" = x""yes; then :
35229 cat >>confdefs.h <<_ACEOF
35230 #define HAVE__MODF 1
35231 _ACEOF
35234 done
35243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35244 $as_echo_n "checking for powf declaration... " >&6; }
35245 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35246 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35247 $as_echo_n "(cached) " >&6
35248 else
35251 ac_ext=cpp
35252 ac_cpp='$CXXCPP $CPPFLAGS'
35253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35258 /* end confdefs.h. */
35259 #include <math.h>
35261 main ()
35263 powf(0, 0);
35265 return 0;
35267 _ACEOF
35268 if ac_fn_cxx_try_compile "$LINENO"; then :
35269 glibcxx_cv_func_powf_use=yes
35270 else
35271 glibcxx_cv_func_powf_use=no
35273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35274 ac_ext=c
35275 ac_cpp='$CPP $CPPFLAGS'
35276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35285 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35287 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35288 for ac_func in powf
35289 do :
35290 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35291 if test "x$ac_cv_func_powf" = x""yes; then :
35292 cat >>confdefs.h <<_ACEOF
35293 #define HAVE_POWF 1
35294 _ACEOF
35297 done
35299 else
35301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35302 $as_echo_n "checking for _powf declaration... " >&6; }
35303 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35304 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35305 $as_echo_n "(cached) " >&6
35306 else
35309 ac_ext=cpp
35310 ac_cpp='$CXXCPP $CPPFLAGS'
35311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35316 /* end confdefs.h. */
35317 #include <math.h>
35319 main ()
35321 _powf(0, 0);
35323 return 0;
35325 _ACEOF
35326 if ac_fn_cxx_try_compile "$LINENO"; then :
35327 glibcxx_cv_func__powf_use=yes
35328 else
35329 glibcxx_cv_func__powf_use=no
35331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35332 ac_ext=c
35333 ac_cpp='$CPP $CPPFLAGS'
35334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35343 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35345 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35346 for ac_func in _powf
35347 do :
35348 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35349 if test "x$ac_cv_func__powf" = x""yes; then :
35350 cat >>confdefs.h <<_ACEOF
35351 #define HAVE__POWF 1
35352 _ACEOF
35355 done
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35365 $as_echo_n "checking for sqrtf declaration... " >&6; }
35366 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35367 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35368 $as_echo_n "(cached) " >&6
35369 else
35372 ac_ext=cpp
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35380 #include <math.h>
35381 #ifdef HAVE_IEEEFP_H
35382 #include <ieeefp.h>
35383 #endif
35386 main ()
35388 sqrtf(0);
35390 return 0;
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func_sqrtf_use=yes
35395 else
35396 glibcxx_cv_func_sqrtf_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35410 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35412 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35413 for ac_func in sqrtf
35414 do :
35415 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35416 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE_SQRTF 1
35419 _ACEOF
35422 done
35424 else
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35427 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35428 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35429 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35430 $as_echo_n "(cached) " >&6
35431 else
35434 ac_ext=cpp
35435 ac_cpp='$CXXCPP $CPPFLAGS'
35436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35441 /* end confdefs.h. */
35442 #include <math.h>
35443 #ifdef HAVE_IEEEFP_H
35444 #include <ieeefp.h>
35445 #endif
35448 main ()
35450 _sqrtf(0);
35452 return 0;
35454 _ACEOF
35455 if ac_fn_cxx_try_compile "$LINENO"; then :
35456 glibcxx_cv_func__sqrtf_use=yes
35457 else
35458 glibcxx_cv_func__sqrtf_use=no
35460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35461 ac_ext=c
35462 ac_cpp='$CPP $CPPFLAGS'
35463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35472 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35474 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35475 for ac_func in _sqrtf
35476 do :
35477 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35478 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35479 cat >>confdefs.h <<_ACEOF
35480 #define HAVE__SQRTF 1
35481 _ACEOF
35484 done
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35494 $as_echo_n "checking for sincosf declaration... " >&6; }
35495 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35496 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35497 $as_echo_n "(cached) " >&6
35498 else
35501 ac_ext=cpp
35502 ac_cpp='$CXXCPP $CPPFLAGS'
35503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h. */
35509 #include <math.h>
35511 main ()
35513 sincosf(0, 0, 0);
35515 return 0;
35517 _ACEOF
35518 if ac_fn_cxx_try_compile "$LINENO"; then :
35519 glibcxx_cv_func_sincosf_use=yes
35520 else
35521 glibcxx_cv_func_sincosf_use=no
35523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35524 ac_ext=c
35525 ac_cpp='$CPP $CPPFLAGS'
35526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35535 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35537 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35538 for ac_func in sincosf
35539 do :
35540 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35541 if test "x$ac_cv_func_sincosf" = x""yes; then :
35542 cat >>confdefs.h <<_ACEOF
35543 #define HAVE_SINCOSF 1
35544 _ACEOF
35547 done
35549 else
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35552 $as_echo_n "checking for _sincosf declaration... " >&6; }
35553 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35554 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35555 $as_echo_n "(cached) " >&6
35556 else
35559 ac_ext=cpp
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35566 /* end confdefs.h. */
35567 #include <math.h>
35569 main ()
35571 _sincosf(0, 0, 0);
35573 return 0;
35575 _ACEOF
35576 if ac_fn_cxx_try_compile "$LINENO"; then :
35577 glibcxx_cv_func__sincosf_use=yes
35578 else
35579 glibcxx_cv_func__sincosf_use=no
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 ac_ext=c
35583 ac_cpp='$CPP $CPPFLAGS'
35584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35593 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35595 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35596 for ac_func in _sincosf
35597 do :
35598 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35599 if test "x$ac_cv_func__sincosf" = x""yes; then :
35600 cat >>confdefs.h <<_ACEOF
35601 #define HAVE__SINCOSF 1
35602 _ACEOF
35605 done
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35615 $as_echo_n "checking for finitef declaration... " >&6; }
35616 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35617 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35618 $as_echo_n "(cached) " >&6
35619 else
35622 ac_ext=cpp
35623 ac_cpp='$CXXCPP $CPPFLAGS'
35624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35630 #include <math.h>
35631 #ifdef HAVE_IEEEFP_H
35632 #include <ieeefp.h>
35633 #endif
35636 main ()
35638 finitef(0);
35640 return 0;
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func_finitef_use=yes
35645 else
35646 glibcxx_cv_func_finitef_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35660 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35662 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35663 for ac_func in finitef
35664 do :
35665 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35666 if test "x$ac_cv_func_finitef" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE_FINITEF 1
35669 _ACEOF
35672 done
35674 else
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35677 $as_echo_n "checking for _finitef declaration... " >&6; }
35678 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35679 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35680 $as_echo_n "(cached) " >&6
35681 else
35684 ac_ext=cpp
35685 ac_cpp='$CXXCPP $CPPFLAGS'
35686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35691 /* end confdefs.h. */
35692 #include <math.h>
35693 #ifdef HAVE_IEEEFP_H
35694 #include <ieeefp.h>
35695 #endif
35698 main ()
35700 _finitef(0);
35702 return 0;
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func__finitef_use=yes
35707 else
35708 glibcxx_cv_func__finitef_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35722 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35724 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35725 for ac_func in _finitef
35726 do :
35727 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35728 if test "x$ac_cv_func__finitef" = x""yes; then :
35729 cat >>confdefs.h <<_ACEOF
35730 #define HAVE__FINITEF 1
35731 _ACEOF
35734 done
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35744 $as_echo_n "checking for long double trig functions... " >&6; }
35745 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35746 $as_echo_n "(cached) " >&6
35747 else
35750 ac_ext=cpp
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h. */
35758 #include <math.h>
35760 main ()
35762 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35764 return 0;
35766 _ACEOF
35767 if ac_fn_cxx_try_compile "$LINENO"; then :
35768 glibcxx_cv_func_long_double_trig_use=yes
35769 else
35770 glibcxx_cv_func_long_double_trig_use=no
35772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35773 ac_ext=c
35774 ac_cpp='$CPP $CPPFLAGS'
35775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35782 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35783 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35784 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35785 do :
35786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35788 eval as_val=\$$as_ac_var
35789 if test "x$as_val" = x""yes; then :
35790 cat >>confdefs.h <<_ACEOF
35791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35792 _ACEOF
35795 done
35797 else
35798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35799 $as_echo_n "checking for _long double trig functions... " >&6; }
35800 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35801 $as_echo_n "(cached) " >&6
35802 else
35805 ac_ext=cpp
35806 ac_cpp='$CXXCPP $CPPFLAGS'
35807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35812 /* end confdefs.h. */
35813 #include <math.h>
35815 main ()
35817 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35819 return 0;
35821 _ACEOF
35822 if ac_fn_cxx_try_compile "$LINENO"; then :
35823 glibcxx_cv_func__long_double_trig_use=yes
35824 else
35825 glibcxx_cv_func__long_double_trig_use=no
35827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35828 ac_ext=c
35829 ac_cpp='$CPP $CPPFLAGS'
35830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35837 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35838 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35839 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35840 do :
35841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35843 eval as_val=\$$as_ac_var
35844 if test "x$as_val" = x""yes; then :
35845 cat >>confdefs.h <<_ACEOF
35846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35847 _ACEOF
35850 done
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35860 $as_echo_n "checking for long double round functions... " >&6; }
35861 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35863 else
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874 #include <math.h>
35876 main ()
35878 ceill (0); floorl (0);
35880 return 0;
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func_long_double_round_use=yes
35885 else
35886 glibcxx_cv_func_long_double_round_use=no
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35898 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35899 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35900 for ac_func in ceill floorl
35901 do :
35902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35904 eval as_val=\$$as_ac_var
35905 if test "x$as_val" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35908 _ACEOF
35911 done
35913 else
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35915 $as_echo_n "checking for _long double round functions... " >&6; }
35916 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35917 $as_echo_n "(cached) " >&6
35918 else
35921 ac_ext=cpp
35922 ac_cpp='$CXXCPP $CPPFLAGS'
35923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35928 /* end confdefs.h. */
35929 #include <math.h>
35931 main ()
35933 _ceill (0); _floorl (0);
35935 return 0;
35937 _ACEOF
35938 if ac_fn_cxx_try_compile "$LINENO"; then :
35939 glibcxx_cv_func__long_double_round_use=yes
35940 else
35941 glibcxx_cv_func__long_double_round_use=no
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35944 ac_ext=c
35945 ac_cpp='$CPP $CPPFLAGS'
35946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35953 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35954 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35955 for ac_func in _ceill _floorl
35956 do :
35957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35959 eval as_val=\$$as_ac_var
35960 if test "x$as_val" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35963 _ACEOF
35966 done
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35977 $as_echo_n "checking for isnanl declaration... " >&6; }
35978 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35979 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35980 $as_echo_n "(cached) " >&6
35981 else
35984 ac_ext=cpp
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35991 /* end confdefs.h. */
35992 #include <math.h>
35993 #ifdef HAVE_IEEEFP_H
35994 #include <ieeefp.h>
35995 #endif
35998 main ()
36000 isnanl(0);
36002 return 0;
36004 _ACEOF
36005 if ac_fn_cxx_try_compile "$LINENO"; then :
36006 glibcxx_cv_func_isnanl_use=yes
36007 else
36008 glibcxx_cv_func_isnanl_use=no
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36011 ac_ext=c
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36022 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36024 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36025 for ac_func in isnanl
36026 do :
36027 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36028 if test "x$ac_cv_func_isnanl" = x""yes; then :
36029 cat >>confdefs.h <<_ACEOF
36030 #define HAVE_ISNANL 1
36031 _ACEOF
36034 done
36036 else
36038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36039 $as_echo_n "checking for _isnanl declaration... " >&6; }
36040 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36041 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36042 $as_echo_n "(cached) " >&6
36043 else
36046 ac_ext=cpp
36047 ac_cpp='$CXXCPP $CPPFLAGS'
36048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36053 /* end confdefs.h. */
36054 #include <math.h>
36055 #ifdef HAVE_IEEEFP_H
36056 #include <ieeefp.h>
36057 #endif
36060 main ()
36062 _isnanl(0);
36064 return 0;
36066 _ACEOF
36067 if ac_fn_cxx_try_compile "$LINENO"; then :
36068 glibcxx_cv_func__isnanl_use=yes
36069 else
36070 glibcxx_cv_func__isnanl_use=no
36072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36073 ac_ext=c
36074 ac_cpp='$CPP $CPPFLAGS'
36075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36084 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36086 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36087 for ac_func in _isnanl
36088 do :
36089 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36090 if test "x$ac_cv_func__isnanl" = x""yes; then :
36091 cat >>confdefs.h <<_ACEOF
36092 #define HAVE__ISNANL 1
36093 _ACEOF
36096 done
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36106 $as_echo_n "checking for isinfl declaration... " >&6; }
36107 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36108 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36110 else
36113 ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36121 #include <math.h>
36122 #ifdef HAVE_IEEEFP_H
36123 #include <ieeefp.h>
36124 #endif
36127 main ()
36129 isinfl(0);
36131 return 0;
36133 _ACEOF
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135 glibcxx_cv_func_isinfl_use=yes
36136 else
36137 glibcxx_cv_func_isinfl_use=no
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36140 ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36151 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36153 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36154 for ac_func in isinfl
36155 do :
36156 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36157 if test "x$ac_cv_func_isinfl" = x""yes; then :
36158 cat >>confdefs.h <<_ACEOF
36159 #define HAVE_ISINFL 1
36160 _ACEOF
36163 done
36165 else
36167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36168 $as_echo_n "checking for _isinfl declaration... " >&6; }
36169 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36170 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36171 $as_echo_n "(cached) " >&6
36172 else
36175 ac_ext=cpp
36176 ac_cpp='$CXXCPP $CPPFLAGS'
36177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36182 /* end confdefs.h. */
36183 #include <math.h>
36184 #ifdef HAVE_IEEEFP_H
36185 #include <ieeefp.h>
36186 #endif
36189 main ()
36191 _isinfl(0);
36193 return 0;
36195 _ACEOF
36196 if ac_fn_cxx_try_compile "$LINENO"; then :
36197 glibcxx_cv_func__isinfl_use=yes
36198 else
36199 glibcxx_cv_func__isinfl_use=no
36201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36213 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36215 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36216 for ac_func in _isinfl
36217 do :
36218 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36219 if test "x$ac_cv_func__isinfl" = x""yes; then :
36220 cat >>confdefs.h <<_ACEOF
36221 #define HAVE__ISINFL 1
36222 _ACEOF
36225 done
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36235 $as_echo_n "checking for atan2l declaration... " >&6; }
36236 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36237 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36238 $as_echo_n "(cached) " >&6
36239 else
36242 ac_ext=cpp
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h. */
36250 #include <math.h>
36252 main ()
36254 atan2l(0, 0);
36256 return 0;
36258 _ACEOF
36259 if ac_fn_cxx_try_compile "$LINENO"; then :
36260 glibcxx_cv_func_atan2l_use=yes
36261 else
36262 glibcxx_cv_func_atan2l_use=no
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36265 ac_ext=c
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36276 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36278 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36279 for ac_func in atan2l
36280 do :
36281 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36282 if test "x$ac_cv_func_atan2l" = x""yes; then :
36283 cat >>confdefs.h <<_ACEOF
36284 #define HAVE_ATAN2L 1
36285 _ACEOF
36288 done
36290 else
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36293 $as_echo_n "checking for _atan2l declaration... " >&6; }
36294 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36295 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36296 $as_echo_n "(cached) " >&6
36297 else
36300 ac_ext=cpp
36301 ac_cpp='$CXXCPP $CPPFLAGS'
36302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 /* end confdefs.h. */
36308 #include <math.h>
36310 main ()
36312 _atan2l(0, 0);
36314 return 0;
36316 _ACEOF
36317 if ac_fn_cxx_try_compile "$LINENO"; then :
36318 glibcxx_cv_func__atan2l_use=yes
36319 else
36320 glibcxx_cv_func__atan2l_use=no
36322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36323 ac_ext=c
36324 ac_cpp='$CPP $CPPFLAGS'
36325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36334 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36336 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36337 for ac_func in _atan2l
36338 do :
36339 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36340 if test "x$ac_cv_func__atan2l" = x""yes; then :
36341 cat >>confdefs.h <<_ACEOF
36342 #define HAVE__ATAN2L 1
36343 _ACEOF
36346 done
36355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36356 $as_echo_n "checking for expl declaration... " >&6; }
36357 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36358 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36359 $as_echo_n "(cached) " >&6
36360 else
36363 ac_ext=cpp
36364 ac_cpp='$CXXCPP $CPPFLAGS'
36365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36370 /* end confdefs.h. */
36371 #include <math.h>
36372 #ifdef HAVE_IEEEFP_H
36373 #include <ieeefp.h>
36374 #endif
36377 main ()
36379 expl(0);
36381 return 0;
36383 _ACEOF
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385 glibcxx_cv_func_expl_use=yes
36386 else
36387 glibcxx_cv_func_expl_use=no
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36401 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36403 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36404 for ac_func in expl
36405 do :
36406 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36407 if test "x$ac_cv_func_expl" = x""yes; then :
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE_EXPL 1
36410 _ACEOF
36413 done
36415 else
36417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36418 $as_echo_n "checking for _expl declaration... " >&6; }
36419 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36420 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36421 $as_echo_n "(cached) " >&6
36422 else
36425 ac_ext=cpp
36426 ac_cpp='$CXXCPP $CPPFLAGS'
36427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36432 /* end confdefs.h. */
36433 #include <math.h>
36434 #ifdef HAVE_IEEEFP_H
36435 #include <ieeefp.h>
36436 #endif
36439 main ()
36441 _expl(0);
36443 return 0;
36445 _ACEOF
36446 if ac_fn_cxx_try_compile "$LINENO"; then :
36447 glibcxx_cv_func__expl_use=yes
36448 else
36449 glibcxx_cv_func__expl_use=no
36451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36452 ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36463 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36465 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36466 for ac_func in _expl
36467 do :
36468 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36469 if test "x$ac_cv_func__expl" = x""yes; then :
36470 cat >>confdefs.h <<_ACEOF
36471 #define HAVE__EXPL 1
36472 _ACEOF
36475 done
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36485 $as_echo_n "checking for fabsl declaration... " >&6; }
36486 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36487 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36488 $as_echo_n "(cached) " >&6
36489 else
36492 ac_ext=cpp
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h. */
36500 #include <math.h>
36501 #ifdef HAVE_IEEEFP_H
36502 #include <ieeefp.h>
36503 #endif
36506 main ()
36508 fabsl(0);
36510 return 0;
36512 _ACEOF
36513 if ac_fn_cxx_try_compile "$LINENO"; then :
36514 glibcxx_cv_func_fabsl_use=yes
36515 else
36516 glibcxx_cv_func_fabsl_use=no
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36519 ac_ext=c
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36530 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36532 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36533 for ac_func in fabsl
36534 do :
36535 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36536 if test "x$ac_cv_func_fabsl" = x""yes; then :
36537 cat >>confdefs.h <<_ACEOF
36538 #define HAVE_FABSL 1
36539 _ACEOF
36542 done
36544 else
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36547 $as_echo_n "checking for _fabsl declaration... " >&6; }
36548 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36549 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36550 $as_echo_n "(cached) " >&6
36551 else
36554 ac_ext=cpp
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36561 /* end confdefs.h. */
36562 #include <math.h>
36563 #ifdef HAVE_IEEEFP_H
36564 #include <ieeefp.h>
36565 #endif
36568 main ()
36570 _fabsl(0);
36572 return 0;
36574 _ACEOF
36575 if ac_fn_cxx_try_compile "$LINENO"; then :
36576 glibcxx_cv_func__fabsl_use=yes
36577 else
36578 glibcxx_cv_func__fabsl_use=no
36580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36581 ac_ext=c
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36592 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36594 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36595 for ac_func in _fabsl
36596 do :
36597 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36598 if test "x$ac_cv_func__fabsl" = x""yes; then :
36599 cat >>confdefs.h <<_ACEOF
36600 #define HAVE__FABSL 1
36601 _ACEOF
36604 done
36613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36614 $as_echo_n "checking for fmodl declaration... " >&6; }
36615 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36616 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36617 $as_echo_n "(cached) " >&6
36618 else
36621 ac_ext=cpp
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h. */
36629 #include <math.h>
36631 main ()
36633 fmodl(0, 0);
36635 return 0;
36637 _ACEOF
36638 if ac_fn_cxx_try_compile "$LINENO"; then :
36639 glibcxx_cv_func_fmodl_use=yes
36640 else
36641 glibcxx_cv_func_fmodl_use=no
36643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36644 ac_ext=c
36645 ac_cpp='$CPP $CPPFLAGS'
36646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36655 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36657 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36658 for ac_func in fmodl
36659 do :
36660 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36661 if test "x$ac_cv_func_fmodl" = x""yes; then :
36662 cat >>confdefs.h <<_ACEOF
36663 #define HAVE_FMODL 1
36664 _ACEOF
36667 done
36669 else
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36672 $as_echo_n "checking for _fmodl declaration... " >&6; }
36673 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36674 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36675 $as_echo_n "(cached) " >&6
36676 else
36679 ac_ext=cpp
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36686 /* end confdefs.h. */
36687 #include <math.h>
36689 main ()
36691 _fmodl(0, 0);
36693 return 0;
36695 _ACEOF
36696 if ac_fn_cxx_try_compile "$LINENO"; then :
36697 glibcxx_cv_func__fmodl_use=yes
36698 else
36699 glibcxx_cv_func__fmodl_use=no
36701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36702 ac_ext=c
36703 ac_cpp='$CPP $CPPFLAGS'
36704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36713 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36715 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36716 for ac_func in _fmodl
36717 do :
36718 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36719 if test "x$ac_cv_func__fmodl" = x""yes; then :
36720 cat >>confdefs.h <<_ACEOF
36721 #define HAVE__FMODL 1
36722 _ACEOF
36725 done
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36735 $as_echo_n "checking for frexpl declaration... " >&6; }
36736 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36737 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36738 $as_echo_n "(cached) " >&6
36739 else
36742 ac_ext=cpp
36743 ac_cpp='$CXXCPP $CPPFLAGS'
36744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36749 /* end confdefs.h. */
36750 #include <math.h>
36752 main ()
36754 frexpl(0, 0);
36756 return 0;
36758 _ACEOF
36759 if ac_fn_cxx_try_compile "$LINENO"; then :
36760 glibcxx_cv_func_frexpl_use=yes
36761 else
36762 glibcxx_cv_func_frexpl_use=no
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765 ac_ext=c
36766 ac_cpp='$CPP $CPPFLAGS'
36767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36776 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36778 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36779 for ac_func in frexpl
36780 do :
36781 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36782 if test "x$ac_cv_func_frexpl" = x""yes; then :
36783 cat >>confdefs.h <<_ACEOF
36784 #define HAVE_FREXPL 1
36785 _ACEOF
36788 done
36790 else
36792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36793 $as_echo_n "checking for _frexpl declaration... " >&6; }
36794 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36795 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36796 $as_echo_n "(cached) " >&6
36797 else
36800 ac_ext=cpp
36801 ac_cpp='$CXXCPP $CPPFLAGS'
36802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36807 /* end confdefs.h. */
36808 #include <math.h>
36810 main ()
36812 _frexpl(0, 0);
36814 return 0;
36816 _ACEOF
36817 if ac_fn_cxx_try_compile "$LINENO"; then :
36818 glibcxx_cv_func__frexpl_use=yes
36819 else
36820 glibcxx_cv_func__frexpl_use=no
36822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36823 ac_ext=c
36824 ac_cpp='$CPP $CPPFLAGS'
36825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36834 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36836 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36837 for ac_func in _frexpl
36838 do :
36839 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36840 if test "x$ac_cv_func__frexpl" = x""yes; then :
36841 cat >>confdefs.h <<_ACEOF
36842 #define HAVE__FREXPL 1
36843 _ACEOF
36846 done
36855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36856 $as_echo_n "checking for hypotl declaration... " >&6; }
36857 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36858 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36859 $as_echo_n "(cached) " >&6
36860 else
36863 ac_ext=cpp
36864 ac_cpp='$CXXCPP $CPPFLAGS'
36865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36870 /* end confdefs.h. */
36871 #include <math.h>
36873 main ()
36875 hypotl(0, 0);
36877 return 0;
36879 _ACEOF
36880 if ac_fn_cxx_try_compile "$LINENO"; then :
36881 glibcxx_cv_func_hypotl_use=yes
36882 else
36883 glibcxx_cv_func_hypotl_use=no
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886 ac_ext=c
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36897 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36899 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36900 for ac_func in hypotl
36901 do :
36902 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36903 if test "x$ac_cv_func_hypotl" = x""yes; then :
36904 cat >>confdefs.h <<_ACEOF
36905 #define HAVE_HYPOTL 1
36906 _ACEOF
36909 done
36911 else
36913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36914 $as_echo_n "checking for _hypotl declaration... " >&6; }
36915 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36916 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36917 $as_echo_n "(cached) " >&6
36918 else
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36928 /* end confdefs.h. */
36929 #include <math.h>
36931 main ()
36933 _hypotl(0, 0);
36935 return 0;
36937 _ACEOF
36938 if ac_fn_cxx_try_compile "$LINENO"; then :
36939 glibcxx_cv_func__hypotl_use=yes
36940 else
36941 glibcxx_cv_func__hypotl_use=no
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36944 ac_ext=c
36945 ac_cpp='$CPP $CPPFLAGS'
36946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36955 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36957 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36958 for ac_func in _hypotl
36959 do :
36960 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36961 if test "x$ac_cv_func__hypotl" = x""yes; then :
36962 cat >>confdefs.h <<_ACEOF
36963 #define HAVE__HYPOTL 1
36964 _ACEOF
36967 done
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36977 $as_echo_n "checking for ldexpl declaration... " >&6; }
36978 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36979 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36980 $as_echo_n "(cached) " >&6
36981 else
36984 ac_ext=cpp
36985 ac_cpp='$CXXCPP $CPPFLAGS'
36986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36991 /* end confdefs.h. */
36992 #include <math.h>
36994 main ()
36996 ldexpl(0, 0);
36998 return 0;
37000 _ACEOF
37001 if ac_fn_cxx_try_compile "$LINENO"; then :
37002 glibcxx_cv_func_ldexpl_use=yes
37003 else
37004 glibcxx_cv_func_ldexpl_use=no
37006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37007 ac_ext=c
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37018 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37020 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37021 for ac_func in ldexpl
37022 do :
37023 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37024 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37025 cat >>confdefs.h <<_ACEOF
37026 #define HAVE_LDEXPL 1
37027 _ACEOF
37030 done
37032 else
37034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37035 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37036 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37037 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37038 $as_echo_n "(cached) " >&6
37039 else
37042 ac_ext=cpp
37043 ac_cpp='$CXXCPP $CPPFLAGS'
37044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37050 #include <math.h>
37052 main ()
37054 _ldexpl(0, 0);
37056 return 0;
37058 _ACEOF
37059 if ac_fn_cxx_try_compile "$LINENO"; then :
37060 glibcxx_cv_func__ldexpl_use=yes
37061 else
37062 glibcxx_cv_func__ldexpl_use=no
37064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37065 ac_ext=c
37066 ac_cpp='$CPP $CPPFLAGS'
37067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37076 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37078 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37079 for ac_func in _ldexpl
37080 do :
37081 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37082 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE__LDEXPL 1
37085 _ACEOF
37088 done
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37098 $as_echo_n "checking for logl declaration... " >&6; }
37099 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37100 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37114 #ifdef HAVE_IEEEFP_H
37115 #include <ieeefp.h>
37116 #endif
37119 main ()
37121 logl(0);
37123 return 0;
37125 _ACEOF
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127 glibcxx_cv_func_logl_use=yes
37128 else
37129 glibcxx_cv_func_logl_use=no
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132 ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37143 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37145 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37146 for ac_func in logl
37147 do :
37148 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37149 if test "x$ac_cv_func_logl" = x""yes; then :
37150 cat >>confdefs.h <<_ACEOF
37151 #define HAVE_LOGL 1
37152 _ACEOF
37155 done
37157 else
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37160 $as_echo_n "checking for _logl declaration... " >&6; }
37161 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37162 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37163 $as_echo_n "(cached) " >&6
37164 else
37167 ac_ext=cpp
37168 ac_cpp='$CXXCPP $CPPFLAGS'
37169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37174 /* end confdefs.h. */
37175 #include <math.h>
37176 #ifdef HAVE_IEEEFP_H
37177 #include <ieeefp.h>
37178 #endif
37181 main ()
37183 _logl(0);
37185 return 0;
37187 _ACEOF
37188 if ac_fn_cxx_try_compile "$LINENO"; then :
37189 glibcxx_cv_func__logl_use=yes
37190 else
37191 glibcxx_cv_func__logl_use=no
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37194 ac_ext=c
37195 ac_cpp='$CPP $CPPFLAGS'
37196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37205 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37207 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37208 for ac_func in _logl
37209 do :
37210 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37211 if test "x$ac_cv_func__logl" = x""yes; then :
37212 cat >>confdefs.h <<_ACEOF
37213 #define HAVE__LOGL 1
37214 _ACEOF
37217 done
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37227 $as_echo_n "checking for log10l declaration... " >&6; }
37228 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37229 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37230 $as_echo_n "(cached) " >&6
37231 else
37234 ac_ext=cpp
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h. */
37242 #include <math.h>
37243 #ifdef HAVE_IEEEFP_H
37244 #include <ieeefp.h>
37245 #endif
37248 main ()
37250 log10l(0);
37252 return 0;
37254 _ACEOF
37255 if ac_fn_cxx_try_compile "$LINENO"; then :
37256 glibcxx_cv_func_log10l_use=yes
37257 else
37258 glibcxx_cv_func_log10l_use=no
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261 ac_ext=c
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37272 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37274 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37275 for ac_func in log10l
37276 do :
37277 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37278 if test "x$ac_cv_func_log10l" = x""yes; then :
37279 cat >>confdefs.h <<_ACEOF
37280 #define HAVE_LOG10L 1
37281 _ACEOF
37284 done
37286 else
37288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37289 $as_echo_n "checking for _log10l declaration... " >&6; }
37290 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37291 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37292 $as_echo_n "(cached) " >&6
37293 else
37296 ac_ext=cpp
37297 ac_cpp='$CXXCPP $CPPFLAGS'
37298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37303 /* end confdefs.h. */
37304 #include <math.h>
37305 #ifdef HAVE_IEEEFP_H
37306 #include <ieeefp.h>
37307 #endif
37310 main ()
37312 _log10l(0);
37314 return 0;
37316 _ACEOF
37317 if ac_fn_cxx_try_compile "$LINENO"; then :
37318 glibcxx_cv_func__log10l_use=yes
37319 else
37320 glibcxx_cv_func__log10l_use=no
37322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37323 ac_ext=c
37324 ac_cpp='$CPP $CPPFLAGS'
37325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37334 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37336 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37337 for ac_func in _log10l
37338 do :
37339 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37340 if test "x$ac_cv_func__log10l" = x""yes; then :
37341 cat >>confdefs.h <<_ACEOF
37342 #define HAVE__LOG10L 1
37343 _ACEOF
37346 done
37355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37356 $as_echo_n "checking for modfl declaration... " >&6; }
37357 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37358 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37359 $as_echo_n "(cached) " >&6
37360 else
37363 ac_ext=cpp
37364 ac_cpp='$CXXCPP $CPPFLAGS'
37365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370 /* end confdefs.h. */
37371 #include <math.h>
37373 main ()
37375 modfl(0, 0);
37377 return 0;
37379 _ACEOF
37380 if ac_fn_cxx_try_compile "$LINENO"; then :
37381 glibcxx_cv_func_modfl_use=yes
37382 else
37383 glibcxx_cv_func_modfl_use=no
37385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37386 ac_ext=c
37387 ac_cpp='$CPP $CPPFLAGS'
37388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37397 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37399 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37400 for ac_func in modfl
37401 do :
37402 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37403 if test "x$ac_cv_func_modfl" = x""yes; then :
37404 cat >>confdefs.h <<_ACEOF
37405 #define HAVE_MODFL 1
37406 _ACEOF
37409 done
37411 else
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37414 $as_echo_n "checking for _modfl declaration... " >&6; }
37415 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37416 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37418 else
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429 #include <math.h>
37431 main ()
37433 _modfl(0, 0);
37435 return 0;
37437 _ACEOF
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 glibcxx_cv_func__modfl_use=yes
37440 else
37441 glibcxx_cv_func__modfl_use=no
37443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37444 ac_ext=c
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37455 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37457 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37458 for ac_func in _modfl
37459 do :
37460 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37461 if test "x$ac_cv_func__modfl" = x""yes; then :
37462 cat >>confdefs.h <<_ACEOF
37463 #define HAVE__MODFL 1
37464 _ACEOF
37467 done
37476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37477 $as_echo_n "checking for powl declaration... " >&6; }
37478 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37479 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37480 $as_echo_n "(cached) " >&6
37481 else
37484 ac_ext=cpp
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h. */
37492 #include <math.h>
37494 main ()
37496 powl(0, 0);
37498 return 0;
37500 _ACEOF
37501 if ac_fn_cxx_try_compile "$LINENO"; then :
37502 glibcxx_cv_func_powl_use=yes
37503 else
37504 glibcxx_cv_func_powl_use=no
37506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37507 ac_ext=c
37508 ac_cpp='$CPP $CPPFLAGS'
37509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37518 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37520 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37521 for ac_func in powl
37522 do :
37523 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37524 if test "x$ac_cv_func_powl" = x""yes; then :
37525 cat >>confdefs.h <<_ACEOF
37526 #define HAVE_POWL 1
37527 _ACEOF
37530 done
37532 else
37534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37535 $as_echo_n "checking for _powl declaration... " >&6; }
37536 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37537 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37538 $as_echo_n "(cached) " >&6
37539 else
37542 ac_ext=cpp
37543 ac_cpp='$CXXCPP $CPPFLAGS'
37544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37549 /* end confdefs.h. */
37550 #include <math.h>
37552 main ()
37554 _powl(0, 0);
37556 return 0;
37558 _ACEOF
37559 if ac_fn_cxx_try_compile "$LINENO"; then :
37560 glibcxx_cv_func__powl_use=yes
37561 else
37562 glibcxx_cv_func__powl_use=no
37564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37565 ac_ext=c
37566 ac_cpp='$CPP $CPPFLAGS'
37567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37576 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37578 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37579 for ac_func in _powl
37580 do :
37581 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37582 if test "x$ac_cv_func__powl" = x""yes; then :
37583 cat >>confdefs.h <<_ACEOF
37584 #define HAVE__POWL 1
37585 _ACEOF
37588 done
37597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37598 $as_echo_n "checking for sqrtl declaration... " >&6; }
37599 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37600 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37601 $as_echo_n "(cached) " >&6
37602 else
37605 ac_ext=cpp
37606 ac_cpp='$CXXCPP $CPPFLAGS'
37607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37612 /* end confdefs.h. */
37613 #include <math.h>
37614 #ifdef HAVE_IEEEFP_H
37615 #include <ieeefp.h>
37616 #endif
37619 main ()
37621 sqrtl(0);
37623 return 0;
37625 _ACEOF
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627 glibcxx_cv_func_sqrtl_use=yes
37628 else
37629 glibcxx_cv_func_sqrtl_use=no
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37632 ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37643 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37645 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37646 for ac_func in sqrtl
37647 do :
37648 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37649 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE_SQRTL 1
37652 _ACEOF
37655 done
37657 else
37659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37660 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37661 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37662 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37663 $as_echo_n "(cached) " >&6
37664 else
37667 ac_ext=cpp
37668 ac_cpp='$CXXCPP $CPPFLAGS'
37669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37674 /* end confdefs.h. */
37675 #include <math.h>
37676 #ifdef HAVE_IEEEFP_H
37677 #include <ieeefp.h>
37678 #endif
37681 main ()
37683 _sqrtl(0);
37685 return 0;
37687 _ACEOF
37688 if ac_fn_cxx_try_compile "$LINENO"; then :
37689 glibcxx_cv_func__sqrtl_use=yes
37690 else
37691 glibcxx_cv_func__sqrtl_use=no
37693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37694 ac_ext=c
37695 ac_cpp='$CPP $CPPFLAGS'
37696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37705 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37707 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37708 for ac_func in _sqrtl
37709 do :
37710 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37711 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37712 cat >>confdefs.h <<_ACEOF
37713 #define HAVE__SQRTL 1
37714 _ACEOF
37717 done
37726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37727 $as_echo_n "checking for sincosl declaration... " >&6; }
37728 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37729 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37730 $as_echo_n "(cached) " >&6
37731 else
37734 ac_ext=cpp
37735 ac_cpp='$CXXCPP $CPPFLAGS'
37736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 /* end confdefs.h. */
37742 #include <math.h>
37744 main ()
37746 sincosl(0, 0, 0);
37748 return 0;
37750 _ACEOF
37751 if ac_fn_cxx_try_compile "$LINENO"; then :
37752 glibcxx_cv_func_sincosl_use=yes
37753 else
37754 glibcxx_cv_func_sincosl_use=no
37756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37757 ac_ext=c
37758 ac_cpp='$CPP $CPPFLAGS'
37759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37768 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37770 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37771 for ac_func in sincosl
37772 do :
37773 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37774 if test "x$ac_cv_func_sincosl" = x""yes; then :
37775 cat >>confdefs.h <<_ACEOF
37776 #define HAVE_SINCOSL 1
37777 _ACEOF
37780 done
37782 else
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37785 $as_echo_n "checking for _sincosl declaration... " >&6; }
37786 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37787 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37788 $as_echo_n "(cached) " >&6
37789 else
37792 ac_ext=cpp
37793 ac_cpp='$CXXCPP $CPPFLAGS'
37794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37799 /* end confdefs.h. */
37800 #include <math.h>
37802 main ()
37804 _sincosl(0, 0, 0);
37806 return 0;
37808 _ACEOF
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 glibcxx_cv_func__sincosl_use=yes
37811 else
37812 glibcxx_cv_func__sincosl_use=no
37814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37815 ac_ext=c
37816 ac_cpp='$CPP $CPPFLAGS'
37817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37826 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37828 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37829 for ac_func in _sincosl
37830 do :
37831 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37832 if test "x$ac_cv_func__sincosl" = x""yes; then :
37833 cat >>confdefs.h <<_ACEOF
37834 #define HAVE__SINCOSL 1
37835 _ACEOF
37838 done
37847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37848 $as_echo_n "checking for finitel declaration... " >&6; }
37849 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37850 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37851 $as_echo_n "(cached) " >&6
37852 else
37855 ac_ext=cpp
37856 ac_cpp='$CXXCPP $CPPFLAGS'
37857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37862 /* end confdefs.h. */
37863 #include <math.h>
37864 #ifdef HAVE_IEEEFP_H
37865 #include <ieeefp.h>
37866 #endif
37869 main ()
37871 finitel(0);
37873 return 0;
37875 _ACEOF
37876 if ac_fn_cxx_try_compile "$LINENO"; then :
37877 glibcxx_cv_func_finitel_use=yes
37878 else
37879 glibcxx_cv_func_finitel_use=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37882 ac_ext=c
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37893 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37895 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37896 for ac_func in finitel
37897 do :
37898 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37899 if test "x$ac_cv_func_finitel" = x""yes; then :
37900 cat >>confdefs.h <<_ACEOF
37901 #define HAVE_FINITEL 1
37902 _ACEOF
37905 done
37907 else
37909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37910 $as_echo_n "checking for _finitel declaration... " >&6; }
37911 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37912 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37913 $as_echo_n "(cached) " >&6
37914 else
37917 ac_ext=cpp
37918 ac_cpp='$CXXCPP $CPPFLAGS'
37919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37924 /* end confdefs.h. */
37925 #include <math.h>
37926 #ifdef HAVE_IEEEFP_H
37927 #include <ieeefp.h>
37928 #endif
37931 main ()
37933 _finitel(0);
37935 return 0;
37937 _ACEOF
37938 if ac_fn_cxx_try_compile "$LINENO"; then :
37939 glibcxx_cv_func__finitel_use=yes
37940 else
37941 glibcxx_cv_func__finitel_use=no
37943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37944 ac_ext=c
37945 ac_cpp='$CPP $CPPFLAGS'
37946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37955 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37957 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37958 for ac_func in _finitel
37959 do :
37960 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37961 if test "x$ac_cv_func__finitel" = x""yes; then :
37962 cat >>confdefs.h <<_ACEOF
37963 #define HAVE__FINITEL 1
37964 _ACEOF
37967 done
37975 LIBS="$ac_save_LIBS"
37976 CXXFLAGS="$ac_save_CXXFLAGS"
37979 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37980 ac_save_CXXFLAGS="$CXXFLAGS"
37981 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37985 $as_echo_n "checking for strtold declaration... " >&6; }
37986 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37987 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37988 $as_echo_n "(cached) " >&6
37989 else
37992 ac_ext=cpp
37993 ac_cpp='$CXXCPP $CPPFLAGS'
37994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37999 /* end confdefs.h. */
38000 #include <stdlib.h>
38002 main ()
38004 strtold(0, 0);
38006 return 0;
38008 _ACEOF
38009 if ac_fn_cxx_try_compile "$LINENO"; then :
38010 glibcxx_cv_func_strtold_use=yes
38011 else
38012 glibcxx_cv_func_strtold_use=no
38014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38015 ac_ext=c
38016 ac_cpp='$CPP $CPPFLAGS'
38017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38026 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38027 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38028 for ac_func in strtold
38029 do :
38030 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38031 if test "x$ac_cv_func_strtold" = x""yes; then :
38032 cat >>confdefs.h <<_ACEOF
38033 #define HAVE_STRTOLD 1
38034 _ACEOF
38037 done
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38045 $as_echo_n "checking for strtof declaration... " >&6; }
38046 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38047 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38048 $as_echo_n "(cached) " >&6
38049 else
38052 ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h. */
38060 #include <stdlib.h>
38062 main ()
38064 strtof(0, 0);
38066 return 0;
38068 _ACEOF
38069 if ac_fn_cxx_try_compile "$LINENO"; then :
38070 glibcxx_cv_func_strtof_use=yes
38071 else
38072 glibcxx_cv_func_strtof_use=no
38074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38075 ac_ext=c
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38086 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38087 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38088 for ac_func in strtof
38089 do :
38090 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38091 if test "x$ac_cv_func_strtof" = x""yes; then :
38092 cat >>confdefs.h <<_ACEOF
38093 #define HAVE_STRTOF 1
38094 _ACEOF
38097 done
38104 CXXFLAGS="$ac_save_CXXFLAGS"
38106 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38108 # We don't yet support AIX's TLS ABI.
38109 #GCC_CHECK_TLS
38115 am_save_CPPFLAGS="$CPPFLAGS"
38117 for element in $INCICONV; do
38118 haveit=
38119 for x in $CPPFLAGS; do
38121 acl_save_prefix="$prefix"
38122 prefix="$acl_final_prefix"
38123 acl_save_exec_prefix="$exec_prefix"
38124 exec_prefix="$acl_final_exec_prefix"
38125 eval x=\"$x\"
38126 exec_prefix="$acl_save_exec_prefix"
38127 prefix="$acl_save_prefix"
38129 if test "X$x" = "X$element"; then
38130 haveit=yes
38131 break
38133 done
38134 if test -z "$haveit"; then
38135 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38137 done
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38141 $as_echo_n "checking for iconv... " >&6; }
38142 if test "${am_cv_func_iconv+set}" = set; then :
38143 $as_echo_n "(cached) " >&6
38144 else
38146 am_cv_func_iconv="no, consider installing GNU libiconv"
38147 am_cv_lib_iconv=no
38148 if test x$gcc_no_link = xyes; then
38149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38152 /* end confdefs.h. */
38153 #include <stdlib.h>
38154 #include <iconv.h>
38156 main ()
38158 iconv_t cd = iconv_open("","");
38159 iconv(cd,NULL,NULL,NULL,NULL);
38160 iconv_close(cd);
38162 return 0;
38164 _ACEOF
38165 if ac_fn_c_try_link "$LINENO"; then :
38166 am_cv_func_iconv=yes
38168 rm -f core conftest.err conftest.$ac_objext \
38169 conftest$ac_exeext conftest.$ac_ext
38170 if test "$am_cv_func_iconv" != yes; then
38171 am_save_LIBS="$LIBS"
38172 LIBS="$LIBS $LIBICONV"
38173 if test x$gcc_no_link = xyes; then
38174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38177 /* end confdefs.h. */
38178 #include <stdlib.h>
38179 #include <iconv.h>
38181 main ()
38183 iconv_t cd = iconv_open("","");
38184 iconv(cd,NULL,NULL,NULL,NULL);
38185 iconv_close(cd);
38187 return 0;
38189 _ACEOF
38190 if ac_fn_c_try_link "$LINENO"; then :
38191 am_cv_lib_iconv=yes
38192 am_cv_func_iconv=yes
38194 rm -f core conftest.err conftest.$ac_objext \
38195 conftest$ac_exeext conftest.$ac_ext
38196 LIBS="$am_save_LIBS"
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38201 $as_echo "$am_cv_func_iconv" >&6; }
38202 if test "$am_cv_func_iconv" = yes; then
38204 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38207 if test "$am_cv_lib_iconv" = yes; then
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38209 $as_echo_n "checking how to link with libiconv... " >&6; }
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38211 $as_echo "$LIBICONV" >&6; }
38212 else
38213 CPPFLAGS="$am_save_CPPFLAGS"
38214 LIBICONV=
38215 LTLIBICONV=
38220 if test "$am_cv_func_iconv" = yes; then
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38222 $as_echo_n "checking for iconv declaration... " >&6; }
38223 if test "${am_cv_proto_iconv+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38228 /* end confdefs.h. */
38230 #include <stdlib.h>
38231 #include <iconv.h>
38232 extern
38233 #ifdef __cplusplus
38235 #endif
38236 #if defined(__STDC__) || defined(__cplusplus)
38237 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38238 #else
38239 size_t iconv();
38240 #endif
38243 main ()
38247 return 0;
38249 _ACEOF
38250 if ac_fn_c_try_compile "$LINENO"; then :
38251 am_cv_proto_iconv_arg1=""
38252 else
38253 am_cv_proto_iconv_arg1="const"
38255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38256 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);"
38259 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38261 }$am_cv_proto_iconv" >&5
38262 $as_echo "${ac_t:-
38263 }$am_cv_proto_iconv" >&6; }
38265 cat >>confdefs.h <<_ACEOF
38266 #define ICONV_CONST $am_cv_proto_iconv_arg1
38267 _ACEOF
38273 *-darwin*)
38274 # Darwin versions vary, but the linker should work in a cross environment,
38275 # so we just check for all the features here.
38276 # Check for available headers.
38278 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38281 ac_save_CXXFLAGS="$CXXFLAGS"
38282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38285 $as_echo_n "checking for sin in -lm... " >&6; }
38286 if test "${ac_cv_lib_m_sin+set}" = set; then :
38287 $as_echo_n "(cached) " >&6
38288 else
38289 ac_check_lib_save_LIBS=$LIBS
38290 LIBS="-lm $LIBS"
38291 if test x$gcc_no_link = xyes; then
38292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38297 /* Override any GCC internal prototype to avoid an error.
38298 Use char because int might match the return type of a GCC
38299 builtin and then its argument prototype would still apply. */
38300 #ifdef __cplusplus
38301 extern "C"
38302 #endif
38303 char sin ();
38305 main ()
38307 return sin ();
38309 return 0;
38311 _ACEOF
38312 if ac_fn_c_try_link "$LINENO"; then :
38313 ac_cv_lib_m_sin=yes
38314 else
38315 ac_cv_lib_m_sin=no
38317 rm -f core conftest.err conftest.$ac_objext \
38318 conftest$ac_exeext conftest.$ac_ext
38319 LIBS=$ac_check_lib_save_LIBS
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38322 $as_echo "$ac_cv_lib_m_sin" >&6; }
38323 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38324 libm="-lm"
38327 ac_save_LIBS="$LIBS"
38328 LIBS="$LIBS $libm"
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38333 $as_echo_n "checking for isinf declaration... " >&6; }
38334 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38335 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38337 else
38340 ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348 #include <math.h>
38349 #ifdef HAVE_IEEEFP_H
38350 #include <ieeefp.h>
38351 #endif
38354 main ()
38356 isinf(0);
38358 return 0;
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_isinf_use=yes
38363 else
38364 glibcxx_cv_func_isinf_use=no
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38378 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38380 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38381 for ac_func in isinf
38382 do :
38383 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38384 if test "x$ac_cv_func_isinf" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_ISINF 1
38387 _ACEOF
38390 done
38392 else
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38395 $as_echo_n "checking for _isinf declaration... " >&6; }
38396 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38397 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38411 #ifdef HAVE_IEEEFP_H
38412 #include <ieeefp.h>
38413 #endif
38416 main ()
38418 _isinf(0);
38420 return 0;
38422 _ACEOF
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func__isinf_use=yes
38425 else
38426 glibcxx_cv_func__isinf_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38429 ac_ext=c
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38440 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38442 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38443 for ac_func in _isinf
38444 do :
38445 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38446 if test "x$ac_cv_func__isinf" = x""yes; then :
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE__ISINF 1
38449 _ACEOF
38452 done
38461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38462 $as_echo_n "checking for isnan declaration... " >&6; }
38463 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38464 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38465 $as_echo_n "(cached) " >&6
38466 else
38469 ac_ext=cpp
38470 ac_cpp='$CXXCPP $CPPFLAGS'
38471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h. */
38477 #include <math.h>
38478 #ifdef HAVE_IEEEFP_H
38479 #include <ieeefp.h>
38480 #endif
38483 main ()
38485 isnan(0);
38487 return 0;
38489 _ACEOF
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func_isnan_use=yes
38492 else
38493 glibcxx_cv_func_isnan_use=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38507 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38509 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38510 for ac_func in isnan
38511 do :
38512 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38513 if test "x$ac_cv_func_isnan" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE_ISNAN 1
38516 _ACEOF
38519 done
38521 else
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38524 $as_echo_n "checking for _isnan declaration... " >&6; }
38525 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38526 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38528 else
38531 ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539 #include <math.h>
38540 #ifdef HAVE_IEEEFP_H
38541 #include <ieeefp.h>
38542 #endif
38545 main ()
38547 _isnan(0);
38549 return 0;
38551 _ACEOF
38552 if ac_fn_cxx_try_compile "$LINENO"; then :
38553 glibcxx_cv_func__isnan_use=yes
38554 else
38555 glibcxx_cv_func__isnan_use=no
38557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38558 ac_ext=c
38559 ac_cpp='$CPP $CPPFLAGS'
38560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38569 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38571 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38572 for ac_func in _isnan
38573 do :
38574 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38575 if test "x$ac_cv_func__isnan" = x""yes; then :
38576 cat >>confdefs.h <<_ACEOF
38577 #define HAVE__ISNAN 1
38578 _ACEOF
38581 done
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38591 $as_echo_n "checking for finite declaration... " >&6; }
38592 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38593 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38594 $as_echo_n "(cached) " >&6
38595 else
38598 ac_ext=cpp
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38606 #include <math.h>
38607 #ifdef HAVE_IEEEFP_H
38608 #include <ieeefp.h>
38609 #endif
38612 main ()
38614 finite(0);
38616 return 0;
38618 _ACEOF
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620 glibcxx_cv_func_finite_use=yes
38621 else
38622 glibcxx_cv_func_finite_use=no
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38625 ac_ext=c
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38636 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38638 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38639 for ac_func in finite
38640 do :
38641 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38642 if test "x$ac_cv_func_finite" = x""yes; then :
38643 cat >>confdefs.h <<_ACEOF
38644 #define HAVE_FINITE 1
38645 _ACEOF
38648 done
38650 else
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38653 $as_echo_n "checking for _finite declaration... " >&6; }
38654 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38655 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38656 $as_echo_n "(cached) " >&6
38657 else
38660 ac_ext=cpp
38661 ac_cpp='$CXXCPP $CPPFLAGS'
38662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38667 /* end confdefs.h. */
38668 #include <math.h>
38669 #ifdef HAVE_IEEEFP_H
38670 #include <ieeefp.h>
38671 #endif
38674 main ()
38676 _finite(0);
38678 return 0;
38680 _ACEOF
38681 if ac_fn_cxx_try_compile "$LINENO"; then :
38682 glibcxx_cv_func__finite_use=yes
38683 else
38684 glibcxx_cv_func__finite_use=no
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687 ac_ext=c
38688 ac_cpp='$CPP $CPPFLAGS'
38689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38698 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38701 for ac_func in _finite
38702 do :
38703 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38704 if test "x$ac_cv_func__finite" = x""yes; then :
38705 cat >>confdefs.h <<_ACEOF
38706 #define HAVE__FINITE 1
38707 _ACEOF
38710 done
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38720 $as_echo_n "checking for sincos declaration... " >&6; }
38721 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38722 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38723 $as_echo_n "(cached) " >&6
38724 else
38727 ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38735 #include <math.h>
38737 main ()
38739 sincos(0, 0, 0);
38741 return 0;
38743 _ACEOF
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func_sincos_use=yes
38746 else
38747 glibcxx_cv_func_sincos_use=no
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38750 ac_ext=c
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38761 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38763 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38764 for ac_func in sincos
38765 do :
38766 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38767 if test "x$ac_cv_func_sincos" = x""yes; then :
38768 cat >>confdefs.h <<_ACEOF
38769 #define HAVE_SINCOS 1
38770 _ACEOF
38773 done
38775 else
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38778 $as_echo_n "checking for _sincos declaration... " >&6; }
38779 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38780 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38781 $as_echo_n "(cached) " >&6
38782 else
38785 ac_ext=cpp
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h. */
38793 #include <math.h>
38795 main ()
38797 _sincos(0, 0, 0);
38799 return 0;
38801 _ACEOF
38802 if ac_fn_cxx_try_compile "$LINENO"; then :
38803 glibcxx_cv_func__sincos_use=yes
38804 else
38805 glibcxx_cv_func__sincos_use=no
38807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38808 ac_ext=c
38809 ac_cpp='$CPP $CPPFLAGS'
38810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38819 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38821 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38822 for ac_func in _sincos
38823 do :
38824 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38825 if test "x$ac_cv_func__sincos" = x""yes; then :
38826 cat >>confdefs.h <<_ACEOF
38827 #define HAVE__SINCOS 1
38828 _ACEOF
38831 done
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38841 $as_echo_n "checking for fpclass declaration... " >&6; }
38842 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38843 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38844 $as_echo_n "(cached) " >&6
38845 else
38848 ac_ext=cpp
38849 ac_cpp='$CXXCPP $CPPFLAGS'
38850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38855 /* end confdefs.h. */
38856 #include <math.h>
38857 #ifdef HAVE_IEEEFP_H
38858 #include <ieeefp.h>
38859 #endif
38862 main ()
38864 fpclass(0);
38866 return 0;
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func_fpclass_use=yes
38871 else
38872 glibcxx_cv_func_fpclass_use=no
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875 ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38886 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38888 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38889 for ac_func in fpclass
38890 do :
38891 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38892 if test "x$ac_cv_func_fpclass" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE_FPCLASS 1
38895 _ACEOF
38898 done
38900 else
38902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38903 $as_echo_n "checking for _fpclass declaration... " >&6; }
38904 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38905 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38906 $as_echo_n "(cached) " >&6
38907 else
38910 ac_ext=cpp
38911 ac_cpp='$CXXCPP $CPPFLAGS'
38912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38917 /* end confdefs.h. */
38918 #include <math.h>
38919 #ifdef HAVE_IEEEFP_H
38920 #include <ieeefp.h>
38921 #endif
38924 main ()
38926 _fpclass(0);
38928 return 0;
38930 _ACEOF
38931 if ac_fn_cxx_try_compile "$LINENO"; then :
38932 glibcxx_cv_func__fpclass_use=yes
38933 else
38934 glibcxx_cv_func__fpclass_use=no
38936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38937 ac_ext=c
38938 ac_cpp='$CPP $CPPFLAGS'
38939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38948 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38950 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38951 for ac_func in _fpclass
38952 do :
38953 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38954 if test "x$ac_cv_func__fpclass" = x""yes; then :
38955 cat >>confdefs.h <<_ACEOF
38956 #define HAVE__FPCLASS 1
38957 _ACEOF
38960 done
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38970 $as_echo_n "checking for qfpclass declaration... " >&6; }
38971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38973 $as_echo_n "(cached) " >&6
38974 else
38977 ac_ext=cpp
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h. */
38985 #include <math.h>
38986 #ifdef HAVE_IEEEFP_H
38987 #include <ieeefp.h>
38988 #endif
38991 main ()
38993 qfpclass(0);
38995 return 0;
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func_qfpclass_use=yes
39000 else
39001 glibcxx_cv_func_qfpclass_use=no
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004 ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39015 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39017 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39018 for ac_func in qfpclass
39019 do :
39020 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39021 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE_QFPCLASS 1
39024 _ACEOF
39027 done
39029 else
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39032 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39033 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39034 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39035 $as_echo_n "(cached) " >&6
39036 else
39039 ac_ext=cpp
39040 ac_cpp='$CXXCPP $CPPFLAGS'
39041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39046 /* end confdefs.h. */
39047 #include <math.h>
39048 #ifdef HAVE_IEEEFP_H
39049 #include <ieeefp.h>
39050 #endif
39053 main ()
39055 _qfpclass(0);
39057 return 0;
39059 _ACEOF
39060 if ac_fn_cxx_try_compile "$LINENO"; then :
39061 glibcxx_cv_func__qfpclass_use=yes
39062 else
39063 glibcxx_cv_func__qfpclass_use=no
39065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39066 ac_ext=c
39067 ac_cpp='$CPP $CPPFLAGS'
39068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39077 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39079 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39080 for ac_func in _qfpclass
39081 do :
39082 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39083 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39084 cat >>confdefs.h <<_ACEOF
39085 #define HAVE__QFPCLASS 1
39086 _ACEOF
39089 done
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39099 $as_echo_n "checking for hypot declaration... " >&6; }
39100 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39101 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39102 $as_echo_n "(cached) " >&6
39103 else
39106 ac_ext=cpp
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h. */
39114 #include <math.h>
39116 main ()
39118 hypot(0, 0);
39120 return 0;
39122 _ACEOF
39123 if ac_fn_cxx_try_compile "$LINENO"; then :
39124 glibcxx_cv_func_hypot_use=yes
39125 else
39126 glibcxx_cv_func_hypot_use=no
39128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39129 ac_ext=c
39130 ac_cpp='$CPP $CPPFLAGS'
39131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39140 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39143 for ac_func in hypot
39144 do :
39145 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39146 if test "x$ac_cv_func_hypot" = x""yes; then :
39147 cat >>confdefs.h <<_ACEOF
39148 #define HAVE_HYPOT 1
39149 _ACEOF
39152 done
39154 else
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39157 $as_echo_n "checking for _hypot declaration... " >&6; }
39158 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39159 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39160 $as_echo_n "(cached) " >&6
39161 else
39164 ac_ext=cpp
39165 ac_cpp='$CXXCPP $CPPFLAGS'
39166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h. */
39172 #include <math.h>
39174 main ()
39176 _hypot(0, 0);
39178 return 0;
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func__hypot_use=yes
39183 else
39184 glibcxx_cv_func__hypot_use=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39198 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39201 for ac_func in _hypot
39202 do :
39203 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39204 if test "x$ac_cv_func__hypot" = x""yes; then :
39205 cat >>confdefs.h <<_ACEOF
39206 #define HAVE__HYPOT 1
39207 _ACEOF
39210 done
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39220 $as_echo_n "checking for float trig functions... " >&6; }
39221 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39222 $as_echo_n "(cached) " >&6
39223 else
39226 ac_ext=cpp
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39233 /* end confdefs.h. */
39234 #include <math.h>
39236 main ()
39238 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39240 return 0;
39242 _ACEOF
39243 if ac_fn_cxx_try_compile "$LINENO"; then :
39244 glibcxx_cv_func_float_trig_use=yes
39245 else
39246 glibcxx_cv_func_float_trig_use=no
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39249 ac_ext=c
39250 ac_cpp='$CPP $CPPFLAGS'
39251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39258 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39260 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39261 do :
39262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39264 eval as_val=\$$as_ac_var
39265 if test "x$as_val" = x""yes; then :
39266 cat >>confdefs.h <<_ACEOF
39267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39268 _ACEOF
39271 done
39273 else
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39275 $as_echo_n "checking for _float trig functions... " >&6; }
39276 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39277 $as_echo_n "(cached) " >&6
39278 else
39281 ac_ext=cpp
39282 ac_cpp='$CXXCPP $CPPFLAGS'
39283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39288 /* end confdefs.h. */
39289 #include <math.h>
39291 main ()
39293 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39295 return 0;
39297 _ACEOF
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func__float_trig_use=yes
39300 else
39301 glibcxx_cv_func__float_trig_use=no
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 ac_ext=c
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39313 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39314 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39316 do :
39317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39319 eval as_val=\$$as_ac_var
39320 if test "x$as_val" = x""yes; then :
39321 cat >>confdefs.h <<_ACEOF
39322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39323 _ACEOF
39326 done
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39336 $as_echo_n "checking for float round functions... " >&6; }
39337 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39338 $as_echo_n "(cached) " >&6
39339 else
39342 ac_ext=cpp
39343 ac_cpp='$CXXCPP $CPPFLAGS'
39344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39349 /* end confdefs.h. */
39350 #include <math.h>
39352 main ()
39354 ceilf (0); floorf (0);
39356 return 0;
39358 _ACEOF
39359 if ac_fn_cxx_try_compile "$LINENO"; then :
39360 glibcxx_cv_func_float_round_use=yes
39361 else
39362 glibcxx_cv_func_float_round_use=no
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365 ac_ext=c
39366 ac_cpp='$CPP $CPPFLAGS'
39367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39374 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39375 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39376 for ac_func in ceilf floorf
39377 do :
39378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39380 eval as_val=\$$as_ac_var
39381 if test "x$as_val" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39384 _ACEOF
39387 done
39389 else
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39391 $as_echo_n "checking for _float round functions... " >&6; }
39392 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39393 $as_echo_n "(cached) " >&6
39394 else
39397 ac_ext=cpp
39398 ac_cpp='$CXXCPP $CPPFLAGS'
39399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39404 /* end confdefs.h. */
39405 #include <math.h>
39407 main ()
39409 _ceilf (0); _floorf (0);
39411 return 0;
39413 _ACEOF
39414 if ac_fn_cxx_try_compile "$LINENO"; then :
39415 glibcxx_cv_func__float_round_use=yes
39416 else
39417 glibcxx_cv_func__float_round_use=no
39419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39420 ac_ext=c
39421 ac_cpp='$CPP $CPPFLAGS'
39422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39429 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39430 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39431 for ac_func in _ceilf _floorf
39432 do :
39433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39435 eval as_val=\$$as_ac_var
39436 if test "x$as_val" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39439 _ACEOF
39442 done
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39453 $as_echo_n "checking for expf declaration... " >&6; }
39454 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39455 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39469 #ifdef HAVE_IEEEFP_H
39470 #include <ieeefp.h>
39471 #endif
39474 main ()
39476 expf(0);
39478 return 0;
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func_expf_use=yes
39483 else
39484 glibcxx_cv_func_expf_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39498 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39500 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39501 for ac_func in expf
39502 do :
39503 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39504 if test "x$ac_cv_func_expf" = x""yes; then :
39505 cat >>confdefs.h <<_ACEOF
39506 #define HAVE_EXPF 1
39507 _ACEOF
39510 done
39512 else
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39515 $as_echo_n "checking for _expf declaration... " >&6; }
39516 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39517 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39519 else
39522 ac_ext=cpp
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39530 #include <math.h>
39531 #ifdef HAVE_IEEEFP_H
39532 #include <ieeefp.h>
39533 #endif
39536 main ()
39538 _expf(0);
39540 return 0;
39542 _ACEOF
39543 if ac_fn_cxx_try_compile "$LINENO"; then :
39544 glibcxx_cv_func__expf_use=yes
39545 else
39546 glibcxx_cv_func__expf_use=no
39548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39549 ac_ext=c
39550 ac_cpp='$CPP $CPPFLAGS'
39551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39560 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39562 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39563 for ac_func in _expf
39564 do :
39565 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39566 if test "x$ac_cv_func__expf" = x""yes; then :
39567 cat >>confdefs.h <<_ACEOF
39568 #define HAVE__EXPF 1
39569 _ACEOF
39572 done
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39582 $as_echo_n "checking for isnanf declaration... " >&6; }
39583 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39584 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39603 main ()
39605 isnanf(0);
39607 return 0;
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func_isnanf_use=yes
39612 else
39613 glibcxx_cv_func_isnanf_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39627 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39629 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39630 for ac_func in isnanf
39631 do :
39632 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39633 if test "x$ac_cv_func_isnanf" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_ISNANF 1
39636 _ACEOF
39639 done
39641 else
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39644 $as_echo_n "checking for _isnanf declaration... " >&6; }
39645 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39646 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39647 $as_echo_n "(cached) " >&6
39648 else
39651 ac_ext=cpp
39652 ac_cpp='$CXXCPP $CPPFLAGS'
39653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39659 #include <math.h>
39660 #ifdef HAVE_IEEEFP_H
39661 #include <ieeefp.h>
39662 #endif
39665 main ()
39667 _isnanf(0);
39669 return 0;
39671 _ACEOF
39672 if ac_fn_cxx_try_compile "$LINENO"; then :
39673 glibcxx_cv_func__isnanf_use=yes
39674 else
39675 glibcxx_cv_func__isnanf_use=no
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39678 ac_ext=c
39679 ac_cpp='$CPP $CPPFLAGS'
39680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39689 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39692 for ac_func in _isnanf
39693 do :
39694 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39695 if test "x$ac_cv_func__isnanf" = x""yes; then :
39696 cat >>confdefs.h <<_ACEOF
39697 #define HAVE__ISNANF 1
39698 _ACEOF
39701 done
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39711 $as_echo_n "checking for isinff declaration... " >&6; }
39712 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39713 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39715 else
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39726 #include <math.h>
39727 #ifdef HAVE_IEEEFP_H
39728 #include <ieeefp.h>
39729 #endif
39732 main ()
39734 isinff(0);
39736 return 0;
39738 _ACEOF
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740 glibcxx_cv_func_isinff_use=yes
39741 else
39742 glibcxx_cv_func_isinff_use=no
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39745 ac_ext=c
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39756 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39758 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39759 for ac_func in isinff
39760 do :
39761 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39762 if test "x$ac_cv_func_isinff" = x""yes; then :
39763 cat >>confdefs.h <<_ACEOF
39764 #define HAVE_ISINFF 1
39765 _ACEOF
39768 done
39770 else
39772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39773 $as_echo_n "checking for _isinff declaration... " >&6; }
39774 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39775 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39776 $as_echo_n "(cached) " >&6
39777 else
39780 ac_ext=cpp
39781 ac_cpp='$CXXCPP $CPPFLAGS'
39782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39787 /* end confdefs.h. */
39788 #include <math.h>
39789 #ifdef HAVE_IEEEFP_H
39790 #include <ieeefp.h>
39791 #endif
39794 main ()
39796 _isinff(0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func__isinff_use=yes
39803 else
39804 glibcxx_cv_func__isinff_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39818 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39820 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39821 for ac_func in _isinff
39822 do :
39823 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39824 if test "x$ac_cv_func__isinff" = x""yes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE__ISINFF 1
39827 _ACEOF
39830 done
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39840 $as_echo_n "checking for atan2f declaration... " >&6; }
39841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39843 $as_echo_n "(cached) " >&6
39844 else
39847 ac_ext=cpp
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39855 #include <math.h>
39857 main ()
39859 atan2f(0, 0);
39861 return 0;
39863 _ACEOF
39864 if ac_fn_cxx_try_compile "$LINENO"; then :
39865 glibcxx_cv_func_atan2f_use=yes
39866 else
39867 glibcxx_cv_func_atan2f_use=no
39869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39870 ac_ext=c
39871 ac_cpp='$CPP $CPPFLAGS'
39872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39881 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39883 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39884 for ac_func in atan2f
39885 do :
39886 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39887 if test "x$ac_cv_func_atan2f" = x""yes; then :
39888 cat >>confdefs.h <<_ACEOF
39889 #define HAVE_ATAN2F 1
39890 _ACEOF
39893 done
39895 else
39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39898 $as_echo_n "checking for _atan2f declaration... " >&6; }
39899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39901 $as_echo_n "(cached) " >&6
39902 else
39905 ac_ext=cpp
39906 ac_cpp='$CXXCPP $CPPFLAGS'
39907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39912 /* end confdefs.h. */
39913 #include <math.h>
39915 main ()
39917 _atan2f(0, 0);
39919 return 0;
39921 _ACEOF
39922 if ac_fn_cxx_try_compile "$LINENO"; then :
39923 glibcxx_cv_func__atan2f_use=yes
39924 else
39925 glibcxx_cv_func__atan2f_use=no
39927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39928 ac_ext=c
39929 ac_cpp='$CPP $CPPFLAGS'
39930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39939 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39941 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39942 for ac_func in _atan2f
39943 do :
39944 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39945 if test "x$ac_cv_func__atan2f" = x""yes; then :
39946 cat >>confdefs.h <<_ACEOF
39947 #define HAVE__ATAN2F 1
39948 _ACEOF
39951 done
39960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39961 $as_echo_n "checking for fabsf declaration... " >&6; }
39962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39964 $as_echo_n "(cached) " >&6
39965 else
39968 ac_ext=cpp
39969 ac_cpp='$CXXCPP $CPPFLAGS'
39970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976 #include <math.h>
39977 #ifdef HAVE_IEEEFP_H
39978 #include <ieeefp.h>
39979 #endif
39982 main ()
39984 fabsf(0);
39986 return 0;
39988 _ACEOF
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func_fabsf_use=yes
39991 else
39992 glibcxx_cv_func_fabsf_use=no
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995 ac_ext=c
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40006 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40008 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40009 for ac_func in fabsf
40010 do :
40011 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40012 if test "x$ac_cv_func_fabsf" = x""yes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE_FABSF 1
40015 _ACEOF
40018 done
40020 else
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40023 $as_echo_n "checking for _fabsf declaration... " >&6; }
40024 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40025 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40026 $as_echo_n "(cached) " >&6
40027 else
40030 ac_ext=cpp
40031 ac_cpp='$CXXCPP $CPPFLAGS'
40032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40038 #include <math.h>
40039 #ifdef HAVE_IEEEFP_H
40040 #include <ieeefp.h>
40041 #endif
40044 main ()
40046 _fabsf(0);
40048 return 0;
40050 _ACEOF
40051 if ac_fn_cxx_try_compile "$LINENO"; then :
40052 glibcxx_cv_func__fabsf_use=yes
40053 else
40054 glibcxx_cv_func__fabsf_use=no
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057 ac_ext=c
40058 ac_cpp='$CPP $CPPFLAGS'
40059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40068 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40070 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40071 for ac_func in _fabsf
40072 do :
40073 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40074 if test "x$ac_cv_func__fabsf" = x""yes; then :
40075 cat >>confdefs.h <<_ACEOF
40076 #define HAVE__FABSF 1
40077 _ACEOF
40080 done
40089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40090 $as_echo_n "checking for fmodf declaration... " >&6; }
40091 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40092 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40093 $as_echo_n "(cached) " >&6
40094 else
40097 ac_ext=cpp
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h. */
40105 #include <math.h>
40107 main ()
40109 fmodf(0, 0);
40111 return 0;
40113 _ACEOF
40114 if ac_fn_cxx_try_compile "$LINENO"; then :
40115 glibcxx_cv_func_fmodf_use=yes
40116 else
40117 glibcxx_cv_func_fmodf_use=no
40119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40120 ac_ext=c
40121 ac_cpp='$CPP $CPPFLAGS'
40122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40131 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40133 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40134 for ac_func in fmodf
40135 do :
40136 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40137 if test "x$ac_cv_func_fmodf" = x""yes; then :
40138 cat >>confdefs.h <<_ACEOF
40139 #define HAVE_FMODF 1
40140 _ACEOF
40143 done
40145 else
40147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40148 $as_echo_n "checking for _fmodf declaration... " >&6; }
40149 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40150 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40151 $as_echo_n "(cached) " >&6
40152 else
40155 ac_ext=cpp
40156 ac_cpp='$CXXCPP $CPPFLAGS'
40157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40162 /* end confdefs.h. */
40163 #include <math.h>
40165 main ()
40167 _fmodf(0, 0);
40169 return 0;
40171 _ACEOF
40172 if ac_fn_cxx_try_compile "$LINENO"; then :
40173 glibcxx_cv_func__fmodf_use=yes
40174 else
40175 glibcxx_cv_func__fmodf_use=no
40177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40178 ac_ext=c
40179 ac_cpp='$CPP $CPPFLAGS'
40180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40189 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40191 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40192 for ac_func in _fmodf
40193 do :
40194 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40195 if test "x$ac_cv_func__fmodf" = x""yes; then :
40196 cat >>confdefs.h <<_ACEOF
40197 #define HAVE__FMODF 1
40198 _ACEOF
40201 done
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40211 $as_echo_n "checking for frexpf declaration... " >&6; }
40212 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40213 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40214 $as_echo_n "(cached) " >&6
40215 else
40218 ac_ext=cpp
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40225 /* end confdefs.h. */
40226 #include <math.h>
40228 main ()
40230 frexpf(0, 0);
40232 return 0;
40234 _ACEOF
40235 if ac_fn_cxx_try_compile "$LINENO"; then :
40236 glibcxx_cv_func_frexpf_use=yes
40237 else
40238 glibcxx_cv_func_frexpf_use=no
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40241 ac_ext=c
40242 ac_cpp='$CPP $CPPFLAGS'
40243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40252 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40255 for ac_func in frexpf
40256 do :
40257 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40258 if test "x$ac_cv_func_frexpf" = x""yes; then :
40259 cat >>confdefs.h <<_ACEOF
40260 #define HAVE_FREXPF 1
40261 _ACEOF
40264 done
40266 else
40268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40269 $as_echo_n "checking for _frexpf declaration... " >&6; }
40270 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40271 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40272 $as_echo_n "(cached) " >&6
40273 else
40276 ac_ext=cpp
40277 ac_cpp='$CXXCPP $CPPFLAGS'
40278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40283 /* end confdefs.h. */
40284 #include <math.h>
40286 main ()
40288 _frexpf(0, 0);
40290 return 0;
40292 _ACEOF
40293 if ac_fn_cxx_try_compile "$LINENO"; then :
40294 glibcxx_cv_func__frexpf_use=yes
40295 else
40296 glibcxx_cv_func__frexpf_use=no
40298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40299 ac_ext=c
40300 ac_cpp='$CPP $CPPFLAGS'
40301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40310 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40312 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40313 for ac_func in _frexpf
40314 do :
40315 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40316 if test "x$ac_cv_func__frexpf" = x""yes; then :
40317 cat >>confdefs.h <<_ACEOF
40318 #define HAVE__FREXPF 1
40319 _ACEOF
40322 done
40331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40332 $as_echo_n "checking for hypotf declaration... " >&6; }
40333 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40334 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40335 $as_echo_n "(cached) " >&6
40336 else
40339 ac_ext=cpp
40340 ac_cpp='$CXXCPP $CPPFLAGS'
40341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40346 /* end confdefs.h. */
40347 #include <math.h>
40349 main ()
40351 hypotf(0, 0);
40353 return 0;
40355 _ACEOF
40356 if ac_fn_cxx_try_compile "$LINENO"; then :
40357 glibcxx_cv_func_hypotf_use=yes
40358 else
40359 glibcxx_cv_func_hypotf_use=no
40361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40362 ac_ext=c
40363 ac_cpp='$CPP $CPPFLAGS'
40364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40373 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40376 for ac_func in hypotf
40377 do :
40378 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40379 if test "x$ac_cv_func_hypotf" = x""yes; then :
40380 cat >>confdefs.h <<_ACEOF
40381 #define HAVE_HYPOTF 1
40382 _ACEOF
40385 done
40387 else
40389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40390 $as_echo_n "checking for _hypotf declaration... " >&6; }
40391 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40392 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40393 $as_echo_n "(cached) " >&6
40394 else
40397 ac_ext=cpp
40398 ac_cpp='$CXXCPP $CPPFLAGS'
40399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40404 /* end confdefs.h. */
40405 #include <math.h>
40407 main ()
40409 _hypotf(0, 0);
40411 return 0;
40413 _ACEOF
40414 if ac_fn_cxx_try_compile "$LINENO"; then :
40415 glibcxx_cv_func__hypotf_use=yes
40416 else
40417 glibcxx_cv_func__hypotf_use=no
40419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40420 ac_ext=c
40421 ac_cpp='$CPP $CPPFLAGS'
40422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40431 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40434 for ac_func in _hypotf
40435 do :
40436 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40437 if test "x$ac_cv_func__hypotf" = x""yes; then :
40438 cat >>confdefs.h <<_ACEOF
40439 #define HAVE__HYPOTF 1
40440 _ACEOF
40443 done
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40453 $as_echo_n "checking for ldexpf declaration... " >&6; }
40454 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40455 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40456 $as_echo_n "(cached) " >&6
40457 else
40460 ac_ext=cpp
40461 ac_cpp='$CXXCPP $CPPFLAGS'
40462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40467 /* end confdefs.h. */
40468 #include <math.h>
40470 main ()
40472 ldexpf(0, 0);
40474 return 0;
40476 _ACEOF
40477 if ac_fn_cxx_try_compile "$LINENO"; then :
40478 glibcxx_cv_func_ldexpf_use=yes
40479 else
40480 glibcxx_cv_func_ldexpf_use=no
40482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40483 ac_ext=c
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40494 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40496 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40497 for ac_func in ldexpf
40498 do :
40499 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40500 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40501 cat >>confdefs.h <<_ACEOF
40502 #define HAVE_LDEXPF 1
40503 _ACEOF
40506 done
40508 else
40510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40511 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40512 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40513 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40514 $as_echo_n "(cached) " >&6
40515 else
40518 ac_ext=cpp
40519 ac_cpp='$CXXCPP $CPPFLAGS'
40520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40525 /* end confdefs.h. */
40526 #include <math.h>
40528 main ()
40530 _ldexpf(0, 0);
40532 return 0;
40534 _ACEOF
40535 if ac_fn_cxx_try_compile "$LINENO"; then :
40536 glibcxx_cv_func__ldexpf_use=yes
40537 else
40538 glibcxx_cv_func__ldexpf_use=no
40540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40541 ac_ext=c
40542 ac_cpp='$CPP $CPPFLAGS'
40543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40552 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40554 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40555 for ac_func in _ldexpf
40556 do :
40557 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40558 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40559 cat >>confdefs.h <<_ACEOF
40560 #define HAVE__LDEXPF 1
40561 _ACEOF
40564 done
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40574 $as_echo_n "checking for logf declaration... " >&6; }
40575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40576 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40577 $as_echo_n "(cached) " >&6
40578 else
40581 ac_ext=cpp
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588 /* end confdefs.h. */
40589 #include <math.h>
40590 #ifdef HAVE_IEEEFP_H
40591 #include <ieeefp.h>
40592 #endif
40595 main ()
40597 logf(0);
40599 return 0;
40601 _ACEOF
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603 glibcxx_cv_func_logf_use=yes
40604 else
40605 glibcxx_cv_func_logf_use=no
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40608 ac_ext=c
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40619 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40621 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40622 for ac_func in logf
40623 do :
40624 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40625 if test "x$ac_cv_func_logf" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE_LOGF 1
40628 _ACEOF
40631 done
40633 else
40635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40636 $as_echo_n "checking for _logf declaration... " >&6; }
40637 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40638 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40639 $as_echo_n "(cached) " >&6
40640 else
40643 ac_ext=cpp
40644 ac_cpp='$CXXCPP $CPPFLAGS'
40645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40650 /* end confdefs.h. */
40651 #include <math.h>
40652 #ifdef HAVE_IEEEFP_H
40653 #include <ieeefp.h>
40654 #endif
40657 main ()
40659 _logf(0);
40661 return 0;
40663 _ACEOF
40664 if ac_fn_cxx_try_compile "$LINENO"; then :
40665 glibcxx_cv_func__logf_use=yes
40666 else
40667 glibcxx_cv_func__logf_use=no
40669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40670 ac_ext=c
40671 ac_cpp='$CPP $CPPFLAGS'
40672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40681 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40683 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40684 for ac_func in _logf
40685 do :
40686 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40687 if test "x$ac_cv_func__logf" = x""yes; then :
40688 cat >>confdefs.h <<_ACEOF
40689 #define HAVE__LOGF 1
40690 _ACEOF
40693 done
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40703 $as_echo_n "checking for log10f declaration... " >&6; }
40704 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40705 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40707 else
40710 ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40718 #include <math.h>
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40721 #endif
40724 main ()
40726 log10f(0);
40728 return 0;
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func_log10f_use=yes
40733 else
40734 glibcxx_cv_func_log10f_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737 ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40748 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40750 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40751 for ac_func in log10f
40752 do :
40753 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40754 if test "x$ac_cv_func_log10f" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE_LOG10F 1
40757 _ACEOF
40760 done
40762 else
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40765 $as_echo_n "checking for _log10f declaration... " >&6; }
40766 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40767 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <math.h>
40781 #ifdef HAVE_IEEEFP_H
40782 #include <ieeefp.h>
40783 #endif
40786 main ()
40788 _log10f(0);
40790 return 0;
40792 _ACEOF
40793 if ac_fn_cxx_try_compile "$LINENO"; then :
40794 glibcxx_cv_func__log10f_use=yes
40795 else
40796 glibcxx_cv_func__log10f_use=no
40798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40799 ac_ext=c
40800 ac_cpp='$CPP $CPPFLAGS'
40801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40810 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40812 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40813 for ac_func in _log10f
40814 do :
40815 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40816 if test "x$ac_cv_func__log10f" = x""yes; then :
40817 cat >>confdefs.h <<_ACEOF
40818 #define HAVE__LOG10F 1
40819 _ACEOF
40822 done
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40832 $as_echo_n "checking for modff declaration... " >&6; }
40833 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40834 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40836 else
40839 ac_ext=cpp
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40847 #include <math.h>
40849 main ()
40851 modff(0, 0);
40853 return 0;
40855 _ACEOF
40856 if ac_fn_cxx_try_compile "$LINENO"; then :
40857 glibcxx_cv_func_modff_use=yes
40858 else
40859 glibcxx_cv_func_modff_use=no
40861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40862 ac_ext=c
40863 ac_cpp='$CPP $CPPFLAGS'
40864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40873 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40875 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40876 for ac_func in modff
40877 do :
40878 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40879 if test "x$ac_cv_func_modff" = x""yes; then :
40880 cat >>confdefs.h <<_ACEOF
40881 #define HAVE_MODFF 1
40882 _ACEOF
40885 done
40887 else
40889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40890 $as_echo_n "checking for _modff declaration... " >&6; }
40891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40892 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40893 $as_echo_n "(cached) " >&6
40894 else
40897 ac_ext=cpp
40898 ac_cpp='$CXXCPP $CPPFLAGS'
40899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40904 /* end confdefs.h. */
40905 #include <math.h>
40907 main ()
40909 _modff(0, 0);
40911 return 0;
40913 _ACEOF
40914 if ac_fn_cxx_try_compile "$LINENO"; then :
40915 glibcxx_cv_func__modff_use=yes
40916 else
40917 glibcxx_cv_func__modff_use=no
40919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40920 ac_ext=c
40921 ac_cpp='$CPP $CPPFLAGS'
40922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40931 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40933 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40934 for ac_func in _modff
40935 do :
40936 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40937 if test "x$ac_cv_func__modff" = x""yes; then :
40938 cat >>confdefs.h <<_ACEOF
40939 #define HAVE__MODFF 1
40940 _ACEOF
40943 done
40952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40953 $as_echo_n "checking for modf declaration... " >&6; }
40954 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40955 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40956 $as_echo_n "(cached) " >&6
40957 else
40960 ac_ext=cpp
40961 ac_cpp='$CXXCPP $CPPFLAGS'
40962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40967 /* end confdefs.h. */
40968 #include <math.h>
40970 main ()
40972 modf(0, 0);
40974 return 0;
40976 _ACEOF
40977 if ac_fn_cxx_try_compile "$LINENO"; then :
40978 glibcxx_cv_func_modf_use=yes
40979 else
40980 glibcxx_cv_func_modf_use=no
40982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40983 ac_ext=c
40984 ac_cpp='$CPP $CPPFLAGS'
40985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40994 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40996 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40997 for ac_func in modf
40998 do :
40999 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41000 if test "x$ac_cv_func_modf" = x""yes; then :
41001 cat >>confdefs.h <<_ACEOF
41002 #define HAVE_MODF 1
41003 _ACEOF
41006 done
41008 else
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41011 $as_echo_n "checking for _modf declaration... " >&6; }
41012 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41013 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41014 $as_echo_n "(cached) " >&6
41015 else
41018 ac_ext=cpp
41019 ac_cpp='$CXXCPP $CPPFLAGS'
41020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41025 /* end confdefs.h. */
41026 #include <math.h>
41028 main ()
41030 _modf(0, 0);
41032 return 0;
41034 _ACEOF
41035 if ac_fn_cxx_try_compile "$LINENO"; then :
41036 glibcxx_cv_func__modf_use=yes
41037 else
41038 glibcxx_cv_func__modf_use=no
41040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41041 ac_ext=c
41042 ac_cpp='$CPP $CPPFLAGS'
41043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41052 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41054 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41055 for ac_func in _modf
41056 do :
41057 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41058 if test "x$ac_cv_func__modf" = x""yes; then :
41059 cat >>confdefs.h <<_ACEOF
41060 #define HAVE__MODF 1
41061 _ACEOF
41064 done
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41074 $as_echo_n "checking for powf declaration... " >&6; }
41075 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41076 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41077 $as_echo_n "(cached) " >&6
41078 else
41081 ac_ext=cpp
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41088 /* end confdefs.h. */
41089 #include <math.h>
41091 main ()
41093 powf(0, 0);
41095 return 0;
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_powf_use=yes
41100 else
41101 glibcxx_cv_func_powf_use=no
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41115 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41117 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41118 for ac_func in powf
41119 do :
41120 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41121 if test "x$ac_cv_func_powf" = x""yes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define HAVE_POWF 1
41124 _ACEOF
41127 done
41129 else
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41132 $as_echo_n "checking for _powf declaration... " >&6; }
41133 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41134 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41135 $as_echo_n "(cached) " >&6
41136 else
41139 ac_ext=cpp
41140 ac_cpp='$CXXCPP $CPPFLAGS'
41141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41146 /* end confdefs.h. */
41147 #include <math.h>
41149 main ()
41151 _powf(0, 0);
41153 return 0;
41155 _ACEOF
41156 if ac_fn_cxx_try_compile "$LINENO"; then :
41157 glibcxx_cv_func__powf_use=yes
41158 else
41159 glibcxx_cv_func__powf_use=no
41161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41162 ac_ext=c
41163 ac_cpp='$CPP $CPPFLAGS'
41164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41173 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41175 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41176 for ac_func in _powf
41177 do :
41178 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41179 if test "x$ac_cv_func__powf" = x""yes; then :
41180 cat >>confdefs.h <<_ACEOF
41181 #define HAVE__POWF 1
41182 _ACEOF
41185 done
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41195 $as_echo_n "checking for sqrtf declaration... " >&6; }
41196 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41197 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41198 $as_echo_n "(cached) " >&6
41199 else
41202 ac_ext=cpp
41203 ac_cpp='$CXXCPP $CPPFLAGS'
41204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41209 /* end confdefs.h. */
41210 #include <math.h>
41211 #ifdef HAVE_IEEEFP_H
41212 #include <ieeefp.h>
41213 #endif
41216 main ()
41218 sqrtf(0);
41220 return 0;
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func_sqrtf_use=yes
41225 else
41226 glibcxx_cv_func_sqrtf_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229 ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41240 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41242 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41243 for ac_func in sqrtf
41244 do :
41245 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41246 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE_SQRTF 1
41249 _ACEOF
41252 done
41254 else
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41257 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41258 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41259 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41260 $as_echo_n "(cached) " >&6
41261 else
41264 ac_ext=cpp
41265 ac_cpp='$CXXCPP $CPPFLAGS'
41266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41272 #include <math.h>
41273 #ifdef HAVE_IEEEFP_H
41274 #include <ieeefp.h>
41275 #endif
41278 main ()
41280 _sqrtf(0);
41282 return 0;
41284 _ACEOF
41285 if ac_fn_cxx_try_compile "$LINENO"; then :
41286 glibcxx_cv_func__sqrtf_use=yes
41287 else
41288 glibcxx_cv_func__sqrtf_use=no
41290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41291 ac_ext=c
41292 ac_cpp='$CPP $CPPFLAGS'
41293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41302 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41305 for ac_func in _sqrtf
41306 do :
41307 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41308 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41309 cat >>confdefs.h <<_ACEOF
41310 #define HAVE__SQRTF 1
41311 _ACEOF
41314 done
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41324 $as_echo_n "checking for sincosf declaration... " >&6; }
41325 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41326 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41327 $as_echo_n "(cached) " >&6
41328 else
41331 ac_ext=cpp
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41339 #include <math.h>
41341 main ()
41343 sincosf(0, 0, 0);
41345 return 0;
41347 _ACEOF
41348 if ac_fn_cxx_try_compile "$LINENO"; then :
41349 glibcxx_cv_func_sincosf_use=yes
41350 else
41351 glibcxx_cv_func_sincosf_use=no
41353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41354 ac_ext=c
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41365 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41367 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41368 for ac_func in sincosf
41369 do :
41370 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41371 if test "x$ac_cv_func_sincosf" = x""yes; then :
41372 cat >>confdefs.h <<_ACEOF
41373 #define HAVE_SINCOSF 1
41374 _ACEOF
41377 done
41379 else
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41382 $as_echo_n "checking for _sincosf declaration... " >&6; }
41383 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41384 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41385 $as_echo_n "(cached) " >&6
41386 else
41389 ac_ext=cpp
41390 ac_cpp='$CXXCPP $CPPFLAGS'
41391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41396 /* end confdefs.h. */
41397 #include <math.h>
41399 main ()
41401 _sincosf(0, 0, 0);
41403 return 0;
41405 _ACEOF
41406 if ac_fn_cxx_try_compile "$LINENO"; then :
41407 glibcxx_cv_func__sincosf_use=yes
41408 else
41409 glibcxx_cv_func__sincosf_use=no
41411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41412 ac_ext=c
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41423 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41425 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41426 for ac_func in _sincosf
41427 do :
41428 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41429 if test "x$ac_cv_func__sincosf" = x""yes; then :
41430 cat >>confdefs.h <<_ACEOF
41431 #define HAVE__SINCOSF 1
41432 _ACEOF
41435 done
41444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41445 $as_echo_n "checking for finitef declaration... " >&6; }
41446 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41447 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41448 $as_echo_n "(cached) " >&6
41449 else
41452 ac_ext=cpp
41453 ac_cpp='$CXXCPP $CPPFLAGS'
41454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41459 /* end confdefs.h. */
41460 #include <math.h>
41461 #ifdef HAVE_IEEEFP_H
41462 #include <ieeefp.h>
41463 #endif
41466 main ()
41468 finitef(0);
41470 return 0;
41472 _ACEOF
41473 if ac_fn_cxx_try_compile "$LINENO"; then :
41474 glibcxx_cv_func_finitef_use=yes
41475 else
41476 glibcxx_cv_func_finitef_use=no
41478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41479 ac_ext=c
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41490 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41492 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41493 for ac_func in finitef
41494 do :
41495 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41496 if test "x$ac_cv_func_finitef" = x""yes; then :
41497 cat >>confdefs.h <<_ACEOF
41498 #define HAVE_FINITEF 1
41499 _ACEOF
41502 done
41504 else
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41507 $as_echo_n "checking for _finitef declaration... " >&6; }
41508 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41509 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41510 $as_echo_n "(cached) " >&6
41511 else
41514 ac_ext=cpp
41515 ac_cpp='$CXXCPP $CPPFLAGS'
41516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41521 /* end confdefs.h. */
41522 #include <math.h>
41523 #ifdef HAVE_IEEEFP_H
41524 #include <ieeefp.h>
41525 #endif
41528 main ()
41530 _finitef(0);
41532 return 0;
41534 _ACEOF
41535 if ac_fn_cxx_try_compile "$LINENO"; then :
41536 glibcxx_cv_func__finitef_use=yes
41537 else
41538 glibcxx_cv_func__finitef_use=no
41540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41541 ac_ext=c
41542 ac_cpp='$CPP $CPPFLAGS'
41543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41552 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41554 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41555 for ac_func in _finitef
41556 do :
41557 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41558 if test "x$ac_cv_func__finitef" = x""yes; then :
41559 cat >>confdefs.h <<_ACEOF
41560 #define HAVE__FINITEF 1
41561 _ACEOF
41564 done
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41574 $as_echo_n "checking for long double trig functions... " >&6; }
41575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41576 $as_echo_n "(cached) " >&6
41577 else
41580 ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h. */
41588 #include <math.h>
41590 main ()
41592 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41594 return 0;
41596 _ACEOF
41597 if ac_fn_cxx_try_compile "$LINENO"; then :
41598 glibcxx_cv_func_long_double_trig_use=yes
41599 else
41600 glibcxx_cv_func_long_double_trig_use=no
41602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41603 ac_ext=c
41604 ac_cpp='$CPP $CPPFLAGS'
41605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41612 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41613 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41614 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41615 do :
41616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41618 eval as_val=\$$as_ac_var
41619 if test "x$as_val" = x""yes; then :
41620 cat >>confdefs.h <<_ACEOF
41621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41622 _ACEOF
41625 done
41627 else
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41629 $as_echo_n "checking for _long double trig functions... " >&6; }
41630 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41631 $as_echo_n "(cached) " >&6
41632 else
41635 ac_ext=cpp
41636 ac_cpp='$CXXCPP $CPPFLAGS'
41637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41642 /* end confdefs.h. */
41643 #include <math.h>
41645 main ()
41647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41649 return 0;
41651 _ACEOF
41652 if ac_fn_cxx_try_compile "$LINENO"; then :
41653 glibcxx_cv_func__long_double_trig_use=yes
41654 else
41655 glibcxx_cv_func__long_double_trig_use=no
41657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41658 ac_ext=c
41659 ac_cpp='$CPP $CPPFLAGS'
41660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41670 do :
41671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41673 eval as_val=\$$as_ac_var
41674 if test "x$as_val" = x""yes; then :
41675 cat >>confdefs.h <<_ACEOF
41676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41677 _ACEOF
41680 done
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41690 $as_echo_n "checking for long double round functions... " >&6; }
41691 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41706 main ()
41708 ceill (0); floorl (0);
41710 return 0;
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func_long_double_round_use=yes
41715 else
41716 glibcxx_cv_func_long_double_round_use=no
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41728 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41729 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41730 for ac_func in ceill floorl
41731 do :
41732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41734 eval as_val=\$$as_ac_var
41735 if test "x$as_val" = x""yes; then :
41736 cat >>confdefs.h <<_ACEOF
41737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41738 _ACEOF
41741 done
41743 else
41744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41745 $as_echo_n "checking for _long double round functions... " >&6; }
41746 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41747 $as_echo_n "(cached) " >&6
41748 else
41751 ac_ext=cpp
41752 ac_cpp='$CXXCPP $CPPFLAGS'
41753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41758 /* end confdefs.h. */
41759 #include <math.h>
41761 main ()
41763 _ceill (0); _floorl (0);
41765 return 0;
41767 _ACEOF
41768 if ac_fn_cxx_try_compile "$LINENO"; then :
41769 glibcxx_cv_func__long_double_round_use=yes
41770 else
41771 glibcxx_cv_func__long_double_round_use=no
41773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41774 ac_ext=c
41775 ac_cpp='$CPP $CPPFLAGS'
41776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41783 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41785 for ac_func in _ceill _floorl
41786 do :
41787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41789 eval as_val=\$$as_ac_var
41790 if test "x$as_val" = x""yes; then :
41791 cat >>confdefs.h <<_ACEOF
41792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41793 _ACEOF
41796 done
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41807 $as_echo_n "checking for isnanl declaration... " >&6; }
41808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41809 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41810 $as_echo_n "(cached) " >&6
41811 else
41814 ac_ext=cpp
41815 ac_cpp='$CXXCPP $CPPFLAGS'
41816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41821 /* end confdefs.h. */
41822 #include <math.h>
41823 #ifdef HAVE_IEEEFP_H
41824 #include <ieeefp.h>
41825 #endif
41828 main ()
41830 isnanl(0);
41832 return 0;
41834 _ACEOF
41835 if ac_fn_cxx_try_compile "$LINENO"; then :
41836 glibcxx_cv_func_isnanl_use=yes
41837 else
41838 glibcxx_cv_func_isnanl_use=no
41840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41841 ac_ext=c
41842 ac_cpp='$CPP $CPPFLAGS'
41843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41855 for ac_func in isnanl
41856 do :
41857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41858 if test "x$ac_cv_func_isnanl" = x""yes; then :
41859 cat >>confdefs.h <<_ACEOF
41860 #define HAVE_ISNANL 1
41861 _ACEOF
41864 done
41866 else
41868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41869 $as_echo_n "checking for _isnanl declaration... " >&6; }
41870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41871 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41872 $as_echo_n "(cached) " >&6
41873 else
41876 ac_ext=cpp
41877 ac_cpp='$CXXCPP $CPPFLAGS'
41878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41883 /* end confdefs.h. */
41884 #include <math.h>
41885 #ifdef HAVE_IEEEFP_H
41886 #include <ieeefp.h>
41887 #endif
41890 main ()
41892 _isnanl(0);
41894 return 0;
41896 _ACEOF
41897 if ac_fn_cxx_try_compile "$LINENO"; then :
41898 glibcxx_cv_func__isnanl_use=yes
41899 else
41900 glibcxx_cv_func__isnanl_use=no
41902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41903 ac_ext=c
41904 ac_cpp='$CPP $CPPFLAGS'
41905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41917 for ac_func in _isnanl
41918 do :
41919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41920 if test "x$ac_cv_func__isnanl" = x""yes; then :
41921 cat >>confdefs.h <<_ACEOF
41922 #define HAVE__ISNANL 1
41923 _ACEOF
41926 done
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41936 $as_echo_n "checking for isinfl declaration... " >&6; }
41937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41938 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41939 $as_echo_n "(cached) " >&6
41940 else
41943 ac_ext=cpp
41944 ac_cpp='$CXXCPP $CPPFLAGS'
41945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41950 /* end confdefs.h. */
41951 #include <math.h>
41952 #ifdef HAVE_IEEEFP_H
41953 #include <ieeefp.h>
41954 #endif
41957 main ()
41959 isinfl(0);
41961 return 0;
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func_isinfl_use=yes
41966 else
41967 glibcxx_cv_func_isinfl_use=no
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41984 for ac_func in isinfl
41985 do :
41986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41987 if test "x$ac_cv_func_isinfl" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE_ISINFL 1
41990 _ACEOF
41993 done
41995 else
41997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41998 $as_echo_n "checking for _isinfl declaration... " >&6; }
41999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42001 $as_echo_n "(cached) " >&6
42002 else
42005 ac_ext=cpp
42006 ac_cpp='$CXXCPP $CPPFLAGS'
42007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42012 /* end confdefs.h. */
42013 #include <math.h>
42014 #ifdef HAVE_IEEEFP_H
42015 #include <ieeefp.h>
42016 #endif
42019 main ()
42021 _isinfl(0);
42023 return 0;
42025 _ACEOF
42026 if ac_fn_cxx_try_compile "$LINENO"; then :
42027 glibcxx_cv_func__isinfl_use=yes
42028 else
42029 glibcxx_cv_func__isinfl_use=no
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42032 ac_ext=c
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42046 for ac_func in _isinfl
42047 do :
42048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42049 if test "x$ac_cv_func__isinfl" = x""yes; then :
42050 cat >>confdefs.h <<_ACEOF
42051 #define HAVE__ISINFL 1
42052 _ACEOF
42055 done
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42065 $as_echo_n "checking for atan2l declaration... " >&6; }
42066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42067 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42068 $as_echo_n "(cached) " >&6
42069 else
42072 ac_ext=cpp
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42080 #include <math.h>
42082 main ()
42084 atan2l(0, 0);
42086 return 0;
42088 _ACEOF
42089 if ac_fn_cxx_try_compile "$LINENO"; then :
42090 glibcxx_cv_func_atan2l_use=yes
42091 else
42092 glibcxx_cv_func_atan2l_use=no
42094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42095 ac_ext=c
42096 ac_cpp='$CPP $CPPFLAGS'
42097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42109 for ac_func in atan2l
42110 do :
42111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42112 if test "x$ac_cv_func_atan2l" = x""yes; then :
42113 cat >>confdefs.h <<_ACEOF
42114 #define HAVE_ATAN2L 1
42115 _ACEOF
42118 done
42120 else
42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42123 $as_echo_n "checking for _atan2l declaration... " >&6; }
42124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42125 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42126 $as_echo_n "(cached) " >&6
42127 else
42130 ac_ext=cpp
42131 ac_cpp='$CXXCPP $CPPFLAGS'
42132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137 /* end confdefs.h. */
42138 #include <math.h>
42140 main ()
42142 _atan2l(0, 0);
42144 return 0;
42146 _ACEOF
42147 if ac_fn_cxx_try_compile "$LINENO"; then :
42148 glibcxx_cv_func__atan2l_use=yes
42149 else
42150 glibcxx_cv_func__atan2l_use=no
42152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42153 ac_ext=c
42154 ac_cpp='$CPP $CPPFLAGS'
42155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42167 for ac_func in _atan2l
42168 do :
42169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42170 if test "x$ac_cv_func__atan2l" = x""yes; then :
42171 cat >>confdefs.h <<_ACEOF
42172 #define HAVE__ATAN2L 1
42173 _ACEOF
42176 done
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42186 $as_echo_n "checking for expl declaration... " >&6; }
42187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42188 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42189 $as_echo_n "(cached) " >&6
42190 else
42193 ac_ext=cpp
42194 ac_cpp='$CXXCPP $CPPFLAGS'
42195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42200 /* end confdefs.h. */
42201 #include <math.h>
42202 #ifdef HAVE_IEEEFP_H
42203 #include <ieeefp.h>
42204 #endif
42207 main ()
42209 expl(0);
42211 return 0;
42213 _ACEOF
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215 glibcxx_cv_func_expl_use=yes
42216 else
42217 glibcxx_cv_func_expl_use=no
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42220 ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42234 for ac_func in expl
42235 do :
42236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42237 if test "x$ac_cv_func_expl" = x""yes; then :
42238 cat >>confdefs.h <<_ACEOF
42239 #define HAVE_EXPL 1
42240 _ACEOF
42243 done
42245 else
42247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42248 $as_echo_n "checking for _expl declaration... " >&6; }
42249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42250 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42251 $as_echo_n "(cached) " >&6
42252 else
42255 ac_ext=cpp
42256 ac_cpp='$CXXCPP $CPPFLAGS'
42257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42262 /* end confdefs.h. */
42263 #include <math.h>
42264 #ifdef HAVE_IEEEFP_H
42265 #include <ieeefp.h>
42266 #endif
42269 main ()
42271 _expl(0);
42273 return 0;
42275 _ACEOF
42276 if ac_fn_cxx_try_compile "$LINENO"; then :
42277 glibcxx_cv_func__expl_use=yes
42278 else
42279 glibcxx_cv_func__expl_use=no
42281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42282 ac_ext=c
42283 ac_cpp='$CPP $CPPFLAGS'
42284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42296 for ac_func in _expl
42297 do :
42298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42299 if test "x$ac_cv_func__expl" = x""yes; then :
42300 cat >>confdefs.h <<_ACEOF
42301 #define HAVE__EXPL 1
42302 _ACEOF
42305 done
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42315 $as_echo_n "checking for fabsl declaration... " >&6; }
42316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42319 else
42322 ac_ext=cpp
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42330 #include <math.h>
42331 #ifdef HAVE_IEEEFP_H
42332 #include <ieeefp.h>
42333 #endif
42336 main ()
42338 fabsl(0);
42340 return 0;
42342 _ACEOF
42343 if ac_fn_cxx_try_compile "$LINENO"; then :
42344 glibcxx_cv_func_fabsl_use=yes
42345 else
42346 glibcxx_cv_func_fabsl_use=no
42348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42349 ac_ext=c
42350 ac_cpp='$CPP $CPPFLAGS'
42351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42363 for ac_func in fabsl
42364 do :
42365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42366 if test "x$ac_cv_func_fabsl" = x""yes; then :
42367 cat >>confdefs.h <<_ACEOF
42368 #define HAVE_FABSL 1
42369 _ACEOF
42372 done
42374 else
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42377 $as_echo_n "checking for _fabsl declaration... " >&6; }
42378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42379 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42380 $as_echo_n "(cached) " >&6
42381 else
42384 ac_ext=cpp
42385 ac_cpp='$CXXCPP $CPPFLAGS'
42386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42391 /* end confdefs.h. */
42392 #include <math.h>
42393 #ifdef HAVE_IEEEFP_H
42394 #include <ieeefp.h>
42395 #endif
42398 main ()
42400 _fabsl(0);
42402 return 0;
42404 _ACEOF
42405 if ac_fn_cxx_try_compile "$LINENO"; then :
42406 glibcxx_cv_func__fabsl_use=yes
42407 else
42408 glibcxx_cv_func__fabsl_use=no
42410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42411 ac_ext=c
42412 ac_cpp='$CPP $CPPFLAGS'
42413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42425 for ac_func in _fabsl
42426 do :
42427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42428 if test "x$ac_cv_func__fabsl" = x""yes; then :
42429 cat >>confdefs.h <<_ACEOF
42430 #define HAVE__FABSL 1
42431 _ACEOF
42434 done
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42444 $as_echo_n "checking for fmodl declaration... " >&6; }
42445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42446 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42447 $as_echo_n "(cached) " >&6
42448 else
42451 ac_ext=cpp
42452 ac_cpp='$CXXCPP $CPPFLAGS'
42453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42458 /* end confdefs.h. */
42459 #include <math.h>
42461 main ()
42463 fmodl(0, 0);
42465 return 0;
42467 _ACEOF
42468 if ac_fn_cxx_try_compile "$LINENO"; then :
42469 glibcxx_cv_func_fmodl_use=yes
42470 else
42471 glibcxx_cv_func_fmodl_use=no
42473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42474 ac_ext=c
42475 ac_cpp='$CPP $CPPFLAGS'
42476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42488 for ac_func in fmodl
42489 do :
42490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42491 if test "x$ac_cv_func_fmodl" = x""yes; then :
42492 cat >>confdefs.h <<_ACEOF
42493 #define HAVE_FMODL 1
42494 _ACEOF
42497 done
42499 else
42501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42502 $as_echo_n "checking for _fmodl declaration... " >&6; }
42503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42505 $as_echo_n "(cached) " >&6
42506 else
42509 ac_ext=cpp
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42516 /* end confdefs.h. */
42517 #include <math.h>
42519 main ()
42521 _fmodl(0, 0);
42523 return 0;
42525 _ACEOF
42526 if ac_fn_cxx_try_compile "$LINENO"; then :
42527 glibcxx_cv_func__fmodl_use=yes
42528 else
42529 glibcxx_cv_func__fmodl_use=no
42531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42532 ac_ext=c
42533 ac_cpp='$CPP $CPPFLAGS'
42534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42546 for ac_func in _fmodl
42547 do :
42548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42549 if test "x$ac_cv_func__fmodl" = x""yes; then :
42550 cat >>confdefs.h <<_ACEOF
42551 #define HAVE__FMODL 1
42552 _ACEOF
42555 done
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42565 $as_echo_n "checking for frexpl declaration... " >&6; }
42566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42569 else
42572 ac_ext=cpp
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42580 #include <math.h>
42582 main ()
42584 frexpl(0, 0);
42586 return 0;
42588 _ACEOF
42589 if ac_fn_cxx_try_compile "$LINENO"; then :
42590 glibcxx_cv_func_frexpl_use=yes
42591 else
42592 glibcxx_cv_func_frexpl_use=no
42594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42595 ac_ext=c
42596 ac_cpp='$CPP $CPPFLAGS'
42597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42609 for ac_func in frexpl
42610 do :
42611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42612 if test "x$ac_cv_func_frexpl" = x""yes; then :
42613 cat >>confdefs.h <<_ACEOF
42614 #define HAVE_FREXPL 1
42615 _ACEOF
42618 done
42620 else
42622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42623 $as_echo_n "checking for _frexpl declaration... " >&6; }
42624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42625 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42626 $as_echo_n "(cached) " >&6
42627 else
42630 ac_ext=cpp
42631 ac_cpp='$CXXCPP $CPPFLAGS'
42632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42637 /* end confdefs.h. */
42638 #include <math.h>
42640 main ()
42642 _frexpl(0, 0);
42644 return 0;
42646 _ACEOF
42647 if ac_fn_cxx_try_compile "$LINENO"; then :
42648 glibcxx_cv_func__frexpl_use=yes
42649 else
42650 glibcxx_cv_func__frexpl_use=no
42652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42653 ac_ext=c
42654 ac_cpp='$CPP $CPPFLAGS'
42655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42667 for ac_func in _frexpl
42668 do :
42669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42670 if test "x$ac_cv_func__frexpl" = x""yes; then :
42671 cat >>confdefs.h <<_ACEOF
42672 #define HAVE__FREXPL 1
42673 _ACEOF
42676 done
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42686 $as_echo_n "checking for hypotl declaration... " >&6; }
42687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42688 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42689 $as_echo_n "(cached) " >&6
42690 else
42693 ac_ext=cpp
42694 ac_cpp='$CXXCPP $CPPFLAGS'
42695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42700 /* end confdefs.h. */
42701 #include <math.h>
42703 main ()
42705 hypotl(0, 0);
42707 return 0;
42709 _ACEOF
42710 if ac_fn_cxx_try_compile "$LINENO"; then :
42711 glibcxx_cv_func_hypotl_use=yes
42712 else
42713 glibcxx_cv_func_hypotl_use=no
42715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42716 ac_ext=c
42717 ac_cpp='$CPP $CPPFLAGS'
42718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42730 for ac_func in hypotl
42731 do :
42732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42733 if test "x$ac_cv_func_hypotl" = x""yes; then :
42734 cat >>confdefs.h <<_ACEOF
42735 #define HAVE_HYPOTL 1
42736 _ACEOF
42739 done
42741 else
42743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42744 $as_echo_n "checking for _hypotl declaration... " >&6; }
42745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42747 $as_echo_n "(cached) " >&6
42748 else
42751 ac_ext=cpp
42752 ac_cpp='$CXXCPP $CPPFLAGS'
42753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42758 /* end confdefs.h. */
42759 #include <math.h>
42761 main ()
42763 _hypotl(0, 0);
42765 return 0;
42767 _ACEOF
42768 if ac_fn_cxx_try_compile "$LINENO"; then :
42769 glibcxx_cv_func__hypotl_use=yes
42770 else
42771 glibcxx_cv_func__hypotl_use=no
42773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42774 ac_ext=c
42775 ac_cpp='$CPP $CPPFLAGS'
42776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42788 for ac_func in _hypotl
42789 do :
42790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42791 if test "x$ac_cv_func__hypotl" = x""yes; then :
42792 cat >>confdefs.h <<_ACEOF
42793 #define HAVE__HYPOTL 1
42794 _ACEOF
42797 done
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42807 $as_echo_n "checking for ldexpl declaration... " >&6; }
42808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42809 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42810 $as_echo_n "(cached) " >&6
42811 else
42814 ac_ext=cpp
42815 ac_cpp='$CXXCPP $CPPFLAGS'
42816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42821 /* end confdefs.h. */
42822 #include <math.h>
42824 main ()
42826 ldexpl(0, 0);
42828 return 0;
42830 _ACEOF
42831 if ac_fn_cxx_try_compile "$LINENO"; then :
42832 glibcxx_cv_func_ldexpl_use=yes
42833 else
42834 glibcxx_cv_func_ldexpl_use=no
42836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42837 ac_ext=c
42838 ac_cpp='$CPP $CPPFLAGS'
42839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42851 for ac_func in ldexpl
42852 do :
42853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42854 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42855 cat >>confdefs.h <<_ACEOF
42856 #define HAVE_LDEXPL 1
42857 _ACEOF
42860 done
42862 else
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42867 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42868 $as_echo_n "(cached) " >&6
42869 else
42872 ac_ext=cpp
42873 ac_cpp='$CXXCPP $CPPFLAGS'
42874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879 /* end confdefs.h. */
42880 #include <math.h>
42882 main ()
42884 _ldexpl(0, 0);
42886 return 0;
42888 _ACEOF
42889 if ac_fn_cxx_try_compile "$LINENO"; then :
42890 glibcxx_cv_func__ldexpl_use=yes
42891 else
42892 glibcxx_cv_func__ldexpl_use=no
42894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42895 ac_ext=c
42896 ac_cpp='$CPP $CPPFLAGS'
42897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42909 for ac_func in _ldexpl
42910 do :
42911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42912 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42913 cat >>confdefs.h <<_ACEOF
42914 #define HAVE__LDEXPL 1
42915 _ACEOF
42918 done
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42928 $as_echo_n "checking for logl declaration... " >&6; }
42929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42930 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42931 $as_echo_n "(cached) " >&6
42932 else
42935 ac_ext=cpp
42936 ac_cpp='$CXXCPP $CPPFLAGS'
42937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42942 /* end confdefs.h. */
42943 #include <math.h>
42944 #ifdef HAVE_IEEEFP_H
42945 #include <ieeefp.h>
42946 #endif
42949 main ()
42951 logl(0);
42953 return 0;
42955 _ACEOF
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957 glibcxx_cv_func_logl_use=yes
42958 else
42959 glibcxx_cv_func_logl_use=no
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962 ac_ext=c
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42976 for ac_func in logl
42977 do :
42978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42979 if test "x$ac_cv_func_logl" = x""yes; then :
42980 cat >>confdefs.h <<_ACEOF
42981 #define HAVE_LOGL 1
42982 _ACEOF
42985 done
42987 else
42989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42990 $as_echo_n "checking for _logl declaration... " >&6; }
42991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42992 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42993 $as_echo_n "(cached) " >&6
42994 else
42997 ac_ext=cpp
42998 ac_cpp='$CXXCPP $CPPFLAGS'
42999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43004 /* end confdefs.h. */
43005 #include <math.h>
43006 #ifdef HAVE_IEEEFP_H
43007 #include <ieeefp.h>
43008 #endif
43011 main ()
43013 _logl(0);
43015 return 0;
43017 _ACEOF
43018 if ac_fn_cxx_try_compile "$LINENO"; then :
43019 glibcxx_cv_func__logl_use=yes
43020 else
43021 glibcxx_cv_func__logl_use=no
43023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43024 ac_ext=c
43025 ac_cpp='$CPP $CPPFLAGS'
43026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43038 for ac_func in _logl
43039 do :
43040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43041 if test "x$ac_cv_func__logl" = x""yes; then :
43042 cat >>confdefs.h <<_ACEOF
43043 #define HAVE__LOGL 1
43044 _ACEOF
43047 done
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43057 $as_echo_n "checking for log10l declaration... " >&6; }
43058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43075 #endif
43078 main ()
43080 log10l(0);
43082 return 0;
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func_log10l_use=yes
43087 else
43088 glibcxx_cv_func_log10l_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43105 for ac_func in log10l
43106 do :
43107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43108 if test "x$ac_cv_func_log10l" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE_LOG10L 1
43111 _ACEOF
43114 done
43116 else
43118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43119 $as_echo_n "checking for _log10l declaration... " >&6; }
43120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43121 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43122 $as_echo_n "(cached) " >&6
43123 else
43126 ac_ext=cpp
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133 /* end confdefs.h. */
43134 #include <math.h>
43135 #ifdef HAVE_IEEEFP_H
43136 #include <ieeefp.h>
43137 #endif
43140 main ()
43142 _log10l(0);
43144 return 0;
43146 _ACEOF
43147 if ac_fn_cxx_try_compile "$LINENO"; then :
43148 glibcxx_cv_func__log10l_use=yes
43149 else
43150 glibcxx_cv_func__log10l_use=no
43152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_ext=c
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43167 for ac_func in _log10l
43168 do :
43169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43170 if test "x$ac_cv_func__log10l" = x""yes; then :
43171 cat >>confdefs.h <<_ACEOF
43172 #define HAVE__LOG10L 1
43173 _ACEOF
43176 done
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43186 $as_echo_n "checking for modfl declaration... " >&6; }
43187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43188 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43190 else
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43201 #include <math.h>
43203 main ()
43205 modfl(0, 0);
43207 return 0;
43209 _ACEOF
43210 if ac_fn_cxx_try_compile "$LINENO"; then :
43211 glibcxx_cv_func_modfl_use=yes
43212 else
43213 glibcxx_cv_func_modfl_use=no
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43216 ac_ext=c
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43230 for ac_func in modfl
43231 do :
43232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43233 if test "x$ac_cv_func_modfl" = x""yes; then :
43234 cat >>confdefs.h <<_ACEOF
43235 #define HAVE_MODFL 1
43236 _ACEOF
43239 done
43241 else
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43244 $as_echo_n "checking for _modfl declaration... " >&6; }
43245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43246 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43247 $as_echo_n "(cached) " >&6
43248 else
43251 ac_ext=cpp
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43258 /* end confdefs.h. */
43259 #include <math.h>
43261 main ()
43263 _modfl(0, 0);
43265 return 0;
43267 _ACEOF
43268 if ac_fn_cxx_try_compile "$LINENO"; then :
43269 glibcxx_cv_func__modfl_use=yes
43270 else
43271 glibcxx_cv_func__modfl_use=no
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43274 ac_ext=c
43275 ac_cpp='$CPP $CPPFLAGS'
43276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43288 for ac_func in _modfl
43289 do :
43290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43291 if test "x$ac_cv_func__modfl" = x""yes; then :
43292 cat >>confdefs.h <<_ACEOF
43293 #define HAVE__MODFL 1
43294 _ACEOF
43297 done
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43307 $as_echo_n "checking for powl declaration... " >&6; }
43308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43309 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43310 $as_echo_n "(cached) " >&6
43311 else
43314 ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43322 #include <math.h>
43324 main ()
43326 powl(0, 0);
43328 return 0;
43330 _ACEOF
43331 if ac_fn_cxx_try_compile "$LINENO"; then :
43332 glibcxx_cv_func_powl_use=yes
43333 else
43334 glibcxx_cv_func_powl_use=no
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337 ac_ext=c
43338 ac_cpp='$CPP $CPPFLAGS'
43339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43351 for ac_func in powl
43352 do :
43353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43354 if test "x$ac_cv_func_powl" = x""yes; then :
43355 cat >>confdefs.h <<_ACEOF
43356 #define HAVE_POWL 1
43357 _ACEOF
43360 done
43362 else
43364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43365 $as_echo_n "checking for _powl declaration... " >&6; }
43366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43367 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43368 $as_echo_n "(cached) " >&6
43369 else
43372 ac_ext=cpp
43373 ac_cpp='$CXXCPP $CPPFLAGS'
43374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43379 /* end confdefs.h. */
43380 #include <math.h>
43382 main ()
43384 _powl(0, 0);
43386 return 0;
43388 _ACEOF
43389 if ac_fn_cxx_try_compile "$LINENO"; then :
43390 glibcxx_cv_func__powl_use=yes
43391 else
43392 glibcxx_cv_func__powl_use=no
43394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43395 ac_ext=c
43396 ac_cpp='$CPP $CPPFLAGS'
43397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43409 for ac_func in _powl
43410 do :
43411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43412 if test "x$ac_cv_func__powl" = x""yes; then :
43413 cat >>confdefs.h <<_ACEOF
43414 #define HAVE__POWL 1
43415 _ACEOF
43418 done
43427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43428 $as_echo_n "checking for sqrtl declaration... " >&6; }
43429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43430 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43431 $as_echo_n "(cached) " >&6
43432 else
43435 ac_ext=cpp
43436 ac_cpp='$CXXCPP $CPPFLAGS'
43437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43442 /* end confdefs.h. */
43443 #include <math.h>
43444 #ifdef HAVE_IEEEFP_H
43445 #include <ieeefp.h>
43446 #endif
43449 main ()
43451 sqrtl(0);
43453 return 0;
43455 _ACEOF
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457 glibcxx_cv_func_sqrtl_use=yes
43458 else
43459 glibcxx_cv_func_sqrtl_use=no
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462 ac_ext=c
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43476 for ac_func in sqrtl
43477 do :
43478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43479 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43480 cat >>confdefs.h <<_ACEOF
43481 #define HAVE_SQRTL 1
43482 _ACEOF
43485 done
43487 else
43489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43492 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43493 $as_echo_n "(cached) " >&6
43494 else
43497 ac_ext=cpp
43498 ac_cpp='$CXXCPP $CPPFLAGS'
43499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43504 /* end confdefs.h. */
43505 #include <math.h>
43506 #ifdef HAVE_IEEEFP_H
43507 #include <ieeefp.h>
43508 #endif
43511 main ()
43513 _sqrtl(0);
43515 return 0;
43517 _ACEOF
43518 if ac_fn_cxx_try_compile "$LINENO"; then :
43519 glibcxx_cv_func__sqrtl_use=yes
43520 else
43521 glibcxx_cv_func__sqrtl_use=no
43523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43524 ac_ext=c
43525 ac_cpp='$CPP $CPPFLAGS'
43526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43538 for ac_func in _sqrtl
43539 do :
43540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43541 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43542 cat >>confdefs.h <<_ACEOF
43543 #define HAVE__SQRTL 1
43544 _ACEOF
43547 done
43556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43557 $as_echo_n "checking for sincosl declaration... " >&6; }
43558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43559 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43560 $as_echo_n "(cached) " >&6
43561 else
43564 ac_ext=cpp
43565 ac_cpp='$CXXCPP $CPPFLAGS'
43566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43571 /* end confdefs.h. */
43572 #include <math.h>
43574 main ()
43576 sincosl(0, 0, 0);
43578 return 0;
43580 _ACEOF
43581 if ac_fn_cxx_try_compile "$LINENO"; then :
43582 glibcxx_cv_func_sincosl_use=yes
43583 else
43584 glibcxx_cv_func_sincosl_use=no
43586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43587 ac_ext=c
43588 ac_cpp='$CPP $CPPFLAGS'
43589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43601 for ac_func in sincosl
43602 do :
43603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43604 if test "x$ac_cv_func_sincosl" = x""yes; then :
43605 cat >>confdefs.h <<_ACEOF
43606 #define HAVE_SINCOSL 1
43607 _ACEOF
43610 done
43612 else
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43615 $as_echo_n "checking for _sincosl declaration... " >&6; }
43616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43617 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43618 $as_echo_n "(cached) " >&6
43619 else
43622 ac_ext=cpp
43623 ac_cpp='$CXXCPP $CPPFLAGS'
43624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43629 /* end confdefs.h. */
43630 #include <math.h>
43632 main ()
43634 _sincosl(0, 0, 0);
43636 return 0;
43638 _ACEOF
43639 if ac_fn_cxx_try_compile "$LINENO"; then :
43640 glibcxx_cv_func__sincosl_use=yes
43641 else
43642 glibcxx_cv_func__sincosl_use=no
43644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43645 ac_ext=c
43646 ac_cpp='$CPP $CPPFLAGS'
43647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43659 for ac_func in _sincosl
43660 do :
43661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43662 if test "x$ac_cv_func__sincosl" = x""yes; then :
43663 cat >>confdefs.h <<_ACEOF
43664 #define HAVE__SINCOSL 1
43665 _ACEOF
43668 done
43677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43678 $as_echo_n "checking for finitel declaration... " >&6; }
43679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43681 $as_echo_n "(cached) " >&6
43682 else
43685 ac_ext=cpp
43686 ac_cpp='$CXXCPP $CPPFLAGS'
43687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43692 /* end confdefs.h. */
43693 #include <math.h>
43694 #ifdef HAVE_IEEEFP_H
43695 #include <ieeefp.h>
43696 #endif
43699 main ()
43701 finitel(0);
43703 return 0;
43705 _ACEOF
43706 if ac_fn_cxx_try_compile "$LINENO"; then :
43707 glibcxx_cv_func_finitel_use=yes
43708 else
43709 glibcxx_cv_func_finitel_use=no
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43712 ac_ext=c
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43726 for ac_func in finitel
43727 do :
43728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43729 if test "x$ac_cv_func_finitel" = x""yes; then :
43730 cat >>confdefs.h <<_ACEOF
43731 #define HAVE_FINITEL 1
43732 _ACEOF
43735 done
43737 else
43739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43740 $as_echo_n "checking for _finitel declaration... " >&6; }
43741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43742 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43743 $as_echo_n "(cached) " >&6
43744 else
43747 ac_ext=cpp
43748 ac_cpp='$CXXCPP $CPPFLAGS'
43749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43754 /* end confdefs.h. */
43755 #include <math.h>
43756 #ifdef HAVE_IEEEFP_H
43757 #include <ieeefp.h>
43758 #endif
43761 main ()
43763 _finitel(0);
43765 return 0;
43767 _ACEOF
43768 if ac_fn_cxx_try_compile "$LINENO"; then :
43769 glibcxx_cv_func__finitel_use=yes
43770 else
43771 glibcxx_cv_func__finitel_use=no
43773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43774 ac_ext=c
43775 ac_cpp='$CPP $CPPFLAGS'
43776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43788 for ac_func in _finitel
43789 do :
43790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43791 if test "x$ac_cv_func__finitel" = x""yes; then :
43792 cat >>confdefs.h <<_ACEOF
43793 #define HAVE__FINITEL 1
43794 _ACEOF
43797 done
43805 LIBS="$ac_save_LIBS"
43806 CXXFLAGS="$ac_save_CXXFLAGS"
43809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43810 ac_save_CXXFLAGS="$CXXFLAGS"
43811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43815 $as_echo_n "checking for strtold declaration... " >&6; }
43816 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43817 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43818 $as_echo_n "(cached) " >&6
43819 else
43822 ac_ext=cpp
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <stdlib.h>
43832 main ()
43834 strtold(0, 0);
43836 return 0;
43838 _ACEOF
43839 if ac_fn_cxx_try_compile "$LINENO"; then :
43840 glibcxx_cv_func_strtold_use=yes
43841 else
43842 glibcxx_cv_func_strtold_use=no
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43845 ac_ext=c
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43856 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43857 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43858 for ac_func in strtold
43859 do :
43860 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43861 if test "x$ac_cv_func_strtold" = x""yes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE_STRTOLD 1
43864 _ACEOF
43867 done
43874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43875 $as_echo_n "checking for strtof declaration... " >&6; }
43876 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43877 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43878 $as_echo_n "(cached) " >&6
43879 else
43882 ac_ext=cpp
43883 ac_cpp='$CXXCPP $CPPFLAGS'
43884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43889 /* end confdefs.h. */
43890 #include <stdlib.h>
43892 main ()
43894 strtof(0, 0);
43896 return 0;
43898 _ACEOF
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900 glibcxx_cv_func_strtof_use=yes
43901 else
43902 glibcxx_cv_func_strtof_use=no
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43905 ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43916 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43917 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43918 for ac_func in strtof
43919 do :
43920 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43921 if test "x$ac_cv_func_strtof" = x""yes; then :
43922 cat >>confdefs.h <<_ACEOF
43923 #define HAVE_STRTOF 1
43924 _ACEOF
43927 done
43934 CXXFLAGS="$ac_save_CXXFLAGS"
43938 *djgpp)
43939 # GLIBCXX_CHECK_MATH_SUPPORT
43940 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43942 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43944 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43946 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43948 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43952 *-freebsd*)
43953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43956 # If we're not using GNU ld, then there's no point in even trying these
43957 # tests. Check for that first. We should have already tested for gld
43958 # by now (in libtool), but require it now just to be safe...
43959 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43960 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43964 # The name set by libtool depends on the version of libtool. Shame on us
43965 # for depending on an impl detail, but c'est la vie. Older versions used
43966 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43967 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43968 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43969 # set (hence we're using an older libtool), then set it.
43970 if test x${with_gnu_ld+set} != xset; then
43971 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43972 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43973 with_gnu_ld=no
43974 else
43975 with_gnu_ld=$ac_cv_prog_gnu_ld
43979 # Start by getting the version number. I think the libtool test already
43980 # does some of this, but throws away the result.
43981 glibcxx_ld_is_gold=no
43982 if test x"$with_gnu_ld" = x"yes"; then
43983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43984 $as_echo_n "checking for ld version... " >&6; }
43986 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43987 glibcxx_ld_is_gold=yes
43989 ldver=`$LD --version 2>/dev/null |
43990 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'`
43992 glibcxx_gnu_ld_version=`echo $ldver | \
43993 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43995 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43998 # Set --gc-sections.
43999 glibcxx_have_gc_sections=no
44000 if test "$glibcxx_ld_is_gold" = "yes"; then
44001 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44002 glibcxx_have_gc_sections=yes
44004 else
44005 glibcxx_gcsections_min_ld=21602
44006 if test x"$with_gnu_ld" = x"yes" &&
44007 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44008 glibcxx_have_gc_sections=yes
44011 if test "$glibcxx_have_gc_sections" = "yes"; then
44012 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44013 # NB: This flag only works reliably after 2.16.1. Configure tests
44014 # for this are difficult, so hard wire a value that should work.
44016 ac_test_CFLAGS="${CFLAGS+set}"
44017 ac_save_CFLAGS="$CFLAGS"
44018 CFLAGS='-Wl,--gc-sections'
44020 # Check for -Wl,--gc-sections
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44022 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44023 if test x$gcc_no_link = xyes; then
44024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44027 /* end confdefs.h. */
44028 int one(void) { return 1; }
44029 int two(void) { return 2; }
44032 main ()
44034 two();
44036 return 0;
44038 _ACEOF
44039 if ac_fn_c_try_link "$LINENO"; then :
44040 ac_gcsections=yes
44041 else
44042 ac_gcsections=no
44044 rm -f core conftest.err conftest.$ac_objext \
44045 conftest$ac_exeext conftest.$ac_ext
44046 if test "$ac_gcsections" = "yes"; then
44047 rm -f conftest.c
44048 touch conftest.c
44049 if $CC -c conftest.c; then
44050 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44051 grep "Warning: gc-sections option ignored" > /dev/null; then
44052 ac_gcsections=no
44055 rm -f conftest.c conftest.o conftest
44057 if test "$ac_gcsections" = "yes"; then
44058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44061 $as_echo "$ac_gcsections" >&6; }
44063 if test "$ac_test_CFLAGS" = set; then
44064 CFLAGS="$ac_save_CFLAGS"
44065 else
44066 # this is the suspicious part
44067 CFLAGS=''
44071 # Set -z,relro.
44072 # Note this is only for shared objects.
44073 ac_ld_relro=no
44074 if test x"$with_gnu_ld" = x"yes"; then
44075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44076 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44077 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44078 if test -n "$cxx_z_relo"; then
44079 OPT_LDFLAGS="-Wl,-z,relro"
44080 ac_ld_relro=yes
44082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44083 $as_echo "$ac_ld_relro" >&6; }
44086 # Set linker optimization flags.
44087 if test x"$with_gnu_ld" = x"yes"; then
44088 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44094 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44096 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44098 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44100 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44102 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44104 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44106 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44108 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44110 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44113 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44115 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44117 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44119 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44121 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44123 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44125 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44127 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44129 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44131 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44133 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44135 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44137 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44139 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44141 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44143 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44145 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44147 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44149 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44151 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44153 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44155 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44157 if test x"long_double_math_on_this_cpu" = x"yes"; then
44158 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44160 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44162 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44166 *-hpux*)
44167 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44170 # If we're not using GNU ld, then there's no point in even trying these
44171 # tests. Check for that first. We should have already tested for gld
44172 # by now (in libtool), but require it now just to be safe...
44173 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44174 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44178 # The name set by libtool depends on the version of libtool. Shame on us
44179 # for depending on an impl detail, but c'est la vie. Older versions used
44180 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44181 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44182 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44183 # set (hence we're using an older libtool), then set it.
44184 if test x${with_gnu_ld+set} != xset; then
44185 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44186 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44187 with_gnu_ld=no
44188 else
44189 with_gnu_ld=$ac_cv_prog_gnu_ld
44193 # Start by getting the version number. I think the libtool test already
44194 # does some of this, but throws away the result.
44195 glibcxx_ld_is_gold=no
44196 if test x"$with_gnu_ld" = x"yes"; then
44197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44198 $as_echo_n "checking for ld version... " >&6; }
44200 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44201 glibcxx_ld_is_gold=yes
44203 ldver=`$LD --version 2>/dev/null |
44204 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'`
44206 glibcxx_gnu_ld_version=`echo $ldver | \
44207 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44209 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44212 # Set --gc-sections.
44213 glibcxx_have_gc_sections=no
44214 if test "$glibcxx_ld_is_gold" = "yes"; then
44215 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44216 glibcxx_have_gc_sections=yes
44218 else
44219 glibcxx_gcsections_min_ld=21602
44220 if test x"$with_gnu_ld" = x"yes" &&
44221 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44222 glibcxx_have_gc_sections=yes
44225 if test "$glibcxx_have_gc_sections" = "yes"; then
44226 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44227 # NB: This flag only works reliably after 2.16.1. Configure tests
44228 # for this are difficult, so hard wire a value that should work.
44230 ac_test_CFLAGS="${CFLAGS+set}"
44231 ac_save_CFLAGS="$CFLAGS"
44232 CFLAGS='-Wl,--gc-sections'
44234 # Check for -Wl,--gc-sections
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44236 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44237 if test x$gcc_no_link = xyes; then
44238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241 /* end confdefs.h. */
44242 int one(void) { return 1; }
44243 int two(void) { return 2; }
44246 main ()
44248 two();
44250 return 0;
44252 _ACEOF
44253 if ac_fn_c_try_link "$LINENO"; then :
44254 ac_gcsections=yes
44255 else
44256 ac_gcsections=no
44258 rm -f core conftest.err conftest.$ac_objext \
44259 conftest$ac_exeext conftest.$ac_ext
44260 if test "$ac_gcsections" = "yes"; then
44261 rm -f conftest.c
44262 touch conftest.c
44263 if $CC -c conftest.c; then
44264 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44265 grep "Warning: gc-sections option ignored" > /dev/null; then
44266 ac_gcsections=no
44269 rm -f conftest.c conftest.o conftest
44271 if test "$ac_gcsections" = "yes"; then
44272 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44275 $as_echo "$ac_gcsections" >&6; }
44277 if test "$ac_test_CFLAGS" = set; then
44278 CFLAGS="$ac_save_CFLAGS"
44279 else
44280 # this is the suspicious part
44281 CFLAGS=''
44285 # Set -z,relro.
44286 # Note this is only for shared objects.
44287 ac_ld_relro=no
44288 if test x"$with_gnu_ld" = x"yes"; then
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44290 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44291 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44292 if test -n "$cxx_z_relo"; then
44293 OPT_LDFLAGS="-Wl,-z,relro"
44294 ac_ld_relro=yes
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44297 $as_echo "$ac_ld_relro" >&6; }
44300 # Set linker optimization flags.
44301 if test x"$with_gnu_ld" = x"yes"; then
44302 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44309 # GLIBCXX_CHECK_MATH_SUPPORT
44310 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44312 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44314 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44316 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44318 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44320 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44322 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44328 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44330 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44332 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44334 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44336 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44338 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44340 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44342 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44344 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44346 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44348 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44350 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44353 # GLIBCXX_CHECK_STDLIB_SUPPORT
44354 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44359 # Check whether --enable-tls was given.
44360 if test "${enable_tls+set}" = set; then :
44361 enableval=$enable_tls;
44362 case "$enableval" in
44363 yes|no) ;;
44364 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44365 esac
44367 else
44368 enable_tls=yes
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44373 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44374 if test "${gcc_cv_have_tls+set}" = set; then :
44375 $as_echo_n "(cached) " >&6
44376 else
44378 if test "$cross_compiling" = yes; then :
44379 if test x$gcc_no_link = xyes; then
44380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44383 /* end confdefs.h. */
44384 __thread int a; int b; int main() { return a = b; }
44385 _ACEOF
44386 if ac_fn_c_try_link "$LINENO"; then :
44387 chktls_save_LDFLAGS="$LDFLAGS"
44388 case $host in
44389 *-*-linux*)
44390 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44392 esac
44393 chktls_save_CFLAGS="$CFLAGS"
44394 CFLAGS="-fPIC $CFLAGS"
44395 if test x$gcc_no_link = xyes; then
44396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44399 /* end confdefs.h. */
44400 int f() { return 0; }
44401 _ACEOF
44402 if ac_fn_c_try_link "$LINENO"; then :
44403 if test x$gcc_no_link = xyes; then
44404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44407 /* end confdefs.h. */
44408 __thread int a; int b; int f() { return a = b; }
44409 _ACEOF
44410 if ac_fn_c_try_link "$LINENO"; then :
44411 gcc_cv_have_tls=yes
44412 else
44413 gcc_cv_have_tls=no
44415 rm -f core conftest.err conftest.$ac_objext \
44416 conftest$ac_exeext conftest.$ac_ext
44417 else
44418 gcc_cv_have_tls=yes
44420 rm -f core conftest.err conftest.$ac_objext \
44421 conftest$ac_exeext conftest.$ac_ext
44422 CFLAGS="$chktls_save_CFLAGS"
44423 LDFLAGS="$chktls_save_LDFLAGS"
44424 else
44425 gcc_cv_have_tls=no
44427 rm -f core conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44431 else
44432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44433 /* end confdefs.h. */
44434 __thread int a; int b; int main() { return a = b; }
44435 _ACEOF
44436 if ac_fn_c_try_run "$LINENO"; then :
44437 chktls_save_LDFLAGS="$LDFLAGS"
44438 LDFLAGS="-static $LDFLAGS"
44439 if test x$gcc_no_link = xyes; then
44440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44443 /* end confdefs.h. */
44444 int main() { return 0; }
44445 _ACEOF
44446 if ac_fn_c_try_link "$LINENO"; then :
44447 if test "$cross_compiling" = yes; then :
44448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44450 as_fn_error "cannot run test program while cross compiling
44451 See \`config.log' for more details." "$LINENO" 5; }
44452 else
44453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44454 /* end confdefs.h. */
44455 __thread int a; int b; int main() { return a = b; }
44456 _ACEOF
44457 if ac_fn_c_try_run "$LINENO"; then :
44458 gcc_cv_have_tls=yes
44459 else
44460 gcc_cv_have_tls=no
44462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44463 conftest.$ac_objext conftest.beam conftest.$ac_ext
44466 else
44467 gcc_cv_have_tls=yes
44469 rm -f core conftest.err conftest.$ac_objext \
44470 conftest$ac_exeext conftest.$ac_ext
44471 LDFLAGS="$chktls_save_LDFLAGS"
44472 if test $gcc_cv_have_tls = yes; then
44473 chktls_save_CFLAGS="$CFLAGS"
44474 thread_CFLAGS=failed
44475 for flag in '' '-pthread' '-lpthread'; do
44476 CFLAGS="$flag $chktls_save_CFLAGS"
44477 if test x$gcc_no_link = xyes; then
44478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44481 /* end confdefs.h. */
44482 #include <pthread.h>
44483 void *g(void *d) { return NULL; }
44485 main ()
44487 pthread_t t; pthread_create(&t,NULL,g,NULL);
44489 return 0;
44491 _ACEOF
44492 if ac_fn_c_try_link "$LINENO"; then :
44493 thread_CFLAGS="$flag"
44495 rm -f core conftest.err conftest.$ac_objext \
44496 conftest$ac_exeext conftest.$ac_ext
44497 if test "X$thread_CFLAGS" != Xfailed; then
44498 break
44500 done
44501 CFLAGS="$chktls_save_CFLAGS"
44502 if test "X$thread_CFLAGS" != Xfailed; then
44503 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44504 if test "$cross_compiling" = yes; then :
44505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44507 as_fn_error "cannot run test program while cross compiling
44508 See \`config.log' for more details." "$LINENO" 5; }
44509 else
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <pthread.h>
44513 __thread int a;
44514 static int *a_in_other_thread;
44515 static void *
44516 thread_func (void *arg)
44518 a_in_other_thread = &a;
44519 return (void *)0;
44522 main ()
44524 pthread_t thread;
44525 void *thread_retval;
44526 int *a_in_main_thread;
44527 if (pthread_create (&thread, (pthread_attr_t *)0,
44528 thread_func, (void *)0))
44529 return 0;
44530 a_in_main_thread = &a;
44531 if (pthread_join (thread, &thread_retval))
44532 return 0;
44533 return (a_in_other_thread == a_in_main_thread);
44535 return 0;
44537 _ACEOF
44538 if ac_fn_c_try_run "$LINENO"; then :
44539 gcc_cv_have_tls=yes
44540 else
44541 gcc_cv_have_tls=no
44543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44544 conftest.$ac_objext conftest.beam conftest.$ac_ext
44547 CFLAGS="$chktls_save_CFLAGS"
44550 else
44551 gcc_cv_have_tls=no
44553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44554 conftest.$ac_objext conftest.beam conftest.$ac_ext
44558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44559 $as_echo "$gcc_cv_have_tls" >&6; }
44560 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44562 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44565 case "$target" in
44566 *-hpux10*)
44567 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44569 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44571 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44573 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44575 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44578 esac
44580 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44582 # All these tests are for C++; save the language and the compiler flags.
44583 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44584 # found in GLIBCXX_CONFIGURE.
44586 ac_ext=cpp
44587 ac_cpp='$CXXCPP $CPPFLAGS'
44588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44593 ac_save_CXXFLAGS="$CXXFLAGS"
44595 # Check for maintainer-mode bits.
44596 if test x"$USE_MAINTAINER_MODE" = xno; then
44597 WERROR=''
44598 else
44599 WERROR='-Werror'
44602 # Check for -ffunction-sections -fdata-sections
44603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44604 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44605 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44607 /* end confdefs.h. */
44608 int foo; void bar() { };
44610 main ()
44614 return 0;
44616 _ACEOF
44617 if ac_fn_cxx_try_compile "$LINENO"; then :
44618 ac_fdsections=yes
44619 else
44620 ac_fdsections=no
44622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44623 if test "$ac_test_CXXFLAGS" = set; then
44624 CXXFLAGS="$ac_save_CXXFLAGS"
44625 else
44626 # this is the suspicious part
44627 CXXFLAGS=''
44629 if test x"$ac_fdsections" = x"yes"; then
44630 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44633 $as_echo "$ac_fdsections" >&6; }
44635 ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44645 # If we're not using GNU ld, then there's no point in even trying these
44646 # tests. Check for that first. We should have already tested for gld
44647 # by now (in libtool), but require it now just to be safe...
44648 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44649 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44653 # The name set by libtool depends on the version of libtool. Shame on us
44654 # for depending on an impl detail, but c'est la vie. Older versions used
44655 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44656 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44657 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44658 # set (hence we're using an older libtool), then set it.
44659 if test x${with_gnu_ld+set} != xset; then
44660 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44661 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44662 with_gnu_ld=no
44663 else
44664 with_gnu_ld=$ac_cv_prog_gnu_ld
44668 # Start by getting the version number. I think the libtool test already
44669 # does some of this, but throws away the result.
44670 glibcxx_ld_is_gold=no
44671 if test x"$with_gnu_ld" = x"yes"; then
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44673 $as_echo_n "checking for ld version... " >&6; }
44675 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44676 glibcxx_ld_is_gold=yes
44678 ldver=`$LD --version 2>/dev/null |
44679 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'`
44681 glibcxx_gnu_ld_version=`echo $ldver | \
44682 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44684 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44687 # Set --gc-sections.
44688 glibcxx_have_gc_sections=no
44689 if test "$glibcxx_ld_is_gold" = "yes"; then
44690 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44691 glibcxx_have_gc_sections=yes
44693 else
44694 glibcxx_gcsections_min_ld=21602
44695 if test x"$with_gnu_ld" = x"yes" &&
44696 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44697 glibcxx_have_gc_sections=yes
44700 if test "$glibcxx_have_gc_sections" = "yes"; then
44701 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44702 # NB: This flag only works reliably after 2.16.1. Configure tests
44703 # for this are difficult, so hard wire a value that should work.
44705 ac_test_CFLAGS="${CFLAGS+set}"
44706 ac_save_CFLAGS="$CFLAGS"
44707 CFLAGS='-Wl,--gc-sections'
44709 # Check for -Wl,--gc-sections
44710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44711 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44712 if test x$gcc_no_link = xyes; then
44713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44716 /* end confdefs.h. */
44717 int one(void) { return 1; }
44718 int two(void) { return 2; }
44721 main ()
44723 two();
44725 return 0;
44727 _ACEOF
44728 if ac_fn_c_try_link "$LINENO"; then :
44729 ac_gcsections=yes
44730 else
44731 ac_gcsections=no
44733 rm -f core conftest.err conftest.$ac_objext \
44734 conftest$ac_exeext conftest.$ac_ext
44735 if test "$ac_gcsections" = "yes"; then
44736 rm -f conftest.c
44737 touch conftest.c
44738 if $CC -c conftest.c; then
44739 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44740 grep "Warning: gc-sections option ignored" > /dev/null; then
44741 ac_gcsections=no
44744 rm -f conftest.c conftest.o conftest
44746 if test "$ac_gcsections" = "yes"; then
44747 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44750 $as_echo "$ac_gcsections" >&6; }
44752 if test "$ac_test_CFLAGS" = set; then
44753 CFLAGS="$ac_save_CFLAGS"
44754 else
44755 # this is the suspicious part
44756 CFLAGS=''
44760 # Set -z,relro.
44761 # Note this is only for shared objects.
44762 ac_ld_relro=no
44763 if test x"$with_gnu_ld" = x"yes"; then
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44765 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44766 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44767 if test -n "$cxx_z_relo"; then
44768 OPT_LDFLAGS="-Wl,-z,relro"
44769 ac_ld_relro=yes
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44772 $as_echo "$ac_ld_relro" >&6; }
44775 # Set linker optimization flags.
44776 if test x"$with_gnu_ld" = x"yes"; then
44777 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44785 ac_save_CXXFLAGS="$CXXFLAGS"
44786 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44789 $as_echo_n "checking for sin in -lm... " >&6; }
44790 if test "${ac_cv_lib_m_sin+set}" = set; then :
44791 $as_echo_n "(cached) " >&6
44792 else
44793 ac_check_lib_save_LIBS=$LIBS
44794 LIBS="-lm $LIBS"
44795 if test x$gcc_no_link = xyes; then
44796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44799 /* end confdefs.h. */
44801 /* Override any GCC internal prototype to avoid an error.
44802 Use char because int might match the return type of a GCC
44803 builtin and then its argument prototype would still apply. */
44804 #ifdef __cplusplus
44805 extern "C"
44806 #endif
44807 char sin ();
44809 main ()
44811 return sin ();
44813 return 0;
44815 _ACEOF
44816 if ac_fn_c_try_link "$LINENO"; then :
44817 ac_cv_lib_m_sin=yes
44818 else
44819 ac_cv_lib_m_sin=no
44821 rm -f core conftest.err conftest.$ac_objext \
44822 conftest$ac_exeext conftest.$ac_ext
44823 LIBS=$ac_check_lib_save_LIBS
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44826 $as_echo "$ac_cv_lib_m_sin" >&6; }
44827 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44828 libm="-lm"
44831 ac_save_LIBS="$LIBS"
44832 LIBS="$LIBS $libm"
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44837 $as_echo_n "checking for isinf declaration... " >&6; }
44838 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44839 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44840 $as_echo_n "(cached) " >&6
44841 else
44844 ac_ext=cpp
44845 ac_cpp='$CXXCPP $CPPFLAGS'
44846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44851 /* end confdefs.h. */
44852 #include <math.h>
44853 #ifdef HAVE_IEEEFP_H
44854 #include <ieeefp.h>
44855 #endif
44858 main ()
44860 isinf(0);
44862 return 0;
44864 _ACEOF
44865 if ac_fn_cxx_try_compile "$LINENO"; then :
44866 glibcxx_cv_func_isinf_use=yes
44867 else
44868 glibcxx_cv_func_isinf_use=no
44870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44871 ac_ext=c
44872 ac_cpp='$CPP $CPPFLAGS'
44873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44882 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44884 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44885 for ac_func in isinf
44886 do :
44887 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44888 if test "x$ac_cv_func_isinf" = x""yes; then :
44889 cat >>confdefs.h <<_ACEOF
44890 #define HAVE_ISINF 1
44891 _ACEOF
44894 done
44896 else
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44899 $as_echo_n "checking for _isinf declaration... " >&6; }
44900 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44901 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44902 $as_echo_n "(cached) " >&6
44903 else
44906 ac_ext=cpp
44907 ac_cpp='$CXXCPP $CPPFLAGS'
44908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44913 /* end confdefs.h. */
44914 #include <math.h>
44915 #ifdef HAVE_IEEEFP_H
44916 #include <ieeefp.h>
44917 #endif
44920 main ()
44922 _isinf(0);
44924 return 0;
44926 _ACEOF
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 glibcxx_cv_func__isinf_use=yes
44929 else
44930 glibcxx_cv_func__isinf_use=no
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_ext=c
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44944 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44946 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44947 for ac_func in _isinf
44948 do :
44949 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44950 if test "x$ac_cv_func__isinf" = x""yes; then :
44951 cat >>confdefs.h <<_ACEOF
44952 #define HAVE__ISINF 1
44953 _ACEOF
44956 done
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44966 $as_echo_n "checking for isnan declaration... " >&6; }
44967 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44968 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44969 $as_echo_n "(cached) " >&6
44970 else
44973 ac_ext=cpp
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h. */
44981 #include <math.h>
44982 #ifdef HAVE_IEEEFP_H
44983 #include <ieeefp.h>
44984 #endif
44987 main ()
44989 isnan(0);
44991 return 0;
44993 _ACEOF
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995 glibcxx_cv_func_isnan_use=yes
44996 else
44997 glibcxx_cv_func_isnan_use=no
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 ac_ext=c
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45011 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45013 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45014 for ac_func in isnan
45015 do :
45016 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45017 if test "x$ac_cv_func_isnan" = x""yes; then :
45018 cat >>confdefs.h <<_ACEOF
45019 #define HAVE_ISNAN 1
45020 _ACEOF
45023 done
45025 else
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45028 $as_echo_n "checking for _isnan declaration... " >&6; }
45029 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45030 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45031 $as_echo_n "(cached) " >&6
45032 else
45035 ac_ext=cpp
45036 ac_cpp='$CXXCPP $CPPFLAGS'
45037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45042 /* end confdefs.h. */
45043 #include <math.h>
45044 #ifdef HAVE_IEEEFP_H
45045 #include <ieeefp.h>
45046 #endif
45049 main ()
45051 _isnan(0);
45053 return 0;
45055 _ACEOF
45056 if ac_fn_cxx_try_compile "$LINENO"; then :
45057 glibcxx_cv_func__isnan_use=yes
45058 else
45059 glibcxx_cv_func__isnan_use=no
45061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45062 ac_ext=c
45063 ac_cpp='$CPP $CPPFLAGS'
45064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45073 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45075 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45076 for ac_func in _isnan
45077 do :
45078 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45079 if test "x$ac_cv_func__isnan" = x""yes; then :
45080 cat >>confdefs.h <<_ACEOF
45081 #define HAVE__ISNAN 1
45082 _ACEOF
45085 done
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45095 $as_echo_n "checking for finite declaration... " >&6; }
45096 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45097 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45098 $as_echo_n "(cached) " >&6
45099 else
45102 ac_ext=cpp
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45110 #include <math.h>
45111 #ifdef HAVE_IEEEFP_H
45112 #include <ieeefp.h>
45113 #endif
45116 main ()
45118 finite(0);
45120 return 0;
45122 _ACEOF
45123 if ac_fn_cxx_try_compile "$LINENO"; then :
45124 glibcxx_cv_func_finite_use=yes
45125 else
45126 glibcxx_cv_func_finite_use=no
45128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45129 ac_ext=c
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45140 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45142 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45143 for ac_func in finite
45144 do :
45145 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45146 if test "x$ac_cv_func_finite" = x""yes; then :
45147 cat >>confdefs.h <<_ACEOF
45148 #define HAVE_FINITE 1
45149 _ACEOF
45152 done
45154 else
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45157 $as_echo_n "checking for _finite declaration... " >&6; }
45158 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45159 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45160 $as_echo_n "(cached) " >&6
45161 else
45164 ac_ext=cpp
45165 ac_cpp='$CXXCPP $CPPFLAGS'
45166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45172 #include <math.h>
45173 #ifdef HAVE_IEEEFP_H
45174 #include <ieeefp.h>
45175 #endif
45178 main ()
45180 _finite(0);
45182 return 0;
45184 _ACEOF
45185 if ac_fn_cxx_try_compile "$LINENO"; then :
45186 glibcxx_cv_func__finite_use=yes
45187 else
45188 glibcxx_cv_func__finite_use=no
45190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45191 ac_ext=c
45192 ac_cpp='$CPP $CPPFLAGS'
45193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45202 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45204 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45205 for ac_func in _finite
45206 do :
45207 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45208 if test "x$ac_cv_func__finite" = x""yes; then :
45209 cat >>confdefs.h <<_ACEOF
45210 #define HAVE__FINITE 1
45211 _ACEOF
45214 done
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45224 $as_echo_n "checking for sincos declaration... " >&6; }
45225 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45226 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45227 $as_echo_n "(cached) " >&6
45228 else
45231 ac_ext=cpp
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45239 #include <math.h>
45241 main ()
45243 sincos(0, 0, 0);
45245 return 0;
45247 _ACEOF
45248 if ac_fn_cxx_try_compile "$LINENO"; then :
45249 glibcxx_cv_func_sincos_use=yes
45250 else
45251 glibcxx_cv_func_sincos_use=no
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45254 ac_ext=c
45255 ac_cpp='$CPP $CPPFLAGS'
45256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45265 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45267 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45268 for ac_func in sincos
45269 do :
45270 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45271 if test "x$ac_cv_func_sincos" = x""yes; then :
45272 cat >>confdefs.h <<_ACEOF
45273 #define HAVE_SINCOS 1
45274 _ACEOF
45277 done
45279 else
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45282 $as_echo_n "checking for _sincos declaration... " >&6; }
45283 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45284 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45285 $as_echo_n "(cached) " >&6
45286 else
45289 ac_ext=cpp
45290 ac_cpp='$CXXCPP $CPPFLAGS'
45291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45296 /* end confdefs.h. */
45297 #include <math.h>
45299 main ()
45301 _sincos(0, 0, 0);
45303 return 0;
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func__sincos_use=yes
45308 else
45309 glibcxx_cv_func__sincos_use=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45323 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45325 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45326 for ac_func in _sincos
45327 do :
45328 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45329 if test "x$ac_cv_func__sincos" = x""yes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE__SINCOS 1
45332 _ACEOF
45335 done
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45345 $as_echo_n "checking for fpclass declaration... " >&6; }
45346 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45347 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <math.h>
45361 #ifdef HAVE_IEEEFP_H
45362 #include <ieeefp.h>
45363 #endif
45366 main ()
45368 fpclass(0);
45370 return 0;
45372 _ACEOF
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374 glibcxx_cv_func_fpclass_use=yes
45375 else
45376 glibcxx_cv_func_fpclass_use=no
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45379 ac_ext=c
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45390 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45392 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45393 for ac_func in fpclass
45394 do :
45395 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45396 if test "x$ac_cv_func_fpclass" = x""yes; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define HAVE_FPCLASS 1
45399 _ACEOF
45402 done
45404 else
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45407 $as_echo_n "checking for _fpclass declaration... " >&6; }
45408 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45409 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45423 #ifdef HAVE_IEEEFP_H
45424 #include <ieeefp.h>
45425 #endif
45428 main ()
45430 _fpclass(0);
45432 return 0;
45434 _ACEOF
45435 if ac_fn_cxx_try_compile "$LINENO"; then :
45436 glibcxx_cv_func__fpclass_use=yes
45437 else
45438 glibcxx_cv_func__fpclass_use=no
45440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441 ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45452 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45454 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45455 for ac_func in _fpclass
45456 do :
45457 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45458 if test "x$ac_cv_func__fpclass" = x""yes; then :
45459 cat >>confdefs.h <<_ACEOF
45460 #define HAVE__FPCLASS 1
45461 _ACEOF
45464 done
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45474 $as_echo_n "checking for qfpclass declaration... " >&6; }
45475 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45476 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45477 $as_echo_n "(cached) " >&6
45478 else
45481 ac_ext=cpp
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h. */
45489 #include <math.h>
45490 #ifdef HAVE_IEEEFP_H
45491 #include <ieeefp.h>
45492 #endif
45495 main ()
45497 qfpclass(0);
45499 return 0;
45501 _ACEOF
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503 glibcxx_cv_func_qfpclass_use=yes
45504 else
45505 glibcxx_cv_func_qfpclass_use=no
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45508 ac_ext=c
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45519 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45521 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45522 for ac_func in qfpclass
45523 do :
45524 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45525 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45526 cat >>confdefs.h <<_ACEOF
45527 #define HAVE_QFPCLASS 1
45528 _ACEOF
45531 done
45533 else
45535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45536 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45537 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45538 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45539 $as_echo_n "(cached) " >&6
45540 else
45543 ac_ext=cpp
45544 ac_cpp='$CXXCPP $CPPFLAGS'
45545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550 /* end confdefs.h. */
45551 #include <math.h>
45552 #ifdef HAVE_IEEEFP_H
45553 #include <ieeefp.h>
45554 #endif
45557 main ()
45559 _qfpclass(0);
45561 return 0;
45563 _ACEOF
45564 if ac_fn_cxx_try_compile "$LINENO"; then :
45565 glibcxx_cv_func__qfpclass_use=yes
45566 else
45567 glibcxx_cv_func__qfpclass_use=no
45569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45570 ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45581 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45583 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45584 for ac_func in _qfpclass
45585 do :
45586 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45587 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45588 cat >>confdefs.h <<_ACEOF
45589 #define HAVE__QFPCLASS 1
45590 _ACEOF
45593 done
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45603 $as_echo_n "checking for hypot declaration... " >&6; }
45604 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45605 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45606 $as_echo_n "(cached) " >&6
45607 else
45610 ac_ext=cpp
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h. */
45618 #include <math.h>
45620 main ()
45622 hypot(0, 0);
45624 return 0;
45626 _ACEOF
45627 if ac_fn_cxx_try_compile "$LINENO"; then :
45628 glibcxx_cv_func_hypot_use=yes
45629 else
45630 glibcxx_cv_func_hypot_use=no
45632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45633 ac_ext=c
45634 ac_cpp='$CPP $CPPFLAGS'
45635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45644 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45646 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45647 for ac_func in hypot
45648 do :
45649 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45650 if test "x$ac_cv_func_hypot" = x""yes; then :
45651 cat >>confdefs.h <<_ACEOF
45652 #define HAVE_HYPOT 1
45653 _ACEOF
45656 done
45658 else
45660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45661 $as_echo_n "checking for _hypot declaration... " >&6; }
45662 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45663 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45664 $as_echo_n "(cached) " >&6
45665 else
45668 ac_ext=cpp
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45676 #include <math.h>
45678 main ()
45680 _hypot(0, 0);
45682 return 0;
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func__hypot_use=yes
45687 else
45688 glibcxx_cv_func__hypot_use=no
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691 ac_ext=c
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45702 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45704 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45705 for ac_func in _hypot
45706 do :
45707 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45708 if test "x$ac_cv_func__hypot" = x""yes; then :
45709 cat >>confdefs.h <<_ACEOF
45710 #define HAVE__HYPOT 1
45711 _ACEOF
45714 done
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45724 $as_echo_n "checking for float trig functions... " >&6; }
45725 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45727 else
45730 ac_ext=cpp
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h. */
45738 #include <math.h>
45740 main ()
45742 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45744 return 0;
45746 _ACEOF
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func_float_trig_use=yes
45749 else
45750 glibcxx_cv_func_float_trig_use=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45762 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45763 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45764 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45765 do :
45766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45768 eval as_val=\$$as_ac_var
45769 if test "x$as_val" = x""yes; then :
45770 cat >>confdefs.h <<_ACEOF
45771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45772 _ACEOF
45775 done
45777 else
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45779 $as_echo_n "checking for _float trig functions... " >&6; }
45780 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45781 $as_echo_n "(cached) " >&6
45782 else
45785 ac_ext=cpp
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45792 /* end confdefs.h. */
45793 #include <math.h>
45795 main ()
45797 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45799 return 0;
45801 _ACEOF
45802 if ac_fn_cxx_try_compile "$LINENO"; then :
45803 glibcxx_cv_func__float_trig_use=yes
45804 else
45805 glibcxx_cv_func__float_trig_use=no
45807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45808 ac_ext=c
45809 ac_cpp='$CPP $CPPFLAGS'
45810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45817 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45818 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45819 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45820 do :
45821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45823 eval as_val=\$$as_ac_var
45824 if test "x$as_val" = x""yes; then :
45825 cat >>confdefs.h <<_ACEOF
45826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45827 _ACEOF
45830 done
45839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45840 $as_echo_n "checking for float round functions... " >&6; }
45841 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45843 else
45846 ac_ext=cpp
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45854 #include <math.h>
45856 main ()
45858 ceilf (0); floorf (0);
45860 return 0;
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_float_round_use=yes
45865 else
45866 glibcxx_cv_func_float_round_use=no
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45878 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45879 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45880 for ac_func in ceilf floorf
45881 do :
45882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45884 eval as_val=\$$as_ac_var
45885 if test "x$as_val" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45888 _ACEOF
45891 done
45893 else
45894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45895 $as_echo_n "checking for _float round functions... " >&6; }
45896 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45897 $as_echo_n "(cached) " >&6
45898 else
45901 ac_ext=cpp
45902 ac_cpp='$CXXCPP $CPPFLAGS'
45903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45908 /* end confdefs.h. */
45909 #include <math.h>
45911 main ()
45913 _ceilf (0); _floorf (0);
45915 return 0;
45917 _ACEOF
45918 if ac_fn_cxx_try_compile "$LINENO"; then :
45919 glibcxx_cv_func__float_round_use=yes
45920 else
45921 glibcxx_cv_func__float_round_use=no
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45933 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45934 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45935 for ac_func in _ceilf _floorf
45936 do :
45937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45939 eval as_val=\$$as_ac_var
45940 if test "x$as_val" = x""yes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45943 _ACEOF
45946 done
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45957 $as_echo_n "checking for expf declaration... " >&6; }
45958 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45959 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45960 $as_echo_n "(cached) " >&6
45961 else
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <math.h>
45973 #ifdef HAVE_IEEEFP_H
45974 #include <ieeefp.h>
45975 #endif
45978 main ()
45980 expf(0);
45982 return 0;
45984 _ACEOF
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986 glibcxx_cv_func_expf_use=yes
45987 else
45988 glibcxx_cv_func_expf_use=no
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45991 ac_ext=c
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46002 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46004 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46005 for ac_func in expf
46006 do :
46007 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46008 if test "x$ac_cv_func_expf" = x""yes; then :
46009 cat >>confdefs.h <<_ACEOF
46010 #define HAVE_EXPF 1
46011 _ACEOF
46014 done
46016 else
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46019 $as_echo_n "checking for _expf declaration... " >&6; }
46020 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46021 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46022 $as_echo_n "(cached) " >&6
46023 else
46026 ac_ext=cpp
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46033 /* end confdefs.h. */
46034 #include <math.h>
46035 #ifdef HAVE_IEEEFP_H
46036 #include <ieeefp.h>
46037 #endif
46040 main ()
46042 _expf(0);
46044 return 0;
46046 _ACEOF
46047 if ac_fn_cxx_try_compile "$LINENO"; then :
46048 glibcxx_cv_func__expf_use=yes
46049 else
46050 glibcxx_cv_func__expf_use=no
46052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46053 ac_ext=c
46054 ac_cpp='$CPP $CPPFLAGS'
46055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46064 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46066 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46067 for ac_func in _expf
46068 do :
46069 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46070 if test "x$ac_cv_func__expf" = x""yes; then :
46071 cat >>confdefs.h <<_ACEOF
46072 #define HAVE__EXPF 1
46073 _ACEOF
46076 done
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46086 $as_echo_n "checking for isnanf declaration... " >&6; }
46087 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46088 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46090 else
46093 ac_ext=cpp
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46101 #include <math.h>
46102 #ifdef HAVE_IEEEFP_H
46103 #include <ieeefp.h>
46104 #endif
46107 main ()
46109 isnanf(0);
46111 return 0;
46113 _ACEOF
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115 glibcxx_cv_func_isnanf_use=yes
46116 else
46117 glibcxx_cv_func_isnanf_use=no
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46120 ac_ext=c
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46131 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46133 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46134 for ac_func in isnanf
46135 do :
46136 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46137 if test "x$ac_cv_func_isnanf" = x""yes; then :
46138 cat >>confdefs.h <<_ACEOF
46139 #define HAVE_ISNANF 1
46140 _ACEOF
46143 done
46145 else
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46148 $as_echo_n "checking for _isnanf declaration... " >&6; }
46149 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46150 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46151 $as_echo_n "(cached) " >&6
46152 else
46155 ac_ext=cpp
46156 ac_cpp='$CXXCPP $CPPFLAGS'
46157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46162 /* end confdefs.h. */
46163 #include <math.h>
46164 #ifdef HAVE_IEEEFP_H
46165 #include <ieeefp.h>
46166 #endif
46169 main ()
46171 _isnanf(0);
46173 return 0;
46175 _ACEOF
46176 if ac_fn_cxx_try_compile "$LINENO"; then :
46177 glibcxx_cv_func__isnanf_use=yes
46178 else
46179 glibcxx_cv_func__isnanf_use=no
46181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46182 ac_ext=c
46183 ac_cpp='$CPP $CPPFLAGS'
46184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46193 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46195 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46196 for ac_func in _isnanf
46197 do :
46198 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46199 if test "x$ac_cv_func__isnanf" = x""yes; then :
46200 cat >>confdefs.h <<_ACEOF
46201 #define HAVE__ISNANF 1
46202 _ACEOF
46205 done
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46215 $as_echo_n "checking for isinff declaration... " >&6; }
46216 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46217 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46218 $as_echo_n "(cached) " >&6
46219 else
46222 ac_ext=cpp
46223 ac_cpp='$CXXCPP $CPPFLAGS'
46224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h. */
46230 #include <math.h>
46231 #ifdef HAVE_IEEEFP_H
46232 #include <ieeefp.h>
46233 #endif
46236 main ()
46238 isinff(0);
46240 return 0;
46242 _ACEOF
46243 if ac_fn_cxx_try_compile "$LINENO"; then :
46244 glibcxx_cv_func_isinff_use=yes
46245 else
46246 glibcxx_cv_func_isinff_use=no
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46249 ac_ext=c
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46260 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46262 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46263 for ac_func in isinff
46264 do :
46265 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46266 if test "x$ac_cv_func_isinff" = x""yes; then :
46267 cat >>confdefs.h <<_ACEOF
46268 #define HAVE_ISINFF 1
46269 _ACEOF
46272 done
46274 else
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46277 $as_echo_n "checking for _isinff declaration... " >&6; }
46278 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46279 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46280 $as_echo_n "(cached) " >&6
46281 else
46284 ac_ext=cpp
46285 ac_cpp='$CXXCPP $CPPFLAGS'
46286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46291 /* end confdefs.h. */
46292 #include <math.h>
46293 #ifdef HAVE_IEEEFP_H
46294 #include <ieeefp.h>
46295 #endif
46298 main ()
46300 _isinff(0);
46302 return 0;
46304 _ACEOF
46305 if ac_fn_cxx_try_compile "$LINENO"; then :
46306 glibcxx_cv_func__isinff_use=yes
46307 else
46308 glibcxx_cv_func__isinff_use=no
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46322 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46324 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46325 for ac_func in _isinff
46326 do :
46327 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46328 if test "x$ac_cv_func__isinff" = x""yes; then :
46329 cat >>confdefs.h <<_ACEOF
46330 #define HAVE__ISINFF 1
46331 _ACEOF
46334 done
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46344 $as_echo_n "checking for atan2f declaration... " >&6; }
46345 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46346 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46347 $as_echo_n "(cached) " >&6
46348 else
46351 ac_ext=cpp
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h. */
46359 #include <math.h>
46361 main ()
46363 atan2f(0, 0);
46365 return 0;
46367 _ACEOF
46368 if ac_fn_cxx_try_compile "$LINENO"; then :
46369 glibcxx_cv_func_atan2f_use=yes
46370 else
46371 glibcxx_cv_func_atan2f_use=no
46373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46374 ac_ext=c
46375 ac_cpp='$CPP $CPPFLAGS'
46376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46385 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46387 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46388 for ac_func in atan2f
46389 do :
46390 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46391 if test "x$ac_cv_func_atan2f" = x""yes; then :
46392 cat >>confdefs.h <<_ACEOF
46393 #define HAVE_ATAN2F 1
46394 _ACEOF
46397 done
46399 else
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46402 $as_echo_n "checking for _atan2f declaration... " >&6; }
46403 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46404 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46405 $as_echo_n "(cached) " >&6
46406 else
46409 ac_ext=cpp
46410 ac_cpp='$CXXCPP $CPPFLAGS'
46411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46416 /* end confdefs.h. */
46417 #include <math.h>
46419 main ()
46421 _atan2f(0, 0);
46423 return 0;
46425 _ACEOF
46426 if ac_fn_cxx_try_compile "$LINENO"; then :
46427 glibcxx_cv_func__atan2f_use=yes
46428 else
46429 glibcxx_cv_func__atan2f_use=no
46431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46432 ac_ext=c
46433 ac_cpp='$CPP $CPPFLAGS'
46434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46443 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46445 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46446 for ac_func in _atan2f
46447 do :
46448 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46449 if test "x$ac_cv_func__atan2f" = x""yes; then :
46450 cat >>confdefs.h <<_ACEOF
46451 #define HAVE__ATAN2F 1
46452 _ACEOF
46455 done
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46465 $as_echo_n "checking for fabsf declaration... " >&6; }
46466 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46467 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46468 $as_echo_n "(cached) " >&6
46469 else
46472 ac_ext=cpp
46473 ac_cpp='$CXXCPP $CPPFLAGS'
46474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46479 /* end confdefs.h. */
46480 #include <math.h>
46481 #ifdef HAVE_IEEEFP_H
46482 #include <ieeefp.h>
46483 #endif
46486 main ()
46488 fabsf(0);
46490 return 0;
46492 _ACEOF
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func_fabsf_use=yes
46495 else
46496 glibcxx_cv_func_fabsf_use=no
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499 ac_ext=c
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46510 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46512 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46513 for ac_func in fabsf
46514 do :
46515 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46516 if test "x$ac_cv_func_fabsf" = x""yes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE_FABSF 1
46519 _ACEOF
46522 done
46524 else
46526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46527 $as_echo_n "checking for _fabsf declaration... " >&6; }
46528 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46529 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46530 $as_echo_n "(cached) " >&6
46531 else
46534 ac_ext=cpp
46535 ac_cpp='$CXXCPP $CPPFLAGS'
46536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46541 /* end confdefs.h. */
46542 #include <math.h>
46543 #ifdef HAVE_IEEEFP_H
46544 #include <ieeefp.h>
46545 #endif
46548 main ()
46550 _fabsf(0);
46552 return 0;
46554 _ACEOF
46555 if ac_fn_cxx_try_compile "$LINENO"; then :
46556 glibcxx_cv_func__fabsf_use=yes
46557 else
46558 glibcxx_cv_func__fabsf_use=no
46560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46561 ac_ext=c
46562 ac_cpp='$CPP $CPPFLAGS'
46563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46572 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46574 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46575 for ac_func in _fabsf
46576 do :
46577 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46578 if test "x$ac_cv_func__fabsf" = x""yes; then :
46579 cat >>confdefs.h <<_ACEOF
46580 #define HAVE__FABSF 1
46581 _ACEOF
46584 done
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46594 $as_echo_n "checking for fmodf declaration... " >&6; }
46595 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46596 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46597 $as_echo_n "(cached) " >&6
46598 else
46601 ac_ext=cpp
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46608 /* end confdefs.h. */
46609 #include <math.h>
46611 main ()
46613 fmodf(0, 0);
46615 return 0;
46617 _ACEOF
46618 if ac_fn_cxx_try_compile "$LINENO"; then :
46619 glibcxx_cv_func_fmodf_use=yes
46620 else
46621 glibcxx_cv_func_fmodf_use=no
46623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46624 ac_ext=c
46625 ac_cpp='$CPP $CPPFLAGS'
46626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46635 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46637 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46638 for ac_func in fmodf
46639 do :
46640 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46641 if test "x$ac_cv_func_fmodf" = x""yes; then :
46642 cat >>confdefs.h <<_ACEOF
46643 #define HAVE_FMODF 1
46644 _ACEOF
46647 done
46649 else
46651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46652 $as_echo_n "checking for _fmodf declaration... " >&6; }
46653 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46654 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46655 $as_echo_n "(cached) " >&6
46656 else
46659 ac_ext=cpp
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46666 /* end confdefs.h. */
46667 #include <math.h>
46669 main ()
46671 _fmodf(0, 0);
46673 return 0;
46675 _ACEOF
46676 if ac_fn_cxx_try_compile "$LINENO"; then :
46677 glibcxx_cv_func__fmodf_use=yes
46678 else
46679 glibcxx_cv_func__fmodf_use=no
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682 ac_ext=c
46683 ac_cpp='$CPP $CPPFLAGS'
46684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46693 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46695 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46696 for ac_func in _fmodf
46697 do :
46698 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46699 if test "x$ac_cv_func__fmodf" = x""yes; then :
46700 cat >>confdefs.h <<_ACEOF
46701 #define HAVE__FMODF 1
46702 _ACEOF
46705 done
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46715 $as_echo_n "checking for frexpf declaration... " >&6; }
46716 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46717 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46718 $as_echo_n "(cached) " >&6
46719 else
46722 ac_ext=cpp
46723 ac_cpp='$CXXCPP $CPPFLAGS'
46724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46729 /* end confdefs.h. */
46730 #include <math.h>
46732 main ()
46734 frexpf(0, 0);
46736 return 0;
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func_frexpf_use=yes
46741 else
46742 glibcxx_cv_func_frexpf_use=no
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46756 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46758 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46759 for ac_func in frexpf
46760 do :
46761 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46762 if test "x$ac_cv_func_frexpf" = x""yes; then :
46763 cat >>confdefs.h <<_ACEOF
46764 #define HAVE_FREXPF 1
46765 _ACEOF
46768 done
46770 else
46772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46773 $as_echo_n "checking for _frexpf declaration... " >&6; }
46774 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46775 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46776 $as_echo_n "(cached) " >&6
46777 else
46780 ac_ext=cpp
46781 ac_cpp='$CXXCPP $CPPFLAGS'
46782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46787 /* end confdefs.h. */
46788 #include <math.h>
46790 main ()
46792 _frexpf(0, 0);
46794 return 0;
46796 _ACEOF
46797 if ac_fn_cxx_try_compile "$LINENO"; then :
46798 glibcxx_cv_func__frexpf_use=yes
46799 else
46800 glibcxx_cv_func__frexpf_use=no
46802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46803 ac_ext=c
46804 ac_cpp='$CPP $CPPFLAGS'
46805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46814 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46816 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46817 for ac_func in _frexpf
46818 do :
46819 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46820 if test "x$ac_cv_func__frexpf" = x""yes; then :
46821 cat >>confdefs.h <<_ACEOF
46822 #define HAVE__FREXPF 1
46823 _ACEOF
46826 done
46835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46836 $as_echo_n "checking for hypotf declaration... " >&6; }
46837 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46838 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46839 $as_echo_n "(cached) " >&6
46840 else
46843 ac_ext=cpp
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46850 /* end confdefs.h. */
46851 #include <math.h>
46853 main ()
46855 hypotf(0, 0);
46857 return 0;
46859 _ACEOF
46860 if ac_fn_cxx_try_compile "$LINENO"; then :
46861 glibcxx_cv_func_hypotf_use=yes
46862 else
46863 glibcxx_cv_func_hypotf_use=no
46865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46866 ac_ext=c
46867 ac_cpp='$CPP $CPPFLAGS'
46868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46877 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46879 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46880 for ac_func in hypotf
46881 do :
46882 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46883 if test "x$ac_cv_func_hypotf" = x""yes; then :
46884 cat >>confdefs.h <<_ACEOF
46885 #define HAVE_HYPOTF 1
46886 _ACEOF
46889 done
46891 else
46893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46894 $as_echo_n "checking for _hypotf declaration... " >&6; }
46895 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46896 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46897 $as_echo_n "(cached) " >&6
46898 else
46901 ac_ext=cpp
46902 ac_cpp='$CXXCPP $CPPFLAGS'
46903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46908 /* end confdefs.h. */
46909 #include <math.h>
46911 main ()
46913 _hypotf(0, 0);
46915 return 0;
46917 _ACEOF
46918 if ac_fn_cxx_try_compile "$LINENO"; then :
46919 glibcxx_cv_func__hypotf_use=yes
46920 else
46921 glibcxx_cv_func__hypotf_use=no
46923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46924 ac_ext=c
46925 ac_cpp='$CPP $CPPFLAGS'
46926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46935 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46937 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46938 for ac_func in _hypotf
46939 do :
46940 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46941 if test "x$ac_cv_func__hypotf" = x""yes; then :
46942 cat >>confdefs.h <<_ACEOF
46943 #define HAVE__HYPOTF 1
46944 _ACEOF
46947 done
46956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46957 $as_echo_n "checking for ldexpf declaration... " >&6; }
46958 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46959 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46960 $as_echo_n "(cached) " >&6
46961 else
46964 ac_ext=cpp
46965 ac_cpp='$CXXCPP $CPPFLAGS'
46966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46971 /* end confdefs.h. */
46972 #include <math.h>
46974 main ()
46976 ldexpf(0, 0);
46978 return 0;
46980 _ACEOF
46981 if ac_fn_cxx_try_compile "$LINENO"; then :
46982 glibcxx_cv_func_ldexpf_use=yes
46983 else
46984 glibcxx_cv_func_ldexpf_use=no
46986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46987 ac_ext=c
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46998 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47000 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47001 for ac_func in ldexpf
47002 do :
47003 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47004 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47005 cat >>confdefs.h <<_ACEOF
47006 #define HAVE_LDEXPF 1
47007 _ACEOF
47010 done
47012 else
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47015 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47016 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47017 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <math.h>
47032 main ()
47034 _ldexpf(0, 0);
47036 return 0;
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func__ldexpf_use=yes
47041 else
47042 glibcxx_cv_func__ldexpf_use=no
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47056 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47058 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47059 for ac_func in _ldexpf
47060 do :
47061 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47062 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47063 cat >>confdefs.h <<_ACEOF
47064 #define HAVE__LDEXPF 1
47065 _ACEOF
47068 done
47077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47078 $as_echo_n "checking for logf declaration... " >&6; }
47079 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47080 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47081 $as_echo_n "(cached) " >&6
47082 else
47085 ac_ext=cpp
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h. */
47093 #include <math.h>
47094 #ifdef HAVE_IEEEFP_H
47095 #include <ieeefp.h>
47096 #endif
47099 main ()
47101 logf(0);
47103 return 0;
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func_logf_use=yes
47108 else
47109 glibcxx_cv_func_logf_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47123 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47125 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47126 for ac_func in logf
47127 do :
47128 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47129 if test "x$ac_cv_func_logf" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE_LOGF 1
47132 _ACEOF
47135 done
47137 else
47139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47140 $as_echo_n "checking for _logf declaration... " >&6; }
47141 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47142 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47143 $as_echo_n "(cached) " >&6
47144 else
47147 ac_ext=cpp
47148 ac_cpp='$CXXCPP $CPPFLAGS'
47149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47154 /* end confdefs.h. */
47155 #include <math.h>
47156 #ifdef HAVE_IEEEFP_H
47157 #include <ieeefp.h>
47158 #endif
47161 main ()
47163 _logf(0);
47165 return 0;
47167 _ACEOF
47168 if ac_fn_cxx_try_compile "$LINENO"; then :
47169 glibcxx_cv_func__logf_use=yes
47170 else
47171 glibcxx_cv_func__logf_use=no
47173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47174 ac_ext=c
47175 ac_cpp='$CPP $CPPFLAGS'
47176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47185 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47187 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47188 for ac_func in _logf
47189 do :
47190 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47191 if test "x$ac_cv_func__logf" = x""yes; then :
47192 cat >>confdefs.h <<_ACEOF
47193 #define HAVE__LOGF 1
47194 _ACEOF
47197 done
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47207 $as_echo_n "checking for log10f declaration... " >&6; }
47208 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47209 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47225 #endif
47228 main ()
47230 log10f(0);
47232 return 0;
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func_log10f_use=yes
47237 else
47238 glibcxx_cv_func_log10f_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241 ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47252 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47254 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47255 for ac_func in log10f
47256 do :
47257 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47258 if test "x$ac_cv_func_log10f" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE_LOG10F 1
47261 _ACEOF
47264 done
47266 else
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47269 $as_echo_n "checking for _log10f declaration... " >&6; }
47270 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47271 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47272 $as_echo_n "(cached) " >&6
47273 else
47276 ac_ext=cpp
47277 ac_cpp='$CXXCPP $CPPFLAGS'
47278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47283 /* end confdefs.h. */
47284 #include <math.h>
47285 #ifdef HAVE_IEEEFP_H
47286 #include <ieeefp.h>
47287 #endif
47290 main ()
47292 _log10f(0);
47294 return 0;
47296 _ACEOF
47297 if ac_fn_cxx_try_compile "$LINENO"; then :
47298 glibcxx_cv_func__log10f_use=yes
47299 else
47300 glibcxx_cv_func__log10f_use=no
47302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47303 ac_ext=c
47304 ac_cpp='$CPP $CPPFLAGS'
47305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47314 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47316 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47317 for ac_func in _log10f
47318 do :
47319 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47320 if test "x$ac_cv_func__log10f" = x""yes; then :
47321 cat >>confdefs.h <<_ACEOF
47322 #define HAVE__LOG10F 1
47323 _ACEOF
47326 done
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47336 $as_echo_n "checking for modff declaration... " >&6; }
47337 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47338 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47339 $as_echo_n "(cached) " >&6
47340 else
47343 ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 #include <math.h>
47353 main ()
47355 modff(0, 0);
47357 return 0;
47359 _ACEOF
47360 if ac_fn_cxx_try_compile "$LINENO"; then :
47361 glibcxx_cv_func_modff_use=yes
47362 else
47363 glibcxx_cv_func_modff_use=no
47365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47366 ac_ext=c
47367 ac_cpp='$CPP $CPPFLAGS'
47368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47377 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47379 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47380 for ac_func in modff
47381 do :
47382 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47383 if test "x$ac_cv_func_modff" = x""yes; then :
47384 cat >>confdefs.h <<_ACEOF
47385 #define HAVE_MODFF 1
47386 _ACEOF
47389 done
47391 else
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47394 $as_echo_n "checking for _modff declaration... " >&6; }
47395 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47396 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47401 ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47411 main ()
47413 _modff(0, 0);
47415 return 0;
47417 _ACEOF
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419 glibcxx_cv_func__modff_use=yes
47420 else
47421 glibcxx_cv_func__modff_use=no
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424 ac_ext=c
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47435 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47437 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47438 for ac_func in _modff
47439 do :
47440 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47441 if test "x$ac_cv_func__modff" = x""yes; then :
47442 cat >>confdefs.h <<_ACEOF
47443 #define HAVE__MODFF 1
47444 _ACEOF
47447 done
47456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47457 $as_echo_n "checking for modf declaration... " >&6; }
47458 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47459 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47460 $as_echo_n "(cached) " >&6
47461 else
47464 ac_ext=cpp
47465 ac_cpp='$CXXCPP $CPPFLAGS'
47466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47471 /* end confdefs.h. */
47472 #include <math.h>
47474 main ()
47476 modf(0, 0);
47478 return 0;
47480 _ACEOF
47481 if ac_fn_cxx_try_compile "$LINENO"; then :
47482 glibcxx_cv_func_modf_use=yes
47483 else
47484 glibcxx_cv_func_modf_use=no
47486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47487 ac_ext=c
47488 ac_cpp='$CPP $CPPFLAGS'
47489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47498 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47500 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47501 for ac_func in modf
47502 do :
47503 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47504 if test "x$ac_cv_func_modf" = x""yes; then :
47505 cat >>confdefs.h <<_ACEOF
47506 #define HAVE_MODF 1
47507 _ACEOF
47510 done
47512 else
47514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47515 $as_echo_n "checking for _modf declaration... " >&6; }
47516 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47517 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47518 $as_echo_n "(cached) " >&6
47519 else
47522 ac_ext=cpp
47523 ac_cpp='$CXXCPP $CPPFLAGS'
47524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47529 /* end confdefs.h. */
47530 #include <math.h>
47532 main ()
47534 _modf(0, 0);
47536 return 0;
47538 _ACEOF
47539 if ac_fn_cxx_try_compile "$LINENO"; then :
47540 glibcxx_cv_func__modf_use=yes
47541 else
47542 glibcxx_cv_func__modf_use=no
47544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47545 ac_ext=c
47546 ac_cpp='$CPP $CPPFLAGS'
47547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47556 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47558 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47559 for ac_func in _modf
47560 do :
47561 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47562 if test "x$ac_cv_func__modf" = x""yes; then :
47563 cat >>confdefs.h <<_ACEOF
47564 #define HAVE__MODF 1
47565 _ACEOF
47568 done
47577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47578 $as_echo_n "checking for powf declaration... " >&6; }
47579 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47580 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47581 $as_echo_n "(cached) " >&6
47582 else
47585 ac_ext=cpp
47586 ac_cpp='$CXXCPP $CPPFLAGS'
47587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47592 /* end confdefs.h. */
47593 #include <math.h>
47595 main ()
47597 powf(0, 0);
47599 return 0;
47601 _ACEOF
47602 if ac_fn_cxx_try_compile "$LINENO"; then :
47603 glibcxx_cv_func_powf_use=yes
47604 else
47605 glibcxx_cv_func_powf_use=no
47607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47608 ac_ext=c
47609 ac_cpp='$CPP $CPPFLAGS'
47610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47619 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47621 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47622 for ac_func in powf
47623 do :
47624 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47625 if test "x$ac_cv_func_powf" = x""yes; then :
47626 cat >>confdefs.h <<_ACEOF
47627 #define HAVE_POWF 1
47628 _ACEOF
47631 done
47633 else
47635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47636 $as_echo_n "checking for _powf declaration... " >&6; }
47637 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47638 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47639 $as_echo_n "(cached) " >&6
47640 else
47643 ac_ext=cpp
47644 ac_cpp='$CXXCPP $CPPFLAGS'
47645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47650 /* end confdefs.h. */
47651 #include <math.h>
47653 main ()
47655 _powf(0, 0);
47657 return 0;
47659 _ACEOF
47660 if ac_fn_cxx_try_compile "$LINENO"; then :
47661 glibcxx_cv_func__powf_use=yes
47662 else
47663 glibcxx_cv_func__powf_use=no
47665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47666 ac_ext=c
47667 ac_cpp='$CPP $CPPFLAGS'
47668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47677 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47679 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47680 for ac_func in _powf
47681 do :
47682 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47683 if test "x$ac_cv_func__powf" = x""yes; then :
47684 cat >>confdefs.h <<_ACEOF
47685 #define HAVE__POWF 1
47686 _ACEOF
47689 done
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47699 $as_echo_n "checking for sqrtf declaration... " >&6; }
47700 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47701 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47702 $as_echo_n "(cached) " >&6
47703 else
47706 ac_ext=cpp
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47713 /* end confdefs.h. */
47714 #include <math.h>
47715 #ifdef HAVE_IEEEFP_H
47716 #include <ieeefp.h>
47717 #endif
47720 main ()
47722 sqrtf(0);
47724 return 0;
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func_sqrtf_use=yes
47729 else
47730 glibcxx_cv_func_sqrtf_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47744 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47746 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47747 for ac_func in sqrtf
47748 do :
47749 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47750 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE_SQRTF 1
47753 _ACEOF
47756 done
47758 else
47760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47761 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47762 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47763 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47764 $as_echo_n "(cached) " >&6
47765 else
47768 ac_ext=cpp
47769 ac_cpp='$CXXCPP $CPPFLAGS'
47770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47775 /* end confdefs.h. */
47776 #include <math.h>
47777 #ifdef HAVE_IEEEFP_H
47778 #include <ieeefp.h>
47779 #endif
47782 main ()
47784 _sqrtf(0);
47786 return 0;
47788 _ACEOF
47789 if ac_fn_cxx_try_compile "$LINENO"; then :
47790 glibcxx_cv_func__sqrtf_use=yes
47791 else
47792 glibcxx_cv_func__sqrtf_use=no
47794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47795 ac_ext=c
47796 ac_cpp='$CPP $CPPFLAGS'
47797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47806 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47808 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47809 for ac_func in _sqrtf
47810 do :
47811 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47812 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47813 cat >>confdefs.h <<_ACEOF
47814 #define HAVE__SQRTF 1
47815 _ACEOF
47818 done
47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47828 $as_echo_n "checking for sincosf declaration... " >&6; }
47829 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47830 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47831 $as_echo_n "(cached) " >&6
47832 else
47835 ac_ext=cpp
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h. */
47843 #include <math.h>
47845 main ()
47847 sincosf(0, 0, 0);
47849 return 0;
47851 _ACEOF
47852 if ac_fn_cxx_try_compile "$LINENO"; then :
47853 glibcxx_cv_func_sincosf_use=yes
47854 else
47855 glibcxx_cv_func_sincosf_use=no
47857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47858 ac_ext=c
47859 ac_cpp='$CPP $CPPFLAGS'
47860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47869 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47871 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47872 for ac_func in sincosf
47873 do :
47874 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47875 if test "x$ac_cv_func_sincosf" = x""yes; then :
47876 cat >>confdefs.h <<_ACEOF
47877 #define HAVE_SINCOSF 1
47878 _ACEOF
47881 done
47883 else
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47886 $as_echo_n "checking for _sincosf declaration... " >&6; }
47887 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47888 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47903 main ()
47905 _sincosf(0, 0, 0);
47907 return 0;
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func__sincosf_use=yes
47912 else
47913 glibcxx_cv_func__sincosf_use=no
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47927 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47929 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47930 for ac_func in _sincosf
47931 do :
47932 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47933 if test "x$ac_cv_func__sincosf" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE__SINCOSF 1
47936 _ACEOF
47939 done
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47949 $as_echo_n "checking for finitef declaration... " >&6; }
47950 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47951 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47952 $as_echo_n "(cached) " >&6
47953 else
47956 ac_ext=cpp
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47963 /* end confdefs.h. */
47964 #include <math.h>
47965 #ifdef HAVE_IEEEFP_H
47966 #include <ieeefp.h>
47967 #endif
47970 main ()
47972 finitef(0);
47974 return 0;
47976 _ACEOF
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func_finitef_use=yes
47979 else
47980 glibcxx_cv_func_finitef_use=no
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47983 ac_ext=c
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47994 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47996 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47997 for ac_func in finitef
47998 do :
47999 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48000 if test "x$ac_cv_func_finitef" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE_FINITEF 1
48003 _ACEOF
48006 done
48008 else
48010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48011 $as_echo_n "checking for _finitef declaration... " >&6; }
48012 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48013 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48014 $as_echo_n "(cached) " >&6
48015 else
48018 ac_ext=cpp
48019 ac_cpp='$CXXCPP $CPPFLAGS'
48020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48025 /* end confdefs.h. */
48026 #include <math.h>
48027 #ifdef HAVE_IEEEFP_H
48028 #include <ieeefp.h>
48029 #endif
48032 main ()
48034 _finitef(0);
48036 return 0;
48038 _ACEOF
48039 if ac_fn_cxx_try_compile "$LINENO"; then :
48040 glibcxx_cv_func__finitef_use=yes
48041 else
48042 glibcxx_cv_func__finitef_use=no
48044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48045 ac_ext=c
48046 ac_cpp='$CPP $CPPFLAGS'
48047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48056 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48058 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48059 for ac_func in _finitef
48060 do :
48061 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48062 if test "x$ac_cv_func__finitef" = x""yes; then :
48063 cat >>confdefs.h <<_ACEOF
48064 #define HAVE__FINITEF 1
48065 _ACEOF
48068 done
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48078 $as_echo_n "checking for long double trig functions... " >&6; }
48079 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48080 $as_echo_n "(cached) " >&6
48081 else
48084 ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 #include <math.h>
48094 main ()
48096 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48098 return 0;
48100 _ACEOF
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102 glibcxx_cv_func_long_double_trig_use=yes
48103 else
48104 glibcxx_cv_func_long_double_trig_use=no
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107 ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48116 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48117 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48118 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48119 do :
48120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48122 eval as_val=\$$as_ac_var
48123 if test "x$as_val" = x""yes; then :
48124 cat >>confdefs.h <<_ACEOF
48125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48126 _ACEOF
48129 done
48131 else
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48133 $as_echo_n "checking for _long double trig functions... " >&6; }
48134 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48135 $as_echo_n "(cached) " >&6
48136 else
48139 ac_ext=cpp
48140 ac_cpp='$CXXCPP $CPPFLAGS'
48141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48146 /* end confdefs.h. */
48147 #include <math.h>
48149 main ()
48151 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48153 return 0;
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__long_double_trig_use=yes
48158 else
48159 glibcxx_cv_func__long_double_trig_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48171 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48172 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48173 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48174 do :
48175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48177 eval as_val=\$$as_ac_var
48178 if test "x$as_val" = x""yes; then :
48179 cat >>confdefs.h <<_ACEOF
48180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48181 _ACEOF
48184 done
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48194 $as_echo_n "checking for long double round functions... " >&6; }
48195 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48197 else
48200 ac_ext=cpp
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 #include <math.h>
48210 main ()
48212 ceill (0); floorl (0);
48214 return 0;
48216 _ACEOF
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func_long_double_round_use=yes
48219 else
48220 glibcxx_cv_func_long_double_round_use=no
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48223 ac_ext=c
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48232 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48233 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48234 for ac_func in ceill floorl
48235 do :
48236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48238 eval as_val=\$$as_ac_var
48239 if test "x$as_val" = x""yes; then :
48240 cat >>confdefs.h <<_ACEOF
48241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48242 _ACEOF
48245 done
48247 else
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48249 $as_echo_n "checking for _long double round functions... " >&6; }
48250 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48251 $as_echo_n "(cached) " >&6
48252 else
48255 ac_ext=cpp
48256 ac_cpp='$CXXCPP $CPPFLAGS'
48257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262 /* end confdefs.h. */
48263 #include <math.h>
48265 main ()
48267 _ceill (0); _floorl (0);
48269 return 0;
48271 _ACEOF
48272 if ac_fn_cxx_try_compile "$LINENO"; then :
48273 glibcxx_cv_func__long_double_round_use=yes
48274 else
48275 glibcxx_cv_func__long_double_round_use=no
48277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48278 ac_ext=c
48279 ac_cpp='$CPP $CPPFLAGS'
48280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48287 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48288 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48289 for ac_func in _ceill _floorl
48290 do :
48291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48293 eval as_val=\$$as_ac_var
48294 if test "x$as_val" = x""yes; then :
48295 cat >>confdefs.h <<_ACEOF
48296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48297 _ACEOF
48300 done
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48311 $as_echo_n "checking for isnanl declaration... " >&6; }
48312 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48313 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48314 $as_echo_n "(cached) " >&6
48315 else
48318 ac_ext=cpp
48319 ac_cpp='$CXXCPP $CPPFLAGS'
48320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48325 /* end confdefs.h. */
48326 #include <math.h>
48327 #ifdef HAVE_IEEEFP_H
48328 #include <ieeefp.h>
48329 #endif
48332 main ()
48334 isnanl(0);
48336 return 0;
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func_isnanl_use=yes
48341 else
48342 glibcxx_cv_func_isnanl_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345 ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48356 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48358 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48359 for ac_func in isnanl
48360 do :
48361 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48362 if test "x$ac_cv_func_isnanl" = x""yes; then :
48363 cat >>confdefs.h <<_ACEOF
48364 #define HAVE_ISNANL 1
48365 _ACEOF
48368 done
48370 else
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48373 $as_echo_n "checking for _isnanl declaration... " >&6; }
48374 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48375 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48377 else
48380 ac_ext=cpp
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48388 #include <math.h>
48389 #ifdef HAVE_IEEEFP_H
48390 #include <ieeefp.h>
48391 #endif
48394 main ()
48396 _isnanl(0);
48398 return 0;
48400 _ACEOF
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func__isnanl_use=yes
48403 else
48404 glibcxx_cv_func__isnanl_use=no
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407 ac_ext=c
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48418 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48420 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48421 for ac_func in _isnanl
48422 do :
48423 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48424 if test "x$ac_cv_func__isnanl" = x""yes; then :
48425 cat >>confdefs.h <<_ACEOF
48426 #define HAVE__ISNANL 1
48427 _ACEOF
48430 done
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48440 $as_echo_n "checking for isinfl declaration... " >&6; }
48441 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48442 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48443 $as_echo_n "(cached) " >&6
48444 else
48447 ac_ext=cpp
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h. */
48455 #include <math.h>
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48458 #endif
48461 main ()
48463 isinfl(0);
48465 return 0;
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func_isinfl_use=yes
48470 else
48471 glibcxx_cv_func_isinfl_use=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48485 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48487 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48488 for ac_func in isinfl
48489 do :
48490 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48491 if test "x$ac_cv_func_isinfl" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE_ISINFL 1
48494 _ACEOF
48497 done
48499 else
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48502 $as_echo_n "checking for _isinfl declaration... " >&6; }
48503 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48504 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48505 $as_echo_n "(cached) " >&6
48506 else
48509 ac_ext=cpp
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48516 /* end confdefs.h. */
48517 #include <math.h>
48518 #ifdef HAVE_IEEEFP_H
48519 #include <ieeefp.h>
48520 #endif
48523 main ()
48525 _isinfl(0);
48527 return 0;
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func__isinfl_use=yes
48532 else
48533 glibcxx_cv_func__isinfl_use=no
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48547 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48549 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48550 for ac_func in _isinfl
48551 do :
48552 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48553 if test "x$ac_cv_func__isinfl" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE__ISINFL 1
48556 _ACEOF
48559 done
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48569 $as_echo_n "checking for atan2l declaration... " >&6; }
48570 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48571 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48573 else
48576 ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48584 #include <math.h>
48586 main ()
48588 atan2l(0, 0);
48590 return 0;
48592 _ACEOF
48593 if ac_fn_cxx_try_compile "$LINENO"; then :
48594 glibcxx_cv_func_atan2l_use=yes
48595 else
48596 glibcxx_cv_func_atan2l_use=no
48598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48599 ac_ext=c
48600 ac_cpp='$CPP $CPPFLAGS'
48601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48610 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48612 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48613 for ac_func in atan2l
48614 do :
48615 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48616 if test "x$ac_cv_func_atan2l" = x""yes; then :
48617 cat >>confdefs.h <<_ACEOF
48618 #define HAVE_ATAN2L 1
48619 _ACEOF
48622 done
48624 else
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48627 $as_echo_n "checking for _atan2l declaration... " >&6; }
48628 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48629 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48630 $as_echo_n "(cached) " >&6
48631 else
48634 ac_ext=cpp
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641 /* end confdefs.h. */
48642 #include <math.h>
48644 main ()
48646 _atan2l(0, 0);
48648 return 0;
48650 _ACEOF
48651 if ac_fn_cxx_try_compile "$LINENO"; then :
48652 glibcxx_cv_func__atan2l_use=yes
48653 else
48654 glibcxx_cv_func__atan2l_use=no
48656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48657 ac_ext=c
48658 ac_cpp='$CPP $CPPFLAGS'
48659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48668 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48670 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48671 for ac_func in _atan2l
48672 do :
48673 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48674 if test "x$ac_cv_func__atan2l" = x""yes; then :
48675 cat >>confdefs.h <<_ACEOF
48676 #define HAVE__ATAN2L 1
48677 _ACEOF
48680 done
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48690 $as_echo_n "checking for expl declaration... " >&6; }
48691 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48692 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48694 else
48697 ac_ext=cpp
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48705 #include <math.h>
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48708 #endif
48711 main ()
48713 expl(0);
48715 return 0;
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func_expl_use=yes
48720 else
48721 glibcxx_cv_func_expl_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48735 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48737 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48738 for ac_func in expl
48739 do :
48740 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48741 if test "x$ac_cv_func_expl" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE_EXPL 1
48744 _ACEOF
48747 done
48749 else
48751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48752 $as_echo_n "checking for _expl declaration... " >&6; }
48753 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48754 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48755 $as_echo_n "(cached) " >&6
48756 else
48759 ac_ext=cpp
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766 /* end confdefs.h. */
48767 #include <math.h>
48768 #ifdef HAVE_IEEEFP_H
48769 #include <ieeefp.h>
48770 #endif
48773 main ()
48775 _expl(0);
48777 return 0;
48779 _ACEOF
48780 if ac_fn_cxx_try_compile "$LINENO"; then :
48781 glibcxx_cv_func__expl_use=yes
48782 else
48783 glibcxx_cv_func__expl_use=no
48785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48786 ac_ext=c
48787 ac_cpp='$CPP $CPPFLAGS'
48788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48797 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48799 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48800 for ac_func in _expl
48801 do :
48802 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48803 if test "x$ac_cv_func__expl" = x""yes; then :
48804 cat >>confdefs.h <<_ACEOF
48805 #define HAVE__EXPL 1
48806 _ACEOF
48809 done
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48819 $as_echo_n "checking for fabsl declaration... " >&6; }
48820 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48821 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48837 #endif
48840 main ()
48842 fabsl(0);
48844 return 0;
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func_fabsl_use=yes
48849 else
48850 glibcxx_cv_func_fabsl_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48864 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48866 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48867 for ac_func in fabsl
48868 do :
48869 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48870 if test "x$ac_cv_func_fabsl" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE_FABSL 1
48873 _ACEOF
48876 done
48878 else
48880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48881 $as_echo_n "checking for _fabsl declaration... " >&6; }
48882 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48883 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48884 $as_echo_n "(cached) " >&6
48885 else
48888 ac_ext=cpp
48889 ac_cpp='$CXXCPP $CPPFLAGS'
48890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48895 /* end confdefs.h. */
48896 #include <math.h>
48897 #ifdef HAVE_IEEEFP_H
48898 #include <ieeefp.h>
48899 #endif
48902 main ()
48904 _fabsl(0);
48906 return 0;
48908 _ACEOF
48909 if ac_fn_cxx_try_compile "$LINENO"; then :
48910 glibcxx_cv_func__fabsl_use=yes
48911 else
48912 glibcxx_cv_func__fabsl_use=no
48914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48915 ac_ext=c
48916 ac_cpp='$CPP $CPPFLAGS'
48917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48926 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48928 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48929 for ac_func in _fabsl
48930 do :
48931 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48932 if test "x$ac_cv_func__fabsl" = x""yes; then :
48933 cat >>confdefs.h <<_ACEOF
48934 #define HAVE__FABSL 1
48935 _ACEOF
48938 done
48947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48948 $as_echo_n "checking for fmodl declaration... " >&6; }
48949 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48950 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48951 $as_echo_n "(cached) " >&6
48952 else
48955 ac_ext=cpp
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48962 /* end confdefs.h. */
48963 #include <math.h>
48965 main ()
48967 fmodl(0, 0);
48969 return 0;
48971 _ACEOF
48972 if ac_fn_cxx_try_compile "$LINENO"; then :
48973 glibcxx_cv_func_fmodl_use=yes
48974 else
48975 glibcxx_cv_func_fmodl_use=no
48977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48978 ac_ext=c
48979 ac_cpp='$CPP $CPPFLAGS'
48980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48989 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48991 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48992 for ac_func in fmodl
48993 do :
48994 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48995 if test "x$ac_cv_func_fmodl" = x""yes; then :
48996 cat >>confdefs.h <<_ACEOF
48997 #define HAVE_FMODL 1
48998 _ACEOF
49001 done
49003 else
49005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49006 $as_echo_n "checking for _fmodl declaration... " >&6; }
49007 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49008 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49009 $as_echo_n "(cached) " >&6
49010 else
49013 ac_ext=cpp
49014 ac_cpp='$CXXCPP $CPPFLAGS'
49015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49020 /* end confdefs.h. */
49021 #include <math.h>
49023 main ()
49025 _fmodl(0, 0);
49027 return 0;
49029 _ACEOF
49030 if ac_fn_cxx_try_compile "$LINENO"; then :
49031 glibcxx_cv_func__fmodl_use=yes
49032 else
49033 glibcxx_cv_func__fmodl_use=no
49035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49036 ac_ext=c
49037 ac_cpp='$CPP $CPPFLAGS'
49038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49047 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49049 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49050 for ac_func in _fmodl
49051 do :
49052 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49053 if test "x$ac_cv_func__fmodl" = x""yes; then :
49054 cat >>confdefs.h <<_ACEOF
49055 #define HAVE__FMODL 1
49056 _ACEOF
49059 done
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49069 $as_echo_n "checking for frexpl declaration... " >&6; }
49070 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49071 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49073 else
49076 ac_ext=cpp
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49084 #include <math.h>
49086 main ()
49088 frexpl(0, 0);
49090 return 0;
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func_frexpl_use=yes
49095 else
49096 glibcxx_cv_func_frexpl_use=no
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49110 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49112 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49113 for ac_func in frexpl
49114 do :
49115 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49116 if test "x$ac_cv_func_frexpl" = x""yes; then :
49117 cat >>confdefs.h <<_ACEOF
49118 #define HAVE_FREXPL 1
49119 _ACEOF
49122 done
49124 else
49126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49127 $as_echo_n "checking for _frexpl declaration... " >&6; }
49128 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49129 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49130 $as_echo_n "(cached) " >&6
49131 else
49134 ac_ext=cpp
49135 ac_cpp='$CXXCPP $CPPFLAGS'
49136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49141 /* end confdefs.h. */
49142 #include <math.h>
49144 main ()
49146 _frexpl(0, 0);
49148 return 0;
49150 _ACEOF
49151 if ac_fn_cxx_try_compile "$LINENO"; then :
49152 glibcxx_cv_func__frexpl_use=yes
49153 else
49154 glibcxx_cv_func__frexpl_use=no
49156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49157 ac_ext=c
49158 ac_cpp='$CPP $CPPFLAGS'
49159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49168 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49170 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49171 for ac_func in _frexpl
49172 do :
49173 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49174 if test "x$ac_cv_func__frexpl" = x""yes; then :
49175 cat >>confdefs.h <<_ACEOF
49176 #define HAVE__FREXPL 1
49177 _ACEOF
49180 done
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49190 $as_echo_n "checking for hypotl declaration... " >&6; }
49191 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49192 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49207 main ()
49209 hypotl(0, 0);
49211 return 0;
49213 _ACEOF
49214 if ac_fn_cxx_try_compile "$LINENO"; then :
49215 glibcxx_cv_func_hypotl_use=yes
49216 else
49217 glibcxx_cv_func_hypotl_use=no
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49220 ac_ext=c
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49231 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49233 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49234 for ac_func in hypotl
49235 do :
49236 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49237 if test "x$ac_cv_func_hypotl" = x""yes; then :
49238 cat >>confdefs.h <<_ACEOF
49239 #define HAVE_HYPOTL 1
49240 _ACEOF
49243 done
49245 else
49247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49248 $as_echo_n "checking for _hypotl declaration... " >&6; }
49249 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49250 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49251 $as_echo_n "(cached) " >&6
49252 else
49255 ac_ext=cpp
49256 ac_cpp='$CXXCPP $CPPFLAGS'
49257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49262 /* end confdefs.h. */
49263 #include <math.h>
49265 main ()
49267 _hypotl(0, 0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func__hypotl_use=yes
49274 else
49275 glibcxx_cv_func__hypotl_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49289 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49291 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49292 for ac_func in _hypotl
49293 do :
49294 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49295 if test "x$ac_cv_func__hypotl" = x""yes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE__HYPOTL 1
49298 _ACEOF
49301 done
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49311 $as_echo_n "checking for ldexpl declaration... " >&6; }
49312 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49313 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49314 $as_echo_n "(cached) " >&6
49315 else
49318 ac_ext=cpp
49319 ac_cpp='$CXXCPP $CPPFLAGS'
49320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49325 /* end confdefs.h. */
49326 #include <math.h>
49328 main ()
49330 ldexpl(0, 0);
49332 return 0;
49334 _ACEOF
49335 if ac_fn_cxx_try_compile "$LINENO"; then :
49336 glibcxx_cv_func_ldexpl_use=yes
49337 else
49338 glibcxx_cv_func_ldexpl_use=no
49340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49341 ac_ext=c
49342 ac_cpp='$CPP $CPPFLAGS'
49343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49352 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49354 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49355 for ac_func in ldexpl
49356 do :
49357 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49358 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49359 cat >>confdefs.h <<_ACEOF
49360 #define HAVE_LDEXPL 1
49361 _ACEOF
49364 done
49366 else
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49369 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49370 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49371 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49386 main ()
49388 _ldexpl(0, 0);
49390 return 0;
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func__ldexpl_use=yes
49395 else
49396 glibcxx_cv_func__ldexpl_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49410 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49412 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49413 for ac_func in _ldexpl
49414 do :
49415 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49416 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49417 cat >>confdefs.h <<_ACEOF
49418 #define HAVE__LDEXPL 1
49419 _ACEOF
49422 done
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49432 $as_echo_n "checking for logl declaration... " >&6; }
49433 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49434 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49435 $as_echo_n "(cached) " >&6
49436 else
49439 ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49447 #include <math.h>
49448 #ifdef HAVE_IEEEFP_H
49449 #include <ieeefp.h>
49450 #endif
49453 main ()
49455 logl(0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func_logl_use=yes
49462 else
49463 glibcxx_cv_func_logl_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49477 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49479 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49480 for ac_func in logl
49481 do :
49482 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49483 if test "x$ac_cv_func_logl" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE_LOGL 1
49486 _ACEOF
49489 done
49491 else
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49494 $as_echo_n "checking for _logl declaration... " >&6; }
49495 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49496 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49497 $as_echo_n "(cached) " >&6
49498 else
49501 ac_ext=cpp
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49508 /* end confdefs.h. */
49509 #include <math.h>
49510 #ifdef HAVE_IEEEFP_H
49511 #include <ieeefp.h>
49512 #endif
49515 main ()
49517 _logl(0);
49519 return 0;
49521 _ACEOF
49522 if ac_fn_cxx_try_compile "$LINENO"; then :
49523 glibcxx_cv_func__logl_use=yes
49524 else
49525 glibcxx_cv_func__logl_use=no
49527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49528 ac_ext=c
49529 ac_cpp='$CPP $CPPFLAGS'
49530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49539 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49541 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49542 for ac_func in _logl
49543 do :
49544 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49545 if test "x$ac_cv_func__logl" = x""yes; then :
49546 cat >>confdefs.h <<_ACEOF
49547 #define HAVE__LOGL 1
49548 _ACEOF
49551 done
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49561 $as_echo_n "checking for log10l declaration... " >&6; }
49562 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49563 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49565 else
49568 ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49576 #include <math.h>
49577 #ifdef HAVE_IEEEFP_H
49578 #include <ieeefp.h>
49579 #endif
49582 main ()
49584 log10l(0);
49586 return 0;
49588 _ACEOF
49589 if ac_fn_cxx_try_compile "$LINENO"; then :
49590 glibcxx_cv_func_log10l_use=yes
49591 else
49592 glibcxx_cv_func_log10l_use=no
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49595 ac_ext=c
49596 ac_cpp='$CPP $CPPFLAGS'
49597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49606 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49608 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49609 for ac_func in log10l
49610 do :
49611 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49612 if test "x$ac_cv_func_log10l" = x""yes; then :
49613 cat >>confdefs.h <<_ACEOF
49614 #define HAVE_LOG10L 1
49615 _ACEOF
49618 done
49620 else
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49623 $as_echo_n "checking for _log10l declaration... " >&6; }
49624 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49625 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49626 $as_echo_n "(cached) " >&6
49627 else
49630 ac_ext=cpp
49631 ac_cpp='$CXXCPP $CPPFLAGS'
49632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49637 /* end confdefs.h. */
49638 #include <math.h>
49639 #ifdef HAVE_IEEEFP_H
49640 #include <ieeefp.h>
49641 #endif
49644 main ()
49646 _log10l(0);
49648 return 0;
49650 _ACEOF
49651 if ac_fn_cxx_try_compile "$LINENO"; then :
49652 glibcxx_cv_func__log10l_use=yes
49653 else
49654 glibcxx_cv_func__log10l_use=no
49656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49657 ac_ext=c
49658 ac_cpp='$CPP $CPPFLAGS'
49659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49668 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49670 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49671 for ac_func in _log10l
49672 do :
49673 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49674 if test "x$ac_cv_func__log10l" = x""yes; then :
49675 cat >>confdefs.h <<_ACEOF
49676 #define HAVE__LOG10L 1
49677 _ACEOF
49680 done
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49690 $as_echo_n "checking for modfl declaration... " >&6; }
49691 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49692 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49693 $as_echo_n "(cached) " >&6
49694 else
49697 ac_ext=cpp
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49705 #include <math.h>
49707 main ()
49709 modfl(0, 0);
49711 return 0;
49713 _ACEOF
49714 if ac_fn_cxx_try_compile "$LINENO"; then :
49715 glibcxx_cv_func_modfl_use=yes
49716 else
49717 glibcxx_cv_func_modfl_use=no
49719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49720 ac_ext=c
49721 ac_cpp='$CPP $CPPFLAGS'
49722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49731 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49733 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49734 for ac_func in modfl
49735 do :
49736 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49737 if test "x$ac_cv_func_modfl" = x""yes; then :
49738 cat >>confdefs.h <<_ACEOF
49739 #define HAVE_MODFL 1
49740 _ACEOF
49743 done
49745 else
49747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49748 $as_echo_n "checking for _modfl declaration... " >&6; }
49749 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49750 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49751 $as_echo_n "(cached) " >&6
49752 else
49755 ac_ext=cpp
49756 ac_cpp='$CXXCPP $CPPFLAGS'
49757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49762 /* end confdefs.h. */
49763 #include <math.h>
49765 main ()
49767 _modfl(0, 0);
49769 return 0;
49771 _ACEOF
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773 glibcxx_cv_func__modfl_use=yes
49774 else
49775 glibcxx_cv_func__modfl_use=no
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49778 ac_ext=c
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49789 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49791 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49792 for ac_func in _modfl
49793 do :
49794 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49795 if test "x$ac_cv_func__modfl" = x""yes; then :
49796 cat >>confdefs.h <<_ACEOF
49797 #define HAVE__MODFL 1
49798 _ACEOF
49801 done
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49811 $as_echo_n "checking for powl declaration... " >&6; }
49812 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49813 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49814 $as_echo_n "(cached) " >&6
49815 else
49818 ac_ext=cpp
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h. */
49826 #include <math.h>
49828 main ()
49830 powl(0, 0);
49832 return 0;
49834 _ACEOF
49835 if ac_fn_cxx_try_compile "$LINENO"; then :
49836 glibcxx_cv_func_powl_use=yes
49837 else
49838 glibcxx_cv_func_powl_use=no
49840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49841 ac_ext=c
49842 ac_cpp='$CPP $CPPFLAGS'
49843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49852 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49854 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49855 for ac_func in powl
49856 do :
49857 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49858 if test "x$ac_cv_func_powl" = x""yes; then :
49859 cat >>confdefs.h <<_ACEOF
49860 #define HAVE_POWL 1
49861 _ACEOF
49864 done
49866 else
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49869 $as_echo_n "checking for _powl declaration... " >&6; }
49870 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49871 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49872 $as_echo_n "(cached) " >&6
49873 else
49876 ac_ext=cpp
49877 ac_cpp='$CXXCPP $CPPFLAGS'
49878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49883 /* end confdefs.h. */
49884 #include <math.h>
49886 main ()
49888 _powl(0, 0);
49890 return 0;
49892 _ACEOF
49893 if ac_fn_cxx_try_compile "$LINENO"; then :
49894 glibcxx_cv_func__powl_use=yes
49895 else
49896 glibcxx_cv_func__powl_use=no
49898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49899 ac_ext=c
49900 ac_cpp='$CPP $CPPFLAGS'
49901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49910 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49912 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49913 for ac_func in _powl
49914 do :
49915 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49916 if test "x$ac_cv_func__powl" = x""yes; then :
49917 cat >>confdefs.h <<_ACEOF
49918 #define HAVE__POWL 1
49919 _ACEOF
49922 done
49931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49932 $as_echo_n "checking for sqrtl declaration... " >&6; }
49933 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49934 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49935 $as_echo_n "(cached) " >&6
49936 else
49939 ac_ext=cpp
49940 ac_cpp='$CXXCPP $CPPFLAGS'
49941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49946 /* end confdefs.h. */
49947 #include <math.h>
49948 #ifdef HAVE_IEEEFP_H
49949 #include <ieeefp.h>
49950 #endif
49953 main ()
49955 sqrtl(0);
49957 return 0;
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func_sqrtl_use=yes
49962 else
49963 glibcxx_cv_func_sqrtl_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966 ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49977 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49979 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49980 for ac_func in sqrtl
49981 do :
49982 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49983 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE_SQRTL 1
49986 _ACEOF
49989 done
49991 else
49993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49994 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49995 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49996 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49997 $as_echo_n "(cached) " >&6
49998 else
50001 ac_ext=cpp
50002 ac_cpp='$CXXCPP $CPPFLAGS'
50003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50008 /* end confdefs.h. */
50009 #include <math.h>
50010 #ifdef HAVE_IEEEFP_H
50011 #include <ieeefp.h>
50012 #endif
50015 main ()
50017 _sqrtl(0);
50019 return 0;
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func__sqrtl_use=yes
50024 else
50025 glibcxx_cv_func__sqrtl_use=no
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50039 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50041 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50042 for ac_func in _sqrtl
50043 do :
50044 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50045 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE__SQRTL 1
50048 _ACEOF
50051 done
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50061 $as_echo_n "checking for sincosl declaration... " >&6; }
50062 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50063 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50064 $as_echo_n "(cached) " >&6
50065 else
50068 ac_ext=cpp
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h. */
50076 #include <math.h>
50078 main ()
50080 sincosl(0, 0, 0);
50082 return 0;
50084 _ACEOF
50085 if ac_fn_cxx_try_compile "$LINENO"; then :
50086 glibcxx_cv_func_sincosl_use=yes
50087 else
50088 glibcxx_cv_func_sincosl_use=no
50090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50091 ac_ext=c
50092 ac_cpp='$CPP $CPPFLAGS'
50093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50102 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50104 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50105 for ac_func in sincosl
50106 do :
50107 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50108 if test "x$ac_cv_func_sincosl" = x""yes; then :
50109 cat >>confdefs.h <<_ACEOF
50110 #define HAVE_SINCOSL 1
50111 _ACEOF
50114 done
50116 else
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50119 $as_echo_n "checking for _sincosl declaration... " >&6; }
50120 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50121 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <math.h>
50136 main ()
50138 _sincosl(0, 0, 0);
50140 return 0;
50142 _ACEOF
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func__sincosl_use=yes
50145 else
50146 glibcxx_cv_func__sincosl_use=no
50148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50149 ac_ext=c
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50160 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50162 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50163 for ac_func in _sincosl
50164 do :
50165 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50166 if test "x$ac_cv_func__sincosl" = x""yes; then :
50167 cat >>confdefs.h <<_ACEOF
50168 #define HAVE__SINCOSL 1
50169 _ACEOF
50172 done
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50182 $as_echo_n "checking for finitel declaration... " >&6; }
50183 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50184 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50185 $as_echo_n "(cached) " >&6
50186 else
50189 ac_ext=cpp
50190 ac_cpp='$CXXCPP $CPPFLAGS'
50191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50196 /* end confdefs.h. */
50197 #include <math.h>
50198 #ifdef HAVE_IEEEFP_H
50199 #include <ieeefp.h>
50200 #endif
50203 main ()
50205 finitel(0);
50207 return 0;
50209 _ACEOF
50210 if ac_fn_cxx_try_compile "$LINENO"; then :
50211 glibcxx_cv_func_finitel_use=yes
50212 else
50213 glibcxx_cv_func_finitel_use=no
50215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50216 ac_ext=c
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50227 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50229 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50230 for ac_func in finitel
50231 do :
50232 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50233 if test "x$ac_cv_func_finitel" = x""yes; then :
50234 cat >>confdefs.h <<_ACEOF
50235 #define HAVE_FINITEL 1
50236 _ACEOF
50239 done
50241 else
50243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50244 $as_echo_n "checking for _finitel declaration... " >&6; }
50245 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50246 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50247 $as_echo_n "(cached) " >&6
50248 else
50251 ac_ext=cpp
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50258 /* end confdefs.h. */
50259 #include <math.h>
50260 #ifdef HAVE_IEEEFP_H
50261 #include <ieeefp.h>
50262 #endif
50265 main ()
50267 _finitel(0);
50269 return 0;
50271 _ACEOF
50272 if ac_fn_cxx_try_compile "$LINENO"; then :
50273 glibcxx_cv_func__finitel_use=yes
50274 else
50275 glibcxx_cv_func__finitel_use=no
50277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50278 ac_ext=c
50279 ac_cpp='$CPP $CPPFLAGS'
50280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50289 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50291 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50292 for ac_func in _finitel
50293 do :
50294 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50295 if test "x$ac_cv_func__finitel" = x""yes; then :
50296 cat >>confdefs.h <<_ACEOF
50297 #define HAVE__FINITEL 1
50298 _ACEOF
50301 done
50309 LIBS="$ac_save_LIBS"
50310 CXXFLAGS="$ac_save_CXXFLAGS"
50313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50314 ac_save_CXXFLAGS="$CXXFLAGS"
50315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50319 $as_echo_n "checking for strtold declaration... " >&6; }
50320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50322 $as_echo_n "(cached) " >&6
50323 else
50326 ac_ext=cpp
50327 ac_cpp='$CXXCPP $CPPFLAGS'
50328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50333 /* end confdefs.h. */
50334 #include <stdlib.h>
50336 main ()
50338 strtold(0, 0);
50340 return 0;
50342 _ACEOF
50343 if ac_fn_cxx_try_compile "$LINENO"; then :
50344 glibcxx_cv_func_strtold_use=yes
50345 else
50346 glibcxx_cv_func_strtold_use=no
50348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50349 ac_ext=c
50350 ac_cpp='$CPP $CPPFLAGS'
50351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50362 for ac_func in strtold
50363 do :
50364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50365 if test "x$ac_cv_func_strtold" = x""yes; then :
50366 cat >>confdefs.h <<_ACEOF
50367 #define HAVE_STRTOLD 1
50368 _ACEOF
50371 done
50378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50379 $as_echo_n "checking for strtof declaration... " >&6; }
50380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50382 $as_echo_n "(cached) " >&6
50383 else
50386 ac_ext=cpp
50387 ac_cpp='$CXXCPP $CPPFLAGS'
50388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50393 /* end confdefs.h. */
50394 #include <stdlib.h>
50396 main ()
50398 strtof(0, 0);
50400 return 0;
50402 _ACEOF
50403 if ac_fn_cxx_try_compile "$LINENO"; then :
50404 glibcxx_cv_func_strtof_use=yes
50405 else
50406 glibcxx_cv_func_strtof_use=no
50408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50422 for ac_func in strtof
50423 do :
50424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50425 if test "x$ac_cv_func_strtof" = x""yes; then :
50426 cat >>confdefs.h <<_ACEOF
50427 #define HAVE_STRTOF 1
50428 _ACEOF
50431 done
50438 CXXFLAGS="$ac_save_CXXFLAGS"
50440 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50444 # Check whether --enable-tls was given.
50445 if test "${enable_tls+set}" = set; then :
50446 enableval=$enable_tls;
50447 case "$enableval" in
50448 yes|no) ;;
50449 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50450 esac
50452 else
50453 enable_tls=yes
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50458 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50459 if test "${gcc_cv_have_tls+set}" = set; then :
50460 $as_echo_n "(cached) " >&6
50461 else
50463 if test "$cross_compiling" = yes; then :
50464 if test x$gcc_no_link = xyes; then
50465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50468 /* end confdefs.h. */
50469 __thread int a; int b; int main() { return a = b; }
50470 _ACEOF
50471 if ac_fn_c_try_link "$LINENO"; then :
50472 chktls_save_LDFLAGS="$LDFLAGS"
50473 case $host in
50474 *-*-linux*)
50475 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50477 esac
50478 chktls_save_CFLAGS="$CFLAGS"
50479 CFLAGS="-fPIC $CFLAGS"
50480 if test x$gcc_no_link = xyes; then
50481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50484 /* end confdefs.h. */
50485 int f() { return 0; }
50486 _ACEOF
50487 if ac_fn_c_try_link "$LINENO"; then :
50488 if test x$gcc_no_link = xyes; then
50489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 __thread int a; int b; int f() { return a = b; }
50494 _ACEOF
50495 if ac_fn_c_try_link "$LINENO"; then :
50496 gcc_cv_have_tls=yes
50497 else
50498 gcc_cv_have_tls=no
50500 rm -f core conftest.err conftest.$ac_objext \
50501 conftest$ac_exeext conftest.$ac_ext
50502 else
50503 gcc_cv_have_tls=yes
50505 rm -f core conftest.err conftest.$ac_objext \
50506 conftest$ac_exeext conftest.$ac_ext
50507 CFLAGS="$chktls_save_CFLAGS"
50508 LDFLAGS="$chktls_save_LDFLAGS"
50509 else
50510 gcc_cv_have_tls=no
50512 rm -f core conftest.err conftest.$ac_objext \
50513 conftest$ac_exeext conftest.$ac_ext
50516 else
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 __thread int a; int b; int main() { return a = b; }
50520 _ACEOF
50521 if ac_fn_c_try_run "$LINENO"; then :
50522 chktls_save_LDFLAGS="$LDFLAGS"
50523 LDFLAGS="-static $LDFLAGS"
50524 if test x$gcc_no_link = xyes; then
50525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50528 /* end confdefs.h. */
50529 int main() { return 0; }
50530 _ACEOF
50531 if ac_fn_c_try_link "$LINENO"; then :
50532 if test "$cross_compiling" = yes; then :
50533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50535 as_fn_error "cannot run test program while cross compiling
50536 See \`config.log' for more details." "$LINENO" 5; }
50537 else
50538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50539 /* end confdefs.h. */
50540 __thread int a; int b; int main() { return a = b; }
50541 _ACEOF
50542 if ac_fn_c_try_run "$LINENO"; then :
50543 gcc_cv_have_tls=yes
50544 else
50545 gcc_cv_have_tls=no
50547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50548 conftest.$ac_objext conftest.beam conftest.$ac_ext
50551 else
50552 gcc_cv_have_tls=yes
50554 rm -f core conftest.err conftest.$ac_objext \
50555 conftest$ac_exeext conftest.$ac_ext
50556 LDFLAGS="$chktls_save_LDFLAGS"
50557 if test $gcc_cv_have_tls = yes; then
50558 chktls_save_CFLAGS="$CFLAGS"
50559 thread_CFLAGS=failed
50560 for flag in '' '-pthread' '-lpthread'; do
50561 CFLAGS="$flag $chktls_save_CFLAGS"
50562 if test x$gcc_no_link = xyes; then
50563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 #include <pthread.h>
50568 void *g(void *d) { return NULL; }
50570 main ()
50572 pthread_t t; pthread_create(&t,NULL,g,NULL);
50574 return 0;
50576 _ACEOF
50577 if ac_fn_c_try_link "$LINENO"; then :
50578 thread_CFLAGS="$flag"
50580 rm -f core conftest.err conftest.$ac_objext \
50581 conftest$ac_exeext conftest.$ac_ext
50582 if test "X$thread_CFLAGS" != Xfailed; then
50583 break
50585 done
50586 CFLAGS="$chktls_save_CFLAGS"
50587 if test "X$thread_CFLAGS" != Xfailed; then
50588 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50589 if test "$cross_compiling" = yes; then :
50590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50592 as_fn_error "cannot run test program while cross compiling
50593 See \`config.log' for more details." "$LINENO" 5; }
50594 else
50595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h. */
50597 #include <pthread.h>
50598 __thread int a;
50599 static int *a_in_other_thread;
50600 static void *
50601 thread_func (void *arg)
50603 a_in_other_thread = &a;
50604 return (void *)0;
50607 main ()
50609 pthread_t thread;
50610 void *thread_retval;
50611 int *a_in_main_thread;
50612 if (pthread_create (&thread, (pthread_attr_t *)0,
50613 thread_func, (void *)0))
50614 return 0;
50615 a_in_main_thread = &a;
50616 if (pthread_join (thread, &thread_retval))
50617 return 0;
50618 return (a_in_other_thread == a_in_main_thread);
50620 return 0;
50622 _ACEOF
50623 if ac_fn_c_try_run "$LINENO"; then :
50624 gcc_cv_have_tls=yes
50625 else
50626 gcc_cv_have_tls=no
50628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50629 conftest.$ac_objext conftest.beam conftest.$ac_ext
50632 CFLAGS="$chktls_save_CFLAGS"
50635 else
50636 gcc_cv_have_tls=no
50638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50639 conftest.$ac_objext conftest.beam conftest.$ac_ext
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50644 $as_echo "$gcc_cv_have_tls" >&6; }
50645 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50647 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50655 am_save_CPPFLAGS="$CPPFLAGS"
50657 for element in $INCICONV; do
50658 haveit=
50659 for x in $CPPFLAGS; do
50661 acl_save_prefix="$prefix"
50662 prefix="$acl_final_prefix"
50663 acl_save_exec_prefix="$exec_prefix"
50664 exec_prefix="$acl_final_exec_prefix"
50665 eval x=\"$x\"
50666 exec_prefix="$acl_save_exec_prefix"
50667 prefix="$acl_save_prefix"
50669 if test "X$x" = "X$element"; then
50670 haveit=yes
50671 break
50673 done
50674 if test -z "$haveit"; then
50675 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50677 done
50680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50681 $as_echo_n "checking for iconv... " >&6; }
50682 if test "${am_cv_func_iconv+set}" = set; then :
50683 $as_echo_n "(cached) " >&6
50684 else
50686 am_cv_func_iconv="no, consider installing GNU libiconv"
50687 am_cv_lib_iconv=no
50688 if test x$gcc_no_link = xyes; then
50689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50692 /* end confdefs.h. */
50693 #include <stdlib.h>
50694 #include <iconv.h>
50696 main ()
50698 iconv_t cd = iconv_open("","");
50699 iconv(cd,NULL,NULL,NULL,NULL);
50700 iconv_close(cd);
50702 return 0;
50704 _ACEOF
50705 if ac_fn_c_try_link "$LINENO"; then :
50706 am_cv_func_iconv=yes
50708 rm -f core conftest.err conftest.$ac_objext \
50709 conftest$ac_exeext conftest.$ac_ext
50710 if test "$am_cv_func_iconv" != yes; then
50711 am_save_LIBS="$LIBS"
50712 LIBS="$LIBS $LIBICONV"
50713 if test x$gcc_no_link = xyes; then
50714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50717 /* end confdefs.h. */
50718 #include <stdlib.h>
50719 #include <iconv.h>
50721 main ()
50723 iconv_t cd = iconv_open("","");
50724 iconv(cd,NULL,NULL,NULL,NULL);
50725 iconv_close(cd);
50727 return 0;
50729 _ACEOF
50730 if ac_fn_c_try_link "$LINENO"; then :
50731 am_cv_lib_iconv=yes
50732 am_cv_func_iconv=yes
50734 rm -f core conftest.err conftest.$ac_objext \
50735 conftest$ac_exeext conftest.$ac_ext
50736 LIBS="$am_save_LIBS"
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50741 $as_echo "$am_cv_func_iconv" >&6; }
50742 if test "$am_cv_func_iconv" = yes; then
50744 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50747 if test "$am_cv_lib_iconv" = yes; then
50748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50749 $as_echo_n "checking how to link with libiconv... " >&6; }
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50751 $as_echo "$LIBICONV" >&6; }
50752 else
50753 CPPFLAGS="$am_save_CPPFLAGS"
50754 LIBICONV=
50755 LTLIBICONV=
50760 if test "$am_cv_func_iconv" = yes; then
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50762 $as_echo_n "checking for iconv declaration... " >&6; }
50763 if test "${am_cv_proto_iconv+set}" = set; then :
50764 $as_echo_n "(cached) " >&6
50765 else
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50770 #include <stdlib.h>
50771 #include <iconv.h>
50772 extern
50773 #ifdef __cplusplus
50775 #endif
50776 #if defined(__STDC__) || defined(__cplusplus)
50777 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50778 #else
50779 size_t iconv();
50780 #endif
50783 main ()
50787 return 0;
50789 _ACEOF
50790 if ac_fn_c_try_compile "$LINENO"; then :
50791 am_cv_proto_iconv_arg1=""
50792 else
50793 am_cv_proto_iconv_arg1="const"
50795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50796 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);"
50799 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50801 }$am_cv_proto_iconv" >&5
50802 $as_echo "${ac_t:-
50803 }$am_cv_proto_iconv" >&6; }
50805 cat >>confdefs.h <<_ACEOF
50806 #define ICONV_CONST $am_cv_proto_iconv_arg1
50807 _ACEOF
50812 *-mingw32*)
50814 # If we're not using GNU ld, then there's no point in even trying these
50815 # tests. Check for that first. We should have already tested for gld
50816 # by now (in libtool), but require it now just to be safe...
50817 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50818 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50822 # The name set by libtool depends on the version of libtool. Shame on us
50823 # for depending on an impl detail, but c'est la vie. Older versions used
50824 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50825 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50826 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50827 # set (hence we're using an older libtool), then set it.
50828 if test x${with_gnu_ld+set} != xset; then
50829 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50830 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50831 with_gnu_ld=no
50832 else
50833 with_gnu_ld=$ac_cv_prog_gnu_ld
50837 # Start by getting the version number. I think the libtool test already
50838 # does some of this, but throws away the result.
50839 glibcxx_ld_is_gold=no
50840 if test x"$with_gnu_ld" = x"yes"; then
50841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50842 $as_echo_n "checking for ld version... " >&6; }
50844 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50845 glibcxx_ld_is_gold=yes
50847 ldver=`$LD --version 2>/dev/null |
50848 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'`
50850 glibcxx_gnu_ld_version=`echo $ldver | \
50851 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50853 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50856 # Set --gc-sections.
50857 glibcxx_have_gc_sections=no
50858 if test "$glibcxx_ld_is_gold" = "yes"; then
50859 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50860 glibcxx_have_gc_sections=yes
50862 else
50863 glibcxx_gcsections_min_ld=21602
50864 if test x"$with_gnu_ld" = x"yes" &&
50865 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50866 glibcxx_have_gc_sections=yes
50869 if test "$glibcxx_have_gc_sections" = "yes"; then
50870 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50871 # NB: This flag only works reliably after 2.16.1. Configure tests
50872 # for this are difficult, so hard wire a value that should work.
50874 ac_test_CFLAGS="${CFLAGS+set}"
50875 ac_save_CFLAGS="$CFLAGS"
50876 CFLAGS='-Wl,--gc-sections'
50878 # Check for -Wl,--gc-sections
50879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50880 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50881 if test x$gcc_no_link = xyes; then
50882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 int one(void) { return 1; }
50887 int two(void) { return 2; }
50890 main ()
50892 two();
50894 return 0;
50896 _ACEOF
50897 if ac_fn_c_try_link "$LINENO"; then :
50898 ac_gcsections=yes
50899 else
50900 ac_gcsections=no
50902 rm -f core conftest.err conftest.$ac_objext \
50903 conftest$ac_exeext conftest.$ac_ext
50904 if test "$ac_gcsections" = "yes"; then
50905 rm -f conftest.c
50906 touch conftest.c
50907 if $CC -c conftest.c; then
50908 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50909 grep "Warning: gc-sections option ignored" > /dev/null; then
50910 ac_gcsections=no
50913 rm -f conftest.c conftest.o conftest
50915 if test "$ac_gcsections" = "yes"; then
50916 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50919 $as_echo "$ac_gcsections" >&6; }
50921 if test "$ac_test_CFLAGS" = set; then
50922 CFLAGS="$ac_save_CFLAGS"
50923 else
50924 # this is the suspicious part
50925 CFLAGS=''
50929 # Set -z,relro.
50930 # Note this is only for shared objects.
50931 ac_ld_relro=no
50932 if test x"$with_gnu_ld" = x"yes"; then
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50934 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50935 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50936 if test -n "$cxx_z_relo"; then
50937 OPT_LDFLAGS="-Wl,-z,relro"
50938 ac_ld_relro=yes
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50941 $as_echo "$ac_ld_relro" >&6; }
50944 # Set linker optimization flags.
50945 if test x"$with_gnu_ld" = x"yes"; then
50946 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50953 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50954 ac_save_CXXFLAGS="$CXXFLAGS"
50955 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50958 $as_echo_n "checking for sin in -lm... " >&6; }
50959 if test "${ac_cv_lib_m_sin+set}" = set; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50962 ac_check_lib_save_LIBS=$LIBS
50963 LIBS="-lm $LIBS"
50964 if test x$gcc_no_link = xyes; then
50965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50968 /* end confdefs.h. */
50970 /* Override any GCC internal prototype to avoid an error.
50971 Use char because int might match the return type of a GCC
50972 builtin and then its argument prototype would still apply. */
50973 #ifdef __cplusplus
50974 extern "C"
50975 #endif
50976 char sin ();
50978 main ()
50980 return sin ();
50982 return 0;
50984 _ACEOF
50985 if ac_fn_c_try_link "$LINENO"; then :
50986 ac_cv_lib_m_sin=yes
50987 else
50988 ac_cv_lib_m_sin=no
50990 rm -f core conftest.err conftest.$ac_objext \
50991 conftest$ac_exeext conftest.$ac_ext
50992 LIBS=$ac_check_lib_save_LIBS
50994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50995 $as_echo "$ac_cv_lib_m_sin" >&6; }
50996 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50997 libm="-lm"
51000 ac_save_LIBS="$LIBS"
51001 LIBS="$LIBS $libm"
51005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51006 $as_echo_n "checking for isinf declaration... " >&6; }
51007 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51008 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51009 $as_echo_n "(cached) " >&6
51010 else
51013 ac_ext=cpp
51014 ac_cpp='$CXXCPP $CPPFLAGS'
51015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51020 /* end confdefs.h. */
51021 #include <math.h>
51022 #ifdef HAVE_IEEEFP_H
51023 #include <ieeefp.h>
51024 #endif
51027 main ()
51029 isinf(0);
51031 return 0;
51033 _ACEOF
51034 if ac_fn_cxx_try_compile "$LINENO"; then :
51035 glibcxx_cv_func_isinf_use=yes
51036 else
51037 glibcxx_cv_func_isinf_use=no
51039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51040 ac_ext=c
51041 ac_cpp='$CPP $CPPFLAGS'
51042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51051 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51053 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51054 for ac_func in isinf
51055 do :
51056 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51057 if test "x$ac_cv_func_isinf" = x""yes; then :
51058 cat >>confdefs.h <<_ACEOF
51059 #define HAVE_ISINF 1
51060 _ACEOF
51063 done
51065 else
51067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51068 $as_echo_n "checking for _isinf declaration... " >&6; }
51069 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51070 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51071 $as_echo_n "(cached) " >&6
51072 else
51075 ac_ext=cpp
51076 ac_cpp='$CXXCPP $CPPFLAGS'
51077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51082 /* end confdefs.h. */
51083 #include <math.h>
51084 #ifdef HAVE_IEEEFP_H
51085 #include <ieeefp.h>
51086 #endif
51089 main ()
51091 _isinf(0);
51093 return 0;
51095 _ACEOF
51096 if ac_fn_cxx_try_compile "$LINENO"; then :
51097 glibcxx_cv_func__isinf_use=yes
51098 else
51099 glibcxx_cv_func__isinf_use=no
51101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51102 ac_ext=c
51103 ac_cpp='$CPP $CPPFLAGS'
51104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51113 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51115 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51116 for ac_func in _isinf
51117 do :
51118 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51119 if test "x$ac_cv_func__isinf" = x""yes; then :
51120 cat >>confdefs.h <<_ACEOF
51121 #define HAVE__ISINF 1
51122 _ACEOF
51125 done
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51135 $as_echo_n "checking for isnan declaration... " >&6; }
51136 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51137 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51142 ac_ext=cpp
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51150 #include <math.h>
51151 #ifdef HAVE_IEEEFP_H
51152 #include <ieeefp.h>
51153 #endif
51156 main ()
51158 isnan(0);
51160 return 0;
51162 _ACEOF
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func_isnan_use=yes
51165 else
51166 glibcxx_cv_func_isnan_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51169 ac_ext=c
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51180 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51182 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51183 for ac_func in isnan
51184 do :
51185 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51186 if test "x$ac_cv_func_isnan" = x""yes; then :
51187 cat >>confdefs.h <<_ACEOF
51188 #define HAVE_ISNAN 1
51189 _ACEOF
51192 done
51194 else
51196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51197 $as_echo_n "checking for _isnan declaration... " >&6; }
51198 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51199 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51200 $as_echo_n "(cached) " >&6
51201 else
51204 ac_ext=cpp
51205 ac_cpp='$CXXCPP $CPPFLAGS'
51206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51211 /* end confdefs.h. */
51212 #include <math.h>
51213 #ifdef HAVE_IEEEFP_H
51214 #include <ieeefp.h>
51215 #endif
51218 main ()
51220 _isnan(0);
51222 return 0;
51224 _ACEOF
51225 if ac_fn_cxx_try_compile "$LINENO"; then :
51226 glibcxx_cv_func__isnan_use=yes
51227 else
51228 glibcxx_cv_func__isnan_use=no
51230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51231 ac_ext=c
51232 ac_cpp='$CPP $CPPFLAGS'
51233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51242 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51244 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51245 for ac_func in _isnan
51246 do :
51247 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51248 if test "x$ac_cv_func__isnan" = x""yes; then :
51249 cat >>confdefs.h <<_ACEOF
51250 #define HAVE__ISNAN 1
51251 _ACEOF
51254 done
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51264 $as_echo_n "checking for finite declaration... " >&6; }
51265 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51266 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51267 $as_echo_n "(cached) " >&6
51268 else
51271 ac_ext=cpp
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279 #include <math.h>
51280 #ifdef HAVE_IEEEFP_H
51281 #include <ieeefp.h>
51282 #endif
51285 main ()
51287 finite(0);
51289 return 0;
51291 _ACEOF
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293 glibcxx_cv_func_finite_use=yes
51294 else
51295 glibcxx_cv_func_finite_use=no
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51298 ac_ext=c
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51309 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51311 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51312 for ac_func in finite
51313 do :
51314 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51315 if test "x$ac_cv_func_finite" = x""yes; then :
51316 cat >>confdefs.h <<_ACEOF
51317 #define HAVE_FINITE 1
51318 _ACEOF
51321 done
51323 else
51325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51326 $as_echo_n "checking for _finite declaration... " >&6; }
51327 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51328 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51329 $as_echo_n "(cached) " >&6
51330 else
51333 ac_ext=cpp
51334 ac_cpp='$CXXCPP $CPPFLAGS'
51335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51340 /* end confdefs.h. */
51341 #include <math.h>
51342 #ifdef HAVE_IEEEFP_H
51343 #include <ieeefp.h>
51344 #endif
51347 main ()
51349 _finite(0);
51351 return 0;
51353 _ACEOF
51354 if ac_fn_cxx_try_compile "$LINENO"; then :
51355 glibcxx_cv_func__finite_use=yes
51356 else
51357 glibcxx_cv_func__finite_use=no
51359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51360 ac_ext=c
51361 ac_cpp='$CPP $CPPFLAGS'
51362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51371 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51373 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51374 for ac_func in _finite
51375 do :
51376 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51377 if test "x$ac_cv_func__finite" = x""yes; then :
51378 cat >>confdefs.h <<_ACEOF
51379 #define HAVE__FINITE 1
51380 _ACEOF
51383 done
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51393 $as_echo_n "checking for sincos declaration... " >&6; }
51394 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51395 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51396 $as_echo_n "(cached) " >&6
51397 else
51400 ac_ext=cpp
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h. */
51408 #include <math.h>
51410 main ()
51412 sincos(0, 0, 0);
51414 return 0;
51416 _ACEOF
51417 if ac_fn_cxx_try_compile "$LINENO"; then :
51418 glibcxx_cv_func_sincos_use=yes
51419 else
51420 glibcxx_cv_func_sincos_use=no
51422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51423 ac_ext=c
51424 ac_cpp='$CPP $CPPFLAGS'
51425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51434 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51436 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51437 for ac_func in sincos
51438 do :
51439 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51440 if test "x$ac_cv_func_sincos" = x""yes; then :
51441 cat >>confdefs.h <<_ACEOF
51442 #define HAVE_SINCOS 1
51443 _ACEOF
51446 done
51448 else
51450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51451 $as_echo_n "checking for _sincos declaration... " >&6; }
51452 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51453 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51454 $as_echo_n "(cached) " >&6
51455 else
51458 ac_ext=cpp
51459 ac_cpp='$CXXCPP $CPPFLAGS'
51460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51465 /* end confdefs.h. */
51466 #include <math.h>
51468 main ()
51470 _sincos(0, 0, 0);
51472 return 0;
51474 _ACEOF
51475 if ac_fn_cxx_try_compile "$LINENO"; then :
51476 glibcxx_cv_func__sincos_use=yes
51477 else
51478 glibcxx_cv_func__sincos_use=no
51480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51481 ac_ext=c
51482 ac_cpp='$CPP $CPPFLAGS'
51483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51492 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51494 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51495 for ac_func in _sincos
51496 do :
51497 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51498 if test "x$ac_cv_func__sincos" = x""yes; then :
51499 cat >>confdefs.h <<_ACEOF
51500 #define HAVE__SINCOS 1
51501 _ACEOF
51504 done
51513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51514 $as_echo_n "checking for fpclass declaration... " >&6; }
51515 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51516 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51517 $as_echo_n "(cached) " >&6
51518 else
51521 ac_ext=cpp
51522 ac_cpp='$CXXCPP $CPPFLAGS'
51523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51528 /* end confdefs.h. */
51529 #include <math.h>
51530 #ifdef HAVE_IEEEFP_H
51531 #include <ieeefp.h>
51532 #endif
51535 main ()
51537 fpclass(0);
51539 return 0;
51541 _ACEOF
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543 glibcxx_cv_func_fpclass_use=yes
51544 else
51545 glibcxx_cv_func_fpclass_use=no
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51548 ac_ext=c
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51559 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51561 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51562 for ac_func in fpclass
51563 do :
51564 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51565 if test "x$ac_cv_func_fpclass" = x""yes; then :
51566 cat >>confdefs.h <<_ACEOF
51567 #define HAVE_FPCLASS 1
51568 _ACEOF
51571 done
51573 else
51575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51576 $as_echo_n "checking for _fpclass declaration... " >&6; }
51577 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51578 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51579 $as_echo_n "(cached) " >&6
51580 else
51583 ac_ext=cpp
51584 ac_cpp='$CXXCPP $CPPFLAGS'
51585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51590 /* end confdefs.h. */
51591 #include <math.h>
51592 #ifdef HAVE_IEEEFP_H
51593 #include <ieeefp.h>
51594 #endif
51597 main ()
51599 _fpclass(0);
51601 return 0;
51603 _ACEOF
51604 if ac_fn_cxx_try_compile "$LINENO"; then :
51605 glibcxx_cv_func__fpclass_use=yes
51606 else
51607 glibcxx_cv_func__fpclass_use=no
51609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51610 ac_ext=c
51611 ac_cpp='$CPP $CPPFLAGS'
51612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51621 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51623 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51624 for ac_func in _fpclass
51625 do :
51626 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51627 if test "x$ac_cv_func__fpclass" = x""yes; then :
51628 cat >>confdefs.h <<_ACEOF
51629 #define HAVE__FPCLASS 1
51630 _ACEOF
51633 done
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51643 $as_echo_n "checking for qfpclass declaration... " >&6; }
51644 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51645 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51646 $as_echo_n "(cached) " >&6
51647 else
51650 ac_ext=cpp
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51658 #include <math.h>
51659 #ifdef HAVE_IEEEFP_H
51660 #include <ieeefp.h>
51661 #endif
51664 main ()
51666 qfpclass(0);
51668 return 0;
51670 _ACEOF
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672 glibcxx_cv_func_qfpclass_use=yes
51673 else
51674 glibcxx_cv_func_qfpclass_use=no
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51677 ac_ext=c
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51688 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51690 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51691 for ac_func in qfpclass
51692 do :
51693 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51694 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51695 cat >>confdefs.h <<_ACEOF
51696 #define HAVE_QFPCLASS 1
51697 _ACEOF
51700 done
51702 else
51704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51705 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51706 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51707 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51708 $as_echo_n "(cached) " >&6
51709 else
51712 ac_ext=cpp
51713 ac_cpp='$CXXCPP $CPPFLAGS'
51714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51719 /* end confdefs.h. */
51720 #include <math.h>
51721 #ifdef HAVE_IEEEFP_H
51722 #include <ieeefp.h>
51723 #endif
51726 main ()
51728 _qfpclass(0);
51730 return 0;
51732 _ACEOF
51733 if ac_fn_cxx_try_compile "$LINENO"; then :
51734 glibcxx_cv_func__qfpclass_use=yes
51735 else
51736 glibcxx_cv_func__qfpclass_use=no
51738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51739 ac_ext=c
51740 ac_cpp='$CPP $CPPFLAGS'
51741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51750 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51752 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51753 for ac_func in _qfpclass
51754 do :
51755 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51756 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51757 cat >>confdefs.h <<_ACEOF
51758 #define HAVE__QFPCLASS 1
51759 _ACEOF
51762 done
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51772 $as_echo_n "checking for hypot declaration... " >&6; }
51773 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51774 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51775 $as_echo_n "(cached) " >&6
51776 else
51779 ac_ext=cpp
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h. */
51787 #include <math.h>
51789 main ()
51791 hypot(0, 0);
51793 return 0;
51795 _ACEOF
51796 if ac_fn_cxx_try_compile "$LINENO"; then :
51797 glibcxx_cv_func_hypot_use=yes
51798 else
51799 glibcxx_cv_func_hypot_use=no
51801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51802 ac_ext=c
51803 ac_cpp='$CPP $CPPFLAGS'
51804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51813 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51815 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51816 for ac_func in hypot
51817 do :
51818 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51819 if test "x$ac_cv_func_hypot" = x""yes; then :
51820 cat >>confdefs.h <<_ACEOF
51821 #define HAVE_HYPOT 1
51822 _ACEOF
51825 done
51827 else
51829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51830 $as_echo_n "checking for _hypot declaration... " >&6; }
51831 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51832 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51833 $as_echo_n "(cached) " >&6
51834 else
51837 ac_ext=cpp
51838 ac_cpp='$CXXCPP $CPPFLAGS'
51839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51845 #include <math.h>
51847 main ()
51849 _hypot(0, 0);
51851 return 0;
51853 _ACEOF
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855 glibcxx_cv_func__hypot_use=yes
51856 else
51857 glibcxx_cv_func__hypot_use=no
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51860 ac_ext=c
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51871 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51873 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51874 for ac_func in _hypot
51875 do :
51876 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51877 if test "x$ac_cv_func__hypot" = x""yes; then :
51878 cat >>confdefs.h <<_ACEOF
51879 #define HAVE__HYPOT 1
51880 _ACEOF
51883 done
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51893 $as_echo_n "checking for float trig functions... " >&6; }
51894 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51895 $as_echo_n "(cached) " >&6
51896 else
51899 ac_ext=cpp
51900 ac_cpp='$CXXCPP $CPPFLAGS'
51901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51906 /* end confdefs.h. */
51907 #include <math.h>
51909 main ()
51911 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51913 return 0;
51915 _ACEOF
51916 if ac_fn_cxx_try_compile "$LINENO"; then :
51917 glibcxx_cv_func_float_trig_use=yes
51918 else
51919 glibcxx_cv_func_float_trig_use=no
51921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51922 ac_ext=c
51923 ac_cpp='$CPP $CPPFLAGS'
51924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51931 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51932 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51933 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51934 do :
51935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51937 eval as_val=\$$as_ac_var
51938 if test "x$as_val" = x""yes; then :
51939 cat >>confdefs.h <<_ACEOF
51940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51941 _ACEOF
51944 done
51946 else
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51948 $as_echo_n "checking for _float trig functions... " >&6; }
51949 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51950 $as_echo_n "(cached) " >&6
51951 else
51954 ac_ext=cpp
51955 ac_cpp='$CXXCPP $CPPFLAGS'
51956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51961 /* end confdefs.h. */
51962 #include <math.h>
51964 main ()
51966 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51968 return 0;
51970 _ACEOF
51971 if ac_fn_cxx_try_compile "$LINENO"; then :
51972 glibcxx_cv_func__float_trig_use=yes
51973 else
51974 glibcxx_cv_func__float_trig_use=no
51976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51977 ac_ext=c
51978 ac_cpp='$CPP $CPPFLAGS'
51979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51986 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51987 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51988 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51989 do :
51990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51992 eval as_val=\$$as_ac_var
51993 if test "x$as_val" = x""yes; then :
51994 cat >>confdefs.h <<_ACEOF
51995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51996 _ACEOF
51999 done
52008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52009 $as_echo_n "checking for float round functions... " >&6; }
52010 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52011 $as_echo_n "(cached) " >&6
52012 else
52015 ac_ext=cpp
52016 ac_cpp='$CXXCPP $CPPFLAGS'
52017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52022 /* end confdefs.h. */
52023 #include <math.h>
52025 main ()
52027 ceilf (0); floorf (0);
52029 return 0;
52031 _ACEOF
52032 if ac_fn_cxx_try_compile "$LINENO"; then :
52033 glibcxx_cv_func_float_round_use=yes
52034 else
52035 glibcxx_cv_func_float_round_use=no
52037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52038 ac_ext=c
52039 ac_cpp='$CPP $CPPFLAGS'
52040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52047 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52048 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52049 for ac_func in ceilf floorf
52050 do :
52051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52053 eval as_val=\$$as_ac_var
52054 if test "x$as_val" = x""yes; then :
52055 cat >>confdefs.h <<_ACEOF
52056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52057 _ACEOF
52060 done
52062 else
52063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52064 $as_echo_n "checking for _float round functions... " >&6; }
52065 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52066 $as_echo_n "(cached) " >&6
52067 else
52070 ac_ext=cpp
52071 ac_cpp='$CXXCPP $CPPFLAGS'
52072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52077 /* end confdefs.h. */
52078 #include <math.h>
52080 main ()
52082 _ceilf (0); _floorf (0);
52084 return 0;
52086 _ACEOF
52087 if ac_fn_cxx_try_compile "$LINENO"; then :
52088 glibcxx_cv_func__float_round_use=yes
52089 else
52090 glibcxx_cv_func__float_round_use=no
52092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52093 ac_ext=c
52094 ac_cpp='$CPP $CPPFLAGS'
52095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52102 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52103 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52104 for ac_func in _ceilf _floorf
52105 do :
52106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52108 eval as_val=\$$as_ac_var
52109 if test "x$as_val" = x""yes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52112 _ACEOF
52115 done
52125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52126 $as_echo_n "checking for expf declaration... " >&6; }
52127 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52128 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52129 $as_echo_n "(cached) " >&6
52130 else
52133 ac_ext=cpp
52134 ac_cpp='$CXXCPP $CPPFLAGS'
52135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52140 /* end confdefs.h. */
52141 #include <math.h>
52142 #ifdef HAVE_IEEEFP_H
52143 #include <ieeefp.h>
52144 #endif
52147 main ()
52149 expf(0);
52151 return 0;
52153 _ACEOF
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155 glibcxx_cv_func_expf_use=yes
52156 else
52157 glibcxx_cv_func_expf_use=no
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52160 ac_ext=c
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52171 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52173 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52174 for ac_func in expf
52175 do :
52176 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52177 if test "x$ac_cv_func_expf" = x""yes; then :
52178 cat >>confdefs.h <<_ACEOF
52179 #define HAVE_EXPF 1
52180 _ACEOF
52183 done
52185 else
52187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52188 $as_echo_n "checking for _expf declaration... " >&6; }
52189 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52190 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52191 $as_echo_n "(cached) " >&6
52192 else
52195 ac_ext=cpp
52196 ac_cpp='$CXXCPP $CPPFLAGS'
52197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52202 /* end confdefs.h. */
52203 #include <math.h>
52204 #ifdef HAVE_IEEEFP_H
52205 #include <ieeefp.h>
52206 #endif
52209 main ()
52211 _expf(0);
52213 return 0;
52215 _ACEOF
52216 if ac_fn_cxx_try_compile "$LINENO"; then :
52217 glibcxx_cv_func__expf_use=yes
52218 else
52219 glibcxx_cv_func__expf_use=no
52221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52222 ac_ext=c
52223 ac_cpp='$CPP $CPPFLAGS'
52224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52233 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52235 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52236 for ac_func in _expf
52237 do :
52238 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52239 if test "x$ac_cv_func__expf" = x""yes; then :
52240 cat >>confdefs.h <<_ACEOF
52241 #define HAVE__EXPF 1
52242 _ACEOF
52245 done
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52255 $as_echo_n "checking for isnanf declaration... " >&6; }
52256 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52257 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52258 $as_echo_n "(cached) " >&6
52259 else
52262 ac_ext=cpp
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h. */
52270 #include <math.h>
52271 #ifdef HAVE_IEEEFP_H
52272 #include <ieeefp.h>
52273 #endif
52276 main ()
52278 isnanf(0);
52280 return 0;
52282 _ACEOF
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284 glibcxx_cv_func_isnanf_use=yes
52285 else
52286 glibcxx_cv_func_isnanf_use=no
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52289 ac_ext=c
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52300 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52302 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52303 for ac_func in isnanf
52304 do :
52305 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52306 if test "x$ac_cv_func_isnanf" = x""yes; then :
52307 cat >>confdefs.h <<_ACEOF
52308 #define HAVE_ISNANF 1
52309 _ACEOF
52312 done
52314 else
52316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52317 $as_echo_n "checking for _isnanf declaration... " >&6; }
52318 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52319 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52320 $as_echo_n "(cached) " >&6
52321 else
52324 ac_ext=cpp
52325 ac_cpp='$CXXCPP $CPPFLAGS'
52326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52331 /* end confdefs.h. */
52332 #include <math.h>
52333 #ifdef HAVE_IEEEFP_H
52334 #include <ieeefp.h>
52335 #endif
52338 main ()
52340 _isnanf(0);
52342 return 0;
52344 _ACEOF
52345 if ac_fn_cxx_try_compile "$LINENO"; then :
52346 glibcxx_cv_func__isnanf_use=yes
52347 else
52348 glibcxx_cv_func__isnanf_use=no
52350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52351 ac_ext=c
52352 ac_cpp='$CPP $CPPFLAGS'
52353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52362 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52364 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52365 for ac_func in _isnanf
52366 do :
52367 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52368 if test "x$ac_cv_func__isnanf" = x""yes; then :
52369 cat >>confdefs.h <<_ACEOF
52370 #define HAVE__ISNANF 1
52371 _ACEOF
52374 done
52383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52384 $as_echo_n "checking for isinff declaration... " >&6; }
52385 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52386 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52387 $as_echo_n "(cached) " >&6
52388 else
52391 ac_ext=cpp
52392 ac_cpp='$CXXCPP $CPPFLAGS'
52393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52399 #include <math.h>
52400 #ifdef HAVE_IEEEFP_H
52401 #include <ieeefp.h>
52402 #endif
52405 main ()
52407 isinff(0);
52409 return 0;
52411 _ACEOF
52412 if ac_fn_cxx_try_compile "$LINENO"; then :
52413 glibcxx_cv_func_isinff_use=yes
52414 else
52415 glibcxx_cv_func_isinff_use=no
52417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52418 ac_ext=c
52419 ac_cpp='$CPP $CPPFLAGS'
52420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52429 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52431 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52432 for ac_func in isinff
52433 do :
52434 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52435 if test "x$ac_cv_func_isinff" = x""yes; then :
52436 cat >>confdefs.h <<_ACEOF
52437 #define HAVE_ISINFF 1
52438 _ACEOF
52441 done
52443 else
52445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52446 $as_echo_n "checking for _isinff declaration... " >&6; }
52447 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52448 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52449 $as_echo_n "(cached) " >&6
52450 else
52453 ac_ext=cpp
52454 ac_cpp='$CXXCPP $CPPFLAGS'
52455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52460 /* end confdefs.h. */
52461 #include <math.h>
52462 #ifdef HAVE_IEEEFP_H
52463 #include <ieeefp.h>
52464 #endif
52467 main ()
52469 _isinff(0);
52471 return 0;
52473 _ACEOF
52474 if ac_fn_cxx_try_compile "$LINENO"; then :
52475 glibcxx_cv_func__isinff_use=yes
52476 else
52477 glibcxx_cv_func__isinff_use=no
52479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52480 ac_ext=c
52481 ac_cpp='$CPP $CPPFLAGS'
52482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52491 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52493 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52494 for ac_func in _isinff
52495 do :
52496 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52497 if test "x$ac_cv_func__isinff" = x""yes; then :
52498 cat >>confdefs.h <<_ACEOF
52499 #define HAVE__ISINFF 1
52500 _ACEOF
52503 done
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52513 $as_echo_n "checking for atan2f declaration... " >&6; }
52514 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52515 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52516 $as_echo_n "(cached) " >&6
52517 else
52520 ac_ext=cpp
52521 ac_cpp='$CXXCPP $CPPFLAGS'
52522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52527 /* end confdefs.h. */
52528 #include <math.h>
52530 main ()
52532 atan2f(0, 0);
52534 return 0;
52536 _ACEOF
52537 if ac_fn_cxx_try_compile "$LINENO"; then :
52538 glibcxx_cv_func_atan2f_use=yes
52539 else
52540 glibcxx_cv_func_atan2f_use=no
52542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52543 ac_ext=c
52544 ac_cpp='$CPP $CPPFLAGS'
52545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52554 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52556 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52557 for ac_func in atan2f
52558 do :
52559 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52560 if test "x$ac_cv_func_atan2f" = x""yes; then :
52561 cat >>confdefs.h <<_ACEOF
52562 #define HAVE_ATAN2F 1
52563 _ACEOF
52566 done
52568 else
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52571 $as_echo_n "checking for _atan2f declaration... " >&6; }
52572 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52573 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52574 $as_echo_n "(cached) " >&6
52575 else
52578 ac_ext=cpp
52579 ac_cpp='$CXXCPP $CPPFLAGS'
52580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52585 /* end confdefs.h. */
52586 #include <math.h>
52588 main ()
52590 _atan2f(0, 0);
52592 return 0;
52594 _ACEOF
52595 if ac_fn_cxx_try_compile "$LINENO"; then :
52596 glibcxx_cv_func__atan2f_use=yes
52597 else
52598 glibcxx_cv_func__atan2f_use=no
52600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52601 ac_ext=c
52602 ac_cpp='$CPP $CPPFLAGS'
52603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52612 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52614 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52615 for ac_func in _atan2f
52616 do :
52617 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52618 if test "x$ac_cv_func__atan2f" = x""yes; then :
52619 cat >>confdefs.h <<_ACEOF
52620 #define HAVE__ATAN2F 1
52621 _ACEOF
52624 done
52633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52634 $as_echo_n "checking for fabsf declaration... " >&6; }
52635 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52636 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52637 $as_echo_n "(cached) " >&6
52638 else
52641 ac_ext=cpp
52642 ac_cpp='$CXXCPP $CPPFLAGS'
52643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52648 /* end confdefs.h. */
52649 #include <math.h>
52650 #ifdef HAVE_IEEEFP_H
52651 #include <ieeefp.h>
52652 #endif
52655 main ()
52657 fabsf(0);
52659 return 0;
52661 _ACEOF
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663 glibcxx_cv_func_fabsf_use=yes
52664 else
52665 glibcxx_cv_func_fabsf_use=no
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52668 ac_ext=c
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52679 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52681 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52682 for ac_func in fabsf
52683 do :
52684 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52685 if test "x$ac_cv_func_fabsf" = x""yes; then :
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE_FABSF 1
52688 _ACEOF
52691 done
52693 else
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52696 $as_echo_n "checking for _fabsf declaration... " >&6; }
52697 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52698 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52699 $as_echo_n "(cached) " >&6
52700 else
52703 ac_ext=cpp
52704 ac_cpp='$CXXCPP $CPPFLAGS'
52705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52710 /* end confdefs.h. */
52711 #include <math.h>
52712 #ifdef HAVE_IEEEFP_H
52713 #include <ieeefp.h>
52714 #endif
52717 main ()
52719 _fabsf(0);
52721 return 0;
52723 _ACEOF
52724 if ac_fn_cxx_try_compile "$LINENO"; then :
52725 glibcxx_cv_func__fabsf_use=yes
52726 else
52727 glibcxx_cv_func__fabsf_use=no
52729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52730 ac_ext=c
52731 ac_cpp='$CPP $CPPFLAGS'
52732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52741 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52743 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52744 for ac_func in _fabsf
52745 do :
52746 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52747 if test "x$ac_cv_func__fabsf" = x""yes; then :
52748 cat >>confdefs.h <<_ACEOF
52749 #define HAVE__FABSF 1
52750 _ACEOF
52753 done
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52763 $as_echo_n "checking for fmodf declaration... " >&6; }
52764 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52765 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52766 $as_echo_n "(cached) " >&6
52767 else
52770 ac_ext=cpp
52771 ac_cpp='$CXXCPP $CPPFLAGS'
52772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52777 /* end confdefs.h. */
52778 #include <math.h>
52780 main ()
52782 fmodf(0, 0);
52784 return 0;
52786 _ACEOF
52787 if ac_fn_cxx_try_compile "$LINENO"; then :
52788 glibcxx_cv_func_fmodf_use=yes
52789 else
52790 glibcxx_cv_func_fmodf_use=no
52792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52793 ac_ext=c
52794 ac_cpp='$CPP $CPPFLAGS'
52795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52804 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52806 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52807 for ac_func in fmodf
52808 do :
52809 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52810 if test "x$ac_cv_func_fmodf" = x""yes; then :
52811 cat >>confdefs.h <<_ACEOF
52812 #define HAVE_FMODF 1
52813 _ACEOF
52816 done
52818 else
52820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52821 $as_echo_n "checking for _fmodf declaration... " >&6; }
52822 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52823 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52824 $as_echo_n "(cached) " >&6
52825 else
52828 ac_ext=cpp
52829 ac_cpp='$CXXCPP $CPPFLAGS'
52830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52835 /* end confdefs.h. */
52836 #include <math.h>
52838 main ()
52840 _fmodf(0, 0);
52842 return 0;
52844 _ACEOF
52845 if ac_fn_cxx_try_compile "$LINENO"; then :
52846 glibcxx_cv_func__fmodf_use=yes
52847 else
52848 glibcxx_cv_func__fmodf_use=no
52850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52851 ac_ext=c
52852 ac_cpp='$CPP $CPPFLAGS'
52853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52862 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52864 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52865 for ac_func in _fmodf
52866 do :
52867 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52868 if test "x$ac_cv_func__fmodf" = x""yes; then :
52869 cat >>confdefs.h <<_ACEOF
52870 #define HAVE__FMODF 1
52871 _ACEOF
52874 done
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52884 $as_echo_n "checking for frexpf declaration... " >&6; }
52885 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52886 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52888 else
52891 ac_ext=cpp
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52899 #include <math.h>
52901 main ()
52903 frexpf(0, 0);
52905 return 0;
52907 _ACEOF
52908 if ac_fn_cxx_try_compile "$LINENO"; then :
52909 glibcxx_cv_func_frexpf_use=yes
52910 else
52911 glibcxx_cv_func_frexpf_use=no
52913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52914 ac_ext=c
52915 ac_cpp='$CPP $CPPFLAGS'
52916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52925 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52927 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52928 for ac_func in frexpf
52929 do :
52930 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52931 if test "x$ac_cv_func_frexpf" = x""yes; then :
52932 cat >>confdefs.h <<_ACEOF
52933 #define HAVE_FREXPF 1
52934 _ACEOF
52937 done
52939 else
52941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52942 $as_echo_n "checking for _frexpf declaration... " >&6; }
52943 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52944 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52945 $as_echo_n "(cached) " >&6
52946 else
52949 ac_ext=cpp
52950 ac_cpp='$CXXCPP $CPPFLAGS'
52951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52956 /* end confdefs.h. */
52957 #include <math.h>
52959 main ()
52961 _frexpf(0, 0);
52963 return 0;
52965 _ACEOF
52966 if ac_fn_cxx_try_compile "$LINENO"; then :
52967 glibcxx_cv_func__frexpf_use=yes
52968 else
52969 glibcxx_cv_func__frexpf_use=no
52971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52972 ac_ext=c
52973 ac_cpp='$CPP $CPPFLAGS'
52974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52983 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52985 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52986 for ac_func in _frexpf
52987 do :
52988 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52989 if test "x$ac_cv_func__frexpf" = x""yes; then :
52990 cat >>confdefs.h <<_ACEOF
52991 #define HAVE__FREXPF 1
52992 _ACEOF
52995 done
53004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53005 $as_echo_n "checking for hypotf declaration... " >&6; }
53006 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53007 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53008 $as_echo_n "(cached) " >&6
53009 else
53012 ac_ext=cpp
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53019 /* end confdefs.h. */
53020 #include <math.h>
53022 main ()
53024 hypotf(0, 0);
53026 return 0;
53028 _ACEOF
53029 if ac_fn_cxx_try_compile "$LINENO"; then :
53030 glibcxx_cv_func_hypotf_use=yes
53031 else
53032 glibcxx_cv_func_hypotf_use=no
53034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53035 ac_ext=c
53036 ac_cpp='$CPP $CPPFLAGS'
53037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53046 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53048 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53049 for ac_func in hypotf
53050 do :
53051 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53052 if test "x$ac_cv_func_hypotf" = x""yes; then :
53053 cat >>confdefs.h <<_ACEOF
53054 #define HAVE_HYPOTF 1
53055 _ACEOF
53058 done
53060 else
53062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53063 $as_echo_n "checking for _hypotf declaration... " >&6; }
53064 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53065 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53066 $as_echo_n "(cached) " >&6
53067 else
53070 ac_ext=cpp
53071 ac_cpp='$CXXCPP $CPPFLAGS'
53072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53077 /* end confdefs.h. */
53078 #include <math.h>
53080 main ()
53082 _hypotf(0, 0);
53084 return 0;
53086 _ACEOF
53087 if ac_fn_cxx_try_compile "$LINENO"; then :
53088 glibcxx_cv_func__hypotf_use=yes
53089 else
53090 glibcxx_cv_func__hypotf_use=no
53092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53093 ac_ext=c
53094 ac_cpp='$CPP $CPPFLAGS'
53095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53104 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53106 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53107 for ac_func in _hypotf
53108 do :
53109 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53110 if test "x$ac_cv_func__hypotf" = x""yes; then :
53111 cat >>confdefs.h <<_ACEOF
53112 #define HAVE__HYPOTF 1
53113 _ACEOF
53116 done
53125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53126 $as_echo_n "checking for ldexpf declaration... " >&6; }
53127 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53128 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53129 $as_echo_n "(cached) " >&6
53130 else
53133 ac_ext=cpp
53134 ac_cpp='$CXXCPP $CPPFLAGS'
53135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53140 /* end confdefs.h. */
53141 #include <math.h>
53143 main ()
53145 ldexpf(0, 0);
53147 return 0;
53149 _ACEOF
53150 if ac_fn_cxx_try_compile "$LINENO"; then :
53151 glibcxx_cv_func_ldexpf_use=yes
53152 else
53153 glibcxx_cv_func_ldexpf_use=no
53155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53156 ac_ext=c
53157 ac_cpp='$CPP $CPPFLAGS'
53158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53167 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53169 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53170 for ac_func in ldexpf
53171 do :
53172 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53173 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53174 cat >>confdefs.h <<_ACEOF
53175 #define HAVE_LDEXPF 1
53176 _ACEOF
53179 done
53181 else
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53184 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53185 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53186 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53187 $as_echo_n "(cached) " >&6
53188 else
53191 ac_ext=cpp
53192 ac_cpp='$CXXCPP $CPPFLAGS'
53193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53198 /* end confdefs.h. */
53199 #include <math.h>
53201 main ()
53203 _ldexpf(0, 0);
53205 return 0;
53207 _ACEOF
53208 if ac_fn_cxx_try_compile "$LINENO"; then :
53209 glibcxx_cv_func__ldexpf_use=yes
53210 else
53211 glibcxx_cv_func__ldexpf_use=no
53213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53214 ac_ext=c
53215 ac_cpp='$CPP $CPPFLAGS'
53216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53225 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53227 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53228 for ac_func in _ldexpf
53229 do :
53230 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53231 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53232 cat >>confdefs.h <<_ACEOF
53233 #define HAVE__LDEXPF 1
53234 _ACEOF
53237 done
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53247 $as_echo_n "checking for logf declaration... " >&6; }
53248 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53249 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53250 $as_echo_n "(cached) " >&6
53251 else
53254 ac_ext=cpp
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53261 /* end confdefs.h. */
53262 #include <math.h>
53263 #ifdef HAVE_IEEEFP_H
53264 #include <ieeefp.h>
53265 #endif
53268 main ()
53270 logf(0);
53272 return 0;
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func_logf_use=yes
53277 else
53278 glibcxx_cv_func_logf_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281 ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53292 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53294 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53295 for ac_func in logf
53296 do :
53297 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53298 if test "x$ac_cv_func_logf" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE_LOGF 1
53301 _ACEOF
53304 done
53306 else
53308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53309 $as_echo_n "checking for _logf declaration... " >&6; }
53310 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53311 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53312 $as_echo_n "(cached) " >&6
53313 else
53316 ac_ext=cpp
53317 ac_cpp='$CXXCPP $CPPFLAGS'
53318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53323 /* end confdefs.h. */
53324 #include <math.h>
53325 #ifdef HAVE_IEEEFP_H
53326 #include <ieeefp.h>
53327 #endif
53330 main ()
53332 _logf(0);
53334 return 0;
53336 _ACEOF
53337 if ac_fn_cxx_try_compile "$LINENO"; then :
53338 glibcxx_cv_func__logf_use=yes
53339 else
53340 glibcxx_cv_func__logf_use=no
53342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53343 ac_ext=c
53344 ac_cpp='$CPP $CPPFLAGS'
53345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53354 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53356 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53357 for ac_func in _logf
53358 do :
53359 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53360 if test "x$ac_cv_func__logf" = x""yes; then :
53361 cat >>confdefs.h <<_ACEOF
53362 #define HAVE__LOGF 1
53363 _ACEOF
53366 done
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53376 $as_echo_n "checking for log10f declaration... " >&6; }
53377 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53378 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53380 else
53383 ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53391 #include <math.h>
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53394 #endif
53397 main ()
53399 log10f(0);
53401 return 0;
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func_log10f_use=yes
53406 else
53407 glibcxx_cv_func_log10f_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410 ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53421 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53423 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53424 for ac_func in log10f
53425 do :
53426 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53427 if test "x$ac_cv_func_log10f" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE_LOG10F 1
53430 _ACEOF
53433 done
53435 else
53437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53438 $as_echo_n "checking for _log10f declaration... " >&6; }
53439 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53440 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53441 $as_echo_n "(cached) " >&6
53442 else
53445 ac_ext=cpp
53446 ac_cpp='$CXXCPP $CPPFLAGS'
53447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53452 /* end confdefs.h. */
53453 #include <math.h>
53454 #ifdef HAVE_IEEEFP_H
53455 #include <ieeefp.h>
53456 #endif
53459 main ()
53461 _log10f(0);
53463 return 0;
53465 _ACEOF
53466 if ac_fn_cxx_try_compile "$LINENO"; then :
53467 glibcxx_cv_func__log10f_use=yes
53468 else
53469 glibcxx_cv_func__log10f_use=no
53471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53472 ac_ext=c
53473 ac_cpp='$CPP $CPPFLAGS'
53474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53483 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53485 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53486 for ac_func in _log10f
53487 do :
53488 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53489 if test "x$ac_cv_func__log10f" = x""yes; then :
53490 cat >>confdefs.h <<_ACEOF
53491 #define HAVE__LOG10F 1
53492 _ACEOF
53495 done
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53505 $as_echo_n "checking for modff declaration... " >&6; }
53506 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53507 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53508 $as_echo_n "(cached) " >&6
53509 else
53512 ac_ext=cpp
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53519 /* end confdefs.h. */
53520 #include <math.h>
53522 main ()
53524 modff(0, 0);
53526 return 0;
53528 _ACEOF
53529 if ac_fn_cxx_try_compile "$LINENO"; then :
53530 glibcxx_cv_func_modff_use=yes
53531 else
53532 glibcxx_cv_func_modff_use=no
53534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53535 ac_ext=c
53536 ac_cpp='$CPP $CPPFLAGS'
53537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53546 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53548 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53549 for ac_func in modff
53550 do :
53551 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53552 if test "x$ac_cv_func_modff" = x""yes; then :
53553 cat >>confdefs.h <<_ACEOF
53554 #define HAVE_MODFF 1
53555 _ACEOF
53558 done
53560 else
53562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53563 $as_echo_n "checking for _modff declaration... " >&6; }
53564 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53565 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53566 $as_echo_n "(cached) " >&6
53567 else
53570 ac_ext=cpp
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53578 #include <math.h>
53580 main ()
53582 _modff(0, 0);
53584 return 0;
53586 _ACEOF
53587 if ac_fn_cxx_try_compile "$LINENO"; then :
53588 glibcxx_cv_func__modff_use=yes
53589 else
53590 glibcxx_cv_func__modff_use=no
53592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53593 ac_ext=c
53594 ac_cpp='$CPP $CPPFLAGS'
53595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53604 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53606 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53607 for ac_func in _modff
53608 do :
53609 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53610 if test "x$ac_cv_func__modff" = x""yes; then :
53611 cat >>confdefs.h <<_ACEOF
53612 #define HAVE__MODFF 1
53613 _ACEOF
53616 done
53625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53626 $as_echo_n "checking for modf declaration... " >&6; }
53627 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53628 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53629 $as_echo_n "(cached) " >&6
53630 else
53633 ac_ext=cpp
53634 ac_cpp='$CXXCPP $CPPFLAGS'
53635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 #include <math.h>
53643 main ()
53645 modf(0, 0);
53647 return 0;
53649 _ACEOF
53650 if ac_fn_cxx_try_compile "$LINENO"; then :
53651 glibcxx_cv_func_modf_use=yes
53652 else
53653 glibcxx_cv_func_modf_use=no
53655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53656 ac_ext=c
53657 ac_cpp='$CPP $CPPFLAGS'
53658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53667 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53669 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53670 for ac_func in modf
53671 do :
53672 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53673 if test "x$ac_cv_func_modf" = x""yes; then :
53674 cat >>confdefs.h <<_ACEOF
53675 #define HAVE_MODF 1
53676 _ACEOF
53679 done
53681 else
53683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53684 $as_echo_n "checking for _modf declaration... " >&6; }
53685 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53686 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53687 $as_echo_n "(cached) " >&6
53688 else
53691 ac_ext=cpp
53692 ac_cpp='$CXXCPP $CPPFLAGS'
53693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53698 /* end confdefs.h. */
53699 #include <math.h>
53701 main ()
53703 _modf(0, 0);
53705 return 0;
53707 _ACEOF
53708 if ac_fn_cxx_try_compile "$LINENO"; then :
53709 glibcxx_cv_func__modf_use=yes
53710 else
53711 glibcxx_cv_func__modf_use=no
53713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53714 ac_ext=c
53715 ac_cpp='$CPP $CPPFLAGS'
53716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53725 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53727 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53728 for ac_func in _modf
53729 do :
53730 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53731 if test "x$ac_cv_func__modf" = x""yes; then :
53732 cat >>confdefs.h <<_ACEOF
53733 #define HAVE__MODF 1
53734 _ACEOF
53737 done
53746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53747 $as_echo_n "checking for powf declaration... " >&6; }
53748 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53749 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53750 $as_echo_n "(cached) " >&6
53751 else
53754 ac_ext=cpp
53755 ac_cpp='$CXXCPP $CPPFLAGS'
53756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53761 /* end confdefs.h. */
53762 #include <math.h>
53764 main ()
53766 powf(0, 0);
53768 return 0;
53770 _ACEOF
53771 if ac_fn_cxx_try_compile "$LINENO"; then :
53772 glibcxx_cv_func_powf_use=yes
53773 else
53774 glibcxx_cv_func_powf_use=no
53776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53777 ac_ext=c
53778 ac_cpp='$CPP $CPPFLAGS'
53779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53788 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53790 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53791 for ac_func in powf
53792 do :
53793 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53794 if test "x$ac_cv_func_powf" = x""yes; then :
53795 cat >>confdefs.h <<_ACEOF
53796 #define HAVE_POWF 1
53797 _ACEOF
53800 done
53802 else
53804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53805 $as_echo_n "checking for _powf declaration... " >&6; }
53806 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53807 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53808 $as_echo_n "(cached) " >&6
53809 else
53812 ac_ext=cpp
53813 ac_cpp='$CXXCPP $CPPFLAGS'
53814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53819 /* end confdefs.h. */
53820 #include <math.h>
53822 main ()
53824 _powf(0, 0);
53826 return 0;
53828 _ACEOF
53829 if ac_fn_cxx_try_compile "$LINENO"; then :
53830 glibcxx_cv_func__powf_use=yes
53831 else
53832 glibcxx_cv_func__powf_use=no
53834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53835 ac_ext=c
53836 ac_cpp='$CPP $CPPFLAGS'
53837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53846 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53848 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53849 for ac_func in _powf
53850 do :
53851 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53852 if test "x$ac_cv_func__powf" = x""yes; then :
53853 cat >>confdefs.h <<_ACEOF
53854 #define HAVE__POWF 1
53855 _ACEOF
53858 done
53867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53868 $as_echo_n "checking for sqrtf declaration... " >&6; }
53869 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53870 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53871 $as_echo_n "(cached) " >&6
53872 else
53875 ac_ext=cpp
53876 ac_cpp='$CXXCPP $CPPFLAGS'
53877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53882 /* end confdefs.h. */
53883 #include <math.h>
53884 #ifdef HAVE_IEEEFP_H
53885 #include <ieeefp.h>
53886 #endif
53889 main ()
53891 sqrtf(0);
53893 return 0;
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func_sqrtf_use=yes
53898 else
53899 glibcxx_cv_func_sqrtf_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902 ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53913 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53915 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53916 for ac_func in sqrtf
53917 do :
53918 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53919 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53920 cat >>confdefs.h <<_ACEOF
53921 #define HAVE_SQRTF 1
53922 _ACEOF
53925 done
53927 else
53929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53930 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53931 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53932 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53933 $as_echo_n "(cached) " >&6
53934 else
53937 ac_ext=cpp
53938 ac_cpp='$CXXCPP $CPPFLAGS'
53939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53944 /* end confdefs.h. */
53945 #include <math.h>
53946 #ifdef HAVE_IEEEFP_H
53947 #include <ieeefp.h>
53948 #endif
53951 main ()
53953 _sqrtf(0);
53955 return 0;
53957 _ACEOF
53958 if ac_fn_cxx_try_compile "$LINENO"; then :
53959 glibcxx_cv_func__sqrtf_use=yes
53960 else
53961 glibcxx_cv_func__sqrtf_use=no
53963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53964 ac_ext=c
53965 ac_cpp='$CPP $CPPFLAGS'
53966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53975 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53977 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53978 for ac_func in _sqrtf
53979 do :
53980 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53981 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53982 cat >>confdefs.h <<_ACEOF
53983 #define HAVE__SQRTF 1
53984 _ACEOF
53987 done
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53997 $as_echo_n "checking for sincosf declaration... " >&6; }
53998 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53999 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54000 $as_echo_n "(cached) " >&6
54001 else
54004 ac_ext=cpp
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h. */
54012 #include <math.h>
54014 main ()
54016 sincosf(0, 0, 0);
54018 return 0;
54020 _ACEOF
54021 if ac_fn_cxx_try_compile "$LINENO"; then :
54022 glibcxx_cv_func_sincosf_use=yes
54023 else
54024 glibcxx_cv_func_sincosf_use=no
54026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54027 ac_ext=c
54028 ac_cpp='$CPP $CPPFLAGS'
54029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54038 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54040 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54041 for ac_func in sincosf
54042 do :
54043 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54044 if test "x$ac_cv_func_sincosf" = x""yes; then :
54045 cat >>confdefs.h <<_ACEOF
54046 #define HAVE_SINCOSF 1
54047 _ACEOF
54050 done
54052 else
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54055 $as_echo_n "checking for _sincosf declaration... " >&6; }
54056 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54057 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54058 $as_echo_n "(cached) " >&6
54059 else
54062 ac_ext=cpp
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54069 /* end confdefs.h. */
54070 #include <math.h>
54072 main ()
54074 _sincosf(0, 0, 0);
54076 return 0;
54078 _ACEOF
54079 if ac_fn_cxx_try_compile "$LINENO"; then :
54080 glibcxx_cv_func__sincosf_use=yes
54081 else
54082 glibcxx_cv_func__sincosf_use=no
54084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54085 ac_ext=c
54086 ac_cpp='$CPP $CPPFLAGS'
54087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54096 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54098 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54099 for ac_func in _sincosf
54100 do :
54101 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54102 if test "x$ac_cv_func__sincosf" = x""yes; then :
54103 cat >>confdefs.h <<_ACEOF
54104 #define HAVE__SINCOSF 1
54105 _ACEOF
54108 done
54117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54118 $as_echo_n "checking for finitef declaration... " >&6; }
54119 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54120 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54121 $as_echo_n "(cached) " >&6
54122 else
54125 ac_ext=cpp
54126 ac_cpp='$CXXCPP $CPPFLAGS'
54127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54132 /* end confdefs.h. */
54133 #include <math.h>
54134 #ifdef HAVE_IEEEFP_H
54135 #include <ieeefp.h>
54136 #endif
54139 main ()
54141 finitef(0);
54143 return 0;
54145 _ACEOF
54146 if ac_fn_cxx_try_compile "$LINENO"; then :
54147 glibcxx_cv_func_finitef_use=yes
54148 else
54149 glibcxx_cv_func_finitef_use=no
54151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54152 ac_ext=c
54153 ac_cpp='$CPP $CPPFLAGS'
54154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54163 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54165 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54166 for ac_func in finitef
54167 do :
54168 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54169 if test "x$ac_cv_func_finitef" = x""yes; then :
54170 cat >>confdefs.h <<_ACEOF
54171 #define HAVE_FINITEF 1
54172 _ACEOF
54175 done
54177 else
54179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54180 $as_echo_n "checking for _finitef declaration... " >&6; }
54181 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54182 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54183 $as_echo_n "(cached) " >&6
54184 else
54187 ac_ext=cpp
54188 ac_cpp='$CXXCPP $CPPFLAGS'
54189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54194 /* end confdefs.h. */
54195 #include <math.h>
54196 #ifdef HAVE_IEEEFP_H
54197 #include <ieeefp.h>
54198 #endif
54201 main ()
54203 _finitef(0);
54205 return 0;
54207 _ACEOF
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209 glibcxx_cv_func__finitef_use=yes
54210 else
54211 glibcxx_cv_func__finitef_use=no
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214 ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54225 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54227 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54228 for ac_func in _finitef
54229 do :
54230 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54231 if test "x$ac_cv_func__finitef" = x""yes; then :
54232 cat >>confdefs.h <<_ACEOF
54233 #define HAVE__FINITEF 1
54234 _ACEOF
54237 done
54246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54247 $as_echo_n "checking for long double trig functions... " >&6; }
54248 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54249 $as_echo_n "(cached) " >&6
54250 else
54253 ac_ext=cpp
54254 ac_cpp='$CXXCPP $CPPFLAGS'
54255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54260 /* end confdefs.h. */
54261 #include <math.h>
54263 main ()
54265 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54267 return 0;
54269 _ACEOF
54270 if ac_fn_cxx_try_compile "$LINENO"; then :
54271 glibcxx_cv_func_long_double_trig_use=yes
54272 else
54273 glibcxx_cv_func_long_double_trig_use=no
54275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54276 ac_ext=c
54277 ac_cpp='$CPP $CPPFLAGS'
54278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54285 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54286 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54287 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54288 do :
54289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54291 eval as_val=\$$as_ac_var
54292 if test "x$as_val" = x""yes; then :
54293 cat >>confdefs.h <<_ACEOF
54294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54295 _ACEOF
54298 done
54300 else
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54302 $as_echo_n "checking for _long double trig functions... " >&6; }
54303 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54304 $as_echo_n "(cached) " >&6
54305 else
54308 ac_ext=cpp
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54315 /* end confdefs.h. */
54316 #include <math.h>
54318 main ()
54320 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54322 return 0;
54324 _ACEOF
54325 if ac_fn_cxx_try_compile "$LINENO"; then :
54326 glibcxx_cv_func__long_double_trig_use=yes
54327 else
54328 glibcxx_cv_func__long_double_trig_use=no
54330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54331 ac_ext=c
54332 ac_cpp='$CPP $CPPFLAGS'
54333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54340 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54341 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54342 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54343 do :
54344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54346 eval as_val=\$$as_ac_var
54347 if test "x$as_val" = x""yes; then :
54348 cat >>confdefs.h <<_ACEOF
54349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54350 _ACEOF
54353 done
54362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54363 $as_echo_n "checking for long double round functions... " >&6; }
54364 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54366 else
54369 ac_ext=cpp
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54377 #include <math.h>
54379 main ()
54381 ceill (0); floorl (0);
54383 return 0;
54385 _ACEOF
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func_long_double_round_use=yes
54388 else
54389 glibcxx_cv_func_long_double_round_use=no
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54401 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54402 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54403 for ac_func in ceill floorl
54404 do :
54405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54407 eval as_val=\$$as_ac_var
54408 if test "x$as_val" = x""yes; then :
54409 cat >>confdefs.h <<_ACEOF
54410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54411 _ACEOF
54414 done
54416 else
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54418 $as_echo_n "checking for _long double round functions... " >&6; }
54419 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54420 $as_echo_n "(cached) " >&6
54421 else
54424 ac_ext=cpp
54425 ac_cpp='$CXXCPP $CPPFLAGS'
54426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54431 /* end confdefs.h. */
54432 #include <math.h>
54434 main ()
54436 _ceill (0); _floorl (0);
54438 return 0;
54440 _ACEOF
54441 if ac_fn_cxx_try_compile "$LINENO"; then :
54442 glibcxx_cv_func__long_double_round_use=yes
54443 else
54444 glibcxx_cv_func__long_double_round_use=no
54446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54447 ac_ext=c
54448 ac_cpp='$CPP $CPPFLAGS'
54449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54456 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54457 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54458 for ac_func in _ceill _floorl
54459 do :
54460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54462 eval as_val=\$$as_ac_var
54463 if test "x$as_val" = x""yes; then :
54464 cat >>confdefs.h <<_ACEOF
54465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54466 _ACEOF
54469 done
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54480 $as_echo_n "checking for isnanl declaration... " >&6; }
54481 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54482 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54483 $as_echo_n "(cached) " >&6
54484 else
54487 ac_ext=cpp
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54494 /* end confdefs.h. */
54495 #include <math.h>
54496 #ifdef HAVE_IEEEFP_H
54497 #include <ieeefp.h>
54498 #endif
54501 main ()
54503 isnanl(0);
54505 return 0;
54507 _ACEOF
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func_isnanl_use=yes
54510 else
54511 glibcxx_cv_func_isnanl_use=no
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54514 ac_ext=c
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54525 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54527 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54528 for ac_func in isnanl
54529 do :
54530 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54531 if test "x$ac_cv_func_isnanl" = x""yes; then :
54532 cat >>confdefs.h <<_ACEOF
54533 #define HAVE_ISNANL 1
54534 _ACEOF
54537 done
54539 else
54541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54542 $as_echo_n "checking for _isnanl declaration... " >&6; }
54543 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54544 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54545 $as_echo_n "(cached) " >&6
54546 else
54549 ac_ext=cpp
54550 ac_cpp='$CXXCPP $CPPFLAGS'
54551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h. */
54557 #include <math.h>
54558 #ifdef HAVE_IEEEFP_H
54559 #include <ieeefp.h>
54560 #endif
54563 main ()
54565 _isnanl(0);
54567 return 0;
54569 _ACEOF
54570 if ac_fn_cxx_try_compile "$LINENO"; then :
54571 glibcxx_cv_func__isnanl_use=yes
54572 else
54573 glibcxx_cv_func__isnanl_use=no
54575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54576 ac_ext=c
54577 ac_cpp='$CPP $CPPFLAGS'
54578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54587 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54589 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54590 for ac_func in _isnanl
54591 do :
54592 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54593 if test "x$ac_cv_func__isnanl" = x""yes; then :
54594 cat >>confdefs.h <<_ACEOF
54595 #define HAVE__ISNANL 1
54596 _ACEOF
54599 done
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54609 $as_echo_n "checking for isinfl declaration... " >&6; }
54610 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54611 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54630 main ()
54632 isinfl(0);
54634 return 0;
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func_isinfl_use=yes
54639 else
54640 glibcxx_cv_func_isinfl_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54654 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54656 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54657 for ac_func in isinfl
54658 do :
54659 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54660 if test "x$ac_cv_func_isinfl" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE_ISINFL 1
54663 _ACEOF
54666 done
54668 else
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54671 $as_echo_n "checking for _isinfl declaration... " >&6; }
54672 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54673 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54674 $as_echo_n "(cached) " >&6
54675 else
54678 ac_ext=cpp
54679 ac_cpp='$CXXCPP $CPPFLAGS'
54680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54685 /* end confdefs.h. */
54686 #include <math.h>
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54689 #endif
54692 main ()
54694 _isinfl(0);
54696 return 0;
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func__isinfl_use=yes
54701 else
54702 glibcxx_cv_func__isinfl_use=no
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54705 ac_ext=c
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54716 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54718 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54719 for ac_func in _isinfl
54720 do :
54721 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54722 if test "x$ac_cv_func__isinfl" = x""yes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE__ISINFL 1
54725 _ACEOF
54728 done
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54738 $as_echo_n "checking for atan2l declaration... " >&6; }
54739 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54740 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54741 $as_echo_n "(cached) " >&6
54742 else
54745 ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54753 #include <math.h>
54755 main ()
54757 atan2l(0, 0);
54759 return 0;
54761 _ACEOF
54762 if ac_fn_cxx_try_compile "$LINENO"; then :
54763 glibcxx_cv_func_atan2l_use=yes
54764 else
54765 glibcxx_cv_func_atan2l_use=no
54767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54768 ac_ext=c
54769 ac_cpp='$CPP $CPPFLAGS'
54770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54779 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54781 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54782 for ac_func in atan2l
54783 do :
54784 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54785 if test "x$ac_cv_func_atan2l" = x""yes; then :
54786 cat >>confdefs.h <<_ACEOF
54787 #define HAVE_ATAN2L 1
54788 _ACEOF
54791 done
54793 else
54795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54796 $as_echo_n "checking for _atan2l declaration... " >&6; }
54797 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54798 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54799 $as_echo_n "(cached) " >&6
54800 else
54803 ac_ext=cpp
54804 ac_cpp='$CXXCPP $CPPFLAGS'
54805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54810 /* end confdefs.h. */
54811 #include <math.h>
54813 main ()
54815 _atan2l(0, 0);
54817 return 0;
54819 _ACEOF
54820 if ac_fn_cxx_try_compile "$LINENO"; then :
54821 glibcxx_cv_func__atan2l_use=yes
54822 else
54823 glibcxx_cv_func__atan2l_use=no
54825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54826 ac_ext=c
54827 ac_cpp='$CPP $CPPFLAGS'
54828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54837 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54839 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54840 for ac_func in _atan2l
54841 do :
54842 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54843 if test "x$ac_cv_func__atan2l" = x""yes; then :
54844 cat >>confdefs.h <<_ACEOF
54845 #define HAVE__ATAN2L 1
54846 _ACEOF
54849 done
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54859 $as_echo_n "checking for expl declaration... " >&6; }
54860 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54861 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54862 $as_echo_n "(cached) " >&6
54863 else
54866 ac_ext=cpp
54867 ac_cpp='$CXXCPP $CPPFLAGS'
54868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54873 /* end confdefs.h. */
54874 #include <math.h>
54875 #ifdef HAVE_IEEEFP_H
54876 #include <ieeefp.h>
54877 #endif
54880 main ()
54882 expl(0);
54884 return 0;
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func_expl_use=yes
54889 else
54890 glibcxx_cv_func_expl_use=no
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893 ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54904 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54906 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54907 for ac_func in expl
54908 do :
54909 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54910 if test "x$ac_cv_func_expl" = x""yes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE_EXPL 1
54913 _ACEOF
54916 done
54918 else
54920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54921 $as_echo_n "checking for _expl declaration... " >&6; }
54922 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54923 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54924 $as_echo_n "(cached) " >&6
54925 else
54928 ac_ext=cpp
54929 ac_cpp='$CXXCPP $CPPFLAGS'
54930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54935 /* end confdefs.h. */
54936 #include <math.h>
54937 #ifdef HAVE_IEEEFP_H
54938 #include <ieeefp.h>
54939 #endif
54942 main ()
54944 _expl(0);
54946 return 0;
54948 _ACEOF
54949 if ac_fn_cxx_try_compile "$LINENO"; then :
54950 glibcxx_cv_func__expl_use=yes
54951 else
54952 glibcxx_cv_func__expl_use=no
54954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54955 ac_ext=c
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54966 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54968 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54969 for ac_func in _expl
54970 do :
54971 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54972 if test "x$ac_cv_func__expl" = x""yes; then :
54973 cat >>confdefs.h <<_ACEOF
54974 #define HAVE__EXPL 1
54975 _ACEOF
54978 done
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54988 $as_echo_n "checking for fabsl declaration... " >&6; }
54989 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54990 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55009 main ()
55011 fabsl(0);
55013 return 0;
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func_fabsl_use=yes
55018 else
55019 glibcxx_cv_func_fabsl_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55033 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55035 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55036 for ac_func in fabsl
55037 do :
55038 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55039 if test "x$ac_cv_func_fabsl" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE_FABSL 1
55042 _ACEOF
55045 done
55047 else
55049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55050 $as_echo_n "checking for _fabsl declaration... " >&6; }
55051 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55052 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55053 $as_echo_n "(cached) " >&6
55054 else
55057 ac_ext=cpp
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55064 /* end confdefs.h. */
55065 #include <math.h>
55066 #ifdef HAVE_IEEEFP_H
55067 #include <ieeefp.h>
55068 #endif
55071 main ()
55073 _fabsl(0);
55075 return 0;
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__fabsl_use=yes
55080 else
55081 glibcxx_cv_func__fabsl_use=no
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55095 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55097 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55098 for ac_func in _fabsl
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55101 if test "x$ac_cv_func__fabsl" = x""yes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__FABSL 1
55104 _ACEOF
55107 done
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55117 $as_echo_n "checking for fmodl declaration... " >&6; }
55118 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55119 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55134 main ()
55136 fmodl(0, 0);
55138 return 0;
55140 _ACEOF
55141 if ac_fn_cxx_try_compile "$LINENO"; then :
55142 glibcxx_cv_func_fmodl_use=yes
55143 else
55144 glibcxx_cv_func_fmodl_use=no
55146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55147 ac_ext=c
55148 ac_cpp='$CPP $CPPFLAGS'
55149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55158 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55160 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55161 for ac_func in fmodl
55162 do :
55163 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55164 if test "x$ac_cv_func_fmodl" = x""yes; then :
55165 cat >>confdefs.h <<_ACEOF
55166 #define HAVE_FMODL 1
55167 _ACEOF
55170 done
55172 else
55174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55175 $as_echo_n "checking for _fmodl declaration... " >&6; }
55176 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55177 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55178 $as_echo_n "(cached) " >&6
55179 else
55182 ac_ext=cpp
55183 ac_cpp='$CXXCPP $CPPFLAGS'
55184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55189 /* end confdefs.h. */
55190 #include <math.h>
55192 main ()
55194 _fmodl(0, 0);
55196 return 0;
55198 _ACEOF
55199 if ac_fn_cxx_try_compile "$LINENO"; then :
55200 glibcxx_cv_func__fmodl_use=yes
55201 else
55202 glibcxx_cv_func__fmodl_use=no
55204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55205 ac_ext=c
55206 ac_cpp='$CPP $CPPFLAGS'
55207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55216 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55218 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55219 for ac_func in _fmodl
55220 do :
55221 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55222 if test "x$ac_cv_func__fmodl" = x""yes; then :
55223 cat >>confdefs.h <<_ACEOF
55224 #define HAVE__FMODL 1
55225 _ACEOF
55228 done
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55238 $as_echo_n "checking for frexpl declaration... " >&6; }
55239 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55240 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55241 $as_echo_n "(cached) " >&6
55242 else
55245 ac_ext=cpp
55246 ac_cpp='$CXXCPP $CPPFLAGS'
55247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55252 /* end confdefs.h. */
55253 #include <math.h>
55255 main ()
55257 frexpl(0, 0);
55259 return 0;
55261 _ACEOF
55262 if ac_fn_cxx_try_compile "$LINENO"; then :
55263 glibcxx_cv_func_frexpl_use=yes
55264 else
55265 glibcxx_cv_func_frexpl_use=no
55267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55268 ac_ext=c
55269 ac_cpp='$CPP $CPPFLAGS'
55270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55279 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55281 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55282 for ac_func in frexpl
55283 do :
55284 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55285 if test "x$ac_cv_func_frexpl" = x""yes; then :
55286 cat >>confdefs.h <<_ACEOF
55287 #define HAVE_FREXPL 1
55288 _ACEOF
55291 done
55293 else
55295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55296 $as_echo_n "checking for _frexpl declaration... " >&6; }
55297 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55298 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55299 $as_echo_n "(cached) " >&6
55300 else
55303 ac_ext=cpp
55304 ac_cpp='$CXXCPP $CPPFLAGS'
55305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55310 /* end confdefs.h. */
55311 #include <math.h>
55313 main ()
55315 _frexpl(0, 0);
55317 return 0;
55319 _ACEOF
55320 if ac_fn_cxx_try_compile "$LINENO"; then :
55321 glibcxx_cv_func__frexpl_use=yes
55322 else
55323 glibcxx_cv_func__frexpl_use=no
55325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55326 ac_ext=c
55327 ac_cpp='$CPP $CPPFLAGS'
55328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55337 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55339 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55340 for ac_func in _frexpl
55341 do :
55342 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55343 if test "x$ac_cv_func__frexpl" = x""yes; then :
55344 cat >>confdefs.h <<_ACEOF
55345 #define HAVE__FREXPL 1
55346 _ACEOF
55349 done
55358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55359 $as_echo_n "checking for hypotl declaration... " >&6; }
55360 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55361 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55362 $as_echo_n "(cached) " >&6
55363 else
55366 ac_ext=cpp
55367 ac_cpp='$CXXCPP $CPPFLAGS'
55368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55373 /* end confdefs.h. */
55374 #include <math.h>
55376 main ()
55378 hypotl(0, 0);
55380 return 0;
55382 _ACEOF
55383 if ac_fn_cxx_try_compile "$LINENO"; then :
55384 glibcxx_cv_func_hypotl_use=yes
55385 else
55386 glibcxx_cv_func_hypotl_use=no
55388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55389 ac_ext=c
55390 ac_cpp='$CPP $CPPFLAGS'
55391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55400 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55402 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55403 for ac_func in hypotl
55404 do :
55405 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55406 if test "x$ac_cv_func_hypotl" = x""yes; then :
55407 cat >>confdefs.h <<_ACEOF
55408 #define HAVE_HYPOTL 1
55409 _ACEOF
55412 done
55414 else
55416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55417 $as_echo_n "checking for _hypotl declaration... " >&6; }
55418 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55419 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55420 $as_echo_n "(cached) " >&6
55421 else
55424 ac_ext=cpp
55425 ac_cpp='$CXXCPP $CPPFLAGS'
55426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55431 /* end confdefs.h. */
55432 #include <math.h>
55434 main ()
55436 _hypotl(0, 0);
55438 return 0;
55440 _ACEOF
55441 if ac_fn_cxx_try_compile "$LINENO"; then :
55442 glibcxx_cv_func__hypotl_use=yes
55443 else
55444 glibcxx_cv_func__hypotl_use=no
55446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55447 ac_ext=c
55448 ac_cpp='$CPP $CPPFLAGS'
55449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55458 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55460 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55461 for ac_func in _hypotl
55462 do :
55463 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55464 if test "x$ac_cv_func__hypotl" = x""yes; then :
55465 cat >>confdefs.h <<_ACEOF
55466 #define HAVE__HYPOTL 1
55467 _ACEOF
55470 done
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55480 $as_echo_n "checking for ldexpl declaration... " >&6; }
55481 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55482 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55483 $as_echo_n "(cached) " >&6
55484 else
55487 ac_ext=cpp
55488 ac_cpp='$CXXCPP $CPPFLAGS'
55489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55494 /* end confdefs.h. */
55495 #include <math.h>
55497 main ()
55499 ldexpl(0, 0);
55501 return 0;
55503 _ACEOF
55504 if ac_fn_cxx_try_compile "$LINENO"; then :
55505 glibcxx_cv_func_ldexpl_use=yes
55506 else
55507 glibcxx_cv_func_ldexpl_use=no
55509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55510 ac_ext=c
55511 ac_cpp='$CPP $CPPFLAGS'
55512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55521 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55523 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55524 for ac_func in ldexpl
55525 do :
55526 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55527 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55528 cat >>confdefs.h <<_ACEOF
55529 #define HAVE_LDEXPL 1
55530 _ACEOF
55533 done
55535 else
55537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55538 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55539 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55540 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55541 $as_echo_n "(cached) " >&6
55542 else
55545 ac_ext=cpp
55546 ac_cpp='$CXXCPP $CPPFLAGS'
55547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55552 /* end confdefs.h. */
55553 #include <math.h>
55555 main ()
55557 _ldexpl(0, 0);
55559 return 0;
55561 _ACEOF
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563 glibcxx_cv_func__ldexpl_use=yes
55564 else
55565 glibcxx_cv_func__ldexpl_use=no
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568 ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55579 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55581 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55582 for ac_func in _ldexpl
55583 do :
55584 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55585 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55586 cat >>confdefs.h <<_ACEOF
55587 #define HAVE__LDEXPL 1
55588 _ACEOF
55591 done
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55601 $as_echo_n "checking for logl declaration... " >&6; }
55602 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55603 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55604 $as_echo_n "(cached) " >&6
55605 else
55608 ac_ext=cpp
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55615 /* end confdefs.h. */
55616 #include <math.h>
55617 #ifdef HAVE_IEEEFP_H
55618 #include <ieeefp.h>
55619 #endif
55622 main ()
55624 logl(0);
55626 return 0;
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func_logl_use=yes
55631 else
55632 glibcxx_cv_func_logl_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635 ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55646 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55648 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55649 for ac_func in logl
55650 do :
55651 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55652 if test "x$ac_cv_func_logl" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE_LOGL 1
55655 _ACEOF
55658 done
55660 else
55662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55663 $as_echo_n "checking for _logl declaration... " >&6; }
55664 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55665 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55666 $as_echo_n "(cached) " >&6
55667 else
55670 ac_ext=cpp
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55678 #include <math.h>
55679 #ifdef HAVE_IEEEFP_H
55680 #include <ieeefp.h>
55681 #endif
55684 main ()
55686 _logl(0);
55688 return 0;
55690 _ACEOF
55691 if ac_fn_cxx_try_compile "$LINENO"; then :
55692 glibcxx_cv_func__logl_use=yes
55693 else
55694 glibcxx_cv_func__logl_use=no
55696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55697 ac_ext=c
55698 ac_cpp='$CPP $CPPFLAGS'
55699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55708 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55710 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55711 for ac_func in _logl
55712 do :
55713 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55714 if test "x$ac_cv_func__logl" = x""yes; then :
55715 cat >>confdefs.h <<_ACEOF
55716 #define HAVE__LOGL 1
55717 _ACEOF
55720 done
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55730 $as_echo_n "checking for log10l declaration... " >&6; }
55731 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55732 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55733 $as_echo_n "(cached) " >&6
55734 else
55737 ac_ext=cpp
55738 ac_cpp='$CXXCPP $CPPFLAGS'
55739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55744 /* end confdefs.h. */
55745 #include <math.h>
55746 #ifdef HAVE_IEEEFP_H
55747 #include <ieeefp.h>
55748 #endif
55751 main ()
55753 log10l(0);
55755 return 0;
55757 _ACEOF
55758 if ac_fn_cxx_try_compile "$LINENO"; then :
55759 glibcxx_cv_func_log10l_use=yes
55760 else
55761 glibcxx_cv_func_log10l_use=no
55763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55764 ac_ext=c
55765 ac_cpp='$CPP $CPPFLAGS'
55766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55775 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55777 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55778 for ac_func in log10l
55779 do :
55780 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55781 if test "x$ac_cv_func_log10l" = x""yes; then :
55782 cat >>confdefs.h <<_ACEOF
55783 #define HAVE_LOG10L 1
55784 _ACEOF
55787 done
55789 else
55791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55792 $as_echo_n "checking for _log10l declaration... " >&6; }
55793 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55794 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55795 $as_echo_n "(cached) " >&6
55796 else
55799 ac_ext=cpp
55800 ac_cpp='$CXXCPP $CPPFLAGS'
55801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55806 /* end confdefs.h. */
55807 #include <math.h>
55808 #ifdef HAVE_IEEEFP_H
55809 #include <ieeefp.h>
55810 #endif
55813 main ()
55815 _log10l(0);
55817 return 0;
55819 _ACEOF
55820 if ac_fn_cxx_try_compile "$LINENO"; then :
55821 glibcxx_cv_func__log10l_use=yes
55822 else
55823 glibcxx_cv_func__log10l_use=no
55825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55826 ac_ext=c
55827 ac_cpp='$CPP $CPPFLAGS'
55828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55837 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55839 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55840 for ac_func in _log10l
55841 do :
55842 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55843 if test "x$ac_cv_func__log10l" = x""yes; then :
55844 cat >>confdefs.h <<_ACEOF
55845 #define HAVE__LOG10L 1
55846 _ACEOF
55849 done
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55859 $as_echo_n "checking for modfl declaration... " >&6; }
55860 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55861 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55876 main ()
55878 modfl(0, 0);
55880 return 0;
55882 _ACEOF
55883 if ac_fn_cxx_try_compile "$LINENO"; then :
55884 glibcxx_cv_func_modfl_use=yes
55885 else
55886 glibcxx_cv_func_modfl_use=no
55888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55889 ac_ext=c
55890 ac_cpp='$CPP $CPPFLAGS'
55891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55900 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55902 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55903 for ac_func in modfl
55904 do :
55905 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55906 if test "x$ac_cv_func_modfl" = x""yes; then :
55907 cat >>confdefs.h <<_ACEOF
55908 #define HAVE_MODFL 1
55909 _ACEOF
55912 done
55914 else
55916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55917 $as_echo_n "checking for _modfl declaration... " >&6; }
55918 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55919 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55920 $as_echo_n "(cached) " >&6
55921 else
55924 ac_ext=cpp
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55931 /* end confdefs.h. */
55932 #include <math.h>
55934 main ()
55936 _modfl(0, 0);
55938 return 0;
55940 _ACEOF
55941 if ac_fn_cxx_try_compile "$LINENO"; then :
55942 glibcxx_cv_func__modfl_use=yes
55943 else
55944 glibcxx_cv_func__modfl_use=no
55946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55947 ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55958 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55960 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55961 for ac_func in _modfl
55962 do :
55963 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55964 if test "x$ac_cv_func__modfl" = x""yes; then :
55965 cat >>confdefs.h <<_ACEOF
55966 #define HAVE__MODFL 1
55967 _ACEOF
55970 done
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55980 $as_echo_n "checking for powl declaration... " >&6; }
55981 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55982 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55983 $as_echo_n "(cached) " >&6
55984 else
55987 ac_ext=cpp
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h. */
55995 #include <math.h>
55997 main ()
55999 powl(0, 0);
56001 return 0;
56003 _ACEOF
56004 if ac_fn_cxx_try_compile "$LINENO"; then :
56005 glibcxx_cv_func_powl_use=yes
56006 else
56007 glibcxx_cv_func_powl_use=no
56009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56010 ac_ext=c
56011 ac_cpp='$CPP $CPPFLAGS'
56012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56021 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56023 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56024 for ac_func in powl
56025 do :
56026 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56027 if test "x$ac_cv_func_powl" = x""yes; then :
56028 cat >>confdefs.h <<_ACEOF
56029 #define HAVE_POWL 1
56030 _ACEOF
56033 done
56035 else
56037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56038 $as_echo_n "checking for _powl declaration... " >&6; }
56039 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56040 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56041 $as_echo_n "(cached) " >&6
56042 else
56045 ac_ext=cpp
56046 ac_cpp='$CXXCPP $CPPFLAGS'
56047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56052 /* end confdefs.h. */
56053 #include <math.h>
56055 main ()
56057 _powl(0, 0);
56059 return 0;
56061 _ACEOF
56062 if ac_fn_cxx_try_compile "$LINENO"; then :
56063 glibcxx_cv_func__powl_use=yes
56064 else
56065 glibcxx_cv_func__powl_use=no
56067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56068 ac_ext=c
56069 ac_cpp='$CPP $CPPFLAGS'
56070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56079 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56081 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56082 for ac_func in _powl
56083 do :
56084 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56085 if test "x$ac_cv_func__powl" = x""yes; then :
56086 cat >>confdefs.h <<_ACEOF
56087 #define HAVE__POWL 1
56088 _ACEOF
56091 done
56100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56101 $as_echo_n "checking for sqrtl declaration... " >&6; }
56102 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56103 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56104 $as_echo_n "(cached) " >&6
56105 else
56108 ac_ext=cpp
56109 ac_cpp='$CXXCPP $CPPFLAGS'
56110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56115 /* end confdefs.h. */
56116 #include <math.h>
56117 #ifdef HAVE_IEEEFP_H
56118 #include <ieeefp.h>
56119 #endif
56122 main ()
56124 sqrtl(0);
56126 return 0;
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func_sqrtl_use=yes
56131 else
56132 glibcxx_cv_func_sqrtl_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135 ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56146 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56148 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56149 for ac_func in sqrtl
56150 do :
56151 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56152 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56153 cat >>confdefs.h <<_ACEOF
56154 #define HAVE_SQRTL 1
56155 _ACEOF
56158 done
56160 else
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56163 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56164 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56165 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56179 #ifdef HAVE_IEEEFP_H
56180 #include <ieeefp.h>
56181 #endif
56184 main ()
56186 _sqrtl(0);
56188 return 0;
56190 _ACEOF
56191 if ac_fn_cxx_try_compile "$LINENO"; then :
56192 glibcxx_cv_func__sqrtl_use=yes
56193 else
56194 glibcxx_cv_func__sqrtl_use=no
56196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56197 ac_ext=c
56198 ac_cpp='$CPP $CPPFLAGS'
56199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56208 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56210 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56211 for ac_func in _sqrtl
56212 do :
56213 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56214 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56215 cat >>confdefs.h <<_ACEOF
56216 #define HAVE__SQRTL 1
56217 _ACEOF
56220 done
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56230 $as_echo_n "checking for sincosl declaration... " >&6; }
56231 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56232 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56233 $as_echo_n "(cached) " >&6
56234 else
56237 ac_ext=cpp
56238 ac_cpp='$CXXCPP $CPPFLAGS'
56239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56244 /* end confdefs.h. */
56245 #include <math.h>
56247 main ()
56249 sincosl(0, 0, 0);
56251 return 0;
56253 _ACEOF
56254 if ac_fn_cxx_try_compile "$LINENO"; then :
56255 glibcxx_cv_func_sincosl_use=yes
56256 else
56257 glibcxx_cv_func_sincosl_use=no
56259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56271 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56273 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56274 for ac_func in sincosl
56275 do :
56276 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56277 if test "x$ac_cv_func_sincosl" = x""yes; then :
56278 cat >>confdefs.h <<_ACEOF
56279 #define HAVE_SINCOSL 1
56280 _ACEOF
56283 done
56285 else
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56288 $as_echo_n "checking for _sincosl declaration... " >&6; }
56289 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56290 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <math.h>
56305 main ()
56307 _sincosl(0, 0, 0);
56309 return 0;
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func__sincosl_use=yes
56314 else
56315 glibcxx_cv_func__sincosl_use=no
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56329 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56331 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56332 for ac_func in _sincosl
56333 do :
56334 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56335 if test "x$ac_cv_func__sincosl" = x""yes; then :
56336 cat >>confdefs.h <<_ACEOF
56337 #define HAVE__SINCOSL 1
56338 _ACEOF
56341 done
56350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56351 $as_echo_n "checking for finitel declaration... " >&6; }
56352 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56353 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56354 $as_echo_n "(cached) " >&6
56355 else
56358 ac_ext=cpp
56359 ac_cpp='$CXXCPP $CPPFLAGS'
56360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56365 /* end confdefs.h. */
56366 #include <math.h>
56367 #ifdef HAVE_IEEEFP_H
56368 #include <ieeefp.h>
56369 #endif
56372 main ()
56374 finitel(0);
56376 return 0;
56378 _ACEOF
56379 if ac_fn_cxx_try_compile "$LINENO"; then :
56380 glibcxx_cv_func_finitel_use=yes
56381 else
56382 glibcxx_cv_func_finitel_use=no
56384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56385 ac_ext=c
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56396 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56398 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56399 for ac_func in finitel
56400 do :
56401 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56402 if test "x$ac_cv_func_finitel" = x""yes; then :
56403 cat >>confdefs.h <<_ACEOF
56404 #define HAVE_FINITEL 1
56405 _ACEOF
56408 done
56410 else
56412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56413 $as_echo_n "checking for _finitel declaration... " >&6; }
56414 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56415 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56416 $as_echo_n "(cached) " >&6
56417 else
56420 ac_ext=cpp
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56427 /* end confdefs.h. */
56428 #include <math.h>
56429 #ifdef HAVE_IEEEFP_H
56430 #include <ieeefp.h>
56431 #endif
56434 main ()
56436 _finitel(0);
56438 return 0;
56440 _ACEOF
56441 if ac_fn_cxx_try_compile "$LINENO"; then :
56442 glibcxx_cv_func__finitel_use=yes
56443 else
56444 glibcxx_cv_func__finitel_use=no
56446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56458 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56460 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56461 for ac_func in _finitel
56462 do :
56463 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56464 if test "x$ac_cv_func__finitel" = x""yes; then :
56465 cat >>confdefs.h <<_ACEOF
56466 #define HAVE__FINITEL 1
56467 _ACEOF
56470 done
56478 LIBS="$ac_save_LIBS"
56479 CXXFLAGS="$ac_save_CXXFLAGS"
56482 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56483 ac_save_CXXFLAGS="$CXXFLAGS"
56484 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56488 $as_echo_n "checking for strtold declaration... " >&6; }
56489 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56490 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56491 $as_echo_n "(cached) " >&6
56492 else
56495 ac_ext=cpp
56496 ac_cpp='$CXXCPP $CPPFLAGS'
56497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56502 /* end confdefs.h. */
56503 #include <stdlib.h>
56505 main ()
56507 strtold(0, 0);
56509 return 0;
56511 _ACEOF
56512 if ac_fn_cxx_try_compile "$LINENO"; then :
56513 glibcxx_cv_func_strtold_use=yes
56514 else
56515 glibcxx_cv_func_strtold_use=no
56517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56518 ac_ext=c
56519 ac_cpp='$CPP $CPPFLAGS'
56520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56529 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56530 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56531 for ac_func in strtold
56532 do :
56533 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56534 if test "x$ac_cv_func_strtold" = x""yes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE_STRTOLD 1
56537 _ACEOF
56540 done
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56548 $as_echo_n "checking for strtof declaration... " >&6; }
56549 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56550 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56551 $as_echo_n "(cached) " >&6
56552 else
56555 ac_ext=cpp
56556 ac_cpp='$CXXCPP $CPPFLAGS'
56557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56562 /* end confdefs.h. */
56563 #include <stdlib.h>
56565 main ()
56567 strtof(0, 0);
56569 return 0;
56571 _ACEOF
56572 if ac_fn_cxx_try_compile "$LINENO"; then :
56573 glibcxx_cv_func_strtof_use=yes
56574 else
56575 glibcxx_cv_func_strtof_use=no
56577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56578 ac_ext=c
56579 ac_cpp='$CPP $CPPFLAGS'
56580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56589 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56590 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56591 for ac_func in strtof
56592 do :
56593 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56594 if test "x$ac_cv_func_strtof" = x""yes; then :
56595 cat >>confdefs.h <<_ACEOF
56596 #define HAVE_STRTOF 1
56597 _ACEOF
56600 done
56607 CXXFLAGS="$ac_save_CXXFLAGS"
56610 *-netbsd*)
56611 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56614 # If we're not using GNU ld, then there's no point in even trying these
56615 # tests. Check for that first. We should have already tested for gld
56616 # by now (in libtool), but require it now just to be safe...
56617 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56618 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56622 # The name set by libtool depends on the version of libtool. Shame on us
56623 # for depending on an impl detail, but c'est la vie. Older versions used
56624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56627 # set (hence we're using an older libtool), then set it.
56628 if test x${with_gnu_ld+set} != xset; then
56629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56630 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56631 with_gnu_ld=no
56632 else
56633 with_gnu_ld=$ac_cv_prog_gnu_ld
56637 # Start by getting the version number. I think the libtool test already
56638 # does some of this, but throws away the result.
56639 glibcxx_ld_is_gold=no
56640 if test x"$with_gnu_ld" = x"yes"; then
56641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56642 $as_echo_n "checking for ld version... " >&6; }
56644 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56645 glibcxx_ld_is_gold=yes
56647 ldver=`$LD --version 2>/dev/null |
56648 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'`
56650 glibcxx_gnu_ld_version=`echo $ldver | \
56651 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56653 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56656 # Set --gc-sections.
56657 glibcxx_have_gc_sections=no
56658 if test "$glibcxx_ld_is_gold" = "yes"; then
56659 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56660 glibcxx_have_gc_sections=yes
56662 else
56663 glibcxx_gcsections_min_ld=21602
56664 if test x"$with_gnu_ld" = x"yes" &&
56665 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56666 glibcxx_have_gc_sections=yes
56669 if test "$glibcxx_have_gc_sections" = "yes"; then
56670 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56671 # NB: This flag only works reliably after 2.16.1. Configure tests
56672 # for this are difficult, so hard wire a value that should work.
56674 ac_test_CFLAGS="${CFLAGS+set}"
56675 ac_save_CFLAGS="$CFLAGS"
56676 CFLAGS='-Wl,--gc-sections'
56678 # Check for -Wl,--gc-sections
56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56680 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56681 if test x$gcc_no_link = xyes; then
56682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56685 /* end confdefs.h. */
56686 int one(void) { return 1; }
56687 int two(void) { return 2; }
56690 main ()
56692 two();
56694 return 0;
56696 _ACEOF
56697 if ac_fn_c_try_link "$LINENO"; then :
56698 ac_gcsections=yes
56699 else
56700 ac_gcsections=no
56702 rm -f core conftest.err conftest.$ac_objext \
56703 conftest$ac_exeext conftest.$ac_ext
56704 if test "$ac_gcsections" = "yes"; then
56705 rm -f conftest.c
56706 touch conftest.c
56707 if $CC -c conftest.c; then
56708 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56709 grep "Warning: gc-sections option ignored" > /dev/null; then
56710 ac_gcsections=no
56713 rm -f conftest.c conftest.o conftest
56715 if test "$ac_gcsections" = "yes"; then
56716 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56719 $as_echo "$ac_gcsections" >&6; }
56721 if test "$ac_test_CFLAGS" = set; then
56722 CFLAGS="$ac_save_CFLAGS"
56723 else
56724 # this is the suspicious part
56725 CFLAGS=''
56729 # Set -z,relro.
56730 # Note this is only for shared objects.
56731 ac_ld_relro=no
56732 if test x"$with_gnu_ld" = x"yes"; then
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56734 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56735 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56736 if test -n "$cxx_z_relo"; then
56737 OPT_LDFLAGS="-Wl,-z,relro"
56738 ac_ld_relro=yes
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56741 $as_echo "$ac_ld_relro" >&6; }
56744 # Set linker optimization flags.
56745 if test x"$with_gnu_ld" = x"yes"; then
56746 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56752 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56754 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56756 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56758 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56762 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56764 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56766 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56768 if test x"long_double_math_on_this_cpu" = x"yes"; then
56769 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56771 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56773 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56777 *-netware)
56778 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56781 # If we're not using GNU ld, then there's no point in even trying these
56782 # tests. Check for that first. We should have already tested for gld
56783 # by now (in libtool), but require it now just to be safe...
56784 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56785 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56789 # The name set by libtool depends on the version of libtool. Shame on us
56790 # for depending on an impl detail, but c'est la vie. Older versions used
56791 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56792 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56793 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56794 # set (hence we're using an older libtool), then set it.
56795 if test x${with_gnu_ld+set} != xset; then
56796 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56797 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56798 with_gnu_ld=no
56799 else
56800 with_gnu_ld=$ac_cv_prog_gnu_ld
56804 # Start by getting the version number. I think the libtool test already
56805 # does some of this, but throws away the result.
56806 glibcxx_ld_is_gold=no
56807 if test x"$with_gnu_ld" = x"yes"; then
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56809 $as_echo_n "checking for ld version... " >&6; }
56811 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56812 glibcxx_ld_is_gold=yes
56814 ldver=`$LD --version 2>/dev/null |
56815 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'`
56817 glibcxx_gnu_ld_version=`echo $ldver | \
56818 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56820 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56823 # Set --gc-sections.
56824 glibcxx_have_gc_sections=no
56825 if test "$glibcxx_ld_is_gold" = "yes"; then
56826 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56827 glibcxx_have_gc_sections=yes
56829 else
56830 glibcxx_gcsections_min_ld=21602
56831 if test x"$with_gnu_ld" = x"yes" &&
56832 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56833 glibcxx_have_gc_sections=yes
56836 if test "$glibcxx_have_gc_sections" = "yes"; then
56837 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56838 # NB: This flag only works reliably after 2.16.1. Configure tests
56839 # for this are difficult, so hard wire a value that should work.
56841 ac_test_CFLAGS="${CFLAGS+set}"
56842 ac_save_CFLAGS="$CFLAGS"
56843 CFLAGS='-Wl,--gc-sections'
56845 # Check for -Wl,--gc-sections
56846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56847 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56848 if test x$gcc_no_link = xyes; then
56849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56852 /* end confdefs.h. */
56853 int one(void) { return 1; }
56854 int two(void) { return 2; }
56857 main ()
56859 two();
56861 return 0;
56863 _ACEOF
56864 if ac_fn_c_try_link "$LINENO"; then :
56865 ac_gcsections=yes
56866 else
56867 ac_gcsections=no
56869 rm -f core conftest.err conftest.$ac_objext \
56870 conftest$ac_exeext conftest.$ac_ext
56871 if test "$ac_gcsections" = "yes"; then
56872 rm -f conftest.c
56873 touch conftest.c
56874 if $CC -c conftest.c; then
56875 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56876 grep "Warning: gc-sections option ignored" > /dev/null; then
56877 ac_gcsections=no
56880 rm -f conftest.c conftest.o conftest
56882 if test "$ac_gcsections" = "yes"; then
56883 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56886 $as_echo "$ac_gcsections" >&6; }
56888 if test "$ac_test_CFLAGS" = set; then
56889 CFLAGS="$ac_save_CFLAGS"
56890 else
56891 # this is the suspicious part
56892 CFLAGS=''
56896 # Set -z,relro.
56897 # Note this is only for shared objects.
56898 ac_ld_relro=no
56899 if test x"$with_gnu_ld" = x"yes"; then
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56901 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56902 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56903 if test -n "$cxx_z_relo"; then
56904 OPT_LDFLAGS="-Wl,-z,relro"
56905 ac_ld_relro=yes
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56908 $as_echo "$ac_ld_relro" >&6; }
56911 # Set linker optimization flags.
56912 if test x"$with_gnu_ld" = x"yes"; then
56913 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56919 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56921 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56923 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56926 *-qnx6.1* | *-qnx6.2*)
56927 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56930 # If we're not using GNU ld, then there's no point in even trying these
56931 # tests. Check for that first. We should have already tested for gld
56932 # by now (in libtool), but require it now just to be safe...
56933 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56934 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56938 # The name set by libtool depends on the version of libtool. Shame on us
56939 # for depending on an impl detail, but c'est la vie. Older versions used
56940 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56941 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56942 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56943 # set (hence we're using an older libtool), then set it.
56944 if test x${with_gnu_ld+set} != xset; then
56945 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56946 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56947 with_gnu_ld=no
56948 else
56949 with_gnu_ld=$ac_cv_prog_gnu_ld
56953 # Start by getting the version number. I think the libtool test already
56954 # does some of this, but throws away the result.
56955 glibcxx_ld_is_gold=no
56956 if test x"$with_gnu_ld" = x"yes"; then
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56958 $as_echo_n "checking for ld version... " >&6; }
56960 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56961 glibcxx_ld_is_gold=yes
56963 ldver=`$LD --version 2>/dev/null |
56964 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'`
56966 glibcxx_gnu_ld_version=`echo $ldver | \
56967 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56969 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56972 # Set --gc-sections.
56973 glibcxx_have_gc_sections=no
56974 if test "$glibcxx_ld_is_gold" = "yes"; then
56975 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56976 glibcxx_have_gc_sections=yes
56978 else
56979 glibcxx_gcsections_min_ld=21602
56980 if test x"$with_gnu_ld" = x"yes" &&
56981 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56982 glibcxx_have_gc_sections=yes
56985 if test "$glibcxx_have_gc_sections" = "yes"; then
56986 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56987 # NB: This flag only works reliably after 2.16.1. Configure tests
56988 # for this are difficult, so hard wire a value that should work.
56990 ac_test_CFLAGS="${CFLAGS+set}"
56991 ac_save_CFLAGS="$CFLAGS"
56992 CFLAGS='-Wl,--gc-sections'
56994 # Check for -Wl,--gc-sections
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56996 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56997 if test x$gcc_no_link = xyes; then
56998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57001 /* end confdefs.h. */
57002 int one(void) { return 1; }
57003 int two(void) { return 2; }
57006 main ()
57008 two();
57010 return 0;
57012 _ACEOF
57013 if ac_fn_c_try_link "$LINENO"; then :
57014 ac_gcsections=yes
57015 else
57016 ac_gcsections=no
57018 rm -f core conftest.err conftest.$ac_objext \
57019 conftest$ac_exeext conftest.$ac_ext
57020 if test "$ac_gcsections" = "yes"; then
57021 rm -f conftest.c
57022 touch conftest.c
57023 if $CC -c conftest.c; then
57024 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57025 grep "Warning: gc-sections option ignored" > /dev/null; then
57026 ac_gcsections=no
57029 rm -f conftest.c conftest.o conftest
57031 if test "$ac_gcsections" = "yes"; then
57032 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57035 $as_echo "$ac_gcsections" >&6; }
57037 if test "$ac_test_CFLAGS" = set; then
57038 CFLAGS="$ac_save_CFLAGS"
57039 else
57040 # this is the suspicious part
57041 CFLAGS=''
57045 # Set -z,relro.
57046 # Note this is only for shared objects.
57047 ac_ld_relro=no
57048 if test x"$with_gnu_ld" = x"yes"; then
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57050 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57051 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57052 if test -n "$cxx_z_relo"; then
57053 OPT_LDFLAGS="-Wl,-z,relro"
57054 ac_ld_relro=yes
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57057 $as_echo "$ac_ld_relro" >&6; }
57060 # Set linker optimization flags.
57061 if test x"$with_gnu_ld" = x"yes"; then
57062 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57068 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57070 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57072 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57074 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57076 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57078 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57080 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57082 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57084 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57086 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57088 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57090 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57093 *-solaris*)
57094 case "$target" in
57095 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57097 # If we're not using GNU ld, then there's no point in even trying these
57098 # tests. Check for that first. We should have already tested for gld
57099 # by now (in libtool), but require it now just to be safe...
57100 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57101 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57105 # The name set by libtool depends on the version of libtool. Shame on us
57106 # for depending on an impl detail, but c'est la vie. Older versions used
57107 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57108 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57109 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57110 # set (hence we're using an older libtool), then set it.
57111 if test x${with_gnu_ld+set} != xset; then
57112 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57113 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57114 with_gnu_ld=no
57115 else
57116 with_gnu_ld=$ac_cv_prog_gnu_ld
57120 # Start by getting the version number. I think the libtool test already
57121 # does some of this, but throws away the result.
57122 glibcxx_ld_is_gold=no
57123 if test x"$with_gnu_ld" = x"yes"; then
57124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57125 $as_echo_n "checking for ld version... " >&6; }
57127 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57128 glibcxx_ld_is_gold=yes
57130 ldver=`$LD --version 2>/dev/null |
57131 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'`
57133 glibcxx_gnu_ld_version=`echo $ldver | \
57134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57136 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57139 # Set --gc-sections.
57140 glibcxx_have_gc_sections=no
57141 if test "$glibcxx_ld_is_gold" = "yes"; then
57142 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57143 glibcxx_have_gc_sections=yes
57145 else
57146 glibcxx_gcsections_min_ld=21602
57147 if test x"$with_gnu_ld" = x"yes" &&
57148 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57149 glibcxx_have_gc_sections=yes
57152 if test "$glibcxx_have_gc_sections" = "yes"; then
57153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57154 # NB: This flag only works reliably after 2.16.1. Configure tests
57155 # for this are difficult, so hard wire a value that should work.
57157 ac_test_CFLAGS="${CFLAGS+set}"
57158 ac_save_CFLAGS="$CFLAGS"
57159 CFLAGS='-Wl,--gc-sections'
57161 # Check for -Wl,--gc-sections
57162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57163 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57164 if test x$gcc_no_link = xyes; then
57165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57168 /* end confdefs.h. */
57169 int one(void) { return 1; }
57170 int two(void) { return 2; }
57173 main ()
57175 two();
57177 return 0;
57179 _ACEOF
57180 if ac_fn_c_try_link "$LINENO"; then :
57181 ac_gcsections=yes
57182 else
57183 ac_gcsections=no
57185 rm -f core conftest.err conftest.$ac_objext \
57186 conftest$ac_exeext conftest.$ac_ext
57187 if test "$ac_gcsections" = "yes"; then
57188 rm -f conftest.c
57189 touch conftest.c
57190 if $CC -c conftest.c; then
57191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57192 grep "Warning: gc-sections option ignored" > /dev/null; then
57193 ac_gcsections=no
57196 rm -f conftest.c conftest.o conftest
57198 if test "$ac_gcsections" = "yes"; then
57199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57202 $as_echo "$ac_gcsections" >&6; }
57204 if test "$ac_test_CFLAGS" = set; then
57205 CFLAGS="$ac_save_CFLAGS"
57206 else
57207 # this is the suspicious part
57208 CFLAGS=''
57212 # Set -z,relro.
57213 # Note this is only for shared objects.
57214 ac_ld_relro=no
57215 if test x"$with_gnu_ld" = x"yes"; then
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57217 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57219 if test -n "$cxx_z_relo"; then
57220 OPT_LDFLAGS="-Wl,-z,relro"
57221 ac_ld_relro=yes
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57224 $as_echo "$ac_ld_relro" >&6; }
57227 # Set linker optimization flags.
57228 if test x"$with_gnu_ld" = x"yes"; then
57229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57235 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57237 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57239 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57241 # All of the dependencies for wide character support are here, so
57242 # turn it on.
57243 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57246 esac
57247 case "$target" in
57248 *-*-solaris2.10)
57249 # These two C99 functions are present only in Solaris >= 10
57250 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57252 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57255 esac
57256 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57258 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57262 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57265 *-tpf)
57266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57269 # If we're not using GNU ld, then there's no point in even trying these
57270 # tests. Check for that first. We should have already tested for gld
57271 # by now (in libtool), but require it now just to be safe...
57272 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57273 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57277 # The name set by libtool depends on the version of libtool. Shame on us
57278 # for depending on an impl detail, but c'est la vie. Older versions used
57279 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57280 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57281 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57282 # set (hence we're using an older libtool), then set it.
57283 if test x${with_gnu_ld+set} != xset; then
57284 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57285 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57286 with_gnu_ld=no
57287 else
57288 with_gnu_ld=$ac_cv_prog_gnu_ld
57292 # Start by getting the version number. I think the libtool test already
57293 # does some of this, but throws away the result.
57294 glibcxx_ld_is_gold=no
57295 if test x"$with_gnu_ld" = x"yes"; then
57296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57297 $as_echo_n "checking for ld version... " >&6; }
57299 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57300 glibcxx_ld_is_gold=yes
57302 ldver=`$LD --version 2>/dev/null |
57303 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'`
57305 glibcxx_gnu_ld_version=`echo $ldver | \
57306 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57308 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57311 # Set --gc-sections.
57312 glibcxx_have_gc_sections=no
57313 if test "$glibcxx_ld_is_gold" = "yes"; then
57314 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57315 glibcxx_have_gc_sections=yes
57317 else
57318 glibcxx_gcsections_min_ld=21602
57319 if test x"$with_gnu_ld" = x"yes" &&
57320 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57321 glibcxx_have_gc_sections=yes
57324 if test "$glibcxx_have_gc_sections" = "yes"; then
57325 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57326 # NB: This flag only works reliably after 2.16.1. Configure tests
57327 # for this are difficult, so hard wire a value that should work.
57329 ac_test_CFLAGS="${CFLAGS+set}"
57330 ac_save_CFLAGS="$CFLAGS"
57331 CFLAGS='-Wl,--gc-sections'
57333 # Check for -Wl,--gc-sections
57334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57335 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57336 if test x$gcc_no_link = xyes; then
57337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57340 /* end confdefs.h. */
57341 int one(void) { return 1; }
57342 int two(void) { return 2; }
57345 main ()
57347 two();
57349 return 0;
57351 _ACEOF
57352 if ac_fn_c_try_link "$LINENO"; then :
57353 ac_gcsections=yes
57354 else
57355 ac_gcsections=no
57357 rm -f core conftest.err conftest.$ac_objext \
57358 conftest$ac_exeext conftest.$ac_ext
57359 if test "$ac_gcsections" = "yes"; then
57360 rm -f conftest.c
57361 touch conftest.c
57362 if $CC -c conftest.c; then
57363 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57364 grep "Warning: gc-sections option ignored" > /dev/null; then
57365 ac_gcsections=no
57368 rm -f conftest.c conftest.o conftest
57370 if test "$ac_gcsections" = "yes"; then
57371 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57374 $as_echo "$ac_gcsections" >&6; }
57376 if test "$ac_test_CFLAGS" = set; then
57377 CFLAGS="$ac_save_CFLAGS"
57378 else
57379 # this is the suspicious part
57380 CFLAGS=''
57384 # Set -z,relro.
57385 # Note this is only for shared objects.
57386 ac_ld_relro=no
57387 if test x"$with_gnu_ld" = x"yes"; then
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57389 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57390 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57391 if test -n "$cxx_z_relo"; then
57392 OPT_LDFLAGS="-Wl,-z,relro"
57393 ac_ld_relro=yes
57395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57396 $as_echo "$ac_ld_relro" >&6; }
57399 # Set linker optimization flags.
57400 if test x"$with_gnu_ld" = x"yes"; then
57401 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57407 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57409 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57411 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57413 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57415 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57417 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57419 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57421 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57423 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57425 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57427 if test x"long_double_math_on_this_cpu" = x"yes"; then
57428 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57430 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57432 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57434 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57438 *-vxworks)
57439 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57441 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57443 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57445 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57447 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57449 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57451 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57453 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57455 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57457 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57459 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57461 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57463 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57465 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57467 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57469 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57471 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57473 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57475 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57477 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57481 as_fn_error "No support for this host/target combination." "$LINENO" 5
57483 esac
57487 # At some point, we should differentiate between architectures
57488 # like x86, which have long double versions, and alpha/powerpc/etc.,
57489 # which don't. For the time being, punt.
57490 if test x"long_double_math_on_this_cpu" = x"yes"; then
57491 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57493 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57495 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57497 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57499 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57501 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57503 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57505 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57507 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57509 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57511 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57513 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57515 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57517 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57519 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57521 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57523 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57525 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57527 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57529 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57531 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57533 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57535 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57540 # Check for _Unwind_GetIPInfo.
57543 # Check whether --with-system-libunwind was given.
57544 if test "${with_system_libunwind+set}" = set; then :
57545 withval=$with_system_libunwind;
57548 # If system-libunwind was not specifically set, pick a default setting.
57549 if test x$with_system_libunwind = x; then
57550 case ${target} in
57551 ia64-*-hpux*) with_system_libunwind=yes ;;
57552 *) with_system_libunwind=no ;;
57553 esac
57555 # Based on system-libunwind and target, do we have ipinfo?
57556 if test x$with_system_libunwind = xyes; then
57557 case ${target} in
57558 ia64-*-*) have_unwind_getipinfo=no ;;
57559 *) have_unwind_getipinfo=yes ;;
57560 esac
57561 else
57562 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57564 case ${target} in
57565 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57566 *) have_unwind_getipinfo=yes ;;
57567 esac
57571 if test x$have_unwind_getipinfo = xyes; then
57573 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57579 # Check whether --enable-linux-futex was given.
57580 if test "${enable_linux_futex+set}" = set; then :
57581 enableval=$enable_linux_futex;
57582 case "$enableval" in
57583 yes|no|default) ;;
57584 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57585 esac
57587 else
57588 enable_linux_futex=default
57592 case "$target" in
57593 *-linux*)
57594 case "$enable_linux_futex" in
57595 default)
57596 # If headers don't have gettid/futex syscalls definition, then
57597 # default to no, otherwise there will be compile time failures.
57598 # Otherwise, default to yes. If we don't detect we are
57599 # compiled/linked against NPTL and not cross-compiling, check
57600 # if programs are run by default against NPTL and if not, issue
57601 # a warning.
57602 enable_linux_futex=no
57603 if test x$gcc_no_link = xyes; then
57604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57607 /* end confdefs.h. */
57608 #include <sys/syscall.h>
57609 int lk;
57611 main ()
57613 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57615 return 0;
57617 _ACEOF
57618 if ac_fn_c_try_link "$LINENO"; then :
57619 save_LIBS="$LIBS"
57620 LIBS="-lpthread $LIBS"
57621 if test x$gcc_no_link = xyes; then
57622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57625 /* end confdefs.h. */
57626 #ifndef _GNU_SOURCE
57627 #define _GNU_SOURCE 1
57628 #endif
57629 #include <pthread.h>
57630 pthread_t th; void *status;
57632 main ()
57634 pthread_tryjoin_np (th, &status);
57636 return 0;
57638 _ACEOF
57639 if ac_fn_c_try_link "$LINENO"; then :
57640 enable_linux_futex=yes
57641 else
57642 if test x$cross_compiling = xno; then
57643 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57644 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57646 If so, please configure with --disable-linux-futex" >&5
57647 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57648 If so, please configure with --disable-linux-futex" >&2;}
57651 enable_linux_futex=yes
57653 rm -f core conftest.err conftest.$ac_objext \
57654 conftest$ac_exeext conftest.$ac_ext
57655 LIBS="$save_LIBS"
57657 rm -f core conftest.err conftest.$ac_objext \
57658 conftest$ac_exeext conftest.$ac_ext
57660 yes)
57661 if test x$gcc_no_link = xyes; then
57662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57665 /* end confdefs.h. */
57666 #include <sys/syscall.h>
57667 int lk;
57669 main ()
57671 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57673 return 0;
57675 _ACEOF
57676 if ac_fn_c_try_link "$LINENO"; then :
57678 else
57679 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57681 rm -f core conftest.err conftest.$ac_objext \
57682 conftest$ac_exeext conftest.$ac_ext
57684 esac
57687 enable_linux_futex=no
57689 esac
57690 if test x$enable_linux_futex = xyes; then
57692 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57699 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57701 acx_cv_header_stdint=stddef.h
57702 acx_cv_header_stdint_kind="(already complete)"
57703 for i in stdint.h $inttype_headers; do
57704 unset ac_cv_type_uintptr_t
57705 unset ac_cv_type_uintmax_t
57706 unset ac_cv_type_int_least32_t
57707 unset ac_cv_type_int_fast32_t
57708 unset ac_cv_type_uint64_t
57709 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57710 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57711 #include <$i>
57713 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57714 acx_cv_header_stdint=$i
57715 else
57716 continue
57719 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57720 #include <$i>
57722 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57724 else
57725 acx_cv_header_stdint_kind="(mostly complete)"
57728 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57729 #include <$i>
57731 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57733 else
57734 acx_cv_header_stdint_kind="(mostly complete)"
57737 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57738 #include <$i>
57740 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57742 else
57743 acx_cv_header_stdint_kind="(mostly complete)"
57746 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57747 #include <$i>
57749 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57751 else
57752 acx_cv_header_stdint_kind="(lacks uint64_t)"
57755 break
57756 done
57757 if test "$acx_cv_header_stdint" = stddef.h; then
57758 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57759 for i in stdint.h $inttype_headers; do
57760 unset ac_cv_type_uintptr_t
57761 unset ac_cv_type_uint32_t
57762 unset ac_cv_type_uint64_t
57763 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57764 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57765 #include <$i>
57767 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57768 acx_cv_header_stdint=$i
57769 else
57770 continue
57773 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57774 #include <$i>
57776 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57780 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57781 #include <$i>
57783 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57787 break
57788 done
57790 if test "$acx_cv_header_stdint" = stddef.h; then
57791 acx_cv_header_stdint_kind="(u_intXX_t style)"
57792 for i in sys/types.h $inttype_headers; do
57793 unset ac_cv_type_u_int32_t
57794 unset ac_cv_type_u_int64_t
57795 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57796 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57797 #include <$i>
57799 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57800 acx_cv_header_stdint=$i
57801 else
57802 continue
57805 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57806 #include <$i>
57808 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57812 break
57813 done
57815 if test "$acx_cv_header_stdint" = stddef.h; then
57816 acx_cv_header_stdint_kind="(using manual detection)"
57819 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57820 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57821 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57822 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57823 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57825 # ----------------- Summarize what we found so far
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57828 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57830 case `$as_basename -- include/gstdint.h ||
57831 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57832 Xinclude/gstdint.h : 'X\(//\)$' \| \
57833 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57834 $as_echo X/include/gstdint.h |
57835 sed '/^.*\/\([^/][^/]*\)\/*$/{
57836 s//\1/
57839 /^X\/\(\/\/\)$/{
57840 s//\1/
57843 /^X\/\(\/\).*/{
57844 s//\1/
57847 s/.*/./; q'` in
57848 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57849 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57850 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57851 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57852 *) ;;
57853 esac
57855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57856 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57858 # ----------------- done included file, check C basic types --------
57860 # Lacking an uintptr_t? Test size of void *
57861 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57862 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57865 # This bug is HP SR number 8606223364.
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57867 $as_echo_n "checking size of void *... " >&6; }
57868 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57869 $as_echo_n "(cached) " >&6
57870 else
57871 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57873 else
57874 if test "$ac_cv_type_void_p" = yes; then
57875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57877 { as_fn_set_status 77
57878 as_fn_error "cannot compute sizeof (void *)
57879 See \`config.log' for more details." "$LINENO" 5; }; }
57880 else
57881 ac_cv_sizeof_void_p=0
57886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57887 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57891 cat >>confdefs.h <<_ACEOF
57892 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57893 _ACEOF
57896 esac
57898 # Lacking an uint64_t? Test size of long
57899 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57900 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57903 # This bug is HP SR number 8606223364.
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57905 $as_echo_n "checking size of long... " >&6; }
57906 if test "${ac_cv_sizeof_long+set}" = set; then :
57907 $as_echo_n "(cached) " >&6
57908 else
57909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57911 else
57912 if test "$ac_cv_type_long" = yes; then
57913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57915 { as_fn_set_status 77
57916 as_fn_error "cannot compute sizeof (long)
57917 See \`config.log' for more details." "$LINENO" 5; }; }
57918 else
57919 ac_cv_sizeof_long=0
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57925 $as_echo "$ac_cv_sizeof_long" >&6; }
57929 cat >>confdefs.h <<_ACEOF
57930 #define SIZEOF_LONG $ac_cv_sizeof_long
57931 _ACEOF
57934 esac
57936 if test $acx_cv_header_stdint = stddef.h; then
57937 # Lacking a good header? Test size of everything and deduce all types.
57938 # The cast to long int works around a bug in the HP C Compiler
57939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57941 # This bug is HP SR number 8606223364.
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57943 $as_echo_n "checking size of int... " >&6; }
57944 if test "${ac_cv_sizeof_int+set}" = set; then :
57945 $as_echo_n "(cached) " >&6
57946 else
57947 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57949 else
57950 if test "$ac_cv_type_int" = yes; then
57951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57953 { as_fn_set_status 77
57954 as_fn_error "cannot compute sizeof (int)
57955 See \`config.log' for more details." "$LINENO" 5; }; }
57956 else
57957 ac_cv_sizeof_int=0
57962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57963 $as_echo "$ac_cv_sizeof_int" >&6; }
57967 cat >>confdefs.h <<_ACEOF
57968 #define SIZEOF_INT $ac_cv_sizeof_int
57969 _ACEOF
57972 # The cast to long int works around a bug in the HP C Compiler
57973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57975 # This bug is HP SR number 8606223364.
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57977 $as_echo_n "checking size of short... " >&6; }
57978 if test "${ac_cv_sizeof_short+set}" = set; then :
57979 $as_echo_n "(cached) " >&6
57980 else
57981 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57983 else
57984 if test "$ac_cv_type_short" = yes; then
57985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57987 { as_fn_set_status 77
57988 as_fn_error "cannot compute sizeof (short)
57989 See \`config.log' for more details." "$LINENO" 5; }; }
57990 else
57991 ac_cv_sizeof_short=0
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57997 $as_echo "$ac_cv_sizeof_short" >&6; }
58001 cat >>confdefs.h <<_ACEOF
58002 #define SIZEOF_SHORT $ac_cv_sizeof_short
58003 _ACEOF
58006 # The cast to long int works around a bug in the HP C Compiler
58007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58009 # This bug is HP SR number 8606223364.
58010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58011 $as_echo_n "checking size of char... " >&6; }
58012 if test "${ac_cv_sizeof_char+set}" = set; then :
58013 $as_echo_n "(cached) " >&6
58014 else
58015 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58017 else
58018 if test "$ac_cv_type_char" = yes; then
58019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58021 { as_fn_set_status 77
58022 as_fn_error "cannot compute sizeof (char)
58023 See \`config.log' for more details." "$LINENO" 5; }; }
58024 else
58025 ac_cv_sizeof_char=0
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58031 $as_echo "$ac_cv_sizeof_char" >&6; }
58035 cat >>confdefs.h <<_ACEOF
58036 #define SIZEOF_CHAR $ac_cv_sizeof_char
58037 _ACEOF
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58042 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58043 case "$ac_cv_sizeof_char" in
58044 1) acx_cv_type_int8_t=char ;;
58045 *) { as_fn_set_status please report a bug
58046 as_fn_error "no 8-bit type" "$LINENO" 5; }
58047 esac
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58049 $as_echo "$acx_cv_type_int8_t" >&6; }
58051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58052 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58053 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58054 2:*) acx_cv_type_int16_t=int ;;
58055 *:2) acx_cv_type_int16_t=short ;;
58056 *) { as_fn_set_status please report a bug
58057 as_fn_error "no 16-bit type" "$LINENO" 5; }
58058 esac
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58060 $as_echo "$acx_cv_type_int16_t" >&6; }
58062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58063 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58064 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58065 4:*) acx_cv_type_int32_t=int ;;
58066 *:4) acx_cv_type_int32_t=long ;;
58067 *) { as_fn_set_status please report a bug
58068 as_fn_error "no 32-bit type" "$LINENO" 5; }
58069 esac
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58071 $as_echo "$acx_cv_type_int32_t" >&6; }
58074 # These tests are here to make the output prettier
58076 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58077 case "$ac_cv_sizeof_long" in
58078 8) acx_cv_type_int64_t=long ;;
58079 esac
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58081 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58083 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58086 # Now we can use the above types
58088 if test "$ac_cv_type_uintptr_t" != yes; then
58089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58090 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58091 case $ac_cv_sizeof_void_p in
58092 2) acx_cv_type_intptr_t=int16_t ;;
58093 4) acx_cv_type_intptr_t=int32_t ;;
58094 8) acx_cv_type_intptr_t=int64_t ;;
58095 *) { as_fn_set_status please report a bug
58096 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58097 esac
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58099 $as_echo "$acx_cv_type_intptr_t" >&6; }
58102 # ----------------- done all checks, emit header -------------
58103 ac_config_commands="$ac_config_commands include/gstdint.h"
58108 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58111 # Check whether --enable-symvers was given.
58112 if test "${enable_symvers+set}" = set; then :
58113 enableval=$enable_symvers;
58114 case "$enableval" in
58115 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58116 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58117 esac
58119 else
58120 enable_symvers=yes
58125 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58126 # don't know enough about $LD to do tricks...
58129 # Turn a 'yes' into a suitable default.
58130 if test x$enable_symvers = xyes ; then
58131 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58132 enable_symvers=no
58133 else
58134 if test $with_gnu_ld = yes ; then
58135 case ${target_os} in
58136 hpux*)
58137 enable_symvers=no ;;
58139 enable_symvers=gnu ;;
58140 esac
58141 else
58142 case ${target_os} in
58143 darwin*)
58144 enable_symvers=darwin ;;
58146 enable_symvers=no ;;
58147 esac
58152 # Check to see if 'darwin' or 'darwin-export' can win.
58153 if test x$enable_symvers = xdarwin-export ; then
58154 enable_symvers=darwin
58157 # Check to see if 'gnu' can win.
58158 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58159 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58161 $as_echo_n "checking for shared libgcc... " >&6; }
58162 ac_save_CFLAGS="$CFLAGS"
58163 CFLAGS=' -lgcc_s'
58164 if test x$gcc_no_link = xyes; then
58165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58171 main ()
58173 return 0;
58175 return 0;
58177 _ACEOF
58178 if ac_fn_c_try_link "$LINENO"; then :
58179 glibcxx_shared_libgcc=yes
58180 else
58181 glibcxx_shared_libgcc=no
58183 rm -f core conftest.err conftest.$ac_objext \
58184 conftest$ac_exeext conftest.$ac_ext
58185 CFLAGS="$ac_save_CFLAGS"
58186 if test $glibcxx_shared_libgcc = no; then
58187 cat > conftest.c <<EOF
58188 int main (void) { return 0; }
58190 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58191 -shared -shared-libgcc -o conftest.so \
58192 conftest.c -v 2>&1 >/dev/null \
58193 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58194 rm -f conftest.c conftest.so
58195 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58196 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58197 if test x$gcc_no_link = xyes; then
58198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58204 main ()
58206 return 0;
58208 return 0;
58210 _ACEOF
58211 if ac_fn_c_try_link "$LINENO"; then :
58212 glibcxx_shared_libgcc=yes
58214 rm -f core conftest.err conftest.$ac_objext \
58215 conftest$ac_exeext conftest.$ac_ext
58216 CFLAGS="$ac_save_CFLAGS"
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58220 $as_echo "$glibcxx_shared_libgcc" >&6; }
58222 # For GNU ld, we need at least this version. The format is described in
58223 # GLIBCXX_CHECK_LINKER_FEATURES above.
58224 glibcxx_min_gnu_ld_version=21400
58226 # If no shared libgcc, can't win.
58227 if test $glibcxx_shared_libgcc != yes; then
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58229 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58231 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58233 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58234 enable_symvers=no
58235 elif test $with_gnu_ld != yes ; then
58236 # just fail for now
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58238 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58240 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58242 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58243 enable_symvers=no
58244 elif test $glibcxx_ld_is_gold = yes ; then
58245 : All versions of gold support symbol versioning.
58246 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58247 # The right tools, the right setup, but too old. Fallbacks?
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58249 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58251 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58253 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58255 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&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
58262 # Everything parsed; figure out what file to use.
58263 case $enable_symvers in
58265 SYMVER_FILE=config/abi/pre/none.ver
58267 gnu)
58268 SYMVER_FILE=config/abi/pre/gnu.ver
58270 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58273 gnu-versioned-namespace)
58274 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58276 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58279 darwin)
58280 SYMVER_FILE=config/abi/pre/gnu.ver
58282 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58285 esac
58287 if test x$enable_symvers != xno ; then
58289 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58294 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58295 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58296 $as_echo_n "(cached) " >&6
58297 else
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h. */
58301 void foo (void); __asm (".symver foo, bar@SYMVER");
58303 main ()
58307 return 0;
58309 _ACEOF
58310 if ac_fn_c_try_compile "$LINENO"; then :
58311 glibcxx_cv_have_as_symver_directive=yes
58312 else
58313 glibcxx_cv_have_as_symver_directive=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58318 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58319 if test $glibcxx_cv_have_as_symver_directive = yes; then
58321 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58331 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58332 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58334 # Now, set up compatibility support, if any.
58335 # In addition, need this to deal with std::size_t mangling in
58336 # src/compatibility.cc. In a perfect world, could use
58337 # typeid(std::size_t).name()[0] to do direct substitution.
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58339 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58340 ac_save_CFLAGS="$CFLAGS"
58341 CFLAGS="-Werror"
58342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58343 /* end confdefs.h. */
58346 main ()
58348 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58350 return 0;
58352 _ACEOF
58353 if ac_fn_c_try_compile "$LINENO"; then :
58354 glibcxx_size_t_is_i=yes
58355 else
58356 glibcxx_size_t_is_i=no
58358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58359 CFLAGS=$ac_save_CFLAGS
58360 if test "$glibcxx_size_t_is_i" = yes; then
58362 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58366 $as_echo "$glibcxx_size_t_is_i" >&6; }
58368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58369 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58370 ac_save_CFLAGS="$CFLAGS"
58371 CFLAGS="-Werror"
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58376 main ()
58378 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58380 return 0;
58382 _ACEOF
58383 if ac_fn_c_try_compile "$LINENO"; then :
58384 glibcxx_ptrdiff_t_is_i=yes
58385 else
58386 glibcxx_ptrdiff_t_is_i=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 CFLAGS=$ac_save_CFLAGS
58390 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58392 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58396 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58399 # Check whether --enable-visibility was given.
58400 if test "${enable_visibility+set}" = set; then :
58401 enableval=$enable_visibility;
58402 case "$enableval" in
58403 yes|no) ;;
58404 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58405 esac
58407 else
58408 enable_visibility=yes
58413 if test x$enable_visibility = xyes ; then
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58415 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58416 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58417 $as_echo_n "(cached) " >&6
58418 else
58420 save_CFLAGS="$CFLAGS"
58421 CFLAGS="$CFLAGS -Werror"
58422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58423 /* end confdefs.h. */
58424 void __attribute__((visibility("hidden"))) foo(void) { }
58426 main ()
58430 return 0;
58432 _ACEOF
58433 if ac_fn_c_try_compile "$LINENO"; then :
58434 glibcxx_cv_have_attribute_visibility=yes
58435 else
58436 glibcxx_cv_have_attribute_visibility=no
58438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58439 CFLAGS="$save_CFLAGS"
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58442 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58443 if test $glibcxx_cv_have_attribute_visibility = no; then
58444 enable_visibility=no
58449 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58450 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58453 ac_ldbl_compat=no
58454 case "$target" in
58455 powerpc*-*-linux* | \
58456 powerpc*-*-gnu* | \
58457 sparc*-*-linux* | \
58458 s390*-*-linux* | \
58459 alpha*-*-linux*)
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58464 main ()
58467 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58468 #error no need for long double compatibility
58469 #endif
58472 return 0;
58474 _ACEOF
58475 if ac_fn_c_try_compile "$LINENO"; then :
58476 ac_ldbl_compat=yes
58477 else
58478 ac_ldbl_compat=no
58480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58481 if test "$ac_ldbl_compat" = yes; then
58483 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58485 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58487 esac
58490 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58492 if $GLIBCXX_IS_NATIVE ; then
58493 # Do checks for resource limit functions.
58495 setrlimit_have_headers=yes
58496 for ac_header in unistd.h sys/time.h sys/resource.h
58497 do :
58498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58499 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58500 eval as_val=\$$as_ac_Header
58501 if test "x$as_val" = x""yes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58504 _ACEOF
58506 else
58507 setrlimit_have_headers=no
58510 done
58512 # If don't have the headers, then we can't run the tests now, and we
58513 # won't be seeing any of these during testsuite compilation.
58514 if test $setrlimit_have_headers = yes; then
58515 # Can't do these in a loop, else the resulting syntax is wrong.
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58518 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58520 /* end confdefs.h. */
58521 #include <unistd.h>
58522 #include <sys/time.h>
58523 #include <sys/resource.h>
58526 main ()
58528 int f = RLIMIT_DATA ;
58530 return 0;
58532 _ACEOF
58533 if ac_fn_c_try_compile "$LINENO"; then :
58534 glibcxx_mresult=1
58535 else
58536 glibcxx_mresult=0
58538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58540 cat >>confdefs.h <<_ACEOF
58541 #define HAVE_LIMIT_DATA $glibcxx_mresult
58542 _ACEOF
58544 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58546 $as_echo "$res" >&6; }
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58550 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 #include <unistd.h>
58554 #include <sys/time.h>
58555 #include <sys/resource.h>
58558 main ()
58560 int f = RLIMIT_RSS ;
58562 return 0;
58564 _ACEOF
58565 if ac_fn_c_try_compile "$LINENO"; then :
58566 glibcxx_mresult=1
58567 else
58568 glibcxx_mresult=0
58570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58572 cat >>confdefs.h <<_ACEOF
58573 #define HAVE_LIMIT_RSS $glibcxx_mresult
58574 _ACEOF
58576 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58578 $as_echo "$res" >&6; }
58581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58582 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58584 /* end confdefs.h. */
58585 #include <unistd.h>
58586 #include <sys/time.h>
58587 #include <sys/resource.h>
58590 main ()
58592 int f = RLIMIT_VMEM ;
58594 return 0;
58596 _ACEOF
58597 if ac_fn_c_try_compile "$LINENO"; then :
58598 glibcxx_mresult=1
58599 else
58600 glibcxx_mresult=0
58602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58604 cat >>confdefs.h <<_ACEOF
58605 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58606 _ACEOF
58608 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58610 $as_echo "$res" >&6; }
58613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58614 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58616 /* end confdefs.h. */
58617 #include <unistd.h>
58618 #include <sys/time.h>
58619 #include <sys/resource.h>
58622 main ()
58624 int f = RLIMIT_AS ;
58626 return 0;
58628 _ACEOF
58629 if ac_fn_c_try_compile "$LINENO"; then :
58630 glibcxx_mresult=1
58631 else
58632 glibcxx_mresult=0
58634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58636 cat >>confdefs.h <<_ACEOF
58637 #define HAVE_LIMIT_AS $glibcxx_mresult
58638 _ACEOF
58640 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58642 $as_echo "$res" >&6; }
58645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58646 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58648 /* end confdefs.h. */
58649 #include <unistd.h>
58650 #include <sys/time.h>
58651 #include <sys/resource.h>
58654 main ()
58656 int f = RLIMIT_FSIZE ;
58658 return 0;
58660 _ACEOF
58661 if ac_fn_c_try_compile "$LINENO"; then :
58662 glibcxx_mresult=1
58663 else
58664 glibcxx_mresult=0
58666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58668 cat >>confdefs.h <<_ACEOF
58669 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58670 _ACEOF
58672 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58674 $as_echo "$res" >&6; }
58677 # Check for rlimit, setrlimit.
58678 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58679 $as_echo_n "(cached) " >&6
58680 else
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 #include <unistd.h>
58685 #include <sys/time.h>
58686 #include <sys/resource.h>
58689 main ()
58691 struct rlimit r;
58692 setrlimit(0, &r);
58694 return 0;
58696 _ACEOF
58697 if ac_fn_c_try_compile "$LINENO"; then :
58698 glibcxx_cv_setrlimit=yes
58699 else
58700 glibcxx_cv_setrlimit=no
58702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58709 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58710 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58711 ac_res_limits=yes
58713 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58715 else
58716 ac_res_limits=no
58718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58719 $as_echo "$ac_res_limits" >&6; }
58722 # Look for setenv, so that extended locale tests can be performed.
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58725 $as_echo_n "checking for setenv declaration... " >&6; }
58726 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58727 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58728 $as_echo_n "(cached) " >&6
58729 else
58732 ac_ext=cpp
58733 ac_cpp='$CXXCPP $CPPFLAGS'
58734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58739 /* end confdefs.h. */
58740 #include <stdlib.h>
58742 main ()
58744 setenv(0, 0, 0);
58746 return 0;
58748 _ACEOF
58749 if ac_fn_cxx_try_compile "$LINENO"; then :
58750 glibcxx_cv_func_setenv_use=yes
58751 else
58752 glibcxx_cv_func_setenv_use=no
58754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58755 ac_ext=c
58756 ac_cpp='$CPP $CPPFLAGS'
58757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58766 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58767 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58768 for ac_func in setenv
58769 do :
58770 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58771 if test "x$ac_cv_func_setenv" = x""yes; then :
58772 cat >>confdefs.h <<_ACEOF
58773 #define HAVE_SETENV 1
58774 _ACEOF
58777 done
58783 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58784 test $enable_symvers != no; then
58785 case "$host" in
58786 *-*-cygwin*)
58787 enable_abi_check=no ;;
58789 enable_abi_check=yes ;;
58790 esac
58791 else
58792 # Only build this as native, since automake does not understand
58793 # CXX_FOR_BUILD.
58794 enable_abi_check=no
58797 # Export file names for ABI checking.
58798 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58802 # Propagate the target-specific source directories through the build chain.
58803 ATOMICITY_SRCDIR=config/${atomicity_dir}
58804 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58805 ATOMIC_FLAGS=${atomic_flags}
58806 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58807 OS_INC_SRCDIR=config/${os_include_dir}
58808 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58809 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58819 # Determine cross-compile flags and AM_CONDITIONALs.
58820 #AC_SUBST(GLIBCXX_IS_NATIVE)
58821 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58822 if test $is_hosted = yes; then
58823 GLIBCXX_HOSTED_TRUE=
58824 GLIBCXX_HOSTED_FALSE='#'
58825 else
58826 GLIBCXX_HOSTED_TRUE='#'
58827 GLIBCXX_HOSTED_FALSE=
58831 if test $enable_libstdcxx_pch = yes; then
58832 GLIBCXX_BUILD_PCH_TRUE=
58833 GLIBCXX_BUILD_PCH_FALSE='#'
58834 else
58835 GLIBCXX_BUILD_PCH_TRUE='#'
58836 GLIBCXX_BUILD_PCH_FALSE=
58840 if test $enable_cheaders = c; then
58841 GLIBCXX_C_HEADERS_C_TRUE=
58842 GLIBCXX_C_HEADERS_C_FALSE='#'
58843 else
58844 GLIBCXX_C_HEADERS_C_TRUE='#'
58845 GLIBCXX_C_HEADERS_C_FALSE=
58849 if test $enable_cheaders = c_std; then
58850 GLIBCXX_C_HEADERS_C_STD_TRUE=
58851 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58852 else
58853 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58854 GLIBCXX_C_HEADERS_C_STD_FALSE=
58858 if test $enable_cheaders = c_global; then
58859 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58860 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58861 else
58862 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58863 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58867 if test $c_compatibility = yes; then
58868 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58869 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58870 else
58871 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58872 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58876 if test $c_extra = yes; then
58877 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58878 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58879 else
58880 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58881 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58885 if test $enable_libstdcxx_debug = yes; then
58886 GLIBCXX_BUILD_DEBUG_TRUE=
58887 GLIBCXX_BUILD_DEBUG_FALSE='#'
58888 else
58889 GLIBCXX_BUILD_DEBUG_TRUE='#'
58890 GLIBCXX_BUILD_DEBUG_FALSE=
58894 if test $enable_parallel = yes; then
58895 ENABLE_PARALLEL_TRUE=
58896 ENABLE_PARALLEL_FALSE='#'
58897 else
58898 ENABLE_PARALLEL_TRUE='#'
58899 ENABLE_PARALLEL_FALSE=
58903 if test $enable_symvers != no; then
58904 ENABLE_SYMVERS_TRUE=
58905 ENABLE_SYMVERS_FALSE='#'
58906 else
58907 ENABLE_SYMVERS_TRUE='#'
58908 ENABLE_SYMVERS_FALSE=
58912 if test $enable_symvers = gnu; then
58913 ENABLE_SYMVERS_GNU_TRUE=
58914 ENABLE_SYMVERS_GNU_FALSE='#'
58915 else
58916 ENABLE_SYMVERS_GNU_TRUE='#'
58917 ENABLE_SYMVERS_GNU_FALSE=
58921 if test $enable_symvers = gnu-versioned-namespace; then
58922 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58923 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58924 else
58925 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58926 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58930 if test $enable_symvers = darwin; then
58931 ENABLE_SYMVERS_DARWIN_TRUE=
58932 ENABLE_SYMVERS_DARWIN_FALSE='#'
58933 else
58934 ENABLE_SYMVERS_DARWIN_TRUE='#'
58935 ENABLE_SYMVERS_DARWIN_FALSE=
58939 if test $enable_visibility = yes; then
58940 ENABLE_VISIBILITY_TRUE=
58941 ENABLE_VISIBILITY_FALSE='#'
58942 else
58943 ENABLE_VISIBILITY_TRUE='#'
58944 ENABLE_VISIBILITY_FALSE=
58948 if test $ac_ldbl_compat = yes; then
58949 GLIBCXX_LDBL_COMPAT_TRUE=
58950 GLIBCXX_LDBL_COMPAT_FALSE='#'
58951 else
58952 GLIBCXX_LDBL_COMPAT_TRUE='#'
58953 GLIBCXX_LDBL_COMPAT_FALSE=
58959 cat >confcache <<\_ACEOF
58960 # This file is a shell script that caches the results of configure
58961 # tests run on this system so they can be shared between configure
58962 # scripts and configure runs, see configure's option --config-cache.
58963 # It is not useful on other systems. If it contains results you don't
58964 # want to keep, you may remove or edit it.
58966 # config.status only pays attention to the cache file if you give it
58967 # the --recheck option to rerun configure.
58969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58971 # following values.
58973 _ACEOF
58975 # The following way of writing the cache mishandles newlines in values,
58976 # but we know of no workaround that is simple, portable, and efficient.
58977 # So, we kill variables containing newlines.
58978 # Ultrix sh set writes to stderr and can't be redirected directly,
58979 # and sets the high bit in the cache file unless we assign to the vars.
58981 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58982 eval ac_val=\$$ac_var
58983 case $ac_val in #(
58984 *${as_nl}*)
58985 case $ac_var in #(
58986 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58987 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58988 esac
58989 case $ac_var in #(
58990 _ | IFS | as_nl) ;; #(
58991 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58992 *) { eval $ac_var=; unset $ac_var;} ;;
58993 esac ;;
58994 esac
58995 done
58997 (set) 2>&1 |
58998 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58999 *${as_nl}ac_space=\ *)
59000 # `set' does not quote correctly, so add quotes: double-quote
59001 # substitution turns \\\\ into \\, and sed turns \\ into \.
59002 sed -n \
59003 "s/'/'\\\\''/g;
59004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59005 ;; #(
59007 # `set' quotes correctly as required by POSIX, so do not add quotes.
59008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59010 esac |
59011 sort
59013 sed '
59014 /^ac_cv_env_/b end
59015 t clear
59016 :clear
59017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59018 t end
59019 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59020 :end' >>confcache
59021 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59022 if test -w "$cache_file"; then
59023 test "x$cache_file" != "x/dev/null" &&
59024 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59025 $as_echo "$as_me: updating cache $cache_file" >&6;}
59026 cat confcache >$cache_file
59027 else
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59029 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59032 rm -f confcache
59034 if test ${multilib} = yes; then
59035 multilib_arg="--enable-multilib"
59036 else
59037 multilib_arg=
59040 # Export all the install information.
59042 glibcxx_toolexecdir=no
59043 glibcxx_toolexeclibdir=no
59044 glibcxx_prefixdir=$prefix
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59047 $as_echo_n "checking for gxx-include-dir... " >&6; }
59049 # Check whether --with-gxx-include-dir was given.
59050 if test "${with_gxx_include_dir+set}" = set; then :
59051 withval=$with_gxx_include_dir; case "$withval" in
59052 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59053 no) gxx_include_dir=no ;;
59054 *) gxx_include_dir=$withval ;;
59055 esac
59056 else
59057 gxx_include_dir=no
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59061 $as_echo "$gxx_include_dir" >&6; }
59063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59064 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59065 # Check whether --enable-version-specific-runtime-libs was given.
59066 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59067 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59068 yes) version_specific_libs=yes ;;
59069 no) version_specific_libs=no ;;
59070 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59071 esac
59072 else
59073 version_specific_libs=no
59076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59077 $as_echo "$version_specific_libs" >&6; }
59079 # Default case for install directory for include files.
59080 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59081 gxx_include_dir='include/c++/${gcc_version}'
59082 if test -n "$with_cross_host" &&
59083 test x"$with_cross_host" != x"no"; then
59084 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59085 else
59086 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59090 # Version-specific runtime libs processing.
59091 if test $version_specific_libs = yes; then
59092 # Need the gcc compiler version to know where to install libraries
59093 # and header files if --enable-version-specific-runtime-libs option
59094 # is selected. FIXME: these variables are misnamed, there are
59095 # no executables installed in _toolexecdir or _toolexeclibdir.
59096 if test x"$gxx_include_dir" = x"no"; then
59097 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59099 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59100 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59103 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59104 # Install a library built with a cross compiler in tooldir, not libdir.
59105 if test x"$glibcxx_toolexecdir" = x"no"; then
59106 if test -n "$with_cross_host" &&
59107 test x"$with_cross_host" != x"no"; then
59108 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59109 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59110 else
59111 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59112 glibcxx_toolexeclibdir='${libdir}'
59114 multi_os_directory=`$CXX -print-multi-os-directory`
59115 case $multi_os_directory in
59116 .) ;; # Avoid trailing /.
59117 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59118 esac
59121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59122 $as_echo_n "checking for install location... " >&6; }
59123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59124 $as_echo "$gxx_include_dir" >&6; }
59132 # Export all the include and flag information to Makefiles.
59134 # Used for every C++ compile we perform.
59135 GLIBCXX_INCLUDES="\
59136 -I$glibcxx_builddir/include/$host_alias \
59137 -I$glibcxx_builddir/include \
59138 -I$glibcxx_srcdir/libsupc++"
59140 # For Canadian crosses, pick this up too.
59141 if test $CANADIAN = yes; then
59142 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59145 # Stuff in the actual top level. Currently only used by libsupc++ to
59146 # get unwind* headers from the gcc dir.
59147 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59148 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59150 # Now, export this to all the little Makefiles....
59155 # Optimization flags that are probably a good idea for thrill-seekers. Just
59156 # uncomment the lines below and make, everything else is ready to go...
59157 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59158 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59161 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59165 if test "$enable_shared" = yes; then
59166 LIBSUPCXX_PICFLAGS="-prefer-pic"
59167 else
59168 LIBSUPCXX_PICFLAGS=
59172 ac_config_files="$ac_config_files Makefile"
59174 ac_config_files="$ac_config_files scripts/testsuite_flags"
59177 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59178 # that multilib installs will end up installed in the correct place.
59179 # The testsuite needs it for multilib-aware ABI baseline files.
59180 # To work around this not being passed down from config-ml.in ->
59181 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59182 # append it here. Only modify Makefiles that have just been created.
59184 # Also, get rid of this simulated-VPATH thing that automake does.
59185 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59188 ac_config_commands="$ac_config_commands generate-headers"
59191 cat >confcache <<\_ACEOF
59192 # This file is a shell script that caches the results of configure
59193 # tests run on this system so they can be shared between configure
59194 # scripts and configure runs, see configure's option --config-cache.
59195 # It is not useful on other systems. If it contains results you don't
59196 # want to keep, you may remove or edit it.
59198 # config.status only pays attention to the cache file if you give it
59199 # the --recheck option to rerun configure.
59201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59203 # following values.
59205 _ACEOF
59207 # The following way of writing the cache mishandles newlines in values,
59208 # but we know of no workaround that is simple, portable, and efficient.
59209 # So, we kill variables containing newlines.
59210 # Ultrix sh set writes to stderr and can't be redirected directly,
59211 # and sets the high bit in the cache file unless we assign to the vars.
59213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59214 eval ac_val=\$$ac_var
59215 case $ac_val in #(
59216 *${as_nl}*)
59217 case $ac_var in #(
59218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59220 esac
59221 case $ac_var in #(
59222 _ | IFS | as_nl) ;; #(
59223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59224 *) { eval $ac_var=; unset $ac_var;} ;;
59225 esac ;;
59226 esac
59227 done
59229 (set) 2>&1 |
59230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59231 *${as_nl}ac_space=\ *)
59232 # `set' does not quote correctly, so add quotes: double-quote
59233 # substitution turns \\\\ into \\, and sed turns \\ into \.
59234 sed -n \
59235 "s/'/'\\\\''/g;
59236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59237 ;; #(
59239 # `set' quotes correctly as required by POSIX, so do not add quotes.
59240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59242 esac |
59243 sort
59245 sed '
59246 /^ac_cv_env_/b end
59247 t clear
59248 :clear
59249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59250 t end
59251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59252 :end' >>confcache
59253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59254 if test -w "$cache_file"; then
59255 test "x$cache_file" != "x/dev/null" &&
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59257 $as_echo "$as_me: updating cache $cache_file" >&6;}
59258 cat confcache >$cache_file
59259 else
59260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59264 rm -f confcache
59266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59267 # Let make expand exec_prefix.
59268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59270 DEFS=-DHAVE_CONFIG_H
59272 ac_libobjs=
59273 ac_ltlibobjs=
59274 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59275 # 1. Remove the extension, and $U if already installed.
59276 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59277 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59278 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59279 # will be set to the directory where LIBOBJS objects are built.
59280 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59281 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59282 done
59283 LIBOBJS=$ac_libobjs
59285 LTLIBOBJS=$ac_ltlibobjs
59288 if test -n "$EXEEXT"; then
59289 am__EXEEXT_TRUE=
59290 am__EXEEXT_FALSE='#'
59291 else
59292 am__EXEEXT_TRUE='#'
59293 am__EXEEXT_FALSE=
59296 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59297 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59300 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59301 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59304 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59305 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59308 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59309 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59312 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59313 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59316 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59317 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59320 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59321 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59324 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59325 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59328 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59329 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59332 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59333 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59336 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59337 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59340 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59341 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59344 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59345 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59348 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59349 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59352 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59353 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59356 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59357 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59361 : ${CONFIG_STATUS=./config.status}
59362 ac_write_fail=0
59363 ac_clean_files_save=$ac_clean_files
59364 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59367 as_write_fail=0
59368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59369 #! $SHELL
59370 # Generated by $as_me.
59371 # Run this file to recreate the current configuration.
59372 # Compiler output produced by configure, useful for debugging
59373 # configure, is in config.log if it exists.
59375 debug=false
59376 ac_cs_recheck=false
59377 ac_cs_silent=false
59379 SHELL=\${CONFIG_SHELL-$SHELL}
59380 export SHELL
59381 _ASEOF
59382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59383 ## -------------------- ##
59384 ## M4sh Initialization. ##
59385 ## -------------------- ##
59387 # Be more Bourne compatible
59388 DUALCASE=1; export DUALCASE # for MKS sh
59389 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59390 emulate sh
59391 NULLCMD=:
59392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59393 # is contrary to our usage. Disable this feature.
59394 alias -g '${1+"$@"}'='"$@"'
59395 setopt NO_GLOB_SUBST
59396 else
59397 case `(set -o) 2>/dev/null` in #(
59398 *posix*) :
59399 set -o posix ;; #(
59400 *) :
59402 esac
59406 as_nl='
59408 export as_nl
59409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59410 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59412 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59413 # Prefer a ksh shell builtin over an external printf program on Solaris,
59414 # but without wasting forks for bash or zsh.
59415 if test -z "$BASH_VERSION$ZSH_VERSION" \
59416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59417 as_echo='print -r --'
59418 as_echo_n='print -rn --'
59419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59420 as_echo='printf %s\n'
59421 as_echo_n='printf %s'
59422 else
59423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59424 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59425 as_echo_n='/usr/ucb/echo -n'
59426 else
59427 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59428 as_echo_n_body='eval
59429 arg=$1;
59430 case $arg in #(
59431 *"$as_nl"*)
59432 expr "X$arg" : "X\\(.*\\)$as_nl";
59433 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59434 esac;
59435 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59437 export as_echo_n_body
59438 as_echo_n='sh -c $as_echo_n_body as_echo'
59440 export as_echo_body
59441 as_echo='sh -c $as_echo_body as_echo'
59444 # The user is always right.
59445 if test "${PATH_SEPARATOR+set}" != set; then
59446 PATH_SEPARATOR=:
59447 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59448 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59449 PATH_SEPARATOR=';'
59454 # IFS
59455 # We need space, tab and new line, in precisely that order. Quoting is
59456 # there to prevent editors from complaining about space-tab.
59457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59458 # splitting by setting IFS to empty value.)
59459 IFS=" "" $as_nl"
59461 # Find who we are. Look in the path if we contain no directory separator.
59462 case $0 in #((
59463 *[\\/]* ) as_myself=$0 ;;
59464 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59465 for as_dir in $PATH
59467 IFS=$as_save_IFS
59468 test -z "$as_dir" && as_dir=.
59469 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59470 done
59471 IFS=$as_save_IFS
59474 esac
59475 # We did not find ourselves, most probably we were run as `sh COMMAND'
59476 # in which case we are not to be found in the path.
59477 if test "x$as_myself" = x; then
59478 as_myself=$0
59480 if test ! -f "$as_myself"; then
59481 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59482 exit 1
59485 # Unset variables that we do not need and which cause bugs (e.g. in
59486 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59487 # suppresses any "Segmentation fault" message there. '((' could
59488 # trigger a bug in pdksh 5.2.14.
59489 for as_var in BASH_ENV ENV MAIL MAILPATH
59490 do eval test x\${$as_var+set} = xset \
59491 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59492 done
59493 PS1='$ '
59494 PS2='> '
59495 PS4='+ '
59497 # NLS nuisances.
59498 LC_ALL=C
59499 export LC_ALL
59500 LANGUAGE=C
59501 export LANGUAGE
59503 # CDPATH.
59504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59507 # as_fn_error ERROR [LINENO LOG_FD]
59508 # ---------------------------------
59509 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59510 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59511 # script with status $?, using 1 if that was 0.
59512 as_fn_error ()
59514 as_status=$?; test $as_status -eq 0 && as_status=1
59515 if test "$3"; then
59516 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59517 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59519 $as_echo "$as_me: error: $1" >&2
59520 as_fn_exit $as_status
59521 } # as_fn_error
59524 # as_fn_set_status STATUS
59525 # -----------------------
59526 # Set $? to STATUS, without forking.
59527 as_fn_set_status ()
59529 return $1
59530 } # as_fn_set_status
59532 # as_fn_exit STATUS
59533 # -----------------
59534 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59535 as_fn_exit ()
59537 set +e
59538 as_fn_set_status $1
59539 exit $1
59540 } # as_fn_exit
59542 # as_fn_unset VAR
59543 # ---------------
59544 # Portably unset VAR.
59545 as_fn_unset ()
59547 { eval $1=; unset $1;}
59549 as_unset=as_fn_unset
59550 # as_fn_append VAR VALUE
59551 # ----------------------
59552 # Append the text in VALUE to the end of the definition contained in VAR. Take
59553 # advantage of any shell optimizations that allow amortized linear growth over
59554 # repeated appends, instead of the typical quadratic growth present in naive
59555 # implementations.
59556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59557 eval 'as_fn_append ()
59559 eval $1+=\$2
59561 else
59562 as_fn_append ()
59564 eval $1=\$$1\$2
59566 fi # as_fn_append
59568 # as_fn_arith ARG...
59569 # ------------------
59570 # Perform arithmetic evaluation on the ARGs, and store the result in the
59571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59572 # must be portable across $(()) and expr.
59573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59574 eval 'as_fn_arith ()
59576 as_val=$(( $* ))
59578 else
59579 as_fn_arith ()
59581 as_val=`expr "$@" || test $? -eq 1`
59583 fi # as_fn_arith
59586 if expr a : '\(a\)' >/dev/null 2>&1 &&
59587 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59588 as_expr=expr
59589 else
59590 as_expr=false
59593 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59594 as_basename=basename
59595 else
59596 as_basename=false
59599 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59600 as_dirname=dirname
59601 else
59602 as_dirname=false
59605 as_me=`$as_basename -- "$0" ||
59606 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59607 X"$0" : 'X\(//\)$' \| \
59608 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59609 $as_echo X/"$0" |
59610 sed '/^.*\/\([^/][^/]*\)\/*$/{
59611 s//\1/
59614 /^X\/\(\/\/\)$/{
59615 s//\1/
59618 /^X\/\(\/\).*/{
59619 s//\1/
59622 s/.*/./; q'`
59624 # Avoid depending upon Character Ranges.
59625 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59626 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59627 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59628 as_cr_digits='0123456789'
59629 as_cr_alnum=$as_cr_Letters$as_cr_digits
59631 ECHO_C= ECHO_N= ECHO_T=
59632 case `echo -n x` in #(((((
59633 -n*)
59634 case `echo 'xy\c'` in
59635 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59636 xy) ECHO_C='\c';;
59637 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59638 ECHO_T=' ';;
59639 esac;;
59641 ECHO_N='-n';;
59642 esac
59644 rm -f conf$$ conf$$.exe conf$$.file
59645 if test -d conf$$.dir; then
59646 rm -f conf$$.dir/conf$$.file
59647 else
59648 rm -f conf$$.dir
59649 mkdir conf$$.dir 2>/dev/null
59651 if (echo >conf$$.file) 2>/dev/null; then
59652 if ln -s conf$$.file conf$$ 2>/dev/null; then
59653 as_ln_s='ln -s'
59654 # ... but there are two gotchas:
59655 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59656 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59657 # In both cases, we have to default to `cp -p'.
59658 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59659 as_ln_s='cp -p'
59660 elif ln conf$$.file conf$$ 2>/dev/null; then
59661 as_ln_s=ln
59662 else
59663 as_ln_s='cp -p'
59665 else
59666 as_ln_s='cp -p'
59668 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59669 rmdir conf$$.dir 2>/dev/null
59672 # as_fn_mkdir_p
59673 # -------------
59674 # Create "$as_dir" as a directory, including parents if necessary.
59675 as_fn_mkdir_p ()
59678 case $as_dir in #(
59679 -*) as_dir=./$as_dir;;
59680 esac
59681 test -d "$as_dir" || eval $as_mkdir_p || {
59682 as_dirs=
59683 while :; do
59684 case $as_dir in #(
59685 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59686 *) as_qdir=$as_dir;;
59687 esac
59688 as_dirs="'$as_qdir' $as_dirs"
59689 as_dir=`$as_dirname -- "$as_dir" ||
59690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59691 X"$as_dir" : 'X\(//\)[^/]' \| \
59692 X"$as_dir" : 'X\(//\)$' \| \
59693 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59694 $as_echo X"$as_dir" |
59695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59696 s//\1/
59699 /^X\(\/\/\)[^/].*/{
59700 s//\1/
59703 /^X\(\/\/\)$/{
59704 s//\1/
59707 /^X\(\/\).*/{
59708 s//\1/
59711 s/.*/./; q'`
59712 test -d "$as_dir" && break
59713 done
59714 test -z "$as_dirs" || eval "mkdir $as_dirs"
59715 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59718 } # as_fn_mkdir_p
59719 if mkdir -p . 2>/dev/null; then
59720 as_mkdir_p='mkdir -p "$as_dir"'
59721 else
59722 test -d ./-p && rmdir ./-p
59723 as_mkdir_p=false
59726 if test -x / >/dev/null 2>&1; then
59727 as_test_x='test -x'
59728 else
59729 if ls -dL / >/dev/null 2>&1; then
59730 as_ls_L_option=L
59731 else
59732 as_ls_L_option=
59734 as_test_x='
59735 eval sh -c '\''
59736 if test -d "$1"; then
59737 test -d "$1/.";
59738 else
59739 case $1 in #(
59740 -*)set "./$1";;
59741 esac;
59742 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59743 ???[sx]*):;;*)false;;esac;fi
59744 '\'' sh
59747 as_executable_p=$as_test_x
59749 # Sed expression to map a string onto a valid CPP name.
59750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59752 # Sed expression to map a string onto a valid variable name.
59753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59756 exec 6>&1
59757 ## ----------------------------------- ##
59758 ## Main body of $CONFIG_STATUS script. ##
59759 ## ----------------------------------- ##
59760 _ASEOF
59761 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59764 # Save the log message, to keep $0 and so on meaningful, and to
59765 # report actual input values of CONFIG_FILES etc. instead of their
59766 # values after options handling.
59767 ac_log="
59768 This file was extended by package-unused $as_me version-unused, which was
59769 generated by GNU Autoconf 2.64. Invocation command line was
59771 CONFIG_FILES = $CONFIG_FILES
59772 CONFIG_HEADERS = $CONFIG_HEADERS
59773 CONFIG_LINKS = $CONFIG_LINKS
59774 CONFIG_COMMANDS = $CONFIG_COMMANDS
59775 $ $0 $@
59777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59780 _ACEOF
59782 case $ac_config_files in *"
59783 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59784 esac
59786 case $ac_config_headers in *"
59787 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59788 esac
59791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59792 # Files that config.status was made for.
59793 config_files="$ac_config_files"
59794 config_headers="$ac_config_headers"
59795 config_commands="$ac_config_commands"
59797 _ACEOF
59799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59800 ac_cs_usage="\
59801 \`$as_me' instantiates files and other configuration actions
59802 from templates according to the current configuration. Unless the files
59803 and actions are specified as TAGs, all are instantiated by default.
59805 Usage: $0 [OPTION]... [TAG]...
59807 -h, --help print this help, then exit
59808 -V, --version print version number and configuration settings, then exit
59809 -q, --quiet, --silent
59810 do not print progress messages
59811 -d, --debug don't remove temporary files
59812 --recheck update $as_me by reconfiguring in the same conditions
59813 --file=FILE[:TEMPLATE]
59814 instantiate the configuration file FILE
59815 --header=FILE[:TEMPLATE]
59816 instantiate the configuration header FILE
59818 Configuration files:
59819 $config_files
59821 Configuration headers:
59822 $config_headers
59824 Configuration commands:
59825 $config_commands
59827 Report bugs to the package provider."
59829 _ACEOF
59830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59831 ac_cs_version="\\
59832 package-unused config.status version-unused
59833 configured by $0, generated by GNU Autoconf 2.64,
59834 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59836 Copyright (C) 2009 Free Software Foundation, Inc.
59837 This config.status script is free software; the Free Software Foundation
59838 gives unlimited permission to copy, distribute and modify it."
59840 ac_pwd='$ac_pwd'
59841 srcdir='$srcdir'
59842 INSTALL='$INSTALL'
59843 MKDIR_P='$MKDIR_P'
59844 AWK='$AWK'
59845 test -n "\$AWK" || AWK=awk
59846 _ACEOF
59848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59849 # The default lists apply if the user does not specify any file.
59850 ac_need_defaults=:
59851 while test $# != 0
59853 case $1 in
59854 --*=*)
59855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59856 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59857 ac_shift=:
59860 ac_option=$1
59861 ac_optarg=$2
59862 ac_shift=shift
59864 esac
59866 case $ac_option in
59867 # Handling of the options.
59868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59869 ac_cs_recheck=: ;;
59870 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59871 $as_echo "$ac_cs_version"; exit ;;
59872 --debug | --debu | --deb | --de | --d | -d )
59873 debug=: ;;
59874 --file | --fil | --fi | --f )
59875 $ac_shift
59876 case $ac_optarg in
59877 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59878 esac
59879 as_fn_append CONFIG_FILES " '$ac_optarg'"
59880 ac_need_defaults=false;;
59881 --header | --heade | --head | --hea )
59882 $ac_shift
59883 case $ac_optarg in
59884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59885 esac
59886 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59887 ac_need_defaults=false;;
59888 --he | --h)
59889 # Conflict between --help and --header
59890 as_fn_error "ambiguous option: \`$1'
59891 Try \`$0 --help' for more information.";;
59892 --help | --hel | -h )
59893 $as_echo "$ac_cs_usage"; exit ;;
59894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59895 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59896 ac_cs_silent=: ;;
59898 # This is an error.
59899 -*) as_fn_error "unrecognized option: \`$1'
59900 Try \`$0 --help' for more information." ;;
59902 *) as_fn_append ac_config_targets " $1"
59903 ac_need_defaults=false ;;
59905 esac
59906 shift
59907 done
59909 ac_configure_extra_args=
59911 if $ac_cs_silent; then
59912 exec 6>/dev/null
59913 ac_configure_extra_args="$ac_configure_extra_args --silent"
59916 _ACEOF
59917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59918 if \$ac_cs_recheck; then
59919 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59920 shift
59921 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59922 CONFIG_SHELL='$SHELL'
59923 export CONFIG_SHELL
59924 exec "\$@"
59927 _ACEOF
59928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59929 exec 5>>config.log
59931 echo
59932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59933 ## Running $as_me. ##
59934 _ASBOX
59935 $as_echo "$ac_log"
59936 } >&5
59938 _ACEOF
59939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59941 # INIT-COMMANDS
59944 srcdir="$srcdir"
59945 host="$host"
59946 target="$target"
59947 with_multisubdir="$with_multisubdir"
59948 with_multisrctop="$with_multisrctop"
59949 with_target_subdir="$with_target_subdir"
59950 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59951 multi_basedir="$multi_basedir"
59952 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59953 CC="$CC"
59954 CXX="$CXX"
59955 GFORTRAN="$GFORTRAN"
59956 GCJ="$GCJ"
59959 # The HP-UX ksh and POSIX shell print the target directory to stdout
59960 # if CDPATH is set.
59961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59963 sed_quote_subst='$sed_quote_subst'
59964 double_quote_subst='$double_quote_subst'
59965 delay_variable_subst='$delay_variable_subst'
59966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59968 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59969 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59972 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59973 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59974 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59975 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59976 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59977 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59978 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59979 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59980 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59981 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59982 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59983 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59984 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59985 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59986 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59987 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59988 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59989 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59990 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59991 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59992 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59993 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59994 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59995 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59996 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59997 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59998 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59999 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60000 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60001 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60002 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60003 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60004 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60005 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60006 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60007 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60008 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60009 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60010 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60011 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60012 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60013 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60014 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"`'
60015 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60016 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60017 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60018 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60019 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60020 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60021 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60022 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60023 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60024 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60025 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60026 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60027 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60028 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60029 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60030 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60031 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60032 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60033 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60034 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60035 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60036 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60037 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60038 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60039 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60040 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60041 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60042 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60043 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60044 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60045 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60046 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60047 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60048 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60049 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60050 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60051 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60052 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60053 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60054 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60055 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60056 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60057 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60058 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60059 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60060 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60061 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60062 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60063 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60064 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60065 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60066 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60067 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60068 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60069 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60070 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60071 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60072 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60073 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60074 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60075 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60076 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60077 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60078 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60079 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60080 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60081 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60082 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60083 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60084 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60085 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60086 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60087 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60088 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60089 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60090 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60091 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60092 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60093 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60094 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60095 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60096 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60097 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60098 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60099 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60100 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60101 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60102 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60103 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60104 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60105 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60106 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60107 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60108 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60109 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60110 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60111 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60112 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60113 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60114 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60115 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60116 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60117 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60118 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60119 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60120 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60121 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60122 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60123 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60124 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60125 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60126 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60127 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60128 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60129 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60130 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60131 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60132 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60133 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60134 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60135 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60136 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60137 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60138 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60139 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60140 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60142 LTCC='$LTCC'
60143 LTCFLAGS='$LTCFLAGS'
60144 compiler='$compiler_DEFAULT'
60146 # A function that is used when there is no print builtin or printf.
60147 func_fallback_echo ()
60149 eval 'cat <<_LTECHO_EOF
60151 _LTECHO_EOF'
60154 # Quote evaled strings.
60155 for var in SHELL \
60156 ECHO \
60157 SED \
60158 GREP \
60159 EGREP \
60160 FGREP \
60161 LD \
60162 NM \
60163 LN_S \
60164 lt_SP2NL \
60165 lt_NL2SP \
60166 reload_flag \
60167 OBJDUMP \
60168 deplibs_check_method \
60169 file_magic_cmd \
60170 AR \
60171 AR_FLAGS \
60172 STRIP \
60173 RANLIB \
60174 CC \
60175 CFLAGS \
60176 compiler \
60177 lt_cv_sys_global_symbol_pipe \
60178 lt_cv_sys_global_symbol_to_cdecl \
60179 lt_cv_sys_global_symbol_to_c_name_address \
60180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60181 lt_prog_compiler_no_builtin_flag \
60182 lt_prog_compiler_wl \
60183 lt_prog_compiler_pic \
60184 lt_prog_compiler_static \
60185 lt_cv_prog_compiler_c_o \
60186 need_locks \
60187 DSYMUTIL \
60188 NMEDIT \
60189 LIPO \
60190 OTOOL \
60191 OTOOL64 \
60192 shrext_cmds \
60193 export_dynamic_flag_spec \
60194 whole_archive_flag_spec \
60195 compiler_needs_object \
60196 with_gnu_ld \
60197 allow_undefined_flag \
60198 no_undefined_flag \
60199 hardcode_libdir_flag_spec \
60200 hardcode_libdir_flag_spec_ld \
60201 hardcode_libdir_separator \
60202 fix_srcfile_path \
60203 exclude_expsyms \
60204 include_expsyms \
60205 file_list_spec \
60206 variables_saved_for_relink \
60207 libname_spec \
60208 library_names_spec \
60209 soname_spec \
60210 install_override_mode \
60211 finish_eval \
60212 old_striplib \
60213 striplib \
60214 compiler_lib_search_dirs \
60215 predep_objects \
60216 postdep_objects \
60217 predeps \
60218 postdeps \
60219 compiler_lib_search_path \
60220 LD_CXX \
60221 reload_flag_CXX \
60222 compiler_CXX \
60223 lt_prog_compiler_no_builtin_flag_CXX \
60224 lt_prog_compiler_wl_CXX \
60225 lt_prog_compiler_pic_CXX \
60226 lt_prog_compiler_static_CXX \
60227 lt_cv_prog_compiler_c_o_CXX \
60228 export_dynamic_flag_spec_CXX \
60229 whole_archive_flag_spec_CXX \
60230 compiler_needs_object_CXX \
60231 with_gnu_ld_CXX \
60232 allow_undefined_flag_CXX \
60233 no_undefined_flag_CXX \
60234 hardcode_libdir_flag_spec_CXX \
60235 hardcode_libdir_flag_spec_ld_CXX \
60236 hardcode_libdir_separator_CXX \
60237 fix_srcfile_path_CXX \
60238 exclude_expsyms_CXX \
60239 include_expsyms_CXX \
60240 file_list_spec_CXX \
60241 compiler_lib_search_dirs_CXX \
60242 predep_objects_CXX \
60243 postdep_objects_CXX \
60244 predeps_CXX \
60245 postdeps_CXX \
60246 compiler_lib_search_path_CXX; do
60247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60248 *[\\\\\\\`\\"\\\$]*)
60249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60254 esac
60255 done
60257 # Double-quote double-evaled strings.
60258 for var in reload_cmds \
60259 old_postinstall_cmds \
60260 old_postuninstall_cmds \
60261 old_archive_cmds \
60262 extract_expsyms_cmds \
60263 old_archive_from_new_cmds \
60264 old_archive_from_expsyms_cmds \
60265 archive_cmds \
60266 archive_expsym_cmds \
60267 module_cmds \
60268 module_expsym_cmds \
60269 export_symbols_cmds \
60270 prelink_cmds \
60271 postinstall_cmds \
60272 postuninstall_cmds \
60273 finish_cmds \
60274 sys_lib_search_path_spec \
60275 sys_lib_dlsearch_path_spec \
60276 reload_cmds_CXX \
60277 old_archive_cmds_CXX \
60278 old_archive_from_new_cmds_CXX \
60279 old_archive_from_expsyms_cmds_CXX \
60280 archive_cmds_CXX \
60281 archive_expsym_cmds_CXX \
60282 module_cmds_CXX \
60283 module_expsym_cmds_CXX \
60284 export_symbols_cmds_CXX \
60285 prelink_cmds_CXX; do
60286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60287 *[\\\\\\\`\\"\\\$]*)
60288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60293 esac
60294 done
60296 ac_aux_dir='$ac_aux_dir'
60297 xsi_shell='$xsi_shell'
60298 lt_shell_append='$lt_shell_append'
60300 # See if we are running on zsh, and set the options which allow our
60301 # commands through without removal of \ escapes INIT.
60302 if test -n "\${ZSH_VERSION+set}" ; then
60303 setopt NO_GLOB_SUBST
60307 PACKAGE='$PACKAGE'
60308 VERSION='$VERSION'
60309 TIMESTAMP='$TIMESTAMP'
60310 RM='$RM'
60311 ofile='$ofile'
60318 GCC="$GCC"
60319 CC="$CC"
60320 acx_cv_header_stdint="$acx_cv_header_stdint"
60321 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60322 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60323 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60324 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60325 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60326 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60327 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60328 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60329 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60330 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60331 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60332 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60333 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60336 _ACEOF
60338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60340 # Handling of arguments.
60341 for ac_config_target in $ac_config_targets
60343 case $ac_config_target in
60344 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60345 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60346 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60347 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60348 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60349 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60350 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60351 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60352 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60353 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60354 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60355 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60356 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60357 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60359 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60360 esac
60361 done
60364 # If the user did not use the arguments to specify the items to instantiate,
60365 # then the envvar interface is used. Set only those that are not.
60366 # We use the long form for the default assignment because of an extremely
60367 # bizarre bug on SunOS 4.1.3.
60368 if $ac_need_defaults; then
60369 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60370 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60371 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60374 # Have a temporary directory for convenience. Make it in the build tree
60375 # simply because there is no reason against having it here, and in addition,
60376 # creating and moving files from /tmp can sometimes cause problems.
60377 # Hook for its removal unless debugging.
60378 # Note that there is a small window in which the directory will not be cleaned:
60379 # after its creation but before its name has been assigned to `$tmp'.
60380 $debug ||
60382 tmp=
60383 trap 'exit_status=$?
60384 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60386 trap 'as_fn_exit 1' 1 2 13 15
60388 # Create a (secure) tmp directory for tmp files.
60391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60392 test -n "$tmp" && test -d "$tmp"
60393 } ||
60395 tmp=./conf$$-$RANDOM
60396 (umask 077 && mkdir "$tmp")
60397 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60399 # Set up the scripts for CONFIG_FILES section.
60400 # No need to generate them if there are no CONFIG_FILES.
60401 # This happens for instance with `./config.status config.h'.
60402 if test -n "$CONFIG_FILES"; then
60405 ac_cr=`echo X | tr X '\015'`
60406 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60407 # But we know of no other shell where ac_cr would be empty at this
60408 # point, so we can use a bashism as a fallback.
60409 if test "x$ac_cr" = x; then
60410 eval ac_cr=\$\'\\r\'
60412 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60413 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60414 ac_cs_awk_cr='\r'
60415 else
60416 ac_cs_awk_cr=$ac_cr
60419 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60420 _ACEOF
60424 echo "cat >conf$$subs.awk <<_ACEOF" &&
60425 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60426 echo "_ACEOF"
60427 } >conf$$subs.sh ||
60428 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60429 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60430 ac_delim='%!_!# '
60431 for ac_last_try in false false false false false :; do
60432 . ./conf$$subs.sh ||
60433 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60435 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60436 if test $ac_delim_n = $ac_delim_num; then
60437 break
60438 elif $ac_last_try; then
60439 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60440 else
60441 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60443 done
60444 rm -f conf$$subs.sh
60446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60447 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60448 _ACEOF
60449 sed -n '
60451 s/^/S["/; s/!.*/"]=/
60454 s/^[^!]*!//
60455 :repl
60456 t repl
60457 s/'"$ac_delim"'$//
60458 t delim
60461 s/\(.\{148\}\).*/\1/
60462 t more1
60463 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60466 b repl
60467 :more1
60468 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60471 s/.\{148\}//
60472 t nl
60473 :delim
60475 s/\(.\{148\}\).*/\1/
60476 t more2
60477 s/["\\]/\\&/g; s/^/"/; s/$/"/
60480 :more2
60481 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60484 s/.\{148\}//
60485 t delim
60486 ' <conf$$subs.awk | sed '
60487 /^[^""]/{
60489 s/\n//
60491 ' >>$CONFIG_STATUS || ac_write_fail=1
60492 rm -f conf$$subs.awk
60493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60494 _ACAWK
60495 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60496 for (key in S) S_is_set[key] = 1
60497 FS = "\a"
60501 line = $ 0
60502 nfields = split(line, field, "@")
60503 substed = 0
60504 len = length(field[1])
60505 for (i = 2; i < nfields; i++) {
60506 key = field[i]
60507 keylen = length(key)
60508 if (S_is_set[key]) {
60509 value = S[key]
60510 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60511 len += length(value) + length(field[++i])
60512 substed = 1
60513 } else
60514 len += 1 + keylen
60517 print line
60520 _ACAWK
60521 _ACEOF
60522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60523 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60524 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60525 else
60527 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60528 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60529 _ACEOF
60531 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60532 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60533 # trailing colons and then remove the whole line if VPATH becomes empty
60534 # (actually we leave an empty line to preserve line numbers).
60535 if test "x$srcdir" = x.; then
60536 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60537 s/:*\$(srcdir):*/:/
60538 s/:*\${srcdir}:*/:/
60539 s/:*@srcdir@:*/:/
60540 s/^\([^=]*=[ ]*\):*/\1/
60541 s/:*$//
60542 s/^[^=]*=[ ]*$//
60546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60547 fi # test -n "$CONFIG_FILES"
60549 # Set up the scripts for CONFIG_HEADERS section.
60550 # No need to generate them if there are no CONFIG_HEADERS.
60551 # This happens for instance with `./config.status Makefile'.
60552 if test -n "$CONFIG_HEADERS"; then
60553 cat >"$tmp/defines.awk" <<\_ACAWK ||
60554 BEGIN {
60555 _ACEOF
60557 # Transform confdefs.h into an awk script `defines.awk', embedded as
60558 # here-document in config.status, that substitutes the proper values into
60559 # config.h.in to produce config.h.
60561 # Create a delimiter string that does not exist in confdefs.h, to ease
60562 # handling of long lines.
60563 ac_delim='%!_!# '
60564 for ac_last_try in false false :; do
60565 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60566 if test -z "$ac_t"; then
60567 break
60568 elif $ac_last_try; then
60569 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60570 else
60571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60573 done
60575 # For the awk script, D is an array of macro values keyed by name,
60576 # likewise P contains macro parameters if any. Preserve backslash
60577 # newline sequences.
60579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60580 sed -n '
60581 s/.\{148\}/&'"$ac_delim"'/g
60582 t rset
60583 :rset
60584 s/^[ ]*#[ ]*define[ ][ ]*/ /
60585 t def
60587 :def
60588 s/\\$//
60589 t bsnl
60590 s/["\\]/\\&/g
60591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60592 D["\1"]=" \3"/p
60593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60595 :bsnl
60596 s/["\\]/\\&/g
60597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60598 D["\1"]=" \3\\\\\\n"\\/p
60599 t cont
60600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60601 t cont
60603 :cont
60605 s/.\{148\}/&'"$ac_delim"'/g
60606 t clear
60607 :clear
60608 s/\\$//
60609 t bsnlc
60610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60612 :bsnlc
60613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60614 b cont
60615 ' <confdefs.h | sed '
60616 s/'"$ac_delim"'/"\\\
60617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60620 for (key in D) D_is_set[key] = 1
60621 FS = "\a"
60623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60624 line = \$ 0
60625 split(line, arg, " ")
60626 if (arg[1] == "#") {
60627 defundef = arg[2]
60628 mac1 = arg[3]
60629 } else {
60630 defundef = substr(arg[1], 2)
60631 mac1 = arg[2]
60633 split(mac1, mac2, "(") #)
60634 macro = mac2[1]
60635 prefix = substr(line, 1, index(line, defundef) - 1)
60636 if (D_is_set[macro]) {
60637 # Preserve the white space surrounding the "#".
60638 print prefix "define", macro P[macro] D[macro]
60639 next
60640 } else {
60641 # Replace #undef with comments. This is necessary, for example,
60642 # in the case of _POSIX_SOURCE, which is predefined and required
60643 # on some systems where configure will not decide to define it.
60644 if (defundef == "undef") {
60645 print "/*", prefix defundef, macro, "*/"
60646 next
60650 { print }
60651 _ACAWK
60652 _ACEOF
60653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60654 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60655 fi # test -n "$CONFIG_HEADERS"
60658 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60659 shift
60660 for ac_tag
60662 case $ac_tag in
60663 :[FHLC]) ac_mode=$ac_tag; continue;;
60664 esac
60665 case $ac_mode$ac_tag in
60666 :[FHL]*:*);;
60667 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60668 :[FH]-) ac_tag=-:-;;
60669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60670 esac
60671 ac_save_IFS=$IFS
60672 IFS=:
60673 set x $ac_tag
60674 IFS=$ac_save_IFS
60675 shift
60676 ac_file=$1
60677 shift
60679 case $ac_mode in
60680 :L) ac_source=$1;;
60681 :[FH])
60682 ac_file_inputs=
60683 for ac_f
60685 case $ac_f in
60686 -) ac_f="$tmp/stdin";;
60687 *) # Look for the file first in the build tree, then in the source tree
60688 # (if the path is not absolute). The absolute path cannot be DOS-style,
60689 # because $ac_f cannot contain `:'.
60690 test -f "$ac_f" ||
60691 case $ac_f in
60692 [\\/$]*) false;;
60693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60694 esac ||
60695 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60696 esac
60697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60698 as_fn_append ac_file_inputs " '$ac_f'"
60699 done
60701 # Let's still pretend it is `configure' which instantiates (i.e., don't
60702 # use $as_me), people would be surprised to read:
60703 # /* config.h. Generated by config.status. */
60704 configure_input='Generated from '`
60705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60706 `' by configure.'
60707 if test x"$ac_file" != x-; then
60708 configure_input="$ac_file. $configure_input"
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60710 $as_echo "$as_me: creating $ac_file" >&6;}
60712 # Neutralize special characters interpreted by sed in replacement strings.
60713 case $configure_input in #(
60714 *\&* | *\|* | *\\* )
60715 ac_sed_conf_input=`$as_echo "$configure_input" |
60716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60717 *) ac_sed_conf_input=$configure_input;;
60718 esac
60720 case $ac_tag in
60721 *:-:* | *:-) cat >"$tmp/stdin" \
60722 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60723 esac
60725 esac
60727 ac_dir=`$as_dirname -- "$ac_file" ||
60728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60729 X"$ac_file" : 'X\(//\)[^/]' \| \
60730 X"$ac_file" : 'X\(//\)$' \| \
60731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60732 $as_echo X"$ac_file" |
60733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60734 s//\1/
60737 /^X\(\/\/\)[^/].*/{
60738 s//\1/
60741 /^X\(\/\/\)$/{
60742 s//\1/
60745 /^X\(\/\).*/{
60746 s//\1/
60749 s/.*/./; q'`
60750 as_dir="$ac_dir"; as_fn_mkdir_p
60751 ac_builddir=.
60753 case "$ac_dir" in
60754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60757 # A ".." for each directory in $ac_dir_suffix.
60758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60759 case $ac_top_builddir_sub in
60760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60762 esac ;;
60763 esac
60764 ac_abs_top_builddir=$ac_pwd
60765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60766 # for backward compatibility:
60767 ac_top_builddir=$ac_top_build_prefix
60769 case $srcdir in
60770 .) # We are building in place.
60771 ac_srcdir=.
60772 ac_top_srcdir=$ac_top_builddir_sub
60773 ac_abs_top_srcdir=$ac_pwd ;;
60774 [\\/]* | ?:[\\/]* ) # Absolute name.
60775 ac_srcdir=$srcdir$ac_dir_suffix;
60776 ac_top_srcdir=$srcdir
60777 ac_abs_top_srcdir=$srcdir ;;
60778 *) # Relative name.
60779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60780 ac_top_srcdir=$ac_top_build_prefix$srcdir
60781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60782 esac
60783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60786 case $ac_mode in
60789 # CONFIG_FILE
60792 case $INSTALL in
60793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60795 esac
60796 ac_MKDIR_P=$MKDIR_P
60797 case $MKDIR_P in
60798 [\\/$]* | ?:[\\/]* ) ;;
60799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60800 esac
60801 _ACEOF
60803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60804 # If the template does not know about datarootdir, expand it.
60805 # FIXME: This hack should be removed a few years after 2.60.
60806 ac_datarootdir_hack=; ac_datarootdir_seen=
60807 ac_sed_dataroot='
60808 /datarootdir/ {
60812 /@datadir@/p
60813 /@docdir@/p
60814 /@infodir@/p
60815 /@localedir@/p
60816 /@mandir@/p'
60817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60818 *datarootdir*) ac_datarootdir_seen=yes;;
60819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60822 _ACEOF
60823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60824 ac_datarootdir_hack='
60825 s&@datadir@&$datadir&g
60826 s&@docdir@&$docdir&g
60827 s&@infodir@&$infodir&g
60828 s&@localedir@&$localedir&g
60829 s&@mandir@&$mandir&g
60830 s&\\\${datarootdir}&$datarootdir&g' ;;
60831 esac
60832 _ACEOF
60834 # Neutralize VPATH when `$srcdir' = `.'.
60835 # Shell code in configure.ac might set extrasub.
60836 # FIXME: do we really want to maintain this feature?
60837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60838 ac_sed_extra="$ac_vpsub
60839 $extrasub
60840 _ACEOF
60841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60844 s|@configure_input@|$ac_sed_conf_input|;t t
60845 s&@top_builddir@&$ac_top_builddir_sub&;t t
60846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60847 s&@srcdir@&$ac_srcdir&;t t
60848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60849 s&@top_srcdir@&$ac_top_srcdir&;t t
60850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60851 s&@builddir@&$ac_builddir&;t t
60852 s&@abs_builddir@&$ac_abs_builddir&;t t
60853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60854 s&@INSTALL@&$ac_INSTALL&;t t
60855 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60856 $ac_datarootdir_hack
60858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60859 || as_fn_error "could not create $ac_file" "$LINENO" 5
60861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60862 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60865 which seems to be undefined. Please make sure it is defined." >&5
60866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60867 which seems to be undefined. Please make sure it is defined." >&2;}
60869 rm -f "$tmp/stdin"
60870 case $ac_file in
60871 -) cat "$tmp/out" && rm -f "$tmp/out";;
60872 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60873 esac \
60874 || as_fn_error "could not create $ac_file" "$LINENO" 5
60878 # CONFIG_HEADER
60880 if test x"$ac_file" != x-; then
60882 $as_echo "/* $configure_input */" \
60883 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60884 } >"$tmp/config.h" \
60885 || as_fn_error "could not create $ac_file" "$LINENO" 5
60886 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60889 else
60890 rm -f "$ac_file"
60891 mv "$tmp/config.h" "$ac_file" \
60892 || as_fn_error "could not create $ac_file" "$LINENO" 5
60894 else
60895 $as_echo "/* $configure_input */" \
60896 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60897 || as_fn_error "could not create -" "$LINENO" 5
60899 # Compute "$ac_file"'s index in $config_headers.
60900 _am_arg="$ac_file"
60901 _am_stamp_count=1
60902 for _am_header in $config_headers :; do
60903 case $_am_header in
60904 $_am_arg | $_am_arg:* )
60905 break ;;
60907 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60908 esac
60909 done
60910 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60911 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60912 X"$_am_arg" : 'X\(//\)[^/]' \| \
60913 X"$_am_arg" : 'X\(//\)$' \| \
60914 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60915 $as_echo X"$_am_arg" |
60916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60917 s//\1/
60920 /^X\(\/\/\)[^/].*/{
60921 s//\1/
60924 /^X\(\/\/\)$/{
60925 s//\1/
60928 /^X\(\/\).*/{
60929 s//\1/
60932 s/.*/./; q'`/stamp-h$_am_stamp_count
60935 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60936 $as_echo "$as_me: executing $ac_file commands" >&6;}
60938 esac
60941 case $ac_file$ac_mode in
60942 "default-1":C)
60943 # Only add multilib support code if we just rebuilt the top-level
60944 # Makefile.
60945 case " $CONFIG_FILES " in
60946 *" Makefile "*)
60947 ac_file=Makefile . ${multi_basedir}/config-ml.in
60949 esac ;;
60950 "libtool":C)
60952 # See if we are running on zsh, and set the options which allow our
60953 # commands through without removal of \ escapes.
60954 if test -n "${ZSH_VERSION+set}" ; then
60955 setopt NO_GLOB_SUBST
60958 cfgfile="${ofile}T"
60959 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60960 $RM "$cfgfile"
60962 cat <<_LT_EOF >> "$cfgfile"
60963 #! $SHELL
60965 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60966 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60968 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60970 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60971 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60972 # Written by Gordon Matzigkeit, 1996
60974 # This file is part of GNU Libtool.
60976 # GNU Libtool is free software; you can redistribute it and/or
60977 # modify it under the terms of the GNU General Public License as
60978 # published by the Free Software Foundation; either version 2 of
60979 # the License, or (at your option) any later version.
60981 # As a special exception to the GNU General Public License,
60982 # if you distribute this file as part of a program or library that
60983 # is built using GNU Libtool, you may include this file under the
60984 # same distribution terms that you use for the rest of that program.
60986 # GNU Libtool is distributed in the hope that it will be useful,
60987 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60988 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60989 # GNU General Public License for more details.
60991 # You should have received a copy of the GNU General Public License
60992 # along with GNU Libtool; see the file COPYING. If not, a copy
60993 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60994 # obtained by writing to the Free Software Foundation, Inc.,
60995 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60998 # The names of the tagged configurations supported by this script.
60999 available_tags="CXX "
61001 # ### BEGIN LIBTOOL CONFIG
61003 # Which release of libtool.m4 was used?
61004 macro_version=$macro_version
61005 macro_revision=$macro_revision
61007 # Whether or not to build shared libraries.
61008 build_libtool_libs=$enable_shared
61010 # Whether or not to build static libraries.
61011 build_old_libs=$enable_static
61013 # What type of objects to build.
61014 pic_mode=$pic_mode
61016 # Whether or not to optimize for fast installation.
61017 fast_install=$enable_fast_install
61019 # Shell to use when invoking shell scripts.
61020 SHELL=$lt_SHELL
61022 # An echo program that protects backslashes.
61023 ECHO=$lt_ECHO
61025 # The host system.
61026 host_alias=$host_alias
61027 host=$host
61028 host_os=$host_os
61030 # The build system.
61031 build_alias=$build_alias
61032 build=$build
61033 build_os=$build_os
61035 # A sed program that does not truncate output.
61036 SED=$lt_SED
61038 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61039 Xsed="\$SED -e 1s/^X//"
61041 # A grep program that handles long lines.
61042 GREP=$lt_GREP
61044 # An ERE matcher.
61045 EGREP=$lt_EGREP
61047 # A literal string matcher.
61048 FGREP=$lt_FGREP
61050 # A BSD- or MS-compatible name lister.
61051 NM=$lt_NM
61053 # Whether we need soft or hard links.
61054 LN_S=$lt_LN_S
61056 # What is the maximum length of a command?
61057 max_cmd_len=$max_cmd_len
61059 # Object file suffix (normally "o").
61060 objext=$ac_objext
61062 # Executable file suffix (normally "").
61063 exeext=$exeext
61065 # whether the shell understands "unset".
61066 lt_unset=$lt_unset
61068 # turn spaces into newlines.
61069 SP2NL=$lt_lt_SP2NL
61071 # turn newlines into spaces.
61072 NL2SP=$lt_lt_NL2SP
61074 # An object symbol dumper.
61075 OBJDUMP=$lt_OBJDUMP
61077 # Method to check whether dependent libraries are shared objects.
61078 deplibs_check_method=$lt_deplibs_check_method
61080 # Command to use when deplibs_check_method == "file_magic".
61081 file_magic_cmd=$lt_file_magic_cmd
61083 # The archiver.
61084 AR=$lt_AR
61085 AR_FLAGS=$lt_AR_FLAGS
61087 # A symbol stripping program.
61088 STRIP=$lt_STRIP
61090 # Commands used to install an old-style archive.
61091 RANLIB=$lt_RANLIB
61092 old_postinstall_cmds=$lt_old_postinstall_cmds
61093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61095 # Whether to use a lock for old archive extraction.
61096 lock_old_archive_extraction=$lock_old_archive_extraction
61098 # A C compiler.
61099 LTCC=$lt_CC
61101 # LTCC compiler flags.
61102 LTCFLAGS=$lt_CFLAGS
61104 # Take the output of nm and produce a listing of raw symbols and C names.
61105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61107 # Transform the output of nm in a proper C declaration.
61108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61110 # Transform the output of nm in a C name address pair.
61111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61113 # Transform the output of nm in a C name address pair when lib prefix is needed.
61114 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61116 # The name of the directory that contains temporary libtool files.
61117 objdir=$objdir
61119 # Used to examine libraries when file_magic_cmd begins with "file".
61120 MAGIC_CMD=$MAGIC_CMD
61122 # Must we lock files when doing compilation?
61123 need_locks=$lt_need_locks
61125 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61126 DSYMUTIL=$lt_DSYMUTIL
61128 # Tool to change global to local symbols on Mac OS X.
61129 NMEDIT=$lt_NMEDIT
61131 # Tool to manipulate fat objects and archives on Mac OS X.
61132 LIPO=$lt_LIPO
61134 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61135 OTOOL=$lt_OTOOL
61137 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61138 OTOOL64=$lt_OTOOL64
61140 # Old archive suffix (normally "a").
61141 libext=$libext
61143 # Shared library suffix (normally ".so").
61144 shrext_cmds=$lt_shrext_cmds
61146 # The commands to extract the exported symbol list from a shared archive.
61147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61149 # Variables whose values should be saved in libtool wrapper scripts and
61150 # restored at link time.
61151 variables_saved_for_relink=$lt_variables_saved_for_relink
61153 # Do we need the "lib" prefix for modules?
61154 need_lib_prefix=$need_lib_prefix
61156 # Do we need a version for libraries?
61157 need_version=$need_version
61159 # Library versioning type.
61160 version_type=$version_type
61162 # Shared library runtime path variable.
61163 runpath_var=$runpath_var
61165 # Shared library path variable.
61166 shlibpath_var=$shlibpath_var
61168 # Is shlibpath searched before the hard-coded library search path?
61169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61171 # Format of library name prefix.
61172 libname_spec=$lt_libname_spec
61174 # List of archive names. First name is the real one, the rest are links.
61175 # The last name is the one that the linker finds with -lNAME
61176 library_names_spec=$lt_library_names_spec
61178 # The coded name of the library, if different from the real name.
61179 soname_spec=$lt_soname_spec
61181 # Permission mode override for installation of shared libraries.
61182 install_override_mode=$lt_install_override_mode
61184 # Command to use after installation of a shared archive.
61185 postinstall_cmds=$lt_postinstall_cmds
61187 # Command to use after uninstallation of a shared archive.
61188 postuninstall_cmds=$lt_postuninstall_cmds
61190 # Commands used to finish a libtool library installation in a directory.
61191 finish_cmds=$lt_finish_cmds
61193 # As "finish_cmds", except a single script fragment to be evaled but
61194 # not shown.
61195 finish_eval=$lt_finish_eval
61197 # Whether we should hardcode library paths into libraries.
61198 hardcode_into_libs=$hardcode_into_libs
61200 # Compile-time system search path for libraries.
61201 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61203 # Run-time system search path for libraries.
61204 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61206 # Whether dlopen is supported.
61207 dlopen_support=$enable_dlopen
61209 # Whether dlopen of programs is supported.
61210 dlopen_self=$enable_dlopen_self
61212 # Whether dlopen of statically linked programs is supported.
61213 dlopen_self_static=$enable_dlopen_self_static
61215 # Commands to strip libraries.
61216 old_striplib=$lt_old_striplib
61217 striplib=$lt_striplib
61220 # The linker used to build libraries.
61221 LD=$lt_LD
61223 # How to create reloadable object files.
61224 reload_flag=$lt_reload_flag
61225 reload_cmds=$lt_reload_cmds
61227 # Commands used to build an old-style archive.
61228 old_archive_cmds=$lt_old_archive_cmds
61230 # A language specific compiler.
61231 CC=$lt_compiler
61233 # Is the compiler the GNU compiler?
61234 with_gcc=$GCC
61236 # Compiler flag to turn off builtin functions.
61237 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61239 # How to pass a linker flag through the compiler.
61240 wl=$lt_lt_prog_compiler_wl
61242 # Additional compiler flags for building library objects.
61243 pic_flag=$lt_lt_prog_compiler_pic
61245 # Compiler flag to prevent dynamic linking.
61246 link_static_flag=$lt_lt_prog_compiler_static
61248 # Does compiler simultaneously support -c and -o options?
61249 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61251 # Whether or not to add -lc for building shared libraries.
61252 build_libtool_need_lc=$archive_cmds_need_lc
61254 # Whether or not to disallow shared libs when runtime libs are static.
61255 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61257 # Compiler flag to allow reflexive dlopens.
61258 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61260 # Compiler flag to generate shared objects directly from archives.
61261 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61263 # Whether the compiler copes with passing no objects directly.
61264 compiler_needs_object=$lt_compiler_needs_object
61266 # Create an old-style archive from a shared archive.
61267 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61269 # Create a temporary old-style archive to link instead of a shared archive.
61270 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61272 # Commands used to build a shared archive.
61273 archive_cmds=$lt_archive_cmds
61274 archive_expsym_cmds=$lt_archive_expsym_cmds
61276 # Commands used to build a loadable module if different from building
61277 # a shared archive.
61278 module_cmds=$lt_module_cmds
61279 module_expsym_cmds=$lt_module_expsym_cmds
61281 # Whether we are building with GNU ld or not.
61282 with_gnu_ld=$lt_with_gnu_ld
61284 # Flag that allows shared libraries with undefined symbols to be built.
61285 allow_undefined_flag=$lt_allow_undefined_flag
61287 # Flag that enforces no undefined symbols.
61288 no_undefined_flag=$lt_no_undefined_flag
61290 # Flag to hardcode \$libdir into a binary during linking.
61291 # This must work even if \$libdir does not exist
61292 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61294 # If ld is used when linking, flag to hardcode \$libdir into a binary
61295 # during linking. This must work even if \$libdir does not exist.
61296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61298 # Whether we need a single "-rpath" flag with a separated argument.
61299 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61301 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61302 # DIR into the resulting binary.
61303 hardcode_direct=$hardcode_direct
61305 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61306 # DIR into the resulting binary and the resulting library dependency is
61307 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61308 # library is relocated.
61309 hardcode_direct_absolute=$hardcode_direct_absolute
61311 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61312 # into the resulting binary.
61313 hardcode_minus_L=$hardcode_minus_L
61315 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61316 # into the resulting binary.
61317 hardcode_shlibpath_var=$hardcode_shlibpath_var
61319 # Set to "yes" if building a shared library automatically hardcodes DIR
61320 # into the library and all subsequent libraries and executables linked
61321 # against it.
61322 hardcode_automatic=$hardcode_automatic
61324 # Set to yes if linker adds runtime paths of dependent libraries
61325 # to runtime path list.
61326 inherit_rpath=$inherit_rpath
61328 # Whether libtool must link a program against all its dependency libraries.
61329 link_all_deplibs=$link_all_deplibs
61331 # Fix the shell variable \$srcfile for the compiler.
61332 fix_srcfile_path=$lt_fix_srcfile_path
61334 # Set to "yes" if exported symbols are required.
61335 always_export_symbols=$always_export_symbols
61337 # The commands to list exported symbols.
61338 export_symbols_cmds=$lt_export_symbols_cmds
61340 # Symbols that should not be listed in the preloaded symbols.
61341 exclude_expsyms=$lt_exclude_expsyms
61343 # Symbols that must always be exported.
61344 include_expsyms=$lt_include_expsyms
61346 # Commands necessary for linking programs (against libraries) with templates.
61347 prelink_cmds=$lt_prelink_cmds
61349 # Specify filename containing input files.
61350 file_list_spec=$lt_file_list_spec
61352 # How to hardcode a shared library path into an executable.
61353 hardcode_action=$hardcode_action
61355 # The directories searched by this compiler when creating a shared library.
61356 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61358 # Dependencies to place before and after the objects being linked to
61359 # create a shared library.
61360 predep_objects=$lt_predep_objects
61361 postdep_objects=$lt_postdep_objects
61362 predeps=$lt_predeps
61363 postdeps=$lt_postdeps
61365 # The library search path used internally by the compiler when linking
61366 # a shared library.
61367 compiler_lib_search_path=$lt_compiler_lib_search_path
61369 # ### END LIBTOOL CONFIG
61371 _LT_EOF
61373 case $host_os in
61374 aix3*)
61375 cat <<\_LT_EOF >> "$cfgfile"
61376 # AIX sometimes has problems with the GCC collect2 program. For some
61377 # reason, if we set the COLLECT_NAMES environment variable, the problems
61378 # vanish in a puff of smoke.
61379 if test "X${COLLECT_NAMES+set}" != Xset; then
61380 COLLECT_NAMES=
61381 export COLLECT_NAMES
61383 _LT_EOF
61385 esac
61388 ltmain="$ac_aux_dir/ltmain.sh"
61391 # We use sed instead of cat because bash on DJGPP gets confused if
61392 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61393 # text mode, it properly converts lines to CR/LF. This bash problem
61394 # is reportedly fixed, but why not run on old versions too?
61395 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61396 || (rm -f "$cfgfile"; exit 1)
61398 case $xsi_shell in
61399 yes)
61400 cat << \_LT_EOF >> "$cfgfile"
61402 # func_dirname file append nondir_replacement
61403 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61404 # otherwise set result to NONDIR_REPLACEMENT.
61405 func_dirname ()
61407 case ${1} in
61408 */*) func_dirname_result="${1%/*}${2}" ;;
61409 * ) func_dirname_result="${3}" ;;
61410 esac
61413 # func_basename file
61414 func_basename ()
61416 func_basename_result="${1##*/}"
61419 # func_dirname_and_basename file append nondir_replacement
61420 # perform func_basename and func_dirname in a single function
61421 # call:
61422 # dirname: Compute the dirname of FILE. If nonempty,
61423 # add APPEND to the result, otherwise set result
61424 # to NONDIR_REPLACEMENT.
61425 # value returned in "$func_dirname_result"
61426 # basename: Compute filename of FILE.
61427 # value retuned in "$func_basename_result"
61428 # Implementation must be kept synchronized with func_dirname
61429 # and func_basename. For efficiency, we do not delegate to
61430 # those functions but instead duplicate the functionality here.
61431 func_dirname_and_basename ()
61433 case ${1} in
61434 */*) func_dirname_result="${1%/*}${2}" ;;
61435 * ) func_dirname_result="${3}" ;;
61436 esac
61437 func_basename_result="${1##*/}"
61440 # func_stripname prefix suffix name
61441 # strip PREFIX and SUFFIX off of NAME.
61442 # PREFIX and SUFFIX must not contain globbing or regex special
61443 # characters, hashes, percent signs, but SUFFIX may contain a leading
61444 # dot (in which case that matches only a dot).
61445 func_stripname ()
61447 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61448 # positional parameters, so assign one to ordinary parameter first.
61449 func_stripname_result=${3}
61450 func_stripname_result=${func_stripname_result#"${1}"}
61451 func_stripname_result=${func_stripname_result%"${2}"}
61454 # func_opt_split
61455 func_opt_split ()
61457 func_opt_split_opt=${1%%=*}
61458 func_opt_split_arg=${1#*=}
61461 # func_lo2o object
61462 func_lo2o ()
61464 case ${1} in
61465 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61466 *) func_lo2o_result=${1} ;;
61467 esac
61470 # func_xform libobj-or-source
61471 func_xform ()
61473 func_xform_result=${1%.*}.lo
61476 # func_arith arithmetic-term...
61477 func_arith ()
61479 func_arith_result=$(( $* ))
61482 # func_len string
61483 # STRING may not start with a hyphen.
61484 func_len ()
61486 func_len_result=${#1}
61489 _LT_EOF
61491 *) # Bourne compatible functions.
61492 cat << \_LT_EOF >> "$cfgfile"
61494 # func_dirname file append nondir_replacement
61495 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61496 # otherwise set result to NONDIR_REPLACEMENT.
61497 func_dirname ()
61499 # Extract subdirectory from the argument.
61500 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61501 if test "X$func_dirname_result" = "X${1}"; then
61502 func_dirname_result="${3}"
61503 else
61504 func_dirname_result="$func_dirname_result${2}"
61508 # func_basename file
61509 func_basename ()
61511 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61515 # func_stripname prefix suffix name
61516 # strip PREFIX and SUFFIX off of NAME.
61517 # PREFIX and SUFFIX must not contain globbing or regex special
61518 # characters, hashes, percent signs, but SUFFIX may contain a leading
61519 # dot (in which case that matches only a dot).
61520 # func_strip_suffix prefix name
61521 func_stripname ()
61523 case ${2} in
61524 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61525 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61526 esac
61529 # sed scripts:
61530 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61531 my_sed_long_arg='1s/^-[^=]*=//'
61533 # func_opt_split
61534 func_opt_split ()
61536 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61537 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61540 # func_lo2o object
61541 func_lo2o ()
61543 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61546 # func_xform libobj-or-source
61547 func_xform ()
61549 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61552 # func_arith arithmetic-term...
61553 func_arith ()
61555 func_arith_result=`expr "$@"`
61558 # func_len string
61559 # STRING may not start with a hyphen.
61560 func_len ()
61562 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61565 _LT_EOF
61566 esac
61568 case $lt_shell_append in
61569 yes)
61570 cat << \_LT_EOF >> "$cfgfile"
61572 # func_append var value
61573 # Append VALUE to the end of shell variable VAR.
61574 func_append ()
61576 eval "$1+=\$2"
61578 _LT_EOF
61581 cat << \_LT_EOF >> "$cfgfile"
61583 # func_append var value
61584 # Append VALUE to the end of shell variable VAR.
61585 func_append ()
61587 eval "$1=\$$1\$2"
61590 _LT_EOF
61592 esac
61595 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61596 || (rm -f "$cfgfile"; exit 1)
61598 mv -f "$cfgfile" "$ofile" ||
61599 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61600 chmod +x "$ofile"
61603 cat <<_LT_EOF >> "$ofile"
61605 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61607 # The linker used to build libraries.
61608 LD=$lt_LD_CXX
61610 # How to create reloadable object files.
61611 reload_flag=$lt_reload_flag_CXX
61612 reload_cmds=$lt_reload_cmds_CXX
61614 # Commands used to build an old-style archive.
61615 old_archive_cmds=$lt_old_archive_cmds_CXX
61617 # A language specific compiler.
61618 CC=$lt_compiler_CXX
61620 # Is the compiler the GNU compiler?
61621 with_gcc=$GCC_CXX
61623 # Compiler flag to turn off builtin functions.
61624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61626 # How to pass a linker flag through the compiler.
61627 wl=$lt_lt_prog_compiler_wl_CXX
61629 # Additional compiler flags for building library objects.
61630 pic_flag=$lt_lt_prog_compiler_pic_CXX
61632 # Compiler flag to prevent dynamic linking.
61633 link_static_flag=$lt_lt_prog_compiler_static_CXX
61635 # Does compiler simultaneously support -c and -o options?
61636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61638 # Whether or not to add -lc for building shared libraries.
61639 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61641 # Whether or not to disallow shared libs when runtime libs are static.
61642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61644 # Compiler flag to allow reflexive dlopens.
61645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61647 # Compiler flag to generate shared objects directly from archives.
61648 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61650 # Whether the compiler copes with passing no objects directly.
61651 compiler_needs_object=$lt_compiler_needs_object_CXX
61653 # Create an old-style archive from a shared archive.
61654 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61656 # Create a temporary old-style archive to link instead of a shared archive.
61657 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61659 # Commands used to build a shared archive.
61660 archive_cmds=$lt_archive_cmds_CXX
61661 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61663 # Commands used to build a loadable module if different from building
61664 # a shared archive.
61665 module_cmds=$lt_module_cmds_CXX
61666 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61668 # Whether we are building with GNU ld or not.
61669 with_gnu_ld=$lt_with_gnu_ld_CXX
61671 # Flag that allows shared libraries with undefined symbols to be built.
61672 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61674 # Flag that enforces no undefined symbols.
61675 no_undefined_flag=$lt_no_undefined_flag_CXX
61677 # Flag to hardcode \$libdir into a binary during linking.
61678 # This must work even if \$libdir does not exist
61679 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61681 # If ld is used when linking, flag to hardcode \$libdir into a binary
61682 # during linking. This must work even if \$libdir does not exist.
61683 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61685 # Whether we need a single "-rpath" flag with a separated argument.
61686 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61689 # DIR into the resulting binary.
61690 hardcode_direct=$hardcode_direct_CXX
61692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61693 # DIR into the resulting binary and the resulting library dependency is
61694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61695 # library is relocated.
61696 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61699 # into the resulting binary.
61700 hardcode_minus_L=$hardcode_minus_L_CXX
61702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61703 # into the resulting binary.
61704 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61706 # Set to "yes" if building a shared library automatically hardcodes DIR
61707 # into the library and all subsequent libraries and executables linked
61708 # against it.
61709 hardcode_automatic=$hardcode_automatic_CXX
61711 # Set to yes if linker adds runtime paths of dependent libraries
61712 # to runtime path list.
61713 inherit_rpath=$inherit_rpath_CXX
61715 # Whether libtool must link a program against all its dependency libraries.
61716 link_all_deplibs=$link_all_deplibs_CXX
61718 # Fix the shell variable \$srcfile for the compiler.
61719 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61721 # Set to "yes" if exported symbols are required.
61722 always_export_symbols=$always_export_symbols_CXX
61724 # The commands to list exported symbols.
61725 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61727 # Symbols that should not be listed in the preloaded symbols.
61728 exclude_expsyms=$lt_exclude_expsyms_CXX
61730 # Symbols that must always be exported.
61731 include_expsyms=$lt_include_expsyms_CXX
61733 # Commands necessary for linking programs (against libraries) with templates.
61734 prelink_cmds=$lt_prelink_cmds_CXX
61736 # Specify filename containing input files.
61737 file_list_spec=$lt_file_list_spec_CXX
61739 # How to hardcode a shared library path into an executable.
61740 hardcode_action=$hardcode_action_CXX
61742 # The directories searched by this compiler when creating a shared library.
61743 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61745 # Dependencies to place before and after the objects being linked to
61746 # create a shared library.
61747 predep_objects=$lt_predep_objects_CXX
61748 postdep_objects=$lt_postdep_objects_CXX
61749 predeps=$lt_predeps_CXX
61750 postdeps=$lt_postdeps_CXX
61752 # The library search path used internally by the compiler when linking
61753 # a shared library.
61754 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61756 # ### END LIBTOOL TAG CONFIG: CXX
61757 _LT_EOF
61760 "include/gstdint.h":C)
61761 if test "$GCC" = yes; then
61762 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61763 else
61764 echo "/* generated for $CC */" > tmp-stdint.h
61767 sed 's/^ *//' >> tmp-stdint.h <<EOF
61769 #ifndef GCC_GENERATED_STDINT_H
61770 #define GCC_GENERATED_STDINT_H 1
61772 #include <sys/types.h>
61775 if test "$acx_cv_header_stdint" != stdint.h; then
61776 echo "#include <stddef.h>" >> tmp-stdint.h
61778 if test "$acx_cv_header_stdint" != stddef.h; then
61779 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61782 sed 's/^ *//' >> tmp-stdint.h <<EOF
61783 /* glibc uses these symbols as guards to prevent redefinitions. */
61784 #ifdef __int8_t_defined
61785 #define _INT8_T
61786 #define _INT16_T
61787 #define _INT32_T
61788 #endif
61789 #ifdef __uint32_t_defined
61790 #define _UINT32_T
61791 #endif
61795 # ----------------- done header, emit basic int types -------------
61796 if test "$acx_cv_header_stdint" = stddef.h; then
61797 sed 's/^ *//' >> tmp-stdint.h <<EOF
61799 #ifndef _UINT8_T
61800 #define _UINT8_T
61801 #ifndef __uint8_t_defined
61802 #define __uint8_t_defined
61803 #ifndef uint8_t
61804 typedef unsigned $acx_cv_type_int8_t uint8_t;
61805 #endif
61806 #endif
61807 #endif
61809 #ifndef _UINT16_T
61810 #define _UINT16_T
61811 #ifndef __uint16_t_defined
61812 #define __uint16_t_defined
61813 #ifndef uint16_t
61814 typedef unsigned $acx_cv_type_int16_t uint16_t;
61815 #endif
61816 #endif
61817 #endif
61819 #ifndef _UINT32_T
61820 #define _UINT32_T
61821 #ifndef __uint32_t_defined
61822 #define __uint32_t_defined
61823 #ifndef uint32_t
61824 typedef unsigned $acx_cv_type_int32_t uint32_t;
61825 #endif
61826 #endif
61827 #endif
61829 #ifndef _INT8_T
61830 #define _INT8_T
61831 #ifndef __int8_t_defined
61832 #define __int8_t_defined
61833 #ifndef int8_t
61834 typedef $acx_cv_type_int8_t int8_t;
61835 #endif
61836 #endif
61837 #endif
61839 #ifndef _INT16_T
61840 #define _INT16_T
61841 #ifndef __int16_t_defined
61842 #define __int16_t_defined
61843 #ifndef int16_t
61844 typedef $acx_cv_type_int16_t int16_t;
61845 #endif
61846 #endif
61847 #endif
61849 #ifndef _INT32_T
61850 #define _INT32_T
61851 #ifndef __int32_t_defined
61852 #define __int32_t_defined
61853 #ifndef int32_t
61854 typedef $acx_cv_type_int32_t int32_t;
61855 #endif
61856 #endif
61857 #endif
61859 elif test "$ac_cv_type_u_int32_t" = yes; then
61860 sed 's/^ *//' >> tmp-stdint.h <<EOF
61862 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61863 #ifndef _INT8_T
61864 #define _INT8_T
61865 #endif
61866 #ifndef _INT16_T
61867 #define _INT16_T
61868 #endif
61869 #ifndef _INT32_T
61870 #define _INT32_T
61871 #endif
61873 #ifndef _UINT8_T
61874 #define _UINT8_T
61875 #ifndef __uint8_t_defined
61876 #define __uint8_t_defined
61877 #ifndef uint8_t
61878 typedef u_int8_t uint8_t;
61879 #endif
61880 #endif
61881 #endif
61883 #ifndef _UINT16_T
61884 #define _UINT16_T
61885 #ifndef __uint16_t_defined
61886 #define __uint16_t_defined
61887 #ifndef uint16_t
61888 typedef u_int16_t uint16_t;
61889 #endif
61890 #endif
61891 #endif
61893 #ifndef _UINT32_T
61894 #define _UINT32_T
61895 #ifndef __uint32_t_defined
61896 #define __uint32_t_defined
61897 #ifndef uint32_t
61898 typedef u_int32_t uint32_t;
61899 #endif
61900 #endif
61901 #endif
61903 else
61904 sed 's/^ *//' >> tmp-stdint.h <<EOF
61906 /* Some systems have guard macros to prevent redefinitions, define them. */
61907 #ifndef _INT8_T
61908 #define _INT8_T
61909 #endif
61910 #ifndef _INT16_T
61911 #define _INT16_T
61912 #endif
61913 #ifndef _INT32_T
61914 #define _INT32_T
61915 #endif
61916 #ifndef _UINT8_T
61917 #define _UINT8_T
61918 #endif
61919 #ifndef _UINT16_T
61920 #define _UINT16_T
61921 #endif
61922 #ifndef _UINT32_T
61923 #define _UINT32_T
61924 #endif
61928 # ------------- done basic int types, emit int64_t types ------------
61929 if test "$ac_cv_type_uint64_t" = yes; then
61930 sed 's/^ *//' >> tmp-stdint.h <<EOF
61932 /* system headers have good uint64_t and int64_t */
61933 #ifndef _INT64_T
61934 #define _INT64_T
61935 #endif
61936 #ifndef _UINT64_T
61937 #define _UINT64_T
61938 #endif
61940 elif test "$ac_cv_type_u_int64_t" = yes; then
61941 sed 's/^ *//' >> tmp-stdint.h <<EOF
61943 /* system headers have an u_int64_t (and int64_t) */
61944 #ifndef _INT64_T
61945 #define _INT64_T
61946 #endif
61947 #ifndef _UINT64_T
61948 #define _UINT64_T
61949 #ifndef __uint64_t_defined
61950 #define __uint64_t_defined
61951 #ifndef uint64_t
61952 typedef u_int64_t uint64_t;
61953 #endif
61954 #endif
61955 #endif
61957 elif test -n "$acx_cv_type_int64_t"; then
61958 sed 's/^ *//' >> tmp-stdint.h <<EOF
61960 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61961 #ifndef _INT64_T
61962 #define _INT64_T
61963 #ifndef int64_t
61964 typedef $acx_cv_type_int64_t int64_t;
61965 #endif
61966 #endif
61967 #ifndef _UINT64_T
61968 #define _UINT64_T
61969 #ifndef __uint64_t_defined
61970 #define __uint64_t_defined
61971 #ifndef uint64_t
61972 typedef unsigned $acx_cv_type_int64_t uint64_t;
61973 #endif
61974 #endif
61975 #endif
61977 else
61978 sed 's/^ *//' >> tmp-stdint.h <<EOF
61980 /* some common heuristics for int64_t, using compiler-specific tests */
61981 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61982 #ifndef _INT64_T
61983 #define _INT64_T
61984 #ifndef __int64_t_defined
61985 #ifndef int64_t
61986 typedef long long int64_t;
61987 #endif
61988 #endif
61989 #endif
61990 #ifndef _UINT64_T
61991 #define _UINT64_T
61992 #ifndef uint64_t
61993 typedef unsigned long long uint64_t;
61994 #endif
61995 #endif
61997 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61998 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61999 does not implement __extension__. But that compiler doesn't define
62000 __GNUC_MINOR__. */
62001 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62002 # define __extension__
62003 # endif
62005 # ifndef _INT64_T
62006 # define _INT64_T
62007 # ifndef int64_t
62008 __extension__ typedef long long int64_t;
62009 # endif
62010 # endif
62011 # ifndef _UINT64_T
62012 # define _UINT64_T
62013 # ifndef uint64_t
62014 __extension__ typedef unsigned long long uint64_t;
62015 # endif
62016 # endif
62018 #elif !defined __STRICT_ANSI__
62019 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62021 # ifndef _INT64_T
62022 # define _INT64_T
62023 # ifndef int64_t
62024 typedef __int64 int64_t;
62025 # endif
62026 # endif
62027 # ifndef _UINT64_T
62028 # define _UINT64_T
62029 # ifndef uint64_t
62030 typedef unsigned __int64 uint64_t;
62031 # endif
62032 # endif
62033 # endif /* compiler */
62035 #endif /* ANSI version */
62039 # ------------- done int64_t types, emit intptr types ------------
62040 if test "$ac_cv_type_uintptr_t" != yes; then
62041 sed 's/^ *//' >> tmp-stdint.h <<EOF
62043 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62044 #ifndef __uintptr_t_defined
62045 #ifndef uintptr_t
62046 typedef u$acx_cv_type_intptr_t uintptr_t;
62047 #endif
62048 #endif
62049 #ifndef __intptr_t_defined
62050 #ifndef intptr_t
62051 typedef $acx_cv_type_intptr_t intptr_t;
62052 #endif
62053 #endif
62057 # ------------- done intptr types, emit int_least types ------------
62058 if test "$ac_cv_type_int_least32_t" != yes; then
62059 sed 's/^ *//' >> tmp-stdint.h <<EOF
62061 /* Define int_least types */
62062 typedef int8_t int_least8_t;
62063 typedef int16_t int_least16_t;
62064 typedef int32_t int_least32_t;
62065 #ifdef _INT64_T
62066 typedef int64_t int_least64_t;
62067 #endif
62069 typedef uint8_t uint_least8_t;
62070 typedef uint16_t uint_least16_t;
62071 typedef uint32_t uint_least32_t;
62072 #ifdef _UINT64_T
62073 typedef uint64_t uint_least64_t;
62074 #endif
62078 # ------------- done intptr types, emit int_fast types ------------
62079 if test "$ac_cv_type_int_fast32_t" != yes; then
62080 sed 's/^ *//' >> tmp-stdint.h <<EOF
62082 /* Define int_fast types. short is often slow */
62083 typedef int8_t int_fast8_t;
62084 typedef int int_fast16_t;
62085 typedef int32_t int_fast32_t;
62086 #ifdef _INT64_T
62087 typedef int64_t int_fast64_t;
62088 #endif
62090 typedef uint8_t uint_fast8_t;
62091 typedef unsigned int uint_fast16_t;
62092 typedef uint32_t uint_fast32_t;
62093 #ifdef _UINT64_T
62094 typedef uint64_t uint_fast64_t;
62095 #endif
62099 if test "$ac_cv_type_uintmax_t" != yes; then
62100 sed 's/^ *//' >> tmp-stdint.h <<EOF
62102 /* Define intmax based on what we found */
62103 #ifndef intmax_t
62104 #ifdef _INT64_T
62105 typedef int64_t intmax_t;
62106 #else
62107 typedef long intmax_t;
62108 #endif
62109 #endif
62110 #ifndef uintmax_t
62111 #ifdef _UINT64_T
62112 typedef uint64_t uintmax_t;
62113 #else
62114 typedef unsigned long uintmax_t;
62115 #endif
62116 #endif
62120 sed 's/^ *//' >> tmp-stdint.h <<EOF
62122 #endif /* GCC_GENERATED_STDINT_H */
62125 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62126 rm -f tmp-stdint.h
62127 else
62128 mv -f tmp-stdint.h include/gstdint.h
62132 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62133 "include/Makefile":F) cat > vpsed$$ << \_EOF
62134 s!`test -f '$<' || echo '$(srcdir)/'`!!
62135 _EOF
62136 sed -f vpsed$$ $ac_file > tmp$$
62137 mv tmp$$ $ac_file
62138 rm vpsed$$
62139 echo 'MULTISUBDIR =' >> $ac_file
62140 ml_norecursion=yes
62141 . ${multi_basedir}/config-ml.in
62142 { ml_norecursion=; unset ml_norecursion;}
62144 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62145 s!`test -f '$<' || echo '$(srcdir)/'`!!
62146 _EOF
62147 sed -f vpsed$$ $ac_file > tmp$$
62148 mv tmp$$ $ac_file
62149 rm vpsed$$
62150 echo 'MULTISUBDIR =' >> $ac_file
62151 ml_norecursion=yes
62152 . ${multi_basedir}/config-ml.in
62153 { ml_norecursion=; unset ml_norecursion;}
62155 "python/Makefile":F) cat > vpsed$$ << \_EOF
62156 s!`test -f '$<' || echo '$(srcdir)/'`!!
62157 _EOF
62158 sed -f vpsed$$ $ac_file > tmp$$
62159 mv tmp$$ $ac_file
62160 rm vpsed$$
62161 echo 'MULTISUBDIR =' >> $ac_file
62162 ml_norecursion=yes
62163 . ${multi_basedir}/config-ml.in
62164 { ml_norecursion=; unset ml_norecursion;}
62166 "src/Makefile":F) cat > vpsed$$ << \_EOF
62167 s!`test -f '$<' || echo '$(srcdir)/'`!!
62168 _EOF
62169 sed -f vpsed$$ $ac_file > tmp$$
62170 mv tmp$$ $ac_file
62171 rm vpsed$$
62172 echo 'MULTISUBDIR =' >> $ac_file
62173 ml_norecursion=yes
62174 . ${multi_basedir}/config-ml.in
62175 { ml_norecursion=; unset ml_norecursion;}
62177 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62178 s!`test -f '$<' || echo '$(srcdir)/'`!!
62179 _EOF
62180 sed -f vpsed$$ $ac_file > tmp$$
62181 mv tmp$$ $ac_file
62182 rm vpsed$$
62183 echo 'MULTISUBDIR =' >> $ac_file
62184 ml_norecursion=yes
62185 . ${multi_basedir}/config-ml.in
62186 { ml_norecursion=; unset ml_norecursion;}
62188 "po/Makefile":F) cat > vpsed$$ << \_EOF
62189 s!`test -f '$<' || echo '$(srcdir)/'`!!
62190 _EOF
62191 sed -f vpsed$$ $ac_file > tmp$$
62192 mv tmp$$ $ac_file
62193 rm vpsed$$
62194 echo 'MULTISUBDIR =' >> $ac_file
62195 ml_norecursion=yes
62196 . ${multi_basedir}/config-ml.in
62197 { ml_norecursion=; unset ml_norecursion;}
62199 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62200 s!`test -f '$<' || echo '$(srcdir)/'`!!
62201 _EOF
62202 sed -f vpsed$$ $ac_file > tmp$$
62203 mv tmp$$ $ac_file
62204 rm vpsed$$
62205 echo 'MULTISUBDIR =' >> $ac_file
62206 ml_norecursion=yes
62207 . ${multi_basedir}/config-ml.in
62208 { ml_norecursion=; unset ml_norecursion;}
62210 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62212 esac
62213 done # for ac_tag
62216 as_fn_exit 0
62217 _ACEOF
62218 ac_clean_files=$ac_clean_files_save
62220 test $ac_write_fail = 0 ||
62221 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62224 # configure is writing to config.log, and then calls config.status.
62225 # config.status does its own redirection, appending to config.log.
62226 # Unfortunately, on DOS this fails, as config.log is still kept open
62227 # by configure, so config.status won't be able to write to it; its
62228 # output is simply discarded. So we exec the FD to /dev/null,
62229 # effectively closing config.log, so it can be properly (re)opened and
62230 # appended to by config.status. When coming back to configure, we
62231 # need to make the FD available again.
62232 if test "$no_create" != yes; then
62233 ac_cs_success=:
62234 ac_config_status_args=
62235 test "$silent" = yes &&
62236 ac_config_status_args="$ac_config_status_args --quiet"
62237 exec 5>/dev/null
62238 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62239 exec 5>>config.log
62240 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62241 # would make configure fail if this is the last instruction.
62242 $ac_cs_success || as_fn_exit $?
62244 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62246 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}